Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

IMDb Top Cast and Crew

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

Prezzo
$0.007143USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 1 opzionali

Playground

Input
The IMDb title identifier in tt<digits> format.
Language and country preferences.
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

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

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
IMDb$0.007143 per chiamataJSON
IMDb$0.007143 per chiamataJSON
IMDb$0.007143 per chiamataJSON
IMDb$0.007143 per chiamataJSON
IMDb$0.007143 per chiamataJSON
IMDb$0.007143 per chiamataJSON

Guide:Best IMDb API in 2026: Pricing Compared

Domande

FAQ

Come uso l'API IMDb Top Cast and Crew?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/imdb/title-top-cast-and-crew con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API IMDb Top Cast and Crew?

$0.007143 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API IMDb Top Cast and Crew?

Richiesti: id (string). Facoltativi: languageCountry (uno tra en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API IMDb Top Cast and Crew?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API IMDb?

No. IMDb Top Cast and Crew funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API IMDb.