Anytime Labs API (1.0.0)

API for fetching trending stat insights, and split historical player stats

Download OpenAPI description
Languages
Servers
Mock server
https://docs.anytimelabs.io/_mock/apis/
https://api.anytimelabs.io/v1beta/

Game Logs

Game log retrieval and analysis endpoints

Operations

Stat Averages

Stat average management endpoints

Operations

Leagues

League management endpoints

Operations

Teams

Team management endpoints

Operations

Players

Player management endpoints

Operations

Games

Game management endpoints

Operations

Look up game

Request

Look up a specific game by teams and game time

Path
league_idstringrequired
Query
away_team_idstringrequired

ID of the away team

home_team_idstringrequired

ID of the home team

game_timestringrequired

Game time in ISO format (YYYY-MM-DDTHH:MM:SSZ)

curl -i -X GET \
  'https://docs.anytimelabs.io/_mock/apis/leagues/{league_id}/games/lookup?away_team_id=string&game_time=string&home_team_id=string&key=YOUR_API_KEY_HERE'

Responses

Game details

Bodyapplication/json
idstringrequired

Unique identifier for the game

home_teamobject(Team)

Game's home team

away_teamobject(Team)

Game's away team

game_timestring

Game's scheduled time

league_idstringrequired

Game's league

Response
application/json
{ "id": "string", "home_team": { "id": "string", "league_id": "string", "city": "string", "mascot": "string", "full_name": "string", "abbr": "string" }, "away_team": { "id": "string", "league_id": "string", "city": "string", "mascot": "string", "full_name": "string", "abbr": "string" }, "game_time": "string", "league_id": "string" }

List upcoming games

Request

Fetch a list of upcoming games for a specific league.

Path
league_idstringrequired
curl -i -X GET \
  'https://docs.anytimelabs.io/_mock/apis/leagues/{league_id}/games/upcoming?key=YOUR_API_KEY_HERE'

Responses

List of upcoming games

Bodyapplication/jsonArray [
idstringrequired

Unique identifier for the game

home_teamobject(Team)

Game's home team

away_teamobject(Team)

Game's away team

game_timestring

Game's scheduled time

league_idstringrequired

Game's league

]
Response
application/json
[ { "id": "string", "home_team": {}, "away_team": {}, "game_time": "string", "league_id": "string" } ]

Data Filters

Data filter management endpoints

Operations