Related movies or shows
Movies or shows related to a title, with full details. Pages with page (10 per page by default); next_page is null on the last page.
Every response includes credits_used: the credits this call cost.
Part of the Trakt API: 36 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
type | movie | show | movie or show (read from a trakt.tv link). Example: movie |
idrequired | string | The title: Trakt slug, Trakt number, IMDb id or a trakt.tv link (a season or episode link also sets season and episode). Example: inception-2010 |
page | integer | Page number, from 1. Pass next_page back as page; null on the last page. |
limit | integer | Items per page, 1-100 (default 20). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/trakt/v1/related?type=movie&id=inception-2010" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/trakt/v1/related",
params={"type": "movie", "id": "inception-2010"},
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/trakt/v1/related");
url.searchParams.set("type", "movie");
url.searchParams.set("id", "inception-2010");
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).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"type": "movie","page": 1,"limit": 10,"total": 38,"total_pages": 4,"count": 10,"next_page": 2,"items": [{"type": "movie","title": "Minority Report","year": 2002,"trakt_id": 145,"slug": "minority-report-2002","imdb_id": "tt0181689","tmdb_id": 180,"tvdb_id": null,"url": "https://app.trakt.tv/movies/minority-report-2002","tagline": "Everybody runs.","overview": "John Anderton is a top 'Precrime' cop in the late-21st century, when technology can predict crimes before they're committed. But Anderton be…","released": "2002-06-21","first_aired": null,"runtime_minutes": 145,"certification": "PG-13","country": "us","language": "en","languages": ["en","sv"],"status": "released","network": null,"aired_episodes": null,"genres": ["action","science-fiction","… 1 more"],"subgenres": ["conspiracy","dystopia","… 1 more"],"rating": 7.733707427978516,"votes": 21912,"comment_count": 54,"trailer": "https://youtube.com/watch?v=3JNsNp2DVSE","homepage": null,"airs": null,"original_title": "Minority Report","images": {"logo": ["https://media.trakt.tv/movies/145/medium/logo.webp"],"thumb": ["https://media.trakt.tv/movies/145/medium/thumb.webp"],"banner": ["https://media.trakt.tv/movies/145/medium/banner.webp"],"fanart": ["https://media.trakt.tv/movies/145/medium/fanart.webp"],"poster": ["https://media.trakt.tv/movies/145/medium/poster.webp"],"clearart": ["https://media.trakt.tv/movies/145/medium/clearart.webp"]},"updated_at": "2026-11-05T08:10:40.000Z"},{"type": "movie","title": "Looper","year": 2012,"trakt_id": 42897,"slug": "looper-2012","imdb_id": "tt1276104","tmdb_id": 59967,"tvdb_id": null,"url": "https://app.trakt.tv/movies/looper-2012","tagline": "Hunted by your future, haunted by your past.","overview": "In the year 2044, time travel has not yet been invented but in 30 years it will have been. When the mob wants to get rid of someone, they wi…","released": "2012-09-28","first_aired": null,"runtime_minutes": 118,"certification": "R","country": "us","language": "en","languages": ["en"],"status": "released","network": null,"aired_episodes": null,"genres": ["action","science-fiction","… 1 more"],"subgenres": ["assassin","dystopia","… 4 more"],"rating": 7.362127304077148,"votes": 21948,"comment_count": 82,"trailer": "https://youtube.com/watch?v=4Kn-MmuK3BI","homepage": "https://www.sonypictures.com/movies/looper","airs": null,"original_title": "Looper","images": {"logo": ["https://media.trakt.tv/movies/42897/medium/logo.webp"],"thumb": ["https://media.trakt.tv/movies/42897/medium/thumb.webp"],"banner": ["https://media.trakt.tv/movies/42897/medium/banner.webp"],"fanart": ["https://media.trakt.tv/movies/42897/medium/fanart.webp"],"poster": ["https://media.trakt.tv/movies/42897/medium/poster.webp"],"clearart": ["https://media.trakt.tv/movies/42897/medium/clearart.webp"]},"updated_at": "2026-10-27T08:08:09.000Z"},"… 8 more"],"cached": false,"credits_used": 1}