TMDB production companies and networks API
TMDB production companies and TV networks are read by id: GET /3/company/{company_id} and GET /3/network/{network_id} return the name, origin country and logo path, for example company 1 is Lucasfilm and network 49 is HBO. Pass ids to with_companies or with_networks in discover to list titles, 20 per page.
TMDB production companies and TV networks are read by numeric id. GET / returns the name, origin country and logo path of a studio, for example company 1 for Lucasfilm. GET / does the same for a TV network, for example 49 for HBO. Titles list their own companies and networks, so you rarely need a search, and the with_companies and with_networks filters in discover turn an id into a list of titles, 20 per page. amodb serves these paths with TMDB v3 JSON at https:/, and each call costs 1 request.
The ids come from the movie details API and the TMDB TV API, the filters are part of the TMDB discover API, and all other paths are listed in the API reference. For the product view of series data, see the TV show API.
How do I get production company details by id?
GET / is the TMDB company call. It returns one production company: name, origin country and logo path. It also carries description, headquarters, homepage and parent_company, but amodb leaves them empty. The id is the TMDB company id, so ids you stored earlier keep working.
The sample below reads the first production company of movie 550 and then loads that company.
COMPANY_ID=$(curl -sf "https://api.amodb.dev/3/movie/550" \
-H "Authorization: Bearer $AMODB_KEY" | jq '.production_companies[0].id')
curl -sf "https://api.amodb.dev/3/company/$COMPANY_ID" \
-H "Authorization: Bearer $AMODB_KEY"const base = 'https://api.amodb.dev/3';
const headers = { Authorization: `Bearer ${process.env.AMODB_KEY}` };
async function get(path) {
const res = await fetch(base + path, { headers });
if (!res.ok) throw new Error(`amodb returned ${res.status} for ${path}`);
return res.json();
}
const movie = await get('/movie/550');
const company = await get(`/company/${movie.production_companies[0].id}`);
console.log(company.name, company.origin_country, company.logo_path);import os
import requests
BASE = "https://api.amodb.dev/3"
HEADERS = {"Authorization": f"Bearer {os.environ['AMODB_KEY']}"}
def get(path):
r = requests.get(BASE + path, headers=HEADERS, timeout=10)
r.raise_for_status()
return r.json()
movie = get("/movie/550")
company = get(f"/company/{movie['production_companies'][0]['id']}")
print(company["name"], company["origin_country"], company["logo_path"])<?php
function amodb_get(string $path): array {
$ch = curl_init('https://api.amodb.dev/3' . $path);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => ['Authorization: Bearer ' . getenv('AMODB_KEY')],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status !== 200) {
throw new RuntimeException("amodb returned $status for $path");
}
return json_decode($body, true);
}
$movie = amodb_get('/movie/550');
$company = amodb_get('/company/' . $movie['production_companies'][0]['id']);
echo $company['name'], ' ', $company['origin_country'], PHP_EOL;package main
import (
"encoding/json"
"fmt"
"net/http"
"os"
"time"
)
var client = &http.Client{Timeout: 10 * time.Second}
func get(path string, out any) error {
req, err := http.NewRequest("GET", "https://api.amodb.dev/3"+path, nil)
if err != nil {
return err
}
req.Header.Set("Authorization", "Bearer "+os.Getenv("AMODB_KEY"))
res, err := client.Do(req)
if err != nil {
return err
}
defer res.Body.Close()
if res.StatusCode != http.StatusOK {
return fmt.Errorf("amodb returned %s for %s", res.Status, path)
}
return json.NewDecoder(res.Body).Decode(out)
}
func main() {
var movie struct {
Companies []struct {
ID int `json:"id"`
} `json:"production_companies"`
}
if err := get("/movie/550", &movie); err != nil || len(movie.Companies) == 0 {
panic("movie has no production companies")
}
var company struct {
Name string `json:"name"`
OriginCountry string `json:"origin_country"`
}
if err := get(fmt.Sprintf("/company/%d", movie.Companies[0].ID), &company); err != nil {
panic(err)
}
fmt.Println(company.Name, company.OriginCountry)
}Parameters
company_idpathrequiredNumeric company id, for example25.api_keyqueryone of twoYour key. Use this or theAuthorization: Bearerheader.
Response fields
| Field | Type | Notes |
|---|---|---|
description | string | Always an empty string. |
headquarters | string | City or region. Empty for most companies. |
homepage | string | Website address. Empty for most companies. |
id | integer | Company id. |
logo_path | string or null | Append to https:/. |
name | string | Company name. |
origin_country | string | ISO 3166-1 code such as US. Can be empty. |
parent_company | null | Always null. amodb does not fill the parent. |
Example response
{
"description": "",
"headquarters": "",
"homepage": "",
"id": 25,
"logo_path": "/nM2MfoMqzJQRiSynsDabOtFKetD.png",
"name": "20th Century Fox",
"origin_country": "US",
"parent_company": null
}The same shape comes back for every company id, for example /3/company/1 for Lucasfilm.
How do I get a TV network by id?
GET / is the TMDB network call. It returns a TV network: name, origin country, logo path, headquarters and homepage. It has no description and no parent_company. Read a network id from the networks array of a series. The series /3/tv/1399 lists HBO with id 49.
{
"headquarters": "",
"homepage": "",
"id": 49,
"logo_path": "/tuomPhY2UtuPTqqFnKMVHvSb724.png",
"name": "HBO",
"origin_country": "US"
}| Field | Type | Notes |
|---|---|---|
headquarters | string | Empty for most networks. |
homepage | string | Empty for most networks. |
id | integer | Network id. |
logo_path | string or null | Logo file path. |
name | string | Network name. |
origin_country | string | ISO 3166-1 code. An empty string for global streaming services such as Netflix. |
Which company and network endpoints are there?
Every path shares the base https:/ and the same auth as other endpoints.
| Method and path | Returns | Parameters |
|---|---|---|
GET / | Company record | company_id |
GET / | Network record | network_id |
GET /search/company | Paged list of companies with id, name, logo_path, origin_country | query, page |
amodb does not offer alternative_names or images paths for companies and networks. The logo is the logo_path in the record itself.
Logos
Build the logo address as https:/ plus logo_path. GET /3/configuration lists the logo sizes: w92, w154, w185, w300, w500 and original. The TMDB image URL page has the full size table. Logo files are mostly PNG, and image files need no key. A company without a logo has logo_path set to null.
How do I list the titles of a company or network?
Company and network ids are most useful as filters. Discover turns an id into a list of titles.
| Filter | Works on | Meaning |
|---|---|---|
with_companies | /discover/movie and /discover/tv | Titles made by these companies. |
with_networks | /discover/tv | Series aired by these networks. Movie discover ignores it. |
Separate several ids with a comma to require all of them, or with a pipe character (encoded as %7C) to accept any of them. The call below lists movies for one company, sorted by popularity. The second call lists the series that HBO aired.
curl -sf "https://api.amodb.dev/3/discover/movie?with_companies=$COMPANY_ID&sort_by=popularity.desc&page=1" \
-H "Authorization: Bearer $AMODB_KEY"
curl -sf "https://api.amodb.dev/3/discover/tv?with_networks=49&sort_by=popularity.desc" \
-H "Authorization: Bearer $AMODB_KEY"Discover results are cached at the edge for 30 minutes and arrive 20 per page. The full filter list is on the discover page.
How do I find a company by name?
GET / returns a paged list. Each row has id, logo_path, name and origin_country. The rows are not ranked by exact match: the studio called Lucasfilm Ltd. has id 1 and is the third row, after two similar names. Compare name and origin_country before you take an id. The query rules are on the TMDB search API page. There is no network search path.
What is the difference between a company and a network?
The two ids are not interchangeable. A company is a maker, a network is a broadcaster or streaming service.
| Item | Production company | TV network |
|---|---|---|
| Role | Makes a title | Airs a series |
| Listed on | production_companies of movies and series | networks of series only |
| Record path | GET / | GET / |
| Discover filter | with_companies on movie and TV discover | with_networks on TV discover only |
| Name search | GET /search/company | Not offered |
| Extra fields | description, parent_company (always blank) | none |
| Example | 1, Lucasfilm Ltd. | 49, HBO |
Does the amodb company API match TMDB?
For company, network and company search, yes.
| Item | On amodb |
|---|---|
| Base URL | https:/ instead of https:/ |
| Records | Same paths and JSON fields as TMDB v3 |
| Blank fields | description is an empty string and parent_company is null |
| Not offered | alternative_names and images paths, network search |
| Key | 32 lowercase hex characters, see TMDB API key |
| Rate | 20, 40 or 120 requests per minute per account, sliding 60 second window, no daily cap |
What does company and network data cost once the app earns money?
TMDB's API is free only until the app earns money. TMDB staff said on the TMDB forum (2026-10-15) that an app counts as commercial once it earns revenue from ads, in-app purchases, donations or subscriptions, and quoted a commercial plan at $149 a month for companies under $1M revenue (2026-03-31). amodb has no free tier. It costs from $5.19 a month, charges nothing extra for commercial use and needs no amodb logo or credit line. Third party credits still apply: credit JustWatch for where to watch data, and show the attribution credit wherever a text or image carries one. Company and network logos belong to their owners, and you are responsible for how you show them. See amodb pricing and amodb vs TMDB. A first client in TMDB API in PHP shows the call pattern.
Errors
A company or network that does not exist returns the TMDB error body with status_code 34. Other failures use the same body.
| HTTP | status_code | When |
|---|---|---|
| 401 | 7 | The key is missing or wrong. |
| 402 | 36 | The plan period has ended. |
| 404 | 34 | No company or network with that id, or an id that is not a number. |
| 405 | 37 | You sent a write method. |
| 429 | 25 | Over your requests per minute. Wait for the Retry-After seconds. |
See error codes for the whole list and rate limits for the headers.
Practical notes
- Store the company
idnext to the name. Names change, ids do not. - Check
logo_pathfornullbefore you render it. Do not rely onhomepage,headquartersordescription, because they are empty. - Company and network details are cached for 6 hours at the edge. Logo files on
img.amodb.devare cached for 30 days. A cached API reply still counts toward your requests per minute. - A network is a TV concept. To get its series, use
with_networkson/discover/tv, not on movie discover. - To find a company by name, use the company search above, then pick the right row by
nameandorigin_country.