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

IMDb Plot Summary

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

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

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

Playground

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

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

IMDb Plot Summary API

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.

Use cases

  • Show a short storyline on a movie page using the title.plot.plotText.plainText text.
  • Fill in missing descriptions in a catalog of IMDb titles.
  • Fetch plots in fr_FR or es_MX to show localized synopses.
  • Check whether a title is a movie, series or episode before you decide how to display it.

Request

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.

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": {
    "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"
    }
  }
}

Response fields

FieldMeaning
title.idThe IMDb title ID that you requested, for example tt0111161.
title.plot.idThe ID of the plot entry that the API returned, in po<digits> format.
title.plot.plotText.plainTextThe plot summary as plain text, with no markup.
title.type.id / title.type.textThe 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[].valueThe category the title belongs to, for example movie and Movie.
title.type.isSeries / title.type.isEpisode / title.type.canHaveEpisodesBoolean flags that show whether the title is a series, is an episode, or can contain episodes.

Notes

  • Find the title ID in the 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.
  • For cast, crew or other details of the same title, call IMDb Top Cast and Crew or IMDb Details.

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 Plot Summary API?

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

IMDb Plot Summary API 的費用是多少?

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

IMDb Plot Summary 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 Plot Summary API 會回傳什麼?

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

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

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