For developers

API for developers

Resumen + muestra · documento completo de 997 palabras

Resumen

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…

Muestra

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

Documento completo

Pro Pass

¿Quieres el documento completo?

API for developers tiene 997 palabras. El Pass desbloquea este documento y todas las notas de investigación completas, más las probabilidades por partido, la comparación de cuatro modelos y el análisis táctico por partido.

View pricing

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