ArbiScan API
ArbiScan REST API / developer guide

From your API key to the first odds response.

Read Polish prematch odds from your server. Explore the response format and failure states before connecting your application.

Backend contract reviewed: 2026-10-04. Examples come from offline tests with synthetic events. They do not establish current coverage or deployment state.

Access and keys

Choose a separate API plan. After payment confirmation, create a key in the API panel and save the secret shown once. A scanner subscription is neither required nor sufficient for API access.

Open the API panel (Polish)

Set ARBISCAN_API_KEY only in your server environment. Send X-API-Key over HTTPS. Never put keys in URLs, browser code, localStorage, logs or analytics. Rotate an exposed key and revoke the old secret in the panel.

First request

Base URL: https://api.arbiscan.pl/v1. Start with a small page. The playground runs locally without a key or quota charge; run copied code on your server.

Explore an API responseDemo data
GET/v1/odds
curl --fail-with-body 'https://api.arbiscan.pl/v1/odds?bookmakers=Betclic&markets=h2h&max_age_seconds=900&limit=1' \
  --header "X-API-Key: $ARBISCAN_API_KEY"

Keep your key on your server. This example does not send a request to the API.

ResponseResponse structure
{
events[]
Events
bookmakers[]
Bookmaker sources
markets[]
Markets and outcomes
last_update
Observation time
}

Run the example to view the JSON.

Sources, markets and update frequency

Read /sports, /leagues, /bookmakers and /markets. Use returned names in filters, e.g. Betclic or Superbet for their Polish offerings. Do not assume every market or event is covered. h2h denotes a result/winner market; use complete line keys such as Total|2.5. Numeric normalization removes trailing zeroes, not handicap signs.

The API serves prematch offers. Updates depend on the source and publication; the contract guarantees no fixed interval or SLA. The 60–900-second age threshold is a filter, not an update cadence. Inspect observation times and /health. Odds history and the price-change stream are currently unavailable.

/odds response fields

counthas_morenext_cursor
Events on this page; continuation flag and cursor. Last page: false and null.
snapshot.idsnapshot.publication_generationsnapshot.active_generation
Full snapshot ID, publication generation and active generation. Compare the whole snapshot, not just id: a partial publication can change the generation without changing id.
snapshot.generated_atsnapshot.accepted_atsnapshot.changed_atsnapshot.read_at
Generation, acceptance, publication-change and first-page read times. read_at stays fixed during pagination. Some metadata can be null before the first full publication.
snapshot.event_countsnapshot.outcome_count
Full publication counts. These are not your filtered result count or the number of remaining pages.
freshness.modefreshness.max_age_secondsfreshness.as_of
fresh_prematch, applied age threshold and evaluation time: identical to snapshot.read_at.
events[].idevents[].canonical_id
Canonical ArbiScan event identity. This is not a bookmaker event ID.
events[].sportevents[].disciplineevents[].event_scopeevents[].leagueevents[].source_leagues
Sport, discipline, event scope, league and original source league labels. Do not join events by team names alone.
events[].home_teamevents[].away_teamevents[].commence_timeevents[].last_seen
Canonical team order, kickoff and event observation time. last_seen does not replace a quote timestamp.
events[].portfolio.truncatedevents[].portfolio.reasonevents[].portfolio.outcome_limitevents[].portfolio.outcomes_beforeevents[].portfolio.outcomes_after
Market-portfolio truncation metadata. false does not guarantee the bookmaker’s complete offering; detail values may be null.
events[].bookmakers[].keyevents[].bookmakers[].bookmaker_event_id
Source name and native event ID (nullable). Use names returned by /bookmakers in filters, not website logo identifiers.
events[].bookmakers[].last_updateevents[].bookmakers[].markets[].last_update
Newest observation among the exposed source or market quotes. Individual outcomes can be older.
events[].bookmakers[].markets[].key
Exact /markets key, e.g. h2h or Total|2.5. Preserve family, line and sign; do not reverse teams or handicaps.
events[].bookmakers[].markets[].outcomes[].nameevents[].bookmakers[].markets[].outcomes[].priceevents[].bookmakers[].markets[].outcomes[].last_update
Outcome, decimal price and original observation time. Use this timestamp to assess each quote’s age. Names may retain source spelling variants.
quota.usedquota.limitquota.total_usedquota.total_limitquota.remaining
Daily usage and limit; lifetime usage, limit and remaining allowance. remaining is the lifetime balance; null means no lifetime limit.
quota.minute_usedquota.minute_limitquota.minute_remaining
Admitted attempts in the UTC minute and remaining throughput. Errors do not refund the minute throttle.

