Trakt user history

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

What a user watched, newest first, with watch time and action. A private profile answers an empty list. Pass next_page back as page; 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

nametypedescription
usernamerequired string A Trakt username or a trakt.tv/users link. Example: sean
type string movies, shows, seasons, episodes or all.
start_at string From this date (YYYY-MM-DD or ISO time).
end_at string Until this date.
page integer Page number, from 1.
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/user/history?username=sean&type=movies" \
  -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).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.