Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

IMDb Countries of Origin

API dokümanları
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.

Fiyat
$0.007143USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
The IMDb title identifier in tt<digits> format.
Language and country preferences.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
IMDb$0.007143 çağrı başınaJSON
IMDb$0.007143 çağrı başınaJSON
IMDb$0.007143 çağrı başınaJSON
IMDb$0.007143 çağrı başınaJSON
IMDb$0.007143 çağrı başınaJSON
IMDb$0.007143 çağrı başınaJSON

Kılavuzlar:Best IMDb API in 2026: Pricing Compared

Sorular

SSS

IMDb Countries of Origin API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

IMDb Countries of Origin API'sinin fiyatı nedir?

çağrı başına $0.007143, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

IMDb Countries of Origin API'si hangi parametreleri kabul eder?

Gerekli: id (string). İsteğe bağlı: languageCountry (en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX arasından biri). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

IMDb Countries of Origin API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir IMDb geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. IMDb Countries of Origin, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. IMDb API erişimi için ayrıca başvuru yapmanız gerekmez.