Trakt · JSON Structure

Trakt History Structure

Shape of a single entry returned by GET /sync/history and accepted by POST /sync/history.

Type: Properties: 0
VideoMoviesTelevisionMedia TrackingScrobbleRecommendationsSocialAuthenticationPublic APIs

Trakt History Structure is a JSON Structure definition published by Trakt.

Meta-schema:

JSON Structure

Raw ↑
{
  "title": "Trakt Watched History Structure",
  "description": "Shape of a single entry returned by GET /sync/history and accepted by POST /sync/history.",
  "entity": "HistoryItem",
  "fields": [
    { "name": "id", "type": "integer", "description": "Stable 64-bit history id." },
    { "name": "watched_at", "type": "datetime", "description": "When the user watched the item (UTC). Accepts the literal strings 'released' or 'unknown' on write." },
    { "name": "action", "type": "enum", "values": ["scrobble", "checkin", "watch"] },
    { "name": "type", "type": "enum", "values": ["movie", "episode"] },
    { "name": "movie", "type": "Movie", "conditional": "type=movie" },
    { "name": "show", "type": "Show", "conditional": "type=episode" },
    { "name": "episode", "type": "Episode", "conditional": "type=episode" }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/trakt-history-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.