SportDB

API overview

Create API_KEY

Login to create API_KEY and get 100 free requests for testing. More requests starting at $7/month.

countries

GET /api/countries

List all countries.

GET /api/countries/:id

Get a country by id. Response includes a list of competitions for the country.

competitions

GET /api/competitions/:id

Get a competition by id. Response includes a list of seasons for the competition.

GET /api/competitions/:id/:season/standings

Get league table standings for the given season.

GET /api/competitions/:id/:season/fixtures

Get fixtures for the given season.

teams

GET /api/teams/search/:searchTerm

Search for any teams.

GET /api/teams/:id/profile

Get team profile by id.

GET /api/teams/:id/players

Get list of players for the team.

players

GET /api/players/search/:searchTerm

Search for any players.

GET /api/players/:id/profile

Get player profile by id.

GET /api/players/:id/stats

Get player statistics across available seasons.

GET /api/players/:id/transfers

Get player transfer history.