Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

IMDb Top Cast and Crew

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.

मूल्य
$0.007143USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
The IMDb title identifier in tt<digits> format.
Language and country preferences.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

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.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
IMDb$0.007143 प्रति कॉलJSON
IMDb$0.007143 प्रति कॉलJSON
IMDb$0.007143 प्रति कॉलJSON
IMDb$0.007143 प्रति कॉलJSON
IMDb$0.007143 प्रति कॉलJSON
IMDb$0.007143 प्रति कॉलJSON

गाइड्स:Best IMDb API in 2026: Pricing Compared

प्रश्न

FAQ

IMDb Top Cast and Crew API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/imdb/title-top-cast-and-crew पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

IMDb Top Cast and Crew API की लागत कितनी है?

$0.007143 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

IMDb Top Cast and Crew API कौन-से parameters स्वीकार करती है?

आवश्यक: id (string)। वैकल्पिक: languageCountry (en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

IMDb Top Cast and Crew API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक IMDb developer account या API key चाहिए?

नहीं। IMDb Top Cast and Crew SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से IMDb API access के लिए आवेदन करने की आवश्यकता नहीं है।