Skip to main content
API Endpoints: Use https://txline.txodds.com/api/ for mainnet or https://txline-dev.txodds.com/api/ for devnet
Prerequisites: Complete Quickstart activation first. The snippets assume jwt is the guest JWT from /auth/guest/start and apiToken is the value returned by /api/token/activate. For a fixture outside your subscription bundle, book the fixture first, or scores and odds requests return 403.

Fetch Fixtures Snapshot

Get all fixtures for a specific competition or all competitions.
Participant1IsHome is the feed’s home/away designation for mapping Participant1 and Participant2; it is not a venue guarantee. For neutral competitions, Participant1IsHome: true means Participant1 is listed as the home side for feed purposes, even if the match is not played in that team’s country.
Fixture payloads include GameState in a backward-compatible format. Current values are 1 for scheduled fixtures and 6 for cancelled fixtures.

Time Period Parameters

The updates endpoints return the records published in one period, identified by path parameters. All three are in UTC. Odds and scores are published every 5 minutes, so their paths take all three: /api/odds/updates/{epochDay}/{hourOfDay}/{interval} and /api/scores/updates/{epochDay}/{hourOfDay}/{interval}. Fixtures are published hourly, so /api/fixtures/updates/{epochDay}/{hourOfDay} has no interval. Compute all three from one timestamp so they describe the same period:

Fetch Odds Snapshot

Get odds data for a specific fixture or time period.

Fetch Scores Snapshot

Get scores data for a specific fixture or time period.