Company Filmography - Every Title Credited to a Company ID
List every title credited to a company id, with a real total count, ten sort options and cursor pagination. Warner Bros. (co0002663) returns 13,000+ titles.
GET
/api/v1/companies/{company_id}/titles
Path Parameter
| Parameter | Description |
|---|---|
| company_id | IMDb company id - co followed by digits, e.g. co0002663. Case-insensitive. Get one from the company search endpoint above. |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| sort | string | No | Sort field (default: popularity) - see the table below |
| order | string | No | asc or desc (default: asc) |
| first | integer | No | Page size (default: 50, max: 100) |
| after | string | No | Pagination cursor - pass end_cursor from a previous response |
Sort Values
| Value | Description |
|---|---|
popularity | Popularity rank (default). asc = most popular first |
ranking | IMDb's own RANKING field - works, but its exact meaning is not documented upstream |
rating | User rating - use order=desc for best rated |
votes | Number of user votes |
release_date | Exact release date |
year | Release year - use order=desc for newest first |
title | Title, alphabetical (regional title) |
runtime | Runtime length |
metacritic | Metacritic score |
box_office | Domestic box office gross |
Response Fields
- company_id / company / company_types / country / imdb_url: The company itself, resolved in the same request
- sort / order: Echo of the sort parameters
- total: Total titles credited to this company (all pages)
- count: Items returned in this page
- has_more / end_cursor: Pagination state
- results: Array of title objects
- id, title, original_title, type, type_id, is_series, is_episode
- year, end_year, runtime_minutes
- rating, vote_count, genres, plot
- poster_url / poster_width / poster_height
- imdb_url
Notes
- Credits are not limited to producing or distributing: ILM (co0072491), credited only for effects and post production, returns 882 titles.
- Every title type comes back - Movie, Short, TV Episode, TV Series, TV Movie, Video and Music Video. Use type / is_series / is_episode to split them.
- An unknown but well-formed id returns 404; an id that is not co + digits returns 400.
- An invalid sort or order value returns 400 with the list of valid values; a malformed after cursor also returns 400.
Examples:
https://xmdbapi.com/api/v1/companies/co0002663/titles
- Warner Bros. filmography, most popular first
https://xmdbapi.com/api/v1/companies/co0002663/titles?sort=rating&order=desc&first=10
- Top rated Warner Bros. titles
https://xmdbapi.com/api/v1/companies/co0002663/titles?sort=year&order=desc
- Newest first, including unreleased titles
https://xmdbapi.com/api/v1/companies/co0046718/titles?sort=box_office&order=desc&first=20
- New Line Cinema, biggest box office first
https://xmdbapi.com/api/v1/companies/co0002663/titles?first=50&after=END_CURSOR
- Pagination - fetch the next page
Try it out!
Enter a company id and pick how the filmography should be sorted.
Made with ❤️ for XMDb API enthusiasts