Get calendar

Episodes of your shows airing in the coming days.

GET https://cotlet.dev/api/v1/trakt/calendar

read

Returns the episodes airing from a start date for a number of days, in air order, with show, season, episode and air time in UTC. Your calendar covers shows you watched or watchlisted, minus hidden shows. A call covers at most 33 days.

Parameters

Parameters: get_calendar
NameTypeDescription
start_date date date First day, YYYY-MM-DD. Default: today.
days integer integer 1 to 33. Default: 7.

Request

cURL
curl https://cotlet.dev/api/v1/trakt/calendar \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("trakt", "get_calendar")
Node.js
const result = await cotlet.call('trakt', 'get_calendar');
CLI
cotlet call trakt get_calendar

Example response

JSON

{
  "days": [
    {
      "date": "2026-10-19",
      "episodes": [
        {
          "show": "Slow Horses",
          "season": 5,
          "episode": 1,
          "title": "Cold Open",
          "first_aired": "2026-10-19T01:00:00Z"
        }
      ]
    },
    {
      "date": "2026-10-21",
      "episodes": [
        {
          "show": "Severance",
          "season": 3,
          "episode": 4,
          "title": "The Long Floor",
          "first_aired": "2026-10-21T01:00:00Z"
        }
      ]
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.