Optional bookmakers[].bookmaker_event_path and bookmakers[].bookmaker_event_slug describe navigation paired with that native ID. They are not full URLs. Absence means unknown; never guess a path from team names. A Betsport path comes from the source hierarchy. A returned slug identifies the parent event. Validate the HTTPS origin and encode URL segments when constructing links. /odds does not return event_url.

Pagination: one retained result

  1. Send the first request with filters and limit from 1 to 500 (default 200). The backend retains the full result when more pages are needed.
  2. When has_more=true, pass next_cursor as cursor. Send only cursor and limit for the simplest continuation. If repeating filters, repeat the entire context; never recompute relative dates between pages. You may change limit.
  3. A v4 cursor is bound to the account quota subject and filters. Retention lasts 240 seconds after materialization; pages do not extend it. New publications and worker restarts do not change an admitted traversal.
  4. Stop at has_more=false and next_cursor=null. Publish results only after receiving all pages. On 409 snapshot_changed or cursor_version_expired, discard the buffer and restart with a bounded retry budget.

Version limitation: the parser rejects cursor offsets above 10,000 events (400 invalid_request), although retention may admit a larger result. Split broad reads into smaller commence_from/commence_to windows and deduplicate id at shared date boundaries (both bounds are inclusive). Never edit a cursor. Each window has its own snapshot; multiple windows are not one atomic read.

These programs read one complete traversal and require ARBISCAN_API_KEY. They allow three traversal attempts, bounded 429/503 retries and a 230-second margin. Network errors stop without partial output. For large results, replace the in-memory buffer with a transaction or temporary file committed only at completion.

cURL + Bash + jq

Download the runnable example

#!/usr/bin/env bash
# Requires Bash, curl and jq. Set ARBISCAN_API_KEY on your server.
set -euo pipefail
: "${ARBISCAN_API_KEY:?Set ARBISCAN_API_KEY}"
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
for restart in 1 2 3; do
  : > "$work/events.ndjson"
  : > "$work/cursors"
  cursor='' snapshot='' retry=0
  started=$SECONDS
  while :; do
    args=(--data-urlencode 'limit=500')
    if [[ -n "$cursor" ]]; then
      args+=(--data-urlencode "cursor=$cursor")
    else
      args+=(--data-urlencode 'sport=Football' --data-urlencode 'bookmakers=Betclic'
        --data-urlencode 'markets=h2h' --data-urlencode 'max_age_seconds=900')
    fi
    status=$(curl --silent --show-error --max-time 30 --get \
      'https://api.arbiscan.pl/v1/odds' --header "X-API-Key: $ARBISCAN_API_KEY" \
      "${args[@]}" --dump-header "$work/headers" --output "$work/page" --write-out '%{http_code}')
    code=$(jq -r '.code // empty' "$work/page" 2>/dev/null || true)
    if [[ "$status" == 409 && ( "$code" == snapshot_changed || "$code" == cursor_version_expired ) ]]; then
      break # The next attempt starts with an empty buffer.
    fi
    if [[ ( "$status" == 429 || "$status" == 503 ) && "$code" != total_quota_exceeded && $retry -lt 3 ]]; then
      delay=$(awk 'tolower($1)=="retry-after:" {gsub("\r", "", $2); print $2}' "$work/headers" | tail -1)
      # The API sends seconds. Stop on a date-valued proxy header; never retry early.
      [[ "$delay" =~ ^[0-9]+$ ]] || { echo 'Retry later; inspect Retry-After' >&2; exit 1; }
      (( SECONDS - started + delay < 230 )) || { echo 'Retry later; discard partial results' >&2; exit 1; }
      retry=$((retry + 1))
      sleep "$delay"
      continue
    fi
    [[ "$status" == 2?? ]] || { echo "HTTP $status $code; no partial output" >&2; exit 1; }
    retry=0
    current=$(jq -cS '.snapshot' "$work/page")
    [[ -z "$snapshot" || "$snapshot" == "$current" ]] || { echo 'Snapshot mismatch' >&2; exit 1; }
    snapshot=$current
    jq -c '.events[]' "$work/page" >> "$work/events.ndjson"
    if [[ $(jq -r '.has_more' "$work/page") == false ]]; then
      jq -s '.' "$work/events.ndjson"
      exit 0
    fi
    cursor=$(jq -er '.next_cursor | select(type == "string" and length > 0)' "$work/page")
    if grep -Fxq "$cursor" "$work/cursors"; then echo 'Repeated cursor' >&2; exit 1; fi
    printf '%s\n' "$cursor" >> "$work/cursors"
    (( SECONDS - started < 230 )) || { echo 'Traversal too slow' >&2; exit 1; }
  done
done
echo 'Restart budget exhausted; no partial output' >&2
exit 1
Python 3

Download the runnable example

