Titles with a genre keyword, by lifetime gross

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

Titles tagged with a genre keyword, 100 a page: rank, title, lifetime gross, max theaters, opening, release date, distributor. 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
idrequired string Genre keyword id (sg4208980225, from /boxofficemojo/v1/genres) or a link. Example: sg4208980225
area string Market code (DE, GB, JP, FR, CN ...; see /boxofficemojo/v1/markets); domestic (US and Canada) by default.
offset integer Row offset (from next_offset).

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

Example

curl "https://api.api.sh/boxofficemojo/v1/genre?id=sg4208980225" \
  -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": "sg4208980225","area": "domestic","offset": 0,"name": "Genre Keyword: Foreign Language","url": "https://www.boxofficemojo.com/genre/sg4208980225/","count": 100,"columns": ["rank","title","… 6 more"],"items": [{"rank": 1,"title": "Crouching Tiger, Hidden Dragon","title_title_id": "tt0190332","lifetime_gross": 128078872,"max_theaters": 2027,"opening": 663205,"open_th": 16,"release_date": "Fri Dec 8, 2000","release_date_date": "2000-12-08","distributor": "Sony Pictures Classics","distributor_company_id": "co0014453"},{"rank": 2,"title": "Life Is Beautiful","title_title_id": "tt0118799","lifetime_gross": 57247384,"max_theaters": 1136,"opening": 118920,"open_th": 6,"release_date": "Fri Oct 23, 1998","release_date_date": "1998-10-23","distributor": "Miramax","distributor_company_id": "co0022594"},"… 98 more"],"next_offset": 100,"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.