A franchise's releases and grosses
Every release in a franchise: rank, release, lifetime gross, max theaters, opening and opening theaters, release date, distributor. Each row carries every column the site shows, named after its header (money and counts as numbers), with linked ids (release, title, release group, distributor company, date or weekend) next to the column they come from.
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 | Franchise id (fr3125251845, from /boxofficemojo/v1/franchises) or a link. Example: fr3125251845 |
area | string | Market code (DE, GB, JP, FR, CN ...; see /boxofficemojo/v1/markets); domestic (US and Canada) by default. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/boxofficemojo/v1/franchise?id=fr3125251845" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/boxofficemojo/v1/franchise",
params={"id": "fr3125251845"},
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/franchise");
url.searchParams.set("id", "fr3125251845");
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": "fr3125251845","area": "domestic","name": "Franchise: Star Wars","url": "https://www.boxofficemojo.com/franchise/fr3125251845/","count": 28,"columns": ["rank","release","… 7 more"],"items": [{"rank": 1,"release": "Star Wars: Episode VII - The Force Awakens","release_release_id": "rl2691925505","lifetime_gross": 936662225,"max_theaters": 4134,"opening": 247966675,"opening_number_of_theaters": 4134,"release_date": "Fri Dec 18, 2015","release_date_date": "2015-12-18","distributor": "Walt Disney Studios Motion Pictures","distributor_company_id": "co0226183","estimated": false},{"rank": 2,"release": "Star Wars: Episode VIII - The Last Jedi","release_release_id": "rl2708702721","lifetime_gross": 620181382,"max_theaters": 4232,"opening": 220009584,"opening_number_of_theaters": 4232,"release_date": "Fri Dec 15, 2017","release_date_date": "2017-12-15","distributor": "Walt Disney Studios Motion Pictures","distributor_company_id": "co0226183","estimated": false},"… 26 more"],"cached": false,"credits_used": 1}