# Python 3, standard library only. Set ARBISCAN_API_KEY on your server.
import json
import os
import random
import time
from email.utils import parsedate_to_datetime
from urllib.error import HTTPError
from urllib.parse import urlencode
from urllib.request import Request, urlopen


def read_odds():
    key = os.environ['ARBISCAN_API_KEY']
    first = dict(sport='Football', bookmakers='Betclic', markets='h2h',
                 max_age_seconds=900, limit=500)
    for restart in range(3):
        events, seen = [], set()
        cursor, snapshot, retries = None, None, 0
        started = time.monotonic()
        while True:
            query = dict(cursor=cursor, limit=500) if cursor else first
            request = Request('https://api.arbiscan.pl/v1/odds?' + urlencode(query),
                              headers={'X-API-Key': key})
            try:
                response = urlopen(request, timeout=30)
            except HTTPError as error:
                response = error
            with response:
                status, headers = response.status, response.headers
                try:
                    body = json.load(response)
                except (ValueError, UnicodeError):
                    body = {}  # A proxy may return HTML.
            code = body.get('code')
            if status == 409 and code in ('snapshot_changed', 'cursor_version_expired'):
                break  # Discard this buffer and restart from page one.
            if status in (429, 503) and code != 'total_quota_exceeded' and retries < 3:
                retry_after = headers.get('Retry-After')
                try:
                    delay = float(retry_after)
                except (TypeError, ValueError):
                    try:
                        delay = parsedate_to_datetime(retry_after).timestamp() - time.time()
                    except (TypeError, ValueError, AttributeError):
                        delay = 2 ** retries
                delay = max(0, delay)
                if time.monotonic() - started + delay >= 230:
                    raise RuntimeError('Retry later; discard partial traversal')
                retries += 1
                time.sleep(delay + random.random() * 0.25)
                continue
            if not 200 <= status < 300:
                raise RuntimeError(f'{status} {code or "non_json_error"}')
            retries = 0
            if snapshot is not None and snapshot != body['snapshot']:
                raise RuntimeError('Snapshot mismatch')
            snapshot = body['snapshot']
            events.extend(body['events'])
            if not body['has_more']:
                return events
            cursor = body['next_cursor']
            if not cursor or cursor in seen:
                raise RuntimeError('Invalid continuation')
            seen.add(cursor)
            if time.monotonic() - started >= 230:
                raise RuntimeError('Traversal too slow; discard partial results')
    raise RuntimeError('Restart budget exhausted')


if __name__ == '__main__':
    print(json.dumps(read_odds()))
JavaScript · Node.js 20+

Download the runnable example

// Node.js 20+; run on your server with ARBISCAN_API_KEY set.
// Print only a complete traversal. Never mix pages from different traversals.
export async function readOdds() {
  const key = process.env.ARBISCAN_API_KEY;
  if (!key) throw new Error('Set ARBISCAN_API_KEY');
  const first = { sport: 'Football', bookmakers: 'Betclic', markets: 'h2h',
    max_age_seconds: '900', limit: '500' };
  for (let restart = 0; restart < 3; restart++) {
    const events = [], seen = new Set();
    let cursor = null, snapshot = null, retry = 0;
    const started = Date.now();
    while (true) {
      const query = new URLSearchParams(cursor ? { cursor, limit: '500' } : first);
      const response = await fetch('https://api.arbiscan.pl/v1/odds?' + query, {
        headers: { 'X-API-Key': key }, signal: AbortSignal.timeout(30_000),
      });
      // Proxy failures may not contain JSON.
      const body = await response.json().catch(() => ({}));
      if (response.status === 409 &&
          ['snapshot_changed', 'cursor_version_expired'].includes(body.code)) break;
      if ([429, 503].includes(response.status) && body.code !== 'total_quota_exceeded' && retry < 3) {
        const header = response.headers.get('Retry-After');
        const seconds = header === null ? NaN : Number(header);
        const delay = Number.isFinite(seconds) ? seconds * 1000
          : header && Number.isFinite(Date.parse(header)) ? Math.max(0, Date.parse(header) - Date.now()) : 1000 * 2 ** retry;
        // Stop instead of sleeping past the retained traversal's lifetime.
        if (Date.now() - started + delay >= 230_000) throw new Error('Retry later; discard partial traversal');
        retry++;
        await new Promise(resolve => setTimeout(resolve, Math.max(0, delay) + Math.random() * 250));
        continue;
      }
      if (!response.ok) throw new Error(`${response.status} ${body.code || 'non_json_error'}`);
      retry = 0;
      const identity = JSON.stringify(body.snapshot);
      if (snapshot !== null && snapshot !== identity) throw new Error('Snapshot mismatch');
      snapshot = identity;
      events.push(...body.events);
      if (!body.has_more) return events;
      if (!body.next_cursor || seen.has(body.next_cursor)) throw new Error('Invalid continuation');
      seen.add(body.next_cursor);
      cursor = body.next_cursor;
      if (Date.now() - started >= 230_000) throw new Error('Traversal too slow; discard partial results');
    }
    // A 409 restarts with the original filters and a new empty buffer.
  }
  throw new Error('Restart budget exhausted');
}

