API & MCP
Everything the website does is open: free, no key, JSON in and out. Be kind with request rates.
Plan without saving
POST https://cupday.app/api/plan
{ "description": "U10 cup Saturday 15 May 9-15, 3 pitches, 12 min", "teams": "U10:\nA\nB\nC\nD" }
Create a tournament
POST https://cupday.app/api/tournaments
{ "description": "…", "teams": "…", "plan": 0 }
→ { "slug", "public_url", "manage_url", "referee_url" }
Read a tournament
GET https://cupday.app/api/t/{slug} schedule, results, tables
GET https://cupday.app/api/tournaments?q=&country=&from=YYYY-MM-DD
Enter a result
POST https://cupday.app/api/m/{organizer-or-referee-token}/match/{matchId}
{ "hg": 2, "ag": 1, "status": "done" }
MCP
Streamable HTTP endpoint at https://cupday.app/mcp. See how to connect. Machine-readable summary at /llms.txt.