Hongguo Short Drama Search API
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
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.
Send POST https://api.everyinfra.com/api/v1/social with platform set to hongguo and action set to search. Price $16 per 1,000 requests ($0.016 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Hongguo Short Drama Search endpoint (hongguo/search).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to hongguo and action to search, and put the parameters inside params.
- Required parameters:
- 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.
- Optional parameters:
- 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.
- Returns a list of records. Main fields of each record: 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 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=hongguo.
- Example request body:
{
"platform": "hongguo",
"action": "search",
"params": {
"keyword": "重生"
}
}
- Price: $16 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | hongguo | Platform identifier, fixed value. |
action | body | string | Yes | search | Capability identifier, fixed value. |
keyword | body.params | string | Yes | - | 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 | No | - | 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 | No | - | 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. |
Code samples
#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 definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "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": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.
| Field | Meaning |
|---|---|
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 | Title. null when the platform has no titles (for example text-only posts). |
cover_url | Link to the cover image. |
description | Summary or description, usually shorter than 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 | Array of tags. An empty array, not null, when there are none. |
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. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a 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 | Likes. null means the platform or this capability does not disclose it; it is not 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 | Shares. null means not disclosed, not 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 | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.