Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

IMDb Top Cast and Crew

API-Dokumentation
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.

Preis
$0.007143USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
The IMDb title identifier in tt<digits> format.
Language and country preferences.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

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.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
IMDb$0.007143 pro AufrufJSON
IMDb$0.007143 pro AufrufJSON
IMDb$0.007143 pro AufrufJSON
IMDb$0.007143 pro AufrufJSON
IMDb$0.007143 pro AufrufJSON
IMDb$0.007143 pro AufrufJSON

Anleitungen:Best IMDb API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die IMDb Top Cast and Crew API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/imdb/title-top-cast-and-crew mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die IMDb Top Cast and Crew API?

$0.007143 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die IMDb Top Cast and Crew API?

Erforderlich: id (string). Optional: languageCountry (eines von en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die IMDb Top Cast and Crew API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein IMDb-Entwicklerkonto oder einen API-Schlüssel?

Nein. IMDb Top Cast and Crew läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für IMDb API beantragen.