For developers

API for developers

Özet + örnek · tam belge 997 kelime

Özet

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…

Örnek

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

Tam belge

Pro Pass

Tam belgeyi ister misiniz?

API for developers, 997 kelimedir. Pass bu belgeyi ve tüm araştırma notlarını tam olarak açar; ayrıca maç bazında olasılıklar, dört model karşılaştırması ve maç bazında taktik analiz de dahildir.

View pricing

Every forecast graded against the real result, scored on 987 matches since 2014. See the scorecard.

24h money-back, no questions asked·No subscription, no auto-renewal·Access through 31 Dec 2026. See refund policy.