Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

IMDb Chart Rankings

Tài liệu 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.

Giá
$0.007143USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Type of rankings chart to retrieve.
Language and country preferences.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON
IMDb$0.007143 mỗi lần gọiJSON

Hướng dẫn:Best IMDb API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API IMDb Chart Rankings?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/imdb/title-chart-rankings với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API IMDb Chart Rankings có giá bao nhiêu?

$0.007143 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API IMDb Chart Rankings chấp nhận những tham số nào?

Bắt buộc: rankingsChartType (một trong số TOP_250, TOP_250_TV). Tùy chọn: languageCountry (một trong số en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API IMDb Chart Rankings trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của IMDb không?

Không. IMDb Chart Rankings chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của IMDb.