Skip to main content
GET
/
odds
/
updates
/
{epochDay}
/
{hourOfDay}
/
{interval}
Get a json array of all odd updates from a specific historical 5-minute interval
curl --request GET \
  --url https://api.example.com/odds/updates/{epochDay}/{hourOfDay}/{interval} \
  --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

epochDay
integer
required

The day since the Unix epoch

hourOfDay
integer
required

The hour of the day (0-23)

interval
integer
required

The 0-indexed 5-minute interval within the hour (0-11)

Query Parameters

fixtureId
integer<int64>

Optional filter by fixture ID

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})$