Trakt API
by trakt.docs.apiary.io
Video
Added on November 5th, 2026
Checked and working on November 5th, 2026
Visit trakt.docs.apiary.io →
What it does
The Trakt API gives data about films and TV shows, such as trending and popular titles, episodes, ratings and related titles, and with OAuth lets users sync what they watched, their watch lists and ratings. Send trakt-api-version: 2 and your app's client ID as trakt-api-key. Responses are JSON. Free with a free API key (the client ID of an app you register).
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free with a free API key (the client ID of an app you register).
- Formats
- JSON
- Interface
- REST, HTTP-GET
- Provider
- trakt.docs.apiary.io
- Last checked
- Working on November 5th, 2026
More information: https://trakt.docs.apiary.io/
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://api.trakt.tv/movies/trending' \
-H 'trakt-api-version: 2' \
-H 'trakt-api-key: YOUR_API_KEY'
JavaScript
const response = await fetch("https://api.trakt.tv/movies/trending", {
headers: {
"trakt-api-version": "2",
"trakt-api-key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://api.trakt.tv/movies/trending",
headers={
"trakt-api-version": "2",
"trakt-api-key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key.