idstringआवश्यक
The IMDb title identifier in tt<digits> format.
https://api.sandbase.ai/v1/api/imdb/title-details-queryGet IMDb title details for a title ID using selected language and country preferences. Use it to support detailed title research or enrich a movie and television catalog.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Returns IMDb details for one title: original and alternate titles, release date, runtime, languages, countries of origin, filming locations, official links and the main poster image. It needs an IMDb title ID in tt<digits> format, such as tt0111161.
akas entries.curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-details-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": {
"__typename": "Title",
"akas": {
"__typename": "AkaConnection",
"edges": [
{
"node": {
"attributes": [
{
"id": "alternativeTitle",
"text": "Alternative Title"
}
],
"country": {
"__typename": "DisplayableCountry",
"id": "MX",
"text": "Mexico"
},
"displayableProperty": {
"__typename": "DisplayableTitleAkaProperty",
"value": {
"id": "Sueño de fuga",
"plainText": "Sueño de fuga"
}
},
"language": null
}
}
],
"pageInfo": {
"__typename": "PageInfo",
"endCursor": "MA==",
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "MA=="
},
"total": 64
},
"alternateVersions": {
"__typename": "AlternateVersionConnection",
"edges": [
{
"node": {
"text": {
"plainText": "This film was produced independently by Castle Rock Entertainment, but distribut…"
}
}
}
],
"pageInfo": {
"__typename": "PageInfo",
"endCursor": "Z0xrd3FsSWRDQlNqaFJyYy9qU2UzcWlHN21OSmtsa1MxM3pwVWlpdERtdz0=",
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "Z0xrd3FsSWRDQlNqaFJyYy9qU2UzcWlHN21OSmtsa1MxM3pwVWlpdERtdz0="
},
"total": 5
},
"countriesOfOrigin": {
"countries": [
{
"__typename": "CountryOfOrigin",
"id": "US",
"text": "United States"
}
]
},
"filmingLocations": {
"__typename": "FilmingLocationConnection",
"edges": [
{
"node": {
"attributes": [
{
"text": "Exterior"
}
],
"displayableProperty": {
"__typename": "DisplayableTitleFilmingLocationProperty",
"value": {
"id": "Butler, Ohio, USA",
"plainText": "Butler, Ohio, USA"
}
},
"id": "lc0342942",
"interestScore": {
"__typename": "InterestScore",
"usersInterested": 57,
"usersVoted": 57
}
}
}
],
"pageInfo": {
"__typename": "PageInfo",
"endCursor": "bGMwMzQyOTQy",
"hasNextPage": true,
"hasPreviousPage": false,
"startCursor": "bGMwMzQyOTQy"
},
"total": 21
},
"id": "tt0111161",
"officialLinks": {
"edges": [
{
"node": {
"__typename": "ExternalLink",
"externalLinkRegion": null,
"label": "Official Facebook",
"url": "https://www.facebook.com/shawshankredemptionfilm/"
}
}
]
},
"originalTitleText": {
"isOriginalTitle": true,
"text": "The Shawshank Redemption"
},
"primaryImage": {
"__typename": "Image",
"height": 1800,
"id": "rm1690056449",
"url": "https://m.media-amazon.com/images/M/MV5BMDAyY2FhYjctNDc5OS00MDNlLThiMGUtY2UxYWVk…",
"width": 1200
},
"releaseDate": {
"__typename": "ReleaseDate",
"attributes": [],
"country": {
"id": "US"
},
"day": 14,
"displayableProperty": {
"qualifiersInMarkdownList": null
},
"month": 10,
"restriction": null,
"year": 1994
},
"releaseYear": {
"__typename": "YearRange",
"endYear": null,
"year": 1994
},
"runtime": {
"seconds": 8520
}
}
}
| Field | Meaning |
|---|---|
title.id | The IMDb title ID, in tt<digits> format. |
title.titleText.text / title.originalTitleText.text | The title text and the original title text. isOriginalTitle is true when the text is the original title. |
title.titleType.id / title.titleType.text | The type of title, such as movie. isSeries and isEpisode are booleans, and canHaveEpisodes shows whether the title can have episodes. |
title.releaseDate.year / title.releaseDate.month / title.releaseDate.day | The release date for the country in title.releaseDate.country.id. |
title.releaseYear.year / title.releaseYear.endYear | The start year and the end year of the title. endYear is null for this movie. |
title.runtime.seconds | The runtime in seconds. |
title.spokenLanguages.spokenLanguages[].text | The name of each spoken language. The id is a language code such as en. |
title.akas.edges[].node.displayableProperty.value.plainText | An alternate title. The country.text field gives the country it applies to, and total gives the number of alternate titles. |
title.filmingLocations.edges[].node.displayableProperty.value.plainText | A filming location name. The attributes[].text field describes the scene, and interestScore.usersVoted counts the votes. |
title.primaryImage.url | The URL of the main poster image. width and height give its size in pixels. |
akas, alternateVersions and filmingLocations each return total, pageInfo.hasNextPage and pageInfo.endCursor. The response shows only the first page of each.languageCountry to one of 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.$0.007143 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-details-query" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": "tt0111161",
"languageCountry": "en_US"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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 के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
IMDb Detailsयह 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 |
प्रश्न
https://api.sandbase.ai/v1/api/imdb/title-details-query पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.007143 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: id (string)। वैकल्पिक: languageCountry (en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। IMDb Details SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से IMDb API access के लिए आवेदन करने की आवश्यकता नहीं है।