Skip to main content
This page lists every fixed vocabulary of the Apexium API. Two families meet here:
  • Market data under /v1/{lang} and on the feed channels: OddsPapi v5 values, unchanged.
  • Account and execution endpoints of /v1: Apexium’s own values for orders, bets, settlement and health.
The enum contract. Existing values are frozen: they never change meaning and never disappear. New values are only ever appended. Handle a value you do not know gracefully: log it and treat it like the closest value you do know, never crash on it.

Market data (OddsPapi v5)

statusId: fixture life cycle

  • Branch on the ID. statusName is the translated label and follows the lang of the path; statusId is the stable key.
  • Status only moves forward. 0 → 1 → 2, any status → 3, any status → 4. It never goes back.
  • 3 vs 4. cancelled is a real fixture that will not be played: called off, abandoned, postponed indefinitely. removed is a fixture that should not have been listed: a duplicate, a test entry, a fixture that was not real.
  • 4 is final. Any status can move to 4, 3 included, and a removed fixture stays removed. No scores are published for it. Stop following it.
Your bets on a fixture that becomes 3 or 4 are graded by the bookmakers that took them: see Settlement status of a bet.

period

Scores and markets are keyed by one generic period vocabulary, so the same keys work in every sport. What a period means depends on the sport: read the fixture’s expectedPeriods and periodLength. p1 is a half in soccer, a quarter in NBA basketball, a set in tennis, a map in esports. Whole match Numbered periods Combined segments: sums of consecutive periods, for markets offered on a combined segment. Sub-periods: one shape, p{X}{axis}{Y}, unit Y within period X.
The period vocabulary is append-only: a new sport can bring new keys and a new axis can join g, r and o. Never hard-code an exhaustive list. Parse the axes you know and ignore the rest. OddsPapi keeps the per-sport table in Periods per sport.

Open taxonomies

These are string sets that grow over time. Each value is stable, but the list is never complete:
  • marketType: the kind of market (1x2, totals, spreads, bothteamsscore, players-shots, …). The full list of a sport is in GET /v1/{lang}/markets?sportId=…. See Markets and outcomes.
  • bookmaker: the bookmaker slug (pinnacle, sharpbet, …). Yours are listed by GET /v1/me.
Treat them as opaque identifiers: match the values you support and ignore the others.

Orders and bets

Order status

PENDING and PARTIALLY_FILLED are the working statuses. Compare filledStake with requestedStake to know how much of a final order filled. See Order and bet life cycle.

Bet status

Settlement status of a bet

settlement.status grades a bet. settlement.amount is your profit or loss on it.

Order fields

Cancellation outcomes

See Cancellation.

Grouping


Platform

Health

GET /v1/health gives each service and the API as a whole one of: The services are database, caching, betPlacement and betUpdates. status is the worst of them. See Health and Reliability.

Languages

lang in /v1/{lang}: en, es, fr, pt, de, it, ru, zh.

Error codes and close codes

  • Error codes: every code with its HTTP status and whether to retry is in Errors.
  • WebSocket close codes: 4001 to 4004 and 1011 to 1013, with what to do for each, are in Close codes.