API Hongguo Short Drama Classifiche musicali

POST

Stato di salute dell'API

Operatività nelle ultime 24 ore
Normale
  • Buono / normale
  • Disponibile
Normale

Ultime 24 ore

Ultimi 30 giorni

Read one of Hongguo's seven charts by board, such as hot, new or subscribe, top 100 in chart order, 20 per page with rank from 1. category narrows a chart to real, comic or ai dramas where the chart offers that split. Rows carry the series fields plus metric_label, the figure the chart sorts by; on subscribe they also carry subscribe_count and expected_release_label. Without exact the counts are rounded to the nearest ten thousand. Pass next_page_token back as page_token for the next page.

Invia POST https://api.everyinfra.com/api/v1/social con platform impostato su hongguo e action impostato su toplist. Prezzo $8 per 1.000 richieste ($0.008 per chiamata). Le chiamate non riuscite e i risultati vuoti non vengono addebitati. Sincrona. Per i job più lenti, aggiungi "mode": "async" al corpo della richiesta, recupera il job_id ed esegui il polling.

Prompt per l'AI

#
Aiutami a scrivere uno script di raccolta dei dati con l'endpoint Hongguo Short Drama Classifiche musicali di EveryInfra (hongguo/toplist).

Come funziona l'endpoint:
- Richiesta: POST https://api.everyinfra.com/api/v1/social con l'header Authorization: Bearer <chiave API>. Leggi la chiave dalla variabile d'ambiente EVERYINFRA_API_KEY e non scriverla mai direttamente nel codice.
- Nel corpo della richiesta imposta platform su hongguo e action su toplist, e inserisci i parametri in params.
- Parametri obbligatori:
  - board: Which chart: hot (now showing, ranked by heat), prestige (ranked by rating), subscribe (series not yet released, ranked by reservations), new (new releases), hot_search (most searched), must_watch (must-watch picks) or f… (valori consentiti: followed / hot / hot_search / must_watch / new / prestige / subscribe)
- Parametri facoltativi:
  - category: Optional: keep only real (live-action), comic (animated) or ai (AI-made) dramas on the chart. (valori consentiti: ai / comic / real)
  - 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.
- Restituisce un elenco di record. Campi principali di ogni 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,…); 51 campi in totale, elenco completo su https://api.everyinfra.com/api/v1/social/catalog?platform=hongguo.
- Esempio di corpo della richiesta:
{
  "platform": "hongguo",
  "action": "toplist",
  "params": {
    "board": "hot"
  }
}
- Prezzo: $8 per 1.000 richieste; le richieste non riuscite e i risultati vuoti non vengono addebitati.
- Per decine o centinaia di target, aggiungi "mode": "async" al corpo: ricevi subito un job_id ed esegui il polling su GET https://api.everyinfra.com/api/v1/jobs/{job_id} per ottenere il risultato.
- In caso di 422, correggi la richiesta usando i nomi dei parametri e i valori consentiti suggeriti nell'errore; in caso di 429 o 503, attendi il tempo indicato da Retry-After e riprova.

Prima di scrivere il codice, chiedimi quali target mi servono, quanti, quali campi e quale formato di output voglio; poi conferma con me il piano e il costo indicativo.

Parametri della richiesta

#
NomePosizioneTipoObbligatorioPredefinitoDescrizione
AuthorizationheaderstringSì-Bearer seguito dalla tua chiave API. Creala nella console; non inserirla mai in un URL o in un repository di codice.
platformbodystringSìhongguoIdentificativo della piattaforma, valore fisso.
actionbodystringSìtoplistIdentificativo della funzionalità, valore fisso.
boardbody.paramsstring (enum)Sì-Which chart: hot (now showing, ranked by heat), prestige (ranked by rating), subscribe (series not yet released, ranked by reservations), new (new releases), hot_search (most searched), must_watch (must-watch picks) or followed (most bookmarked). Each chart is the top 100.Valori consentitifollowedhothot_searchmust_watchnewprestigesubscribe
categorybody.paramsstring (enum)No-Optional: keep only real (live-action), comic (animated) or ai (AI-made) dramas on the chart. hot, hot_search and new take all three, must_watch and followed take real and ai, and prestige and subscribe have no categories. A category the chart does not have is rejected before any charge.Valori consentitiaicomicreal
exactbody.paramsbooleanNo-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_tokenbody.paramsstringNo-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.

Esempi di codice

#
bash
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": "toplist",
  "params": {
    "board": "hot"
  }
}'

Definizione OpenAPI (JSON)Gli esempi leggono la chiave dalla variabile d'ambiente EVERYINFRA_API_KEY; il codice copiato non contiene mai la tua chiave.

Esempio di risposta

#
Non è ancora disponibile una risposta di esempio per questi parametri. Questa anteprima mostra la struttura e i campi della risposta secondo la definizione dell'API, con … come segnaposto; non è il risultato di una chiamata reale.
json
{  "id": "req_…",  "platform": "hongguo",  "action": "toplist",  "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": …,      "board": …,      "category": …,      "board_updated_label": …,      "rank": …,      "collected_at": …,      "platform": …    }  ],  "next_page_token": …,  "pagination": { … },  "count": …,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Campi della risposta

#

I dati di business si trovano in results. La tabella elenca i campi che un record può contenere; i valori che la piattaforma non mostra non vengono mai inventati.

