Methods
| Method | Endpoint | Description |
|---|---|---|
list() | GET /v1/sports | List all sports |
teams(params?) | GET /v1/sports/teams/provider | Get teams by provider |
list
Get all available sports and their configuration.Response Fields
| Field | Type | Description |
|---|---|---|
sport | string | Sport name |
image | string | Sport image URL |
isOperational | boolean | Whether sport is operational |
automaticResolution | boolean | Whether automatic resolution is enabled |
ordering | string | Display ordering |
teams
Get team information from a specific data provider.Parameters
| Parameter | Type | Description |
|---|---|---|
provider | string | Data provider (see below) |
league | string | League name (NFL, NBA, MLB, etc.) |
teamIds | number[] | Filter by specific team IDs |
Data Providers
| Provider | Description |
|---|---|
PROVIDER_SPORTRADAR | Sportradar |
PROVIDER_SPORTSDATAIO | SportsData.io |
Team Fields
| Field | Type | Description |
|---|---|---|
id | number | Team identifier |
name | string | Team name |
abbreviation | string | Team abbreviation |
league | string | League name |
conference | string | Conference name |
record | string | Team record |
ranking | number | Team ranking |
logo | string | Logo URL |
colorPrimary | string | Primary team color |