// Import readOdds() into your app, or run: node odds-pagination.mjs
if (process.argv[1] && import.meta.url === new URL('file://' + process.argv[1]).href) {
  console.log(JSON.stringify(await readOdds()));
}

Freshness and missing data

freshness.mode is always fresh_prematch. include_stale is rejected even with false (400 invalid_request). Quote-age and kickoff predicates are evaluated at snapshot.read_at = freshness.as_of on the first read. Continuation preserves prices and timestamps even if an event starts meanwhile. Before using data, recheck each quote’s age and commence_time against the current time and refresh when necessary.

An empty events array with 200 is valid when nothing matches. /events/{event_id} returns availability=stale or no_visible_markets with empty bookmakers when fresh offers are absent, and 410 event_expired after kickoff. In /health, ok=true indicates process/database liveness, not fresh data; inspect data_fresh and data_status. Never replace missing prices with zero or refresh cached quote timestamps.

Errors and recovery

Application errors contain error (text) and code (machine-readable), sometimes with extra fields. Do not parse error text as a code.

{
  "code": "snapshot_changed",
  "error": "Odds traversal expired; restart pagination"
}
HTTPcodeRecovery
400invalid_requestFix parameter types, lengths, bounds or dates. Remove include_stale (even false).
400cursor_filter_mismatchRestore matching filters and account, or start a new traversal. Do not retry changed filters with the same cursor.
400invalid_filtersLadders accept only bookmakers within the documented bounds.
401invalid_api_key / unauthorizedCheck X-API-Key, key expiry and account state. Do not retry automatically.
403plan_upgrade_required / forbiddenCheck entitlements. History and webhooks require the relevant Data Plus access.
404event_not_found / not_foundRefresh discovery. A missing event differs from an empty odds list.
405method_not_allowedCheck the HTTP method; the response may include Allow.
409snapshot_changed / cursor_version_expiredDiscard partial results and restart at page one. The first code means expired/missing retention; the second means a legacy v1–v3 cursor.
409conflictFor webhooks, check the limit of 3 active destinations.
410event_expiredThe event has started or expired. Do not treat it as current prematch data.
410goneHistory is disabled; disabled=true. Retrying cannot enable the feature.
422unsupported_sportLadders support Football.
429rate_limit_exceeded / minute_quota_exceeded / daily_quota_exceeded / total_quota_exceededRespect Retry-After. Daily quota resets at 00:00 UTC. Lifetime exhaustion needs an access change; 86400 seconds does not promise a reset tomorrow.
503pagination_capacityRetention capacity unavailable. Retry-After: 2. Narrow dates, sources or markets for oversized results; a smaller page limit does not shrink the full traversal.
5xxinternal_errorKeep X-Request-ID. Use bounded retries with backoff. A proxy may return a non-JSON response.

Diagnostic headers

X-Request-ID
Record with the HTTP status for support, without the secret.
X-Odds-Snapshot-ID / X-Odds-Publication-Generation / X-Odds-Active-Generation
Read metadata on data responses. Continuations report the retained generation; bootstrap means no full snapshot yet (id=null in JSON).
Retry-After
Delay on 429; also 2 seconds for pagination_capacity. Handle an HTTP date if supplied by a proxy. Never retry early.
X-RateLimit-Limit / X-RateLimit-Remaining / X-RateLimit-Reset
Minute limit, remaining attempts and ISO-8601 UTC reset. On daily_quota_exceeded, Reset is midnight UTC, not the next minute.
X-DailyLimit-Limit / X-DailyLimit-Remaining
Daily allowance and remaining capacity, including reservations.
X-TotalLimit-Limit / X-TotalLimit-Remaining
Present when a lifetime limit applies.
Cache-Control: private, no-store
Responses must not enter shared HTTP caches.

Limits, charging and request budgets

Each 2xx response from a metered data endpoint costs one daily/lifetime unit, including an empty page. A 4xx/5xx response refunds its reservation, but the admitted attempt remains in the minute throttle. /health and /usage are free; /usage has a separate 30/min limit and remains callable after exhaustion. Managed keys on one account share the allowance; extra keys do not multiply it.

In-flight requests temporarily reserve capacity. A reservation abandoned by a crashed worker is refunded after 600 seconds on the next admission or /usage read. Daily quota resets at 00:00 UTC; lifetime quota need not reset. In /usage, today.used and total.used report account usage; history contains request counts, not odds history.

