Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

IMDb Details

API 文件
https://api.sandbase.ai/v1/api/imdb/title-details-query

Get 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.

價格
$0.007143美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
The IMDb title identifier in tt<digits> format.
Language and country preferences.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

IMDb Details API

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.

Use cases

  • Add runtime, release year and spoken languages to a movie and TV catalog.
  • Build a list of localized titles for a film using the akas entries.
  • Show filming locations with the scenes shot there on a travel or trivia page.
  • Collect official websites and social pages for a title.

Request

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.

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",
    "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
    }
  }
}

Response fields

FieldMeaning
title.idThe IMDb title ID, in tt<digits> format.
title.titleText.text / title.originalTitleText.textThe title text and the original title text. isOriginalTitle is true when the text is the original title.
title.titleType.id / title.titleType.textThe 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.dayThe release date for the country in title.releaseDate.country.id.
title.releaseYear.year / title.releaseYear.endYearThe start year and the end year of the title. endYear is null for this movie.
title.runtime.secondsThe runtime in seconds.
title.spokenLanguages.spokenLanguages[].textThe name of each spoken language. The id is a language code such as en.
title.akas.edges[].node.displayableProperty.value.plainTextAn 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.plainTextA filming location name. The attributes[].text field describes the scene, and interestScore.usersVoted counts the votes.
title.primaryImage.urlThe URL of the main poster image. width and height give its size in pixels.

Notes

  • The list sections akas, alternateVersions and filmingLocations each return total, pageInfo.hasNextPage and pageInfo.endCursor. The response shows only the first page of each.
  • Set 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.
  • For plot text, call 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每次呼叫 $0.007143JSON
IMDb每次呼叫 $0.007143JSON
IMDb每次呼叫 $0.007143JSON
IMDb每次呼叫 $0.007143JSON
IMDb每次呼叫 $0.007143JSON
IMDb每次呼叫 $0.007143JSON

指南:Best IMDb API in 2026: Pricing Compared

問題

常見問題

我要如何使用 IMDb Details API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/imdb/title-details-query。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

IMDb Details API 的費用是多少?

每次 $0.007143,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

IMDb Details API 接受哪些參數?

必要: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 會列出每個欄位。

IMDb Details API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 IMDb 開發者帳號或 API 金鑰嗎?

不需要。IMDb Details 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 IMDb API 存取權。