pageinteger
Page number for pagination.
Par défaut : 1
https://api.sandbase.ai/v1/api/douban/recent-hot-tvGet a paginated list of TV titles currently featured in Douban's recent-hot collection. Use it to discover popular series and continue through result pages.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns a paginated list of TV series from Douban's recent-hot collection. Each item has a title, rating, episode status and poster. The only input is an optional page number.
episodes_info, such as ongoing or finished status.curl -X POST "https://api.sandbase.ai/v1/api/douban/recent-hot-tv" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number for pagination. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"category": "tv",
"items": [
{
"card_subtitle": "2026 / 中国大陆 / 剧情 / 张晓波 / 肖战 倪大红",
"episodes_info": "29集全",
"id": "36675942",
"is_new": false,
"pic": {
"large": "https://img2.doubanio.com/view/photo/m_ratio_poster/public/p2936709341.jpg",
"normal": "https://img2.doubanio.com/view/photo/s_ratio_poster/public/p2936709341.jpg"
},
"rating": {
"count": 272690,
"max": 10,
"star_count": 4.0,
"value": 8.0
},
"title": "小城良方",
"type": "tv",
"uri": "douban://douban.com/tv/36675942"
}
],
"recommend_tags": [
{
"category": "tv",
"selected": true,
"title": "综合",
"type": "tv"
}
],
"tags": [
{
"category": "tv",
"selected": true,
"title": "最近热门剧集",
"types": [
{
"selected": true,
"title": "综合",
"type": "tv"
}
]
}
],
"total": 229,
"type": "tv"
}
| Field | Meaning |
|---|---|
items[].id | Douban ID of the TV title. Use it to look up more details about the title. |
items[].title | Title of the series. |
items[].card_subtitle | One line summary with year, country or region, genres, director and lead actors, separated by /. |
items[].episodes_info | Episode status text, for example 29集全 for a finished series or 更新至26集 for one still airing. |
items[].rating.value / items[].rating.max | Average rating and the top of the rating scale. |
items[].rating.count | Number of ratings the title has received. |
items[].rating.star_count | Rating shown as stars. The values in the response are in steps of 0.5. |
items[].pic.large / items[].pic.normal | URLs of the poster image in a larger and a smaller size. |
items[].is_new | Boolean flag that marks a title as new. |
total | Total number of items in the collection. |
tags[].types[].type / recommend_tags[].type | Category codes such as tv, tv_domestic, tv_american and show. The selected flag shows which one this response uses. |
page to move through results. It starts at 1 by default. Compare the number of items collected with total to know when to stop.id in each item is a string of digits. Pass it to Douban Subject Details to get full details of a title.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/douban/recent-hot-tv" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
pageintegerPage number for pagination.
Par défaut : 1
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Douban Recent Hot TvCette API Douban | $0.014286 par appel | JSON |
Douban | $0.014286 par appel | JSON |
Douban | $0.014286 par appel | JSON |
Douban | $0.014286 par appel | JSON |
Douban | $0.014286 par appel | JSON |
Douban | $0.014286 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/douban/recent-hot-tv avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Aucun paramètre n’est requis. Facultatif : page (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. Douban Recent Hot Tv fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Douban séparément.