One release: daily, weekend or weekly grosses and rankings
One release in one market: summary (distributor, opening and theaters, budget, release dates, MPA rating, running time, genres, widest release), grosses, the other markets of the same release, and its day-by-day grosses (rank, gross, changes, theaters, average, to date). view=weekend or weekly gives the weekend or weekly run; rankings the charts it ranks on.
Every response includes credits_used: the credits this call cost.
Part of the Box Office Mojo API: 23 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
idrequired | string | Release id (rl2691925505, from charts and titles) or a boxofficemojo.com release link. Example: rl2691925505 |
view | daily | weekend | weekly | rankings | daily (default), weekend, weekly or rankings. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/boxofficemojo/v1/release?id=rl2691925505" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/boxofficemojo/v1/release",
params={"id": "rl2691925505"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/boxofficemojo/v1/release");
url.searchParams.set("id", "rl2691925505");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"id": "rl2691925505","view": "daily","title": "Star Wars: Episode VII - The Force Awakens","year": null,"description": "As a new threat to the galaxy rises, Rey, a desert scavenger, and Finn, an ex-stormtrooper, must join Han Solo and Chewbacca to search for t…","poster": "https://m.media-amazon.com/images/M/MV5BOTAzODEzNDAzMl5BMl5BanBnXkFtZTgwMDU1MTgzNzE@._V1_SY278_CR2,0,184,278_.jpg","url": "https://www.boxofficemojo.com/release/rl2691925505/","title_id": "tt2488496","summary": {"distributor": "Walt Disney Studios Motion Pictures","opening": 247966675,"opening_note": "4,134 theaters","budget": 245000000,"release_date": "Fri Dec 18, 2015 - Thu Jun 2, 2016","release_date_dates": ["2015-12-18","2016-06-02"],"mpa": "PG-13","running_time": "2 hr 18 min","genres": ["Action","Adventure","… 1 more"],"widest_release": "4,134 theaters"},"grosses": {"domestic": 936662225,"international": 1131561399,"worldwide": 2068223624},"markets": [{"market": "All Territories","release_id": null,"release_group_id": "gr3305984517"},{"market": "Domestic","release_id": "rl2691925505","release_group_id": null},"… 61 more"],"count": 120,"items": [{"date": "Fri Dec 18","date_date": "2015-12-18","rank": 1,"daily_gross": 119119282,"gross_change_day": null,"gross_change_week": null,"number_of_theaters": 4134,"per_theater_average_gross": 28814,"gross_to_date": 119119282,"day": 1,"estimated": false},{"date": "Sat Dec 19","date_date": "2015-12-19","rank": 1,"daily_gross": 68294204,"gross_change_day": -42.7,"gross_change_week": null,"number_of_theaters": 4134,"per_theater_average_gross": 16520,"gross_to_date": 187413486,"day": 2,"estimated": false},"… 118 more"],"cached": false,"credits_used": 1}