A movie's box office: summary, releases by market, credits, rankings, similar

GET https://api.api.sh/boxofficemojo/v1/title
1 credit / call media & music try it in the playground →

A title's box office page by IMDb id: title, year, description, poster, summary (distributor, opening, budget, earliest release, MPA rating, running time, genres), domestic/international/worldwide grosses, every release group and the lifetime gross and rank per market. view=credits lists filmmakers and cast; rankings the charts it ranks on; similar similar titles.

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

nametypedescription
idrequired string IMDb title id (tt1375666) or a boxofficemojo.com title link. Example: tt1375666
view summary | credits | rankings | similar summary (default), credits, rankings or similar.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/boxofficemojo/v1/title?id=tt1375666" \
  -H "x-api-key: $APISH_KEY"

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": "tt1375666","view": "summary","title": "Inception","year": 2010,"description": "A thief who steals corporate secrets through the use of dream-sharing technology is given the inverse task of planting an idea into the mind…","poster": "https://m.media-amazon.com/images/M/MV5BMjAxMzY3NjcxNF5BMl5BanBnXkFtZTcwNTI5OTM0Mw@@._V1_SY278_CR2,0,184,278_.jpg","url": "https://www.boxofficemojo.com/title/tt1375666/","summary": {"domestic_distributor": "Warner Bros.","domestic_opening": 62785337,"budget": 160000000,"earliest_release_date": "Thu Jul 15, 2010 (EMEA, APAC)","mpa": "PG-13","running_time": "2 hr 28 min","genres": ["Adventure","Sci-Fi","… 1 more"]},"grosses": {"domestic": 292587330,"international": 547209297,"worldwide": 839796627},"release_groups": [{"release_group": "Original Release","release_group_release_group_id": "gr1400852997","rollout": "Jul 15-Sep 24, 2010","areas": "62 areas","areas_release_group_id": "gr1400852997","domestic": 292576195,"international": 535682500,"worldwide": 828258695},{"release_group": "2017 Re-release","release_group_release_group_id": "gr1367298565","rollout": "Jul 6, 2017-Jun 16, 2022","areas": "EMEA, APAC","areas_release_group_id": "gr1367298565","domestic": "–","international": 92700,"worldwide": 92700},"… 5 more"],"markets": [{"region": "domestic","rows": [{"domestic": "Domestic","num_releases": 2,"lifetime_gross": 292587330,"rank": 130}]},{"region": "china","rows": [{"china": "China","num_releases": 2,"lifetime_gross": 71345823,"rank": 295}]},"… 3 more"],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.