Base URL
All REST API requests are made to:GET /sports resolves to GET https://api.sportrixdata.com/api/sports.
Authentication
Include your API key in theX-API-Key header on every request:
GET /health.
Response Format
All responses are JSON. List endpoints return a pagination envelope. Single-resource endpoints return the object directly.Dates and Times
All timestamps are ISO 8601 in UTC. For example:start_after, start_before) use the same format.
Match Status Values
Catalog endpoints expose exactly three status values:status | Meaning |
|---|---|
NOT_STARTED | Scheduled, not yet kicked off |
STARTED | In play (including half-time) |
FINISHED | Completed |
Pagination
List endpoints (/leagues, /leagues/active, /matches, /matches/active) accept limit and offset query parameters and return a pagination envelope. See the Pagination guide for the full envelope schema and examples.
Errors
Errors use standard HTTP status codes with a JSON body:Endpoint Quick Reference
| Endpoint | Scope | Description |
|---|---|---|
GET /health | none | Liveness probe |
GET /sports | fixtures | List enabled sports |
GET /leagues | fixtures | List leagues for a sport |
GET /leagues/active | fixtures | Leagues with live or upcoming matches |
GET /matches | fixtures | List matches for a league |
GET /matches/active | fixtures | Live or upcoming matches for a league |
GET /matches/{id} | fixtures | Single match by id |
GET /matches/{id}/live | live_scores or live_scores_statistics | Live score snapshot |
GET /matches/{id}/result | final_scores | Half-time and full-time snapshots |