idstring必須
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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
idstring必須The IMDb title identifier in tt<digits> format.
languageCountrystringLanguage and country preferences.
デフォルト: "en_US"
指定可能な値: en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
IMDb Awards Summaryこの API IMDb | $0.007143 / 回 | JSON |
IMDb | $0.007143 / 回 | JSON |
IMDb | $0.007143 / 回 | JSON |
IMDb | $0.007143 / 回 | JSON |
IMDb | $0.007143 / 回 | JSON |
IMDb | $0.007143 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/imdb/title-awards-summary-query に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.007143、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: id (string)。 任意: languageCountry(en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX のいずれか)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。IMDb Awards Summary は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。IMDb の API アクセスを別途申請する必要はありません。