idstringобязательно
The IMDb title identifier in tt<digits> format.
https://api.sandbase.ai/v1/api/imdb/title-plot-queryGet IMDb plot information for a title ID using selected language and country preferences. Use it to review a movie or series storyline or enrich title descriptions.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns the plot summary for one IMDb title, plus the title type (such as movie). It needs an IMDb title ID in tt<digits> format, and you can pick a language and country with languageCountry.
title.plot.plotText.plainText text.fr_FR or es_MX to show localized synopses.curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-plot-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": {
"id": "tt0111161",
"plot": {
"id": "po1124508",
"plotText": {
"plainText": "After a banker is sentenced to life in Shawshank Prison, he forms an unlikely fr…"
}
},
"type": {
"__typename": "TitleType",
"canHaveEpisodes": false,
"categories": [
{
"id": "movie",
"text": "Movie",
"value": "movie"
}
],
"displayableProperty": {
"value": {
"plainText": ""
}
},
"id": "movie",
"isEpisode": false,
"isSeries": false,
"text": "Movie"
}
}
}
| Field | Meaning |
|---|---|
title.id | The IMDb title ID that you requested, for example tt0111161. |
title.plot.id | The ID of the plot entry that the API returned, in po<digits> format. |
title.plot.plotText.plainText | The plot summary as plain text, with no markup. |
title.type.id / title.type.text | The title type as an ID and as a display label. In the sample, both say movie. |
title.type.categories[].id / title.type.categories[].text / title.type.categories[].value | The category the title belongs to, for example movie and Movie. |
title.type.isSeries / title.type.isEpisode / title.type.canHaveEpisodes | Boolean flags that show whether the title is a series, is an episode, or can contain episodes. |
tt<digits> format in an IMDb title URL, or from other IMDb APIs such as IMDb Base Info.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-plot-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; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
IMDb Plot 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 |
Руководства:Best IMDb API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/imdb/title-plot-query, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$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 на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. IMDb Plot Summary работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API IMDb.