Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

IMDb Box Office Summary

เอกสาร 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.

ราคา
$0.007143USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
The IMDb title identifier in tt<digits> format.
Language and country preferences.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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.

สำรวจเพิ่มเติม

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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ IMDb Box Office Summary API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/imdb/title-box-office-summary โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

IMDb Box Office Summary API ราคาเท่าไร?

$0.007143 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

IMDb Box Office Summary API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: id (string). ตัวเลือก: languageCountry (หนึ่งใน en_US, fr_CA, fr_FR, de_DE, hi_IN, it_IT, pt_BR, es_ES, es_US, es_MX). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

IMDb Box Office Summary API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ IMDb ไหม?

ไม่จำเป็น IMDb Box Office Summary ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง IMDb API แยกต่างหาก