Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

IMDb Plot Summary

Tài liệu 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.

Giá
$0.007143USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
The IMDb title identifier in tt<digits> format.
Language and country preferences.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON

Hướng dẫn:Best IMDb API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API IMDb Plot Summary?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/imdb/title-plot-query với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API IMDb Plot Summary có giá bao nhiêu?

$0.007143 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API IMDb Plot Summary chấp nhận những tham số nào?

Bắt buộc: id (string). Tùy chọn: languageCountry (một trong số en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API IMDb Plot Summary trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của IMDb không?

Không. IMDb Plot Summary chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của IMDb.