Skip to content

REST API overview

Base URL : https://api.machina.gg/world-cup/v1
Auth     : X-Api-Token: <your key>     (header, every request)
Method   : POST for every endpoint — parameters go in the JSON body
OpenAPI  : https://machina.gg/world-cup-api/openapi.json

All endpoints are read-only and idempotent from your perspective (POST is used for ergonomic JSON bodies, not mutation). Responses share one envelope:

json
{ "data": { "..." : "endpoint payload" }, "meta": { "code": 200 }, "status": "success" }

The canonical flow

  1. Discover/get-schedule lists fixtures with their event_urn; /resolve maps any provider id or name to a canonical entity.
  2. Context — standings, squads, injuries, enriched event context, markets.
  3. Intelligencemodel forecasts, backtests, market-move explanations.
  4. Edgesignals and edge scans.
  5. Cardsfinished, source-cited outcome cards ready to publish.

Natural-language fixtures

Per-fixture endpoints accept either the precise event_urn or a natural event description ("Brazil vs Morocco") with optional team / opponent / date (YYYY-MM-DD) for disambiguation. Responses echo the resolved event_urn so your next call can chain on it.

Endpoint index

EndpointClassCredits
/healthfree0
/get-scheduledata1
/resolvedata1
/get-event-contextdata1
/get-standingsdata1
/get-squadsdata1
/get-injuriesdata1
/get-player-performance-contextdata1
/search-marketsmarket3
/get-market-statemarket3
/market-moversmarket3
/compare-market-sourcesmarket3
/fan-sentiment-contextsocial8
/get-match-forecastintelligence12
/backtest-forecastsintelligence12
/explain-market-moveintelligence12
/generate-market-briefintelligence12
/get-signaledge18
/find-market-edgesedge18
/skills/market-watchskill40
/skills/fan-pulseskill40
/skills/match-previewskill40
/skills/match-recapskill40
/skills/player-spotlightskill40

Providers

Markets and reasoning are powered by Kalshi, Polymarket, Google Gemini and xAI Grok, fused with Machina's identity crosswalk and Dixon-Coles model layer.

Informational only

Everything this API returns is informational decision support — never betting advice or a guaranteed outcome.