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

IMDb Box Office Summary

Dokumentacja 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.

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

Playground

Wejście
The IMDb title identifier in tt<digits> format.
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 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.

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

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/imdb/title-box-office-summary 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 Box Office Summary?

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

Jakie parametry przyjmuje API IMDb Box Office Summary?

Wymagane: id (string). 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 Box Office Summary?

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