Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

IMDb Chart Rankings

Dokumentacja API
https://api.sandbase.ai/v1/api/imdb/title-chart-rankings

Get the IMDb Top 250 movie or TV chart selected by ranking type using language and country preferences. Use it to monitor chart positions or compare highly ranked titles.

Cena
$0.007143USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
Type of rankings chart to retrieve.
Language and country preferences.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

IMDb Chart Rankings API

Returns the IMDb Top 250 chart for movies or TV shows. Each entry has the title ID, original title, rating, vote count, rank, poster image and release date. The only required input is rankingsChartType, with an optional languageCountry.

Use cases

  • Track how a title's rank in the Top 250 changes from one day to the next.
  • Build a list of the highest rated movies with poster images and release years.
  • Compare chartRating and aggregateRating across top titles to see how votes shape the chart.
  • Collect title IDs from the TV chart to feed into other title lookups.

Request

curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-chart-rankings" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rankingsChartType": "TOP_250"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
rankingsChartTypestringYesType of rankings chart to retrieve.
languageCountrystringNoLanguage and country preferences.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "titleChartRankings": {
    "edges": [
      {
        "node": {
          "chartRating": 9.240896480966825,
          "chartVoteCount": 3260964,
          "item": {
            "__typename": "Title",
            "canRate": {
              "isRatable": true
            },
            "id": "tt0111161",
            "originalTitleText": {
              "isOriginalTitle": true,
              "text": "The Shawshank Redemption"
            },
            "primaryImage": {
              "__typename": "Image",
              "height": 1800,
              "id": "rm1690056449",
              "url": "https://m.media-amazon.com/images/M/MV5BMDAyY2FhYjctNDc5OS00MDNlLThiMGUtY2UxYWVk…",
              "width": 1200
            },
            "ratingsSummary": {
              "aggregateRating": 9.3,
              "topRanking": {
                "rank": 1
              },
              "voteCount": 3260964
            },
            "releaseDate": {
              "__typename": "ReleaseDate",
              "attributes": [],
              "country": {
                "id": "US"
              },
              "day": 14,
              "displayableProperty": {
                "qualifiersInMarkdownList": null
              },
              "month": 10,
              "restriction": null,
              "year": 1994
            },
            "releaseYear": {
              "__typename": "YearRange",
              "endYear": null,
              "year": 1994
            }
          }
        }
      }
    ]
  }
}

Response fields

FieldMeaning
titleChartRankings.edges[].node.item.idIMDb title ID, such as tt0111161. Use it to look up the same title in other IMDb APIs.
titleChartRankings.edges[].node.item.originalTitleText.textOriginal title of the movie or show.
titleChartRankings.edges[].node.item.ratingsSummary.topRanking.rankPosition of the title on the requested chart. 1 is the top entry.
titleChartRankings.edges[].node.item.ratingsSummary.aggregateRatingRating of the title, shown with one decimal place, for example 9.3.
titleChartRankings.edges[].node.chartRatingUnrounded rating value attached to the chart entry.
titleChartRankings.edges[].node.chartVoteCount / titleChartRankings.edges[].node.item.ratingsSummary.voteCountNumber of votes counted for the title.
titleChartRankings.edges[].node.item.releaseYear.yearYear the title was first released. endYear is null for single releases like films.
titleChartRankings.edges[].node.item.releaseDate.year / month / dayFull release date, with the release country in releaseDate.country.id.
titleChartRankings.edges[].node.item.primaryImage.urlLink to the main poster image. width and height give its size.

Notes

  • Set rankingsChartType to TOP_250 for the movie chart or TOP_250_TV for the TV chart.
  • languageCountry accepts values like en_US, fr_FR, de_DE and es_MX. It defaults to en_US.
  • Pass the title id to IMDb Base Info or IMDb Details to get more about a chart title.

Pricing

$0.007143 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON
IMDb$0.007143 za wywołanieJSON

Przewodniki:Best IMDb API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API IMDb Chart Rankings?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/imdb/title-chart-rankings z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API IMDb Chart Rankings?

$0.007143 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API IMDb Chart Rankings?

Wymagane: rankingsChartType (jedna z opcji: TOP_250, TOP_250_TV). Opcjonalne: languageCountry (jedna z opcji: en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API IMDb Chart Rankings?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego IMDb lub klucza API?

Nie. IMDb Chart Rankings działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API IMDb.