JustWatch popular titles
The most popular (or trending, newest, best rated...) films and series of a country, optionally on given services, with the catalogue filters. Each title: id, type, title, original title, link, year, release date, description, runtime, age rating, production countries, genres, IMDb and TMDB ids and scores, IMDb votes, JustWatch rating, Tomatometer, likes and dislikes, poster, upcoming releases, and its offers. Pass next_cursor back as cursor.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
country | string | Two-letter country (default US): offers, titles and services of that country. |
language | string | Language of titles, descriptions and genre names (default en), e.g. de, es, fr. |
type | movie | show | Only films or only series. |
providers | string | Only titles on these services: comma-separated short codes, e.g. nfx (Netflix), dnp (Disney+), amp (Prime Video), atp (Apple TV+); see /justwatch/v1/providers. Example: nfx |
monetization | string | Comma-separated: FLATRATE (subscription), FREE, ADS, RENT, BUY, CINEMA, FAST. |
genres | string | Comma-separated genre codes: act, ani, cmy, crm, doc, drm, eur, fml, fnt, hrr, hst, msc, rly, rma, scf, spt, trl, war, wsn. |
year_min | integer | Released in or after this year. |
year_max | integer | Released in or before this year. |
age_certifications | string | Comma-separated ratings of the country, e.g. PG-13,R. |
quality | string | Comma-separated offer quality: SD, HD, 4K. |
sort | popular | trending | release_year | alphabetical | imdb_score | tmdb_popularity | random | last_added | Order (default popular). |
offers | string | 0 = leave out the offers. |
limit | integer | Titles per page (default 20, max 40). |
cursor | string | Pass next_cursor from the previous response; null on the last page. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/justwatch/v1/popular" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/justwatch/v1/popular",
params={},
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/justwatch/v1/popular");
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).