Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

IMDb Countries of Origin

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

Cena
$0.007143USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
The IMDb title identifier in tt<digits> format.
Language and country preferences.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON

Przewodniki:Best IMDb API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API IMDb Countries of Origin?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API IMDb Countries of Origin?

$0.007143 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API IMDb Countries of Origin?

Wymagane: id (string). Opcjonalne: languageCountry (jedna z opcji: en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API IMDb Countries of Origin?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego IMDb lub klucza API?

Nie. IMDb Countries of Origin działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API IMDb.