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

IMDb Countries of Origin

Tài liệu API
https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin

Get countries of origin associated with an IMDb title ID using selected language and country preferences. Use it to enrich regional catalog metadata or support origin-based analysis.

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 Countries of Origin API

Returns the countries of origin for one IMDb title. You pass an IMDb title ID in tt<digits> format, and you can pick a language and country preference for the returned names.

Use cases

  • Tag each title in a streaming catalog with its production country.
  • Filter a film library to titles made in a given country.
  • Group titles by origin to compare regional output.
  • Show country names in a viewer's language on a title page.

Request

curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin" \
  -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": {
    "countriesOfOrigin": {
      "countries": [
        {
          "__typename": "CountryOfOrigin",
          "id": "US",
          "text": "United States"
        }
      ]
    }
  }
}

Response fields

FieldMeaning
title.countriesOfOrigin.countries[]List of countries of origin for the title. A title with several origin countries has several entries.
title.countriesOfOrigin.countries[].idShort country code, for example US.
title.countriesOfOrigin.countries[].textCountry name as a display string, for example United States.
title.countriesOfOrigin.countries[].__typenameObject type label. It is CountryOfOrigin for every entry.

Notes

  • Find the id in the IMDb title URL or in other IMDb APIs. It starts with tt and is followed by digits, such as tt0111161.
  • 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 more title data, call IMDb Details or IMDb Base Info.

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 Countries of Origin?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin 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 Countries of Origin 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 Countries of Origin 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 Countries of Origin 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 Countries of Origin 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.