For developers

API for developers

Résumé + extrait · document complet de 997 mots

Résumé

The /api/v1/ endpoints expose the project's model outputs in machine-readable form. They're the Pro tier's headline value proposition: every probability the public site renders, available as clean JSON for research notebooks, data journalism, fantasy tooling, and analytics workflows.

This is v1 — a deliberately small, stable surface: flat JSON rows, no nested expansion. Authenticate with a Bearer API key or a session cookie (see below).

Try it with no setup: GET /api/v1/sample/ is public — no account, no key. It returns the top-5 tournament-win probabilities so you can see the data s…

Extrait

curl "https://onthepitch.now/api/v1/sample/"

Authentication

Every endpoint except the public /api/v1/sample/ needs a credential. Two ways to authenticate:

  • Bearer API key (recommended) — generate a long-lived key at /account/api-key/ and pass it as Authorization: Bearer otp_live_…. One token, no cookie juggling — the friendly path for headless / CI / agent clients, and what the hosted MCP server at /api/mcp/ uses.
  • Session cookie — call the endpoints from a browser or a fetch-based client logged in to onthepitch.now. For automated tools (curl, scripts, notebooks), copy the session cookie from a logged-in browser into your client's cookie jar.

Access model: every signed-in account gets a free trial — a fixed number of calls shared across these REST endpoints and the MCP server — to try the data before buying. The allowance is tier-aware: a plain

Document complet

Pro Pass

Vous voulez le document complet ?

API for developers fait 997 mots. Le Pass débloque ce document et chaque note de recherche en intégralité, plus les probabilités par match, la comparaison des quatre modèles et l'analyse tactique par match.

View pricing

24h self-service refund·No subscription, no auto-renewal·Access through 31 Dec 2026. See refund policy.