API Hongguo Short Drama Сведения о короткой драме
Состояние API
- Состояние за 24 ч
- Норма
- Стабильно / норма
- Доступно
Последние 24 часа
Последние 30 дней
Read one Hongguo short drama from its series ID, series link or app share link in url: title, description, episode_count, updated_episode_count, tags, exact hot_score, rating with rating_count, bookmark_count, like_count, review_count, cast with the role each plays, released_at, license_no and rank_labels. The platform publishes no play count and no producer. A series still taking reservations returns an empty result and is not charged.
Отправьте POST https://api.everyinfra.com/api/v1/social, указав в platform значение hongguo, а в action — series_detail. Цена: $1.6 за 1 000 запросов ($0.001597 за вызов). Неудачные вызовы и пустые результаты не оплачиваются. Синхронный режим. Для долгих задач добавьте в тело запроса "mode": "async", получите job_id и опрашивайте статус.
Промпт для ИИ
#Помогите мне написать скрипт для сбора данных через эндпоинт EveryInfra Hongguo Short Drama Сведения о короткой драме (hongguo/series_detail).
Как работает эндпоинт:
- Запрос: POST https://api.everyinfra.com/api/v1/social с заголовком Authorization: Bearer <API key>. Читайте ключ из переменной окружения EVERYINFRA_API_KEY и никогда не прописывайте его в коде.
- В теле запроса укажите platform: hongguo и action: series_detail, а параметры передайте в params.
- Обязательные параметры:
- url: The series to read: its series ID (a long digit string, the id on search and toplist rows), a site link such as https://hongguoduanju.com/detail?series_id=7713932101447322649 or https://hongguoduanju.com/player/771393210…
- Возвращает один объект. Основные поля: 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,…); всего полей: 47, полный список: https://api.everyinfra.com/api/v1/social/catalog?platform=hongguo.
- Пример тела запроса:
{
"platform": "hongguo",
"action": "series_detail",
"params": {
"url": "https://hongguoduanju.com/detail?series_id=7713932101447322649"
}
}
- Цена: $1.6 за 1 000 запросов; неудачные и пустые результаты не оплачиваются.
- Для десятков или сотен целей добавьте в тело запроса "mode": "async": вы сразу получите job_id и сможете опрашивать GET https://api.everyinfra.com/api/v1/jobs/{job_id}, чтобы получить результат.
- При ответе 422 исправьте запрос, используя предложенные в ошибке имена параметров и допустимые значения; при ответе 429 или 503 подождите указанное в Retry-After время и повторите попытку.
Прежде чем писать код, спросите меня, какие цели мне нужны, сколько их будет, какие поля мне нужны и в каком формате вывести результат; затем согласуйте со мной план и примерную стоимость.Параметры запроса
#| Имя | Расположение | Тип | Обязательный | По умолчанию | Описание |
|---|---|---|---|---|---|
Authorization | header | string | Да | - | Укажите Bearer, а после него — ваш API-ключ. Создайте ключ в консоли; никогда не указывайте его в URL и не храните в репозитории кода. |
platform | body | string | Да | hongguo | Идентификатор платформы, фиксированное значение. |
action | body | string | Да | series_detail | Идентификатор возможности, фиксированное значение. |
url | body.params | string | Да | - | The series to read: its series ID (a long digit string, the id on search and toplist rows), a site link such as https://hongguoduanju.com/detail?series_id=7713932101447322649 or https://hongguoduanju.com/player/7713932101447322649, or a share link from the app such as https://novelquickapp.com/s/<code>/, alone or inside the full share text. Other forms are rejected before any charge. |
Примеры кода
#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": "series_detail",
"params": {
"url": "https://hongguoduanju.com/detail?series_id=7713932101447322649"
}
}'Спецификация OpenAPI (JSON)Примеры читают ключ из переменной окружения EVERYINFRA_API_KEY; скопированный код никогда не содержит ваш ключ.
Пример ответа
#{ "id": "req_…", "platform": "hongguo", "action": "series_detail", "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": …, "collected_at": …, "platform": … }, "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 для пятизвёздочных шкал, 10 для десятибалльных. Поле присутствует, только если у записи есть рейтинг. |
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). |
collected_at | When this data was collected (ISO 8601, UTC). |
platform | Идентификатор исходной платформы. Совпадает со значением platform в запросе (например, xiaohongshu, tiktok). |
Ошибки и оплата
#- 401
- Ключ отсутствует или недействителен.
- 402
- Недостаточно средств на балансе. Сначала пополните баланс.
- 422
- Недопустимое имя или значение параметра. Исправьте запрос по подсказкам в сообщении об ошибке. Без списания.
- 429
- Достигнут лимит запросов в минуту. Подождите указанное в Retry-After время, затем повторите попытку.
- 503
- Не удалось выполнить. Зарезервированная сумма возвращается на баланс. Если результат неизвестен, проверьте его перед повторной попыткой.
- 200 (пусто)
- Нет данных. Без списания.
Официальные источники
#Используются только для проверки объектов и терминов. Они не означают, что платформа разрешила или одобрила работу EveryInfra.
- Hongguo Short Drama: series page ↗
A series page on the Hongguo website has a link of the form /detail?series_id=<series ID> and shows the title, a heat value and the synopsis, with a play button linking to /player/<series ID>; the page shows no play count. The source supports `url` taking a series ID or either site link, and the heat value standing in for play counts; app share links are not covered by this page, this API's parameters are defined by EveryInfra, and the source does not vouch for results.
Проверено 2026-12-05