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

IMDb Box Office Summary

Tài liệu API
https://api.sandbase.ai/v1/api/imdb/title-box-office-summary

Get the IMDb box-office summary for a title ID using selected language and country preferences. Use it to research reported theatrical performance or compare 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
The IMDb title identifier in tt<digits> format.
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 Box Office Summary API

Returns the IMDb box-office summary for one title: budget, domestic gross, worldwide gross, and opening weekend gross. It needs an IMDb title ID in tt<digits> format, such as tt0111161.

Use cases

  • Compare the budget of a film with its worldwide gross to see how it performed at the box office.
  • Look up the opening weekend gross and date for a film to compare launches.
  • Add domestic and worldwide gross figures to a movie database or report.
  • Check the release year and title text of a film alongside its box-office numbers.

Request

curl -X POST "https://api.sandbase.ai/v1/api/imdb/title-box-office-summary" \
  -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": {
    "__typename": "Title",
    "budget": {
      "totalBudget": {
        "__typename": "Money",
        "amount": 25000000,
        "currency": "USD"
      }
    },
    "domesticGross": {
      "__typename": "BoxOfficeGross",
      "total": {
        "__typename": "Money",
        "amount": 28767189,
        "currency": "USD"
      }
    },
    "id": "tt0111161",
    "openingWeekendGrosses": {
      "edges": [
        {
          "node": {
            "gross": {
              "__typename": "BoxOfficeGross",
              "total": {
                "__typename": "Money",
                "amount": 727327,
                "currency": "USD"
              }
            },
            "weekendStartDate": "1994-09-23"
          }
        }
      ],
      "total": 1
    },
    "originalTitleText": {
      "isOriginalTitle": true,
      "text": "The Shawshank Redemption"
    },
    "releaseYear": {
      "year": 1994
    },
    "titleText": {
      "isOriginalTitle": true,
      "text": "The Shawshank Redemption"
    },
    "worldwideGross": {
      "__typename": "BoxOfficeGross",
      "total": {
        "__typename": "Money",
        "amount": 29425588,
        "currency": "USD"
      }
    }
  }
}

Response fields

FieldMeaning
title.idThe IMDb title ID that the figures belong to.
title.titleText.text / title.originalTitleText.textThe display title and the original title. isOriginalTitle is true when the title shown is the original one.
title.releaseYear.yearThe year the title was released.
title.budget.totalBudget.amountThe reported production budget. currency gives the currency code, such as USD.
title.domesticGross.total.amountThe reported domestic box-office gross, with its currency in currency.
title.worldwideGross.total.amountThe reported worldwide box-office gross, with its currency in currency.
title.openingWeekendGrosses.edges[].node.gross.total.amountThe gross for an opening weekend, with its currency in currency.
title.openingWeekendGrosses.edges[].node.weekendStartDateThe start date of that opening weekend, in YYYY-MM-DD format.
title.openingWeekendGrosses.totalThe number of opening weekend entries for the title.

Notes

  • Find the title ID in the IMDb page URL for a title. It looks like tt0111161.
  • languageCountry is optional and defaults to en_US. Other values are fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, and es_MX.
  • For more on the same title, call IMDb Details or IMDb Base Info.

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 Box Office Summary?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/imdb/title-box-office-summary 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 Box Office Summary 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 Box Office Summary chấp nhận những tham số nào?

Bắt buộc: id (string). 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 Box Office Summary 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 Box Office Summary 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.