Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

IMDb Countries of Origin

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.

价格
$0.007143美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 1 个可选

Playground

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

您的输出将显示在这里

完成输入,然后点击运行。

API README

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.

探索更多

相关 APIs

全部 APIs
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

问题

常见问题

如何使用 IMDb Countries of Origin API?

向 https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

IMDb Countries of Origin API 的价格是多少?

每次调用 $0.007143,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

IMDb Countries of Origin 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 Countries of Origin API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 IMDb 开发者账户或 API key 吗?

不需要。IMDb Countries of Origin 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 IMDb API 访问权限。