Find a title or person by IMDb, TMDB, TVDB or Trakt id

GET https://api.api.sh/trakt/v1/lookup
1 credit / call media & music try it in the playground →

Looks up movies, shows, episodes, people or lists by an external id and returns the matching Trakt records with full details. An IMDb id (tt...) needs no id_type. Unknown ids answer 404.

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

nametypedescription
idrequired string The id to look up, e.g. tt0903747 or a TMDB number. Example: tt0903747
id_type imdb | tmdb | tvdb | trakt imdb, tmdb, tvdb or trakt (read from the id when it starts with tt).
type movie | show | episode | person | list Narrow numeric ids that several kinds share: movie, show, episode, person, list.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/trakt/v1/lookup?id=tt0903747" \
  -H "x-api-key: $APISH_KEY"

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)

{"id_type": "imdb","id": "tt0903747","count": 1,"items": [{"type": "show","score": 100,"show": {"type": "show","title": "Breaking Bad","year": 2008,"trakt_id": 1388,"slug": "breaking-bad","imdb_id": "tt0903747","tmdb_id": 1396,"tvdb_id": 81189,"url": "https://app.trakt.tv/shows/breaking-bad","tagline": "Change the equation.","overview": "Walter White, a New Mexico chemistry teacher, is diagnosed with Stage III cancer and given a prognosis of only two years left to live. He be…","released": null,"first_aired": "2008-01-21T02:00:00.000Z","runtime_minutes": 50,"certification": "TV-MA","country": "us","language": "en","languages": ["en","de","… 1 more"],"status": "ended","network": "AMC","aired_episodes": 62,"genres": ["drama","crime","… 1 more"],"subgenres": ["dark-comedy","tragedy","… 1 more"],"rating": 9.317700386047363,"votes": 74751,"comment_count": 577,"trailer": "https://youtube.com/watch?v=VFkjBy2b50Q","homepage": "https://www.sonypictures.com/tv/breakingbad","airs": {"day": "Sunday","time": "21:00","timezone": "America/New_York"},"original_title": "Breaking Bad","images": {"logo": ["https://media.trakt.tv/images/shows/000/001/388/logos/medium/d8abdb2dee.png.webp"],"thumb": ["https://media.trakt.tv/images/shows/000/001/388/thumbs/medium/e348e4a03f.jpg.webp"],"banner": ["https://media.trakt.tv/images/shows/000/001/388/banners/medium/c53872a7e2.jpg.webp"],"fanart": ["https://media.trakt.tv/images/shows/000/001/388/fanarts/medium/fdbc0cb02d.jpg.webp"],"poster": ["https://media.trakt.tv/images/shows/000/001/388/posters/medium/fa39b59954.jpg.webp"],"clearart": ["https://media.trakt.tv/images/shows/000/001/388/cleararts/medium/1f00520834.png.webp"]},"updated_at": "2026-11-05T15:18:36.000Z"}}],"cached": false,"credits_used": 1}
The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.