idstringobligatoire
The IMDb title identifier in tt<digits> format.
https://api.sandbase.ai/v1/api/imdb/title-awards-summary-queryGet the IMDb awards summary for a title ID using selected language and country preferences. Use it to research a title's awards record or support awards-focused catalog review.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
Returns the awards summary for one IMDb title: total wins, total nominations, a highlighted prestigious award summary, and the title's top ranking. It needs an IMDb title ID in tt<digits> format, such as tt0111161.
Top Rated in a curated list.curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-awards-summary-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": "tt0111161"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The IMDb title identifier in tt<digits> format. |
languageCountry | string | No | Language and country preferences. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"title": {
"prestigiousAwardSummary": {
"__typename": "PrestigiousAwardSummary",
"awardNomination": {
"award": {
"eventEdition": {
"event": {
"id": "ev0000003"
}
},
"text": "Oscar"
}
},
"nominations": 7,
"wins": 0
},
"ratingsSummary": {
"topRanking": {
"rank": 1,
"text": {
"value": "Top Rated"
}
}
},
"totalNominations": {
"total": 43
},
"totalWins": {
"total": 21
}
}
}
| Field | Meaning |
|---|---|
title.totalWins.total | Total number of awards the title has won. |
title.totalNominations.total | Total number of award nominations the title has received. |
title.prestigiousAwardSummary.awardNomination.award.text | Name of the prestigious award that the summary covers. In this response the value is Oscar. |
title.prestigiousAwardSummary.nominations / title.prestigiousAwardSummary.wins | Number of nominations and wins for that prestigious award. |
title.prestigiousAwardSummary.awardNomination.award.eventEdition.event.id | ID of the award event, such as ev0000003 for the Oscar. |
title.ratingsSummary.topRanking.rank | Numeric rank of the title in its top ranking. |
title.ratingsSummary.topRanking.text.value | Label for the top ranking, such as Top Rated. |
tt<digits> part of an IMDb title page URL, or get it from another IMDb API in this catalog.languageCountry accepts en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US and es_MX. The default is en_US.$0.007143 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/imdb/title-awards-summary-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "tt0111161",
"languageCountry": "en_US"
}'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.
idstringobligatoireThe IMDb title identifier in tt<digits> format.
languageCountrystringLanguage and country preferences.
Par défaut : "en_US"
Valeurs possibles : en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX
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 |
|---|---|---|
IMDb Awards SummaryCette API IMDb | $0.007143 par appel | JSON |
IMDb | $0.007143 par appel | JSON |
IMDb | $0.007143 par appel | JSON |
IMDb | $0.007143 par appel | JSON |
IMDb | $0.007143 par appel | JSON |
IMDb | $0.007143 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/imdb/title-awards-summary-query 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.007143 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : id (string). Facultatif : languageCountry (l’un de en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). 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. IMDb Awards Summary 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 IMDb séparément.