Hongguo Short Drama 검색 API
API 상태
- 24시간 상태
- 정상
- 양호 / 정상
- 사용 가능
최근 24시간
최근 30일
Search Hongguo short dramas by keyword, 10 per page, one row per series with id, title, description, cover_url, episode_count, tags, hot_score, rating, bookmark_count, like_count, is_finished and search_total_count, the number of series the keyword matched. Set exact to true to add review_count and exact like, bookmark and rating counts at the same price. Pass next_page_token back as page_token for the next page; each page counts as one call.
POST https://api.everyinfra.com/api/v1/social을 보내고 platform은 hongguo, action은 search로 설정합니다. 요금은 요청 1,000개당 $16(호출당 $0.016)입니다. 실패한 호출과 빈 결과에는 과금하지 않습니다. 동기 방식입니다. 오래 걸리는 작업은 요청 본문에 "mode": "async"를 추가하고 job_id를 받아 폴링하세요.
AI 프롬프트
#EveryInfra Hongguo Short Drama 검색 엔드포인트(hongguo/search)를 사용하는 데이터 수집 스크립트 작성을 도와주세요.
엔드포인트 사용 방법:
- 요청: Authorization: Bearer <API 키> 헤더와 함께 POST https://api.everyinfra.com/api/v1/social로 보냅니다. 키는 EVERYINFRA_API_KEY 환경 변수에서 읽고, 절대 하드코딩하지 마세요.
- 요청 본문에서 platform은 hongguo, action은 search로 설정하고, 파라미터는 params 안에 넣습니다.
- 필수 파라미터:
- keyword: Search words: a series title, a theme or any keyword, up to 50 characters. On search_suggest it can be just the first characters someone has typed into the search box.
- 선택 파라미터:
- exact: Pass true for exact counts at the same price; false by default. On search it adds review_count and makes like, bookmark and rating counts exact, taking about 5 to 15 seconds longer.
- page_token: Page token for search and toplist. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged.
- 레코드 목록을 반환합니다. 각 레코드의 주요 필드: id (Series ID, a digit string, on search, t…), url (Link to the series page on the Hongguo…), title, cover_url (Link to the cover image), description, episode_count (Total number of episodes), updated_episode_count (Number of episodes released so far (ser…), accessible_episode_count (Number of episodes anyone can watch on…), tags, status_tags (Status badges the platform puts on the…), hot_score (Heat value, which the platform shows in…), hot_score_label (The heat value as written on the page,…); 전체 필드 49개, 전체 목록은 https://api.everyinfra.com/api/v1/social/catalog?platform=hongguo.
- 요청 본문 예시:
{
"platform": "hongguo",
"action": "search",
"params": {
"keyword": "重生"
}
}
- 요금: 요청 1,000개당 $16. 실패하거나 빈 결과에는 과금하지 않습니다.
- 대상이 수십~수백 개라면 요청 본문에 "mode": "async"를 추가하세요. job_id를 즉시 받은 뒤 GET https://api.everyinfra.com/api/v1/jobs/{job_id}를 폴링해 결과를 가져옵니다.
- 422가 반환되면 오류에 제시된 파라미터 이름과 허용 값을 참고해 요청을 수정하고, 429 또는 503이 반환되면 Retry-After만큼 기다린 뒤 다시 시도합니다.
코드를 작성하기 전에 필요한 대상과 수량, 필드, 원하는 출력 형식을 먼저 물어봐 주세요. 그런 다음 계획과 대략적인 비용을 저와 확인해 주세요.요청 파라미터
#| 이름 | 위치 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|---|
Authorization | header | string | 예 | - | Bearer 뒤에 API 키를 붙여 입력합니다. API 키는 콘솔에서 생성하며, URL이나 코드 저장소에 절대 넣지 마세요. |
platform | body | string | 예 | hongguo | 플랫폼 식별자이며 고정값입니다. |
action | body | string | 예 | search | 기능 식별자이며 고정값입니다. |
keyword | body.params | string | 예 | - | Search words: a series title, a theme or any keyword, up to 50 characters. On search_suggest it can be just the first characters someone has typed into the search box. |
exact | body.params | boolean | 아니요 | - | Pass true for exact counts at the same price; false by default. On search it adds review_count and makes like, bookmark and rating counts exact, taking about 5 to 15 seconds longer. On toplist it makes heat, bookmark, like, share and rating counts exact and adds is_finished, about 3 seconds longer. Without it those counts are the platform's rounded figures, marked with *_estimated. |
page_token | body.params | string | 아니요 | - | Page token for search and toplist. Leave it out for the first page, then pass back the previous response's next_page_token exactly as received, with the other parameters unchanged. Search pages hold 10 series and chart pages 20, up to 5 pages per chart; each page is one call and the last page has no next_page_token. |
코드 샘플
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "hongguo",
"action": "search",
"params": {
"keyword": "重生"
}
}'OpenAPI 정의(JSON)샘플 코드는 EVERYINFRA_API_KEY 환경 변수에서 키를 읽으므로, 복사한 코드에는 API 키가 포함되지 않습니다.
응답 예시
#{ "id": "req_…", "platform": "hongguo", "action": "search", "results": [ { "id": …, "url": …, "title": …, "cover_url": …, "description": …, "episode_count": …, "updated_episode_count": …, "accessible_episode_count": …, "tags": …, "status_tags": …, "hot_score": …, "hot_score_label": …, "hot_score_estimated": …, "rating": …, "rating_scale": …, "rating_count": …, "rating_count_label": …, "rating_count_estimated": …, "bookmark_count": …, "bookmark_count_label": …, "bookmark_count_estimated": …, "like_count": …, "like_count_label": …, "like_count_estimated": …, "share_count": …, "share_count_label": …, "share_count_estimated": …, "review_count": …, "is_finished": …, "status_label": …, "is_paid": …, "metric_label": …, "subscribe_count": …, "subscribe_count_label": …, "subscribe_count_estimated": …, "expected_release_label": …, "expected_release_at": …, "reservation_only": …, "cast": …, "license_no": …, "rank_labels": …, "season_id": …, "season_number": …, "created_at": …, "released_at": …, "search_total_count": …, "rank": …, "collected_at": …, "platform": … } ], "next_page_token": …, "pagination": { … }, "count": …, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
응답 필드
#비즈니스 데이터는 results에 담깁니다. 아래 표는 레코드에 포함될 수 있는 필드를 나열하며, 플랫폼에 표시되지 않는 값을 임의로 만들어 넣지 않습니다.
| 필드 | 의미 |
|---|---|
id | Series ID, a digit string, on search, toplist and series_detail; it can be passed as url to series_detail. |
url | Link to the series page on the Hongguo website. |
title | 제목입니다. 플랫폼에 제목이 없으면 null입니다(예: 텍스트 전용 게시물). |
cover_url | Link to the cover image. |
description | 요약 또는 설명으로, 보통 text보다 짧습니다. |
episode_count | Total number of episodes; absent for series not yet released. |
updated_episode_count | Number of episodes released so far (series_detail). |
accessible_episode_count | Number of episodes anyone can watch on the Hongguo website (series_detail), usually the first 5. |
tags | 태그 배열입니다. 태그가 없으면 null이 아닌 빈 배열입니다. |
status_tags | Status badges the platform puts on the card, such as new or exclusive; present only when the series has them. |
hot_score | Heat value, which the platform shows in place of a play count; Hongguo does not publish play counts. |
hot_score_label | The heat value as written on the page, in Chinese number units. |
hot_score_estimated | True when the heat value was converted from the rounded figure the platform shows (19.9 wan becomes 199000); absent when exact returned the exact figure. |
rating | 평점입니다. 척도는 플랫폼마다 다릅니다. 같은 행의 rating_scale이 최댓값을 나타냅니다(보통 5이며, Booking, Douban, iQIYI, NAVER는 10). 플랫폼 간에 비교하기 전에 rating_scale로 환산하세요. 그렇지 않으면 비교 결과가 뒤바뀔 수 있습니다. |
rating_scale | 같은 행에 있는 rating의 최댓값입니다. 5점 척도는 5, 10점 척도는 10입니다. 행에 rating이 있을 때만 포함됩니다. |
rating_count | Number of people who rated the series. |
rating_count_label | The rating count as written on the page. |
rating_count_estimated | True when the rating count was converted from the rounded figure the platform shows (19.9 wan becomes 199000); absent when exact returned the exact figure. |
bookmark_count | Number of bookmarks. |
bookmark_count_label | The bookmark count as written on the page, in Chinese number units. |
bookmark_count_estimated | True when the bookmark count was converted from the rounded figure the platform shows (19.9 wan becomes 199000); absent when exact returned the exact figure. |
like_count | 좋아요 수입니다. null은 플랫폼 또는 이 기능에서 공개하지 않는다는 뜻이며, 0이 아닙니다. |
like_count_label | The like count as written on the page, in Chinese number units. |
like_count_estimated | True when the like count was converted from the rounded figure the platform shows (19.9 wan becomes 199000); absent when exact returned the exact figure. |
share_count | 공유 수입니다. null은 비공개라는 뜻이며, 0이 아닙니다. |
share_count_label | The share count as written on the page. |
share_count_estimated | True when the share count was converted from the rounded figure the platform shows (19.9 wan becomes 199000); absent when exact returned the exact figure. |
review_count | Number of reviews on the whole series, not per-episode comments (series_detail, and search with exact). |
is_finished | Whether the series has finished releasing; absent on toplist without exact. |
status_label | Release status as written on the page, such as all 119 episodes or updated to episode 30. |
is_paid | Whether the series is paid (toplist). |
metric_label | The figure the chart sorts by, as written on the page (toplist), such as the heat or the number of people waiting for the series. |
subscribe_count | Number of reservations (toplist, subscribe chart). |
subscribe_count_label | The reservation count as written on the page. |
subscribe_count_estimated | True when the reservation count was converted from the rounded figure the platform shows (19.9 wan becomes 199000); absent when exact returned the exact figure. |
expected_release_label | Expected release date as written on the page (subscribe chart). |
expected_release_at | Expected release time (ISO 8601, UTC); present only when the platform gives an exact time. |
reservation_only | True when the series is still taking reservations and not yet released (subscribe chart); series_detail returns an empty result for such a series. |
cast | Cast (series_detail): each entry has name (the performer), role (the character played), id (performer ID) and avatar_url; animated and AI dramas usually have an empty list. |
license_no | Registration number of the series, with the platform's bracketed prefix kept as written. |
rank_labels | The chart positions the series holds now (series_detail), such as first on the Hongguo hot chart; an empty list when it is on no chart. |
season_id | ID of the series group the seasons belong to; present only for series split into seasons. |
season_number | Season number; present only for series split into seasons. |
created_at | When the series was created on the platform (ISO 8601, UTC). |
released_at | When the series was released (ISO 8601, UTC). |
search_total_count | How many series the keyword matched (search), the same on every row. |
rank | Position: the place on the chart on toplist, the position in the results on search and search_suggest; from 1. |
collected_at | When this data was collected (ISO 8601, UTC). |
platform | 출처 플랫폼 식별자로, 요청의 platform과 같습니다(예: xiaohongshu, tiktok). |
오류 및 과금
#- 401
- 키가 없거나 유효하지 않습니다.
- 402
- 잔액이 부족합니다. 먼저 충전하세요.
- 422
- 파라미터 이름 또는 값이 올바르지 않습니다. 오류에 제시된 제안을 참고해 수정하세요. 과금되지 않습니다.
- 429
- 분당 요청 속도 제한에 도달했습니다. Retry-After만큼 기다린 뒤 다시 시도하세요.
- 503
- 처리를 완료하지 못했습니다. 보류된 금액은 잔액으로 반환됩니다. 결과가 불확실하면 재시도하기 전에 먼저 확인하세요.
- 200 빈 결과
- 데이터가 없습니다. 과금되지 않습니다.