datasets_boxofficemojo_facets
Get term-aggregation counts for any facet of the Box Office Mojo dataset, using the same filters as search to analyze titles by gross, genre, franchise, and more.
Instructions
Facet the Box Office Mojo dataset. Returns terms-aggregation counts for one facet of the Box Office Mojo dataset, scoped to the same filters as search. Facet enum: gross_band, years_active, lifetime_year, franchise_names, brand_names, genre_names, hydrated, is_billion_dollar, in_lifetime_top_1000_ww. gross_band enum: under_50m, 50_100m, 100_250m, 250_500m, 500m_1b, over_1b.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text query, max 256 characters | |
| year | No | Year in years_active | |
| brand | No | Brand name filter, max 128 characters | |
| facet | Yes | Facet enum: gross_band, years_active, lifetime_year, franchise_names, brand_names, genre_names, hydrated, is_billion_dollar, in_lifetime_top_1000_ww | |
| genre | No | Genre name filter, max 128 characters | |
| hydrated | No | Hydrated filter | |
| title_id | No | Exact title id (IMDb tt… id used by Box Office Mojo), max 32 characters | |
| franchise | No | Franchise name filter, max 128 characters | |
| gross_band | No | Gross band filter | |
| min_domestic | No | Minimum lifetime domestic gross | |
| lifetime_year | No | Primary lifetime chart year | |
| max_worldwide | No | Maximum lifetime worldwide gross | |
| min_worldwide | No | Minimum lifetime worldwide gross | |
| is_billion_dollar | No | Only titles with worldwide gross of at least $1B | |
| min_foreign_share | No | Minimum foreign share of worldwide gross, 0 through 1 | |
| max_domestic_share | No | Maximum domestic share of worldwide gross, 0 through 1 | |
| in_lifetime_top_1000 | No | Only titles in the lifetime worldwide top 1000 chart |