Plan2xx / dayAttempts / minKeys
Starter1 000151
Data10 000301
Data Plus100 0001803

Catalogue limits as of 2026-10-04; account entitlements and /usage are authoritative. One successful read per minute is 1,440 requests/day; three pages per read is 4,320. Add discovery and successful retries. Do not choose polling frequency from the minute limit alone.

Webhooks · Data Plus

Up to 3 active destinations. Select snapshot.updated and fetch a new REST traversal after notification. Access requires an account-owned key with the relevant entitlement and an enabled service module. List: 30/min; create/delete: 10/min; test: 5/min. These management operations do not use the data-read counter.

POST /webhooks returns webhook and a one-time signing_secret. GET returns webhooks and limits (destinations, delivery_attempts, timeout_seconds). DELETE returns 204 with no body; test returns 202 with queued and event_id. The test endpoint queues a real delivery; the playground sends none.

Verify X-ArbiScan-Signature: t=<timestamp>,v1=<hex>. The signature is HMAC-SHA256(secret, timestamp + '.' + raw body bytes). Compare in constant time, check timestamp age and deduplicate X-ArbiScan-Event-ID. Other headers: X-ArbiScan-Event and X-ArbiScan-Timestamp. At most 4 delivery attempts, a 5-second timeout and retry delays of 60, 300, 1800 seconds. Acknowledge with 2xx.

WebSocket stream — price changes currently unavailable

Retained URL: wss://api.arbiscan.pl/v1/stream, with a server-supplied X-API-Key header and Data Plus access. sports and bookmakers accept comma-separated lists of up to 20 distinct names, each at most 100 characters, matched case-insensitively. cursor is an integer ≥ 0, defaulting to the latest history position; it is not an /odds cursor. One connection per account. With history disabled, do not expect odds.changed price events. ready and heartbeat messages do not establish fresh odds. WebSocket errors have a separate type=error, code, message format, not the HTTP {error, code} body.

Endpoints and parameters

All paths below use the /v1 prefix. Parameters are optional unless marked required. Send dates in UTC (Z); timestamps without a timezone are interpreted as UTC. URL-encode query parameters.

Download the 2026-10-04 OpenAPI reference

GET /health

Service liveness and data freshness; no key, no quota charge.

HTTP: 200 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/health'
{
  "active_max_age_seconds": 900,
  "data_fresh": true,
  "data_status": "fresh",
  "events_known": 2,
  "fresh_events_known": 2,
  "last_ingest": "2026-10-04T12:00:00Z",
  "last_ingest_age_seconds": 0,
  "ok": true,
  "stale_events_known": 0
}

GET /sports

Sports with fresh prematch offers.

HTTP: 200 · 401 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/sports' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "sports": [
    "Football"
  ]
}

GET /leagues

Leagues with fresh offers; optionally filter by sport.

ParameterLocationMeaning and bounds
sportqueryExact name from /sports; case-insensitive.

HTTP: 200 · 401 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/leagues' \
  --header "X-API-Key: $ARBISCAN_API_KEY" \
  --data-urlencode 'sport=Football'
{
  "leagues": [
    "League"
  ]
}

GET /bookmakers

Source names with fresh offers. Use the returned names in filters.

HTTP: 200 · 401 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/bookmakers' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "bookmakers": [
    "Betclic",
    "Excluded"
  ]
}

GET /markets

Available market keys. A separate catalogue cursor, without the 240-second retained-result guarantee.

ParameterLocationMeaning and bounds
sportqueryExact name from /sports; case-insensitive. Up to 256 characters.
leaguequeryCase-insensitive exact name returned by the corresponding discovery endpoint. Up to 256 characters.
bookmakerqueryName from /bookmakers. Case-insensitive in /markets; exact match in history. Up to 256 characters.
limitqueryItems per page, integer. 1–2000. Default: 500.
cursorqueryOpaque next_cursor value from the previous catalogue page. Up to 2048 characters.

HTTP: 200 · 400 · 401 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/markets' \
  --header "X-API-Key: $ARBISCAN_API_KEY" \
  --data-urlencode 'bookmaker=Betclic' \
  --data-urlencode 'limit=1'
{
  "count": 1,
  "has_more": true,
  "markets": [
    {
      "bookmaker_count": 1,
      "event_count": 2,
      "family": "h2h",
      "key": "h2h",
      "specifier": null
    }
  ],
  "next_cursor": "eyJtYXJrZXQiOiJoMmgiLCJ2IjoxfQ"
}

GET /odds

Prematch events and odds with retained-result pagination.

Cursor v4 retains the complete ordered result for 240 seconds after materialization. Continuations accept cursor alone (and an optional limit); if any filters are supplied, the complete normalized filter context must match. Cursors are bound to the quota subject. New publications and worker recycling do not invalidate an admitted traversal. Filter/subject mismatch: 400 cursor_filter_mismatch. include_stale is rejected even when false.

