// DATA API V1

API DOCS

Football predictions and settled results as JSON. Included with Pro: 60 requests per minute and 10,000 per day for each key.

Open the consoleOpenAPI specification

PoisGoal outputs are statistical analysis of football matches. They are not betting advice, not a guarantee of any result, and should not be the sole basis for any financial decision.

QUICK START

1. Sign in, open the console and create a key (Pro members). Copy it right away: it is shown once.

2. Call the API:

export POISGOAL_KEY="pg_live_your_key_here"

# What is covered right now
curl -s https://poisgoal.com/api/v1/meta -H "Authorization: Bearer $POISGOAL_KEY"

# Premier League and LaLiga fixtures in a date range, Spanish names
curl -s "https://poisgoal.com/api/v1/matches?league=39,140&from=2026-11-21&to=2026-11-23&lang=es" \
  -H "Authorization: Bearer $POISGOAL_KEY"

# Full detail for one fixture
curl -s https://poisgoal.com/api/v1/matches/1638306 -H "x-api-key: $POISGOAL_KEY"

# How the model did recently
curl -s https://poisgoal.com/api/v1/accuracy -H "Authorization: Bearer $POISGOAL_KEY"

AUTHENTICATION

Send your key in either header:

Authorization: Bearer pg_live_...
x-api-key: pg_live_...

A key is pg_live_ followed by 32 URL-safe characters. Only a SHA-256 hash is stored, so a lost key cannot be recovered: revoke it and create a new one. You can hold up to 3 active keys. Keys return 403 plan_inactive while Pro is not active and work again once it is renewed. A revoked key returns 403 key_revoked permanently.

ENDPOINTS

Every endpoint is GET, returns JSON and lives under https://poisgoal.com/api/v1.

GET /metaAPI and model version, last update time, counts, and every covered competition with its upcoming fixture count
GET /matchesEvery upcoming fixture (not only today), summary fields, paginated
GET /matches/{fixture_id}One upcoming fixture with the full derived detail
GET /resultsSettled matches in the rolling results window: our prediction, the final score, hit flags. Newest first, paginated
GET /accuracyHit rates for the recent window and the long-run backtest, overall and per competition

Competitions are not hard-coded: a newly covered one appears in /meta and in the feeds automatically.

QUERY PARAMETERS

datematches, resultsYYYY-MM-DD, match date in the site timezone (America/Mexico_City). Cannot be combined with from or to
from, tomatches, resultsInclusive date range, either end optional
leaguematches, resultsCompetition id. Repeat it (league=39&league=140) or use a comma list (league=39,140). Max 50
limitmatches, results1 to 500, default 100
cursormatches, resultsOpaque value taken from pagination.next_cursor
langallen (default), es, zh-CN, pt-BR. Affects display_name fields only

Validation is strict: an unknown parameter, a repeated single-value parameter, an impossible date or an out-of-range limit returns 422 invalid_parameter with a message naming the problem.

PAGINATION

List endpoints use keyset pagination in a stable order (/matches: kickoff ascending, then fixture_id; /results: kickoff descending, then fixture_id). Each response includes:

"pagination": { "limit": 100, "total": 518, "returned": 100, "has_more": true, "next_cursor": "bTox..." }

Request the next page with the same filters plus cursor=<next_cursor>, and stop when has_more is false. total is the number of rows matching your filters. A cursor from /matches is rejected by /results and the reverse. A fixture whose kickoff passes while you are paging drops out of /matches; the cursor stays valid and you never receive a duplicate.

RATE LIMITS

Pro6010,000
X-RateLimit-Limitrequests per minute for this key
X-RateLimit-Limit-Dayrequests per UTC day for this key
X-RateLimit-Remaining-Dayrequests left today after this one (approximate under heavy parallel use)

On 429 the body says which limit was hit (rate_limited or daily_quota_exceeded) and Retry-After gives the seconds to wait. The daily quota resets at 00:00 UTC.

Successful responses carry Cache-Control: private, max-age=60. The data updates a few times per hour, so polling more than once a minute gains nothing.

ERRORS

Every error has the same shape:

{ "error": "invalid_parameter", "message": "`limit` must be an integer between 1 and 500." }
missing_api_key401No key sent
invalid_api_key401Key unknown or malformed
key_revoked403Key was revoked
plan_inactive403The owner's Pro membership is not active
not_found404Unknown endpoint
fixture_not_found404No upcoming fixture with that id (settled ones are in /results)
invalid_parameter422Bad query or path parameter
rate_limited, daily_quota_exceeded429See rate limits
data_unavailable503Data is being refreshed; retry after Retry-After
internal_error500Our fault

FIELD GLOSSARY

All probabilities are decimals from 0 to 1, rounded to 4 places.

Fixture

fixture_idStable match id
statuspredicted: model output available. listed: on the schedule but no model output yet, so probabilities and the derived blocks are null. started: kickoff has passed, not yet settled (detail endpoint only)
date, kickoff_atMatch date (site timezone) and kickoff timestamp (ISO 8601 with offset)
leagueid, key, canonical name, localised display_name, country, type (league or cup), season
home, awayCanonical name and localised display_name
probabilitiesFull-time home win, draw, away win
market_anchoredtrue when the probabilities were blended with a market consensus before publication. The market line itself is not part of the API
expected_goalsModel expected goals for each side and the total
confidence.pick, .probabilityThe most likely 1X2 outcome and its probability
confidence.tierstandard, hot or blazing: our own strength-of-signal label
recommendation.channelsWhich of our three signals fired: result (top 1X2 probability at least 0.55), score (top three scorelines together at least 0.40), goals (top three goal totals together at least 0.75)

Detail only (/matches/{fixture_id})

top_scoresMost likely exact scorelines with probabilities
total_goals.distributionProbability of 0, 1, 2, 3, 4, 5 and 6+ total goals
total_goals.top3_combinedCombined probability of the three most likely totals
total_goals.overProbability that total goals exceed 1.5, 2.5 and 3.5
both_teams_scoreProbability that both teams score (yes) or not (no)
half_timeHalf-time home, draw, away probabilities
formRecent results as a string, oldest to newest, for example WWDLW
eloOur Elo rating for each side

Result (/results)

score, outcomeFinal score and the 1X2 outcome
prediction.pick, .probabilitiesWhat the model published before kickoff
prediction.top_scores, .top_goal_totalsThe three scorelines and three goal totals the score and goals hits are judged against
hits.result, .score, .goalsWhether each published signal was right (null when not judged)

Accuracy (/accuracy)

recent covers the same rolling window and the same match set as the website results page (basis: results_page, window_days currently 3): settled matches where at least one of the three calls (result, exact score, total goals) was a hit. The rates are identical to the ones shown on the site. backtest is the long-run out-of-sample test. Rates are hits divided by judged matches.

NOT IN THE API

Bookmaker prices, opening lines, prediction-market volumes, team logos and third-party enrichment such as injury lists, referees and weather are not part of the API.

CHANGELOG

2026-11-18 · 1.0.0 · First public version