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

IMDb Top Cast and Crew

Docs API
https://api.sandbase.ai/v1/api/imdb/title-top-cast-and-crew

Get IMDb top cast and crew information for a title ID using selected language and country preferences. Use it to research principal talent or enrich title credits.

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 Top Cast and Crew API

Returns the top cast and crew credits for an IMDb title. It needs an IMDb title ID in tt<digits> format, such as tt0111161, and accepts an optional languageCountry value.

Use cases

  • Show the lead actors and their character names on a movie detail page.
  • Collect IMDb name IDs for the cast of a title, then use them to look up the same people elsewhere.
  • Pull profile photo URLs and sizes to build a cast gallery for a title.
  • Check how many credits a title lists in total before you decide how deep to go into its cast.

Request

curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-top-cast-and-crew" \
  -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": {
    "credits": {
      "__typename": "CreditConnection",
      "edges": [
        {
          "node": {
            "__typename": "Cast",
            "characters": [
              {
                "id": "Captain Hadley",
                "name": "Captain Hadley"
              }
            ],
            "name": {
              "__typename": "Name",
              "id": "nm0000317",
              "nameText": {
                "text": "Clancy Brown"
              },
              "primaryImage": {
                "__typename": "Image",
                "height": 2048,
                "id": "rm1769979648",
                "url": "https://m.media-amazon.com/images/M/MV5BMTUxODY3NjAzMF5BMl5BanBnXkFtZTcwMTQ5MjYw…",
                "width": 1418
              }
            }
          }
        }
      ],
      "total": 556
    },
    "id": "tt0111161",
    "principalCredits": [
      {
        "credits": [
          {
            "__typename": "Crew"
          }
        ]
      }
    ],
    "titleType": {
      "__typename": "TitleType",
      "canHaveEpisodes": false,
      "categories": [
        {
          "id": "movie",
          "text": "Movie",
          "value": "movie"
        }
      ],
      "displayableProperty": {
        "value": {
          "plainText": ""
        }
      },
      "id": "movie",
      "isEpisode": false,
      "isSeries": false,
      "text": "Movie"
    }
  }
}

Response fields

FieldMeaning
title.idThe IMDb title ID that the credits belong to.
title.titleType.text / title.titleType.idThe type of the title, such as Movie and movie.
title.titleType.isSeries / title.titleType.canHaveEpisodes / title.titleType.isEpisodeFlags that tell you whether the title is a series, can have episodes, or is an episode.
title.principalCredits[].credits[]The principal credits, grouped in a list of blocks. Each credit has a __typename of Cast or Crew. In this response the Crew entries hold only __typename, and the Cast entries hold the full details.
title.principalCredits[].credits[].name.nameText.textThe full name of a principal cast member.
title.principalCredits[].credits[].characters[].nameThe character that the principal cast member plays.
title.credits.edges[].node.name.nameText.textThe name of a person in the wider cast list.
title.credits.edges[].node.name.idThe IMDb name ID of the person, in nm<digits> format.
title.credits.edges[].node.characters[].nameThe character that this cast member plays.
title.credits.edges[].node.name.primaryImage.url / height / widthThe URL of the person's main photo, with its height and width in pixels as given by the values.
title.credits.totalThe total number of credits for the title. The edges list holds only part of them.

Notes

  • Find the title ID in the IMDb page URL, for example tt0111161 in imdb.com/title/tt0111161/.
  • languageCountry accepts en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US and es_MX. The default is en_US.
  • Call IMDb Base Info or IMDb Plot Summary with the same ID for more details on the title.

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 Top Cast and Crew ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/imdb/title-top-cast-and-crew 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 Top Cast and Crew ?

$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 Top Cast and Crew 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 Top Cast and Crew ?

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 Top Cast and Crew 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.