ParameterLocationMeaning and bounds
sportqueryCase-insensitive exact name returned by the corresponding discovery endpoint. Up to 128 characters.
leaguequeryCase-insensitive exact name returned by the corresponding discovery endpoint. Up to 256 characters.
bookmakersqueryComma-separated values; at most 100 distinct values, each at most 256 characters. Case-insensitive exact matches; no fuzzy matching.
marketsqueryComma-separated values; at most 100 distinct values, each at most 256 characters. Case-insensitive exact matches; no fuzzy matching.
commence_fromqueryInclusive kickoff lower bound (ISO-8601); must be ≤ commence_to. Started events remain excluded.
commence_toqueryInclusive kickoff upper bound (ISO-8601).
max_age_secondsquery60–900 seconds. Defaults to the service freshness setting (900 by default); inspect freshness.max_age_seconds in the response. 60–900.
limitqueryItems per page, integer. 1–500. Default: 200.
cursorqueryOpaque next_cursor value from the previous page. Up to 2048 characters.

HTTP: 200 · 400 · 401 · 409 · 429 · 503

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/odds' \
  --header "X-API-Key: $ARBISCAN_API_KEY" \
  --data-urlencode 'sport=Football' \
  --data-urlencode 'bookmakers=Betclic' \
  --data-urlencode 'markets=h2h' \
  --data-urlencode 'max_age_seconds=900' \
  --data-urlencode 'limit=1'
{
  "count": 1,
  "next_cursor": "eyJ2Ijo0LCJ0cmF2ZXJzYWwiOiJjZjc1ZWY2MTk4NWI0YWFiOWE0Mjc5MTU4Zjc0NTA5YSIsIm9mZnNldCI6MX0",
  "has_more": true,
  "snapshot": {
    "id": null,
    "generated_at": null,
    "accepted_at": null,
    "event_count": 0,
    "outcome_count": 0,
    "publication_generation": 0,
    "active_generation": 0,
    "changed_at": "2026-10-04T12:00:00Z",
    "read_at": "2026-10-04T12:00:00Z"
  },
  "freshness": {
    "mode": "fresh_prematch",
    "max_age_seconds": 900,
    "as_of": "2026-10-04T12:00:00Z"
  },
  "quota": {
    "used": 1,
    "limit": 10000,
    "total_used": 1,
    "total_limit": null,
    "remaining": null,
    "minute_used": 1,
    "minute_limit": 10000,
    "minute_remaining": 9999
  },
  "events": [
    {
      "id": "event-00000",
      "canonical_id": "event-00000",
      "sport": "Football",
      "discipline": "unknown",
      "event_scope": "fixture",
      "league": "League",
      "source_leagues": [],
      "home_team": "Home",
      "away_team": "Away",
      "commence_time": "2026-10-04T13:00:00Z",
      "last_seen": "2026-10-04T12:00:00Z",
      "portfolio": {
        "truncated": false,
        "reason": null,
        "outcome_limit": null,
        "outcomes_before": null,
        "outcomes_after": null
      },
      "bookmakers": [
        {
          "key": "Betclic",
          "bookmaker_event_id": "fixture-native-001",
          "last_update": "2026-10-04T12:00:00Z",
          "markets": [
            {
              "key": "h2h",
              "last_update": "2026-10-04T12:00:00Z",
              "outcomes": [
                {
                  "name": "Away",
                  "price": 2,
                  "last_update": "2026-10-04T12:00:00Z"
                },
                {
                  "name": "Draw",
                  "price": 2,
                  "last_update": "2026-10-04T12:00:00Z"
                },
                {
                  "name": "Home",
                  "price": 2,
                  "last_update": "2026-10-04T12:00:00Z"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

GET /events/{event_id}

Current read of one event or alias; 410 after kickoff.

ParameterLocationMeaning and bounds
event_idrequiredpathid or canonical_id from /odds; retained aliases also resolve. Encode as a URL path segment.

HTTP: 200 · 401 · 404 · 410 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/events/event-00000' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "availability": "available",
  "away_team": "Away",
  "bookmakers": [
    {
      "bookmaker_event_id": "fixture-native-001",
      "key": "Betclic",
      "last_update": "2026-10-04T12:00:00Z",
      "markets": [
        {
          "key": "Total Corners|9.5",
          "last_update": "2026-10-04T12:00:00Z",
          "outcomes": [
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Over",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Under",
              "price": 2
            }
          ]
        },
        {
          "key": "Total|2.5",
          "last_update": "2026-10-04T12:00:00Z",
          "outcomes": [
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Over",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Under",
              "price": 2
            }
          ]
        },
        {
          "key": "h2h",
          "last_update": "2026-10-04T12:00:00Z",
          "outcomes": [
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Away",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Draw",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Home",
              "price": 2
            }
          ]
        }
      ]
    },
    {
      "bookmaker_event_id": null,
      "key": "Excluded",
      "last_update": "2026-10-04T12:00:00Z",
      "markets": [
        {
          "key": "Total Corners|9.5",
          "last_update": "2026-10-04T12:00:00Z",
          "outcomes": [
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Over",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Under",
              "price": 2
            }
          ]
        },
        {
          "key": "Total|2.5",
          "last_update": "2026-10-04T12:00:00Z",
          "outcomes": [
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Over",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Under",
              "price": 2
            }
          ]
        },
        {
          "key": "h2h",
          "last_update": "2026-10-04T12:00:00Z",
          "outcomes": [
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Away",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Draw",
              "price": 2
            },
            {
              "last_update": "2026-10-04T12:00:00Z",
              "name": "Home",
              "price": 2
            }
          ]
        }
      ]
    }
  ],
  "canonical_id": "event-00000",
  "commence_time": "2026-10-04T13:00:00Z",
  "discipline": "unknown",
  "event_scope": "fixture",
  "featured": false,
  "featured_rank": null,
  "home_team": "Home",
  "id": "event-00000",
  "last_seen": "2026-10-04T12:00:00Z",
  "league": "League",
  "portfolio": {
    "outcome_limit": null,
    "outcomes_after": null,
    "outcomes_before": null,
    "reason": null,
    "truncated": false
  },
  "requested_id": "event-00000",
  "source_leagues": [],
  "sport": "Football"
}

GET /events/{event_id}/history

History is unavailable: 403 without access, 410 after entitlement verification. Parameters below describe the contract if re-enabled.

ParameterLocationMeaning and bounds
event_idrequiredpathid or canonical_id from /odds; retained aliases also resolve. Encode as a URL path segment.
bookmakerqueryName from /bookmakers. Case-insensitive in /markets; exact match in history. Up to 256 characters.
marketqueryExact market key from /markets. Up to 512 characters. Default: h2h.
sincequeryInclusive history start, ISO-8601; must be ≤ until.
untilqueryInclusive history end, ISO-8601.
limitqueryItems per page, integer. 1–5000. Default: 1000.
cursorqueryOpaque continuation cursor. Keep event, market, bookmaker, since and until filters unchanged between pages. Up to 2048 characters.

HTTP: 200 · 403 · 410

History contract if enabled — currently unavailable

Captured only in a test with history enabled. history[] contains bookmaker, outcome, price, timestamp; observed_from and observed_until describe observed coverage, not completeness. Retention: 48 hours. Repeat event_id, market, bookmaker, since and until on every page; history uses a different cursor from /odds.

{
  "bookmaker": "Betclic",
  "count": 1,
  "event_id": "event-00000",
  "has_more": false,
  "history": [
    {
      "bookmaker": "Betclic",
      "outcome": "Home",
      "price": 2,
      "timestamp": "2026-10-04T12:00:00Z"
    }
  ],
  "market": "h2h",
  "next_cursor": null,
  "observed_from": "2026-10-04T12:00:00Z",
  "observed_until": "2026-10-04T12:00:00Z",
  "retention_hours": 48
}
Full request and response example · 410

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/events/event-00000/history' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "disabled": true,
  "error": "Historia kursów jest tymczasowo wyłączona.",
  "code": "gone"
}

GET /webhooks

List API Data Plus webhook destinations

HTTP: 200 · 401 · 403 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/webhooks' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "limits": {
    "delivery_attempts": 4,
    "destinations": 3,
    "timeout_seconds": 5
  },
  "webhooks": [
    {
      "active": true,
      "created_at": "2026-10-04T12:00:00Z",
      "events": [
        "snapshot.updated"
      ],
      "failure_count": 0,
      "id": "wh_5fee49743a954d1ab87afe643ac83bc6",
      "updated_at": "2026-10-04T12:00:00Z",
      "url": "https://example.com/arbiscan"
    }
  ]
}

