Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

IMDb Base Info

Документация API
https://api.sandbase.ai/v1/api/imdb/title-base-query

Get base IMDb information for a title ID using selected language and country preferences. Use it to perform a lightweight title lookup or populate basic catalog context.

Цена
$0.007143USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 1 необязательных

Песочница

Ввод
The IMDb title identifier in tt<digits> format.
Language and country preferences.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

IMDb Base Info API

Returns basic IMDb data for one title: its name, poster image, release date, release year, and title type. It needs an IMDb title ID in tt<digits> format, such as tt0111161. An optional languageCountry value sets the language and country preferences.

Use cases

  • Show a title's name, poster, and release year on a catalog page from just its IMDb ID.
  • Check whether an ID points to a movie or a series before you call episode or series APIs.
  • Fetch a poster image URL and its pixel size to build a thumbnail grid.
  • Read the US release date of a title to sort a watchlist.

Request

curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-base-query" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "tt0111161"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
idstringYesThe IMDb title identifier in tt<digits> format.
languageCountrystringNoLanguage and country preferences.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "title": {
    "__typename": "Title",
    "id": "tt0111161",
    "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
    },
    "titleText": {
      "isOriginalTitle": true,
      "text": "The Shawshank Redemption"
    },
    "titleType": {
      "__typename": "TitleType",
      "canHaveEpisodes": false,
      "categories": [
        {
          "id": "movie",
          "text": "Movie",
          "value": "movie"
        }
      ],
      "displayableProperty": {
        "value": {
          "plainText": ""
        }
      },
      "id": "movie",
      "isEpisode": false,
      "isSeries": false,
      "text": "Movie"
    }
  }
}

Response fields

FieldMeaning
title.idThe IMDb title ID, for example tt0111161.
title.titleText.textThe title name shown for the selected language and country preferences.
title.originalTitleText.textThe title name in its original form. isOriginalTitle is true when it matches the displayed name.
title.primaryImage.urlURL of the main poster image.
title.primaryImage.width / title.primaryImage.heightPixel size of the poster image.
title.releaseDate.year / title.releaseDate.month / title.releaseDate.dayParts of the release date as numbers. In this example the date is 14 October 1994.
title.releaseDate.country.idCountry code the release date applies to, for example US.
title.releaseYear.year / title.releaseYear.endYearStart year of the title and its end year. endYear is null here, as for a single movie.
title.titleType.id / title.titleType.textType of the title, for example movie and Movie.
title.titleType.isSeries / title.titleType.isEpisode / title.titleType.canHaveEpisodesFlags that tell you whether the title is a series, an episode, or can have episodes.

Notes

  • Find the title ID in an IMDb title URL. 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, and es_MX. The default is en_US.
  • For more fields on the same title, call IMDb Details or IMDb Plot Summary.
  • For cast and crew, call IMDb Top Cast and Crew.

Pricing

$0.007143 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
IMDb Base InfoЭтот 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

Вопросы

FAQ

Как использовать API IMDb Base Info?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/imdb/title-base-query, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API IMDb Base Info?

$0.007143 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API IMDb Base Info?

Обязательные: 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 на этой странице перечислены все поля.

Что возвращает API IMDb Base Info?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика IMDb или API key?

Нет. IMDb Base Info работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API IMDb.