All-time charts: domestic, worldwide, inflation-adjusted, opening weekends

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

All-time charts, 200 rows a page: top domestic lifetime grosses, worldwide lifetime grosses (with domestic and foreign shares), inflation-adjusted domestic grosses, and biggest opening weekends (domestic, international or one market). 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. Pass next_offset back as offset; null on the last page.

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
chart top_lifetime_gross | ww_top_lifetime_gross | top_lifetime_gross_adjusted | top_opening_weekend Chart (default top_lifetime_gross). Example: ww_top_lifetime_gross
area string With chart=top_opening_weekend: a market code (see /boxofficemojo/v1/markets) or XNDOM for all international; domestic by default.
offset integer Row offset, a multiple of 200.

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

Example

curl "https://api.api.sh/boxofficemojo/v1/top?chart=ww_top_lifetime_gross" \
  -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)

{"chart": "ww_top_lifetime_gross","area": "domestic","offset": 0,"name": "Top Lifetime Grosses","url": "https://www.boxofficemojo.com/chart/ww_top_lifetime_gross/","count": 200,"columns": ["rank","title","… 6 more"],"items": [{"rank": 1,"title": "Avengers: Endgame","title_title_id": "tt4154796","worldwide_lifetime_gross": 2942318540,"domestic_lifetime_gross": 898471864,"domestic_pct": 30.5,"foreign_lifetime_gross": 2043846676,"foreign_pct": 69.5,"year": 2019,"year_year": "2019"},{"rank": 2,"title": "Avatar","title_title_id": "tt0499549","worldwide_lifetime_gross": 2923710708,"domestic_lifetime_gross": 785221649,"domestic_pct": 26.9,"foreign_lifetime_gross": 2138489059,"foreign_pct": 73.1,"year": 2009,"year_year": "2009"},"… 198 more"],"next_offset": 200,"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.