POST /webhooks

Create an API Data Plus webhook destination

Body: application/json. Only url and events are accepted.

url · required
Public HTTPS URL on port 443, without credentials or fragment. Private addresses are rejected. Up to 2048 characters.
events
Unique event names. Select snapshot.updated; odds.changed carries no prices while history is disabled. Omission selects both types. odds.changed, snapshot.updated.
{
  "url": "https://example.com/arbiscan-webhook",
  "events": [
    "snapshot.updated"
  ]
}

HTTP: 201 · 400 · 401 · 403 · 409 · 429

Full request and response example · 201

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --request POST 'https://api.arbiscan.pl/v1/webhooks' \
  --header "X-API-Key: $ARBISCAN_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{"url":"https://example.com/arbiscan","events":["snapshot.updated"]}'
{
  "signing_secret": "e57497994e01ed5c3c50071393e68416110c4223dc18e57b8220663db7aac1a7",
  "signing_secret_notice": "Shown once. Store it securely.",
  "webhook": {
    "active": true,
    "created_at": "2026-10-04T12:00:00Z",
    "events": [
      "snapshot.updated"
    ],
    "id": "wh_5fee49743a954d1ab87afe643ac83bc6",
    "url": "https://example.com/arbiscan"
  }
}

DELETE /webhooks/{webhook_id}

