API & MCP

Everything a person can do on Movie & Series Marathon Planner, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Movie & Series Marathon Planner

Add movies (runtime) and series (episodes × minutes × seasons), your breaks, when you start and how many hours a day you want to watch. The planner schedules every movie and episode, tells you how many days the marathon takes and whether you finish by a date, and exports the viewing sessions as an .ics calendar.

Inputs of Movie & Series Marathon Planner
FieldTypeDefaultDescription
titles (required)table—Movies and series. Movie: runtime in minutes. Series: minutes per episode, episodes per season and seasons.
start (required)datetime—Start. When the marathon begins (local time).
dailyStarttime"18:00"On the following days, start at
maxHoursPerDaynumber4Maximum viewing per day. Watching time only; breaks come on top.
breakMinutesnumber10Break between episodes
titleBreakMinutesnumber20Break between titles
allowSplitbooleanfalseAllow pausing a movie or episode and continuing the next day
finishBydate—Finish by. Optional: checks whether you make it by the end of this day.

Example request

Lord-of-the-Rings-length trilogy over a weekend

curl -X POST https://runtimemarathonplanner.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"titles":[{"title":"Part 1","minutes":178},{"title":"Part 2","minutes":179},{"title":"Part 3","minutes":201}],"start":"2026-10-23T19:00","dailyStart":"14:00","maxHoursPerDay":6,"breakMinutes":10,"titleBreakMinutes":30,"allowSplit":false,"finishBy":"2026-10-25"}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "runtime-marathon-planner": { "type": "http", "url": "https://runtimemarathonplanner.usefulweb.site/mcp" }
  }
}