CampoSignificato
idSeries ID, a digit string, on search, toplist and series_detail; it can be passed as url to series_detail.
urlLink to the series page on the Hongguo website.
titleTitolo. null quando la piattaforma non prevede titoli (ad esempio post di solo testo).
cover_urlLink to the cover image.
descriptionRiepilogo o descrizione, di solito più breve di text.
episode_countTotal number of episodes; absent for series not yet released.
updated_episode_countNumber of episodes released so far (series_detail).
accessible_episode_countNumber of episodes anyone can watch on the Hongguo website (series_detail), usually the first 5.
tagsArray di tag. Se non ce ne sono, è un array vuoto, non null.
status_tagsStatus badges the platform puts on the card, such as new or exclusive; present only when the series has them.
hot_scoreHeat value, which the platform shows in place of a play count; Hongguo does not publish play counts.
hot_score_labelThe heat value as written on the page, in Chinese number units.
hot_score_estimatedTrue 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.
ratingValutazione. La scala varia in base alla piattaforma: rating_scale nella stessa riga indica il valore massimo (di solito 5; Booking, Douban, iQIYI e NAVER usano 10). Converti con rating_scale prima di confrontare piattaforme diverse, altrimenti il confronto può risultare invertito.
rating_scaleValore massimo di rating nella stessa riga: 5 per le scale a cinque stelle, 10 per quelle a dieci punti. Presente solo se la riga ha una valutazione.
rating_countNumber of people who rated the series.
rating_count_labelThe rating count as written on the page.
rating_count_estimatedTrue 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_countNumber of bookmarks.
bookmark_count_labelThe bookmark count as written on the page, in Chinese number units.
bookmark_count_estimatedTrue 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_countLike. null significa che la piattaforma o questa funzionalità non li rende noti; non equivale a 0.
like_count_labelThe like count as written on the page, in Chinese number units.
like_count_estimatedTrue 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_countCondivisioni. null significa non rese note, non 0.
share_count_labelThe share count as written on the page.
share_count_estimatedTrue 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_countNumber of reviews on the whole series, not per-episode comments (series_detail, and search with exact).
is_finishedWhether the series has finished releasing; absent on toplist without exact.
status_labelRelease status as written on the page, such as all 119 episodes or updated to episode 30.
is_paidWhether the series is paid (toplist).
metric_labelThe 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_countNumber of reservations (toplist, subscribe chart).
subscribe_count_labelThe reservation count as written on the page.
subscribe_count_estimatedTrue 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_labelExpected release date as written on the page (subscribe chart).
expected_release_atExpected release time (ISO 8601, UTC); present only when the platform gives an exact time.
reservation_onlyTrue when the series is still taking reservations and not yet released (subscribe chart); series_detail returns an empty result for such a series.
castCast (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_noRegistration number of the series, with the platform's bracketed prefix kept as written.
rank_labelsThe 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_idID of the series group the seasons belong to; present only for series split into seasons.
season_numberSeason number; present only for series split into seasons.
created_atWhen the series was created on the platform (ISO 8601, UTC).
released_atWhen the series was released (ISO 8601, UTC).
boardThe chart requested (toplist): one of hot, prestige, subscribe, new, hot_search, must_watch or followed, the same on every row.
categoryThe category requested (toplist): real, comic or ai; absent when the chart was not narrowed by category.
board_updated_labelThe platform's note on when the chart was updated and how it is sorted (toplist).
rankPosition: the place on the chart on toplist, the position in the results on search and search_suggest; from 1.
collected_atWhen this data was collected (ISO 8601, UTC).
platformIdentificativo della piattaforma di origine, uguale a platform nella richiesta (ad esempio xiaohongshu, tiktok).

Errori e addebiti

#
401
Chiave mancante o non valida.
402
Saldo insufficiente. Effettua prima una ricarica.
422
Nome o valore del parametro non valido. Correggilo seguendo i suggerimenti dell'errore. Nessun addebito.
429
Raggiunto il limite di richieste al minuto. Attendi il tempo indicato da Retry-After, poi riprova.
503
Impossibile completare. L'importo trattenuto torna sul tuo saldo. Se l'esito è incerto, verificalo prima di riprovare.
Risposta 200 vuota
Nessun dato. Nessun addebito.

Errori

Riferimenti ufficiali

#

Usati solo per verificare oggetti e terminologia. Non implicano alcuna autorizzazione o approvazione di EveryInfra da parte della piattaforma.

  • Hongguo Short Drama: chart pages ↗

    The Hongguo website's chart pages list seven charts (hot, top rated, reservations, new, trending searches, must-watch and most bookmarked); the hot chart ranks series by position and shows each one's rating, bookmark count and like count; the reservations chart (/rank/subscribe-drama) shows how many people reserved each series and its expected release date. The source supports the seven values of `board` and the ranked order of chart rows; this API's parameters are defined by EveryInfra, and the source does not vouch for results.

    Verificato il 2026-12-05

  • Hongguo hot chart: category tabs ↗

    The Hongguo hot chart page has four tabs at the top, all, animated, live-action and AI dramas, linking to /rank/hot-drama, /rank/hot-comic-drama, /rank/hot-real-drama and /rank/hot-ai-drama. The source supports splitting a chart into live-action, animated and AI dramas with `category`; which charts take which categories is set out in the parameter notes on this page, this API's parameters are defined by EveryInfra, and the source does not vouch for results.

    Verificato il 2026-12-05

Google Analytics: serve il consenso Privacy