Disable a webhook destination

ParameterLocationMeaning and bounds
webhook_idrequiredpathIdentifier returned when creating a webhook.

HTTP: 204 · 401 · 403 · 404 · 429

Full request and response example · 204

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --request DELETE 'https://api.arbiscan.pl/v1/webhooks/wh_5fee49743a954d1ab87afe643ac83bc6' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
204 No Content (no body)

POST /webhooks/{webhook_id}/test

Queue a signed test delivery

ParameterLocationMeaning and bounds
webhook_idrequiredpathIdentifier returned when creating a webhook.

HTTP: 202 · 401 · 403 · 404 · 429

Full request and response example · 202

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --request POST 'https://api.arbiscan.pl/v1/webhooks/wh_5fee49743a954d1ab87afe643ac83bc6/test' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "event_id": "test:5df6f446b70c472d91ef5503ee7db388",
  "queued": true
}

GET /usage

Shared account usage for managed keys; free read, 30/min.

HTTP: 200 · 401 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/usage' \
  --header "X-API-Key: $ARBISCAN_API_KEY"
{
  "expires_at": null,
  "history": [
    {
      "date": "2026-10-04",
      "requests": 9
    }
  ],
  "owner": "",
  "today": {
    "limit": 10000,
    "used": 9
  },
  "total": {
    "limit": null,
    "remaining": null,
    "used": 9
  }
}

GET /events/{event_id}/ladders

Football corner/card/point ladders; source rules and completeness are not verified

ParameterLocationMeaning and bounds
event_idrequiredpathid or canonical_id from /odds; retained aliases also resolve. Encode as a URL path segment.
bookmakersqueryComma-separated names; at most 20 distinct values, each at most 64 characters. All other query parameters are rejected. Defaults: Sts, Betclic, LvBet, Fuksiarz. Case-insensitive source matching. Up to 1000 characters.

HTTP: 200 · 400 · 401 · 404 · 410 · 422 · 429

Full request and response example · 200

Synthetic backend test data. Times, limits and cursors are illustrative; the cursor cannot be used against the service.

curl --get 'https://api.arbiscan.pl/v1/events/event-00000/ladders' \
  --header "X-API-Key: $ARBISCAN_API_KEY" \
  --data-urlencode 'bookmakers=Betclic'
{
  "availability": "available",
  "away_team": "Away",
  "bookmakers": [
    {
      "availability": "available",
      "bookmaker": "Betclic",
      "bookmaker_event_id": "fixture-native-001",
      "excluded_invalid_markets": 0,
      "ladders": [
        {
          "counting_system": {
            "basis": "market_family",
            "unit": "corners"
          },
          "family": "Total Corners",
          "line_count": 1,
          "lines": [
            {
              "line": "9.5",
              "market_key": "Total Corners|9.5",
              "over": {
                "observed_at": "2026-10-04T12:00:00Z",
                "price": 2
              },
              "pair_complete": true,
              "under": {
                "observed_at": "2026-10-04T12:00:00Z",
                "price": 2
              }
            }
          ],
          "metric": "corners",
          "participant": "match",
          "participant_name": null,
          "period": "regulation",
          "rules_verified": false,
          "settlement_rules": "operator_specific"
        }
      ],
      "source_ladder_completeness": "not_verified"
    }
  ],
  "commence_time": "2026-10-04T13:00:00Z",
  "event_id": "event-00000",
  "home_team": "Home",
  "league": "League",
  "portfolio": {
    "outcome_limit": null,
    "outcomes_after": null,
    "outcomes_before": null,
    "reason": null,
    "truncated": false
  },
  "price_format": "decimal_source",
  "requested_id": "event-00000",
  "schema_version": "1",
  "sport": "Football",
  "tax_applied": false
}

Contract changelog

  • 2026-10-04 — optional navigation paths/slugs paired with native source IDs; complete ladder and response reference.
  • 2026-10-03 — 240-second retained traversals and cursor v4; snapshot.read_at / freshness.as_of; generation headers; consistent error and code; 2xx-only charging with quota reservations.

Dates describe the source contract, not deployment confirmation. Configuration-dependent features remain subject to service state.