idstringwajib
The IMDb title identifier in tt<digits> format.
https://api.sandbase.ai/v1/api/imdb/title-user-reviews-summary-queryGet the IMDb user-reviews summary for a title ID using selected language and country preferences. Use it to review audience reception or support title comparison and research.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns the IMDb aggregate rating and a short list of featured user reviews for one title. Each review includes the author, the author's rating, helpfulness votes, language and submission date. The input is an IMDb title ID in tt<digits> format.
curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-user-reviews-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": {
"canRate": {
"isRatable": true
},
"featuredReviews": {
"edges": [
{
"node": {
"__typename": "Review",
"author": {
"id": "ur16749093",
"nickName": "nowego"
},
"authorRating": 10,
"helpfulness": {
"__typename": "ReviewHelpfulness",
"downVotes": 37,
"score": 0.8510370348456942,
"upVotes": 297
},
"id": "rw4203332",
"language": "en-US",
"spoiler": false,
"submissionDate": "2018-06-15"
}
}
]
},
"id": "tt0111161",
"ratingsSummary": {
"aggregateRating": 9.3
}
}
}
| Field | Meaning |
|---|---|
title.id | The IMDb title ID that the summary belongs to. |
title.ratingsSummary.aggregateRating | The overall IMDb user rating for the title. The sample value is 9.3. |
title.canRate.isRatable | Shows whether users can rate this title. |
title.featuredReviews.edges[].node.id | The review ID, such as rw4203332. |
title.featuredReviews.edges[].node.author.id / title.featuredReviews.edges[].node.author.nickName | The reviewer's user ID and display name. |
title.featuredReviews.edges[].node.authorRating | The rating the reviewer gave the title. It is null when the reviewer left no rating. |
title.featuredReviews.edges[].node.helpfulness.upVotes / title.featuredReviews.edges[].node.helpfulness.downVotes | How many readers marked the review as helpful or not helpful. |
title.featuredReviews.edges[].node.helpfulness.score | A helpfulness score between 0 and 1 for the review. A higher value means more positive votes. |
title.featuredReviews.edges[].node.spoiler | Is true when the review is marked as containing spoilers. |
title.featuredReviews.edges[].node.language / title.featuredReviews.edges[].node.submissionDate | The review language code, such as en-US, and the date it was submitted in YYYY-MM-DD format. |
id from an IMDb title URL or from another title API. It starts with tt followed by digits.languageCountry accepts en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US or es_MX. The default is en_US.id to match entries on your side.$0.007143 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-user-reviews-summary-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "tt0111161",
"languageCountry": "en_US"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
idstringwajibThe IMDb title identifier in tt<digits> format.
languageCountrystringLanguage and country preferences.
Default: "en_US"
Nilai yang mungkin: en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
IMDb User Reviews SummaryAPI ini IMDb | $0.007143 per panggilan | JSON |
IMDb | $0.007143 per panggilan | JSON |
IMDb | $0.007143 per panggilan | JSON |
IMDb | $0.007143 per panggilan | JSON |
IMDb | $0.007143 per panggilan | JSON |
IMDb | $0.007143 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/imdb/title-user-reviews-summary-query dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.007143 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: id (string). Opsional: languageCountry (salah satu dari en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. IMDb User Reviews Summary berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API IMDb secara terpisah.