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}
{
  "FixtureId": {},
  "MessageId": "<string>",
  "Ts": {},
  "Bookmaker": "<string>",
  "BookmakerId": {},
  "SuperOddsType": "<string>",
  "GameState": "<string>",
  "InRunning": true,
  "MarketParameters": "<string>",
  "MarketPeriod": "<string>",
  "PriceNames": [
    "<string>"
  ],
  "Prices": [
    {}
  ]
}

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.

Return the latest odds for each unique market line for a given fixture. If the ‘asOf’ parameter is provided, the snapshots are taken at that point in time from historical data. Otherwise, it returns the current live snapshot.

Path Parameters

fixtureId
int64
required
The ID of the fixture

Query Parameters

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

Response

Returns an array of Odds objects for the fixture.

Odds Object Properties

FixtureId
int64
required
Fixture identifier
MessageId
string
required
Unique message identifier for the odds update
Ts
int64
required
Timestamp of the odds update
Bookmaker
string
required
Bookmaker name
BookmakerId
int32
required
Bookmaker identifier
SuperOddsType
string
required
Type of odds market
GameState
string
Current state of the game
InRunning
boolean
required
Indicates if the fixture is currently in play
MarketParameters
string
Parameters for the market (e.g., handicap, total)
MarketPeriod
string
Period the market applies to
PriceNames
array<string>
Names of the prices/outcomes
Prices
array<int32>
Odds values for each outcome
[
  {
    "FixtureId": 1001,
    "MessageId": "msg_12345",
    "Ts": 1704067200000,
    "Bookmaker": "BetMGM",
    "BookmakerId": 5,
    "SuperOddsType": "Moneyline",
    "GameState": "PreMatch",
    "InRunning": false,
    "MarketParameters": "",
    "MarketPeriod": "FullTime",
    "PriceNames": ["Alabama", "Georgia"],
    "Prices": [150, 200]
  }
]