Skip to main content
GET
/
odds
/
snapshot
/
{fixtureId}
Get snapshots of the latest odds for a fixture
curl --request GET \
  --url https://api.example.com/odds/snapshot/{fixtureId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Api-Token: <api-key>'
[
  {
    "FixtureId": 123,
    "MessageId": "<string>",
    "Ts": 123,
    "Bookmaker": "<string>",
    "BookmakerId": 123,
    "SuperOddsType": "<string>",
    "InRunning": true,
    "GameState": "<string>",
    "MarketParameters": "<string>",
    "MarketPeriod": "<string>",
    "PriceNames": [
      "<string>"
    ],
    "Prices": [
      123
    ],
    "Pct": [
      "<string>"
    ]
  }
]

Documentation Index

Fetch the complete documentation index at: https://txline-docs.txodds.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

User's session JWT.

X-Api-Token
string
header
required

The user's long-lived API token, obtained from the activation endpoint.

Headers

Authorization
string
required

Bearer token for the user's session JWT.

X-Api-Token
string
required

The user's long-lived API token.

Path Parameters

fixtureId
integer<int64>
required

The ID of the fixture

Query Parameters

asOf
integer<int64>

Optional Unix timestamp (ms) for a historical snapshot. If omitted, returns the live snapshot.

Response

FixtureId
integer<int64>
required
MessageId
string
required
Ts
integer<int64>
required
Bookmaker
string
required
BookmakerId
integer<int32>
required
SuperOddsType
string
required
InRunning
boolean
required
GameState
string
MarketParameters
string
MarketPeriod
string
PriceNames
string[]
Prices
integer<int32>[]
Pct
string[]

Strictly formatted to 3 decimal places, or NA for quarter handicap lines

Pattern: ^(NA|\d+\.\d{3})$