Netflix title details
A Netflix film or series by its id: title, synopsis, year, maturity rating and level, content warning, Netflix original flag, genres and Netflix genre ids, moods and tags, cast, creators and directors with person ids, audio and subtitle languages, download availability, trailers and featurettes, images (poster, billboard, hero, logo), similar titles and the plans with their prices. For a series: every season with its id, label and total runtime, and every episode with its id, number, title, synopsis, runtime and still image. Also IMDb and TMDB ids and scores, Rotten Tomatoes Tomatometer, original release date and production countries, and availability: the countries (of 93 Netflix markets) where it streams on Netflix, with video qualities and the date it leaves when announced. Set availability=0 to skip the country check.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
id | string | Netflix title id, the number in netflix.com/title/<id> (80057281 = Stranger Things). Or give url. Example: 80057281 |
url | string | A netflix.com title link instead of id. |
availability | boolean | Include the countries where the title streams on Netflix. Default true. |
language | string | Two-letter language of the episode texts filled in for older seasons. Default en. Example: en |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/netflix/v1/title?id=80057281" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/netflix/v1/title",
params={"id": "80057281"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/netflix/v1/title");
url.searchParams.set("id", "80057281");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); 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).