Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

IMDb Countries of Origin

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

Prix
$0.007143USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 1 facultatifs

Bac à sable

Entrée
The IMDb title identifier in tt<digits> format.
Language and country preferences.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
IMDb$0.007143 par appelJSON
IMDb$0.007143 par appelJSON
IMDb$0.007143 par appelJSON
IMDb$0.007143 par appelJSON
IMDb$0.007143 par appelJSON
IMDb$0.007143 par appelJSON

Guides :Best IMDb API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API IMDb Countries of Origin ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/imdb/title-countries-of-origin avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API IMDb Countries of Origin ?

$0.007143 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API IMDb Countries of Origin accepte-t-elle ?

Obligatoire : id (string). Facultatif : languageCountry (l’un de en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API IMDb Countries of Origin ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API IMDb ?

Non. IMDb Countries of Origin fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API IMDb séparément.