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

Data Filters

Data filter management endpoints

Operations

List data filters

Request

A convenience endpoint to list all available data filters

curl -i -X GET \
  'https://docs.anytimelabs.io/_mock/apis/data-filters?key=YOUR_API_KEY_HERE'

Responses

List of all data filters

Bodyapplication/jsonArray [
keystringrequired

Unique identifier for the filter

descriptionstringrequired

Human-readable description of the filter

value_typestring(DataFilterValueType)required

Allowed type for filter values

Enum"string""integer""boolean""string_list""integer_list"null
filter_typestring(DataFilterType)required

Categories of filters. time_span filters segment data by a contiguous time period (e.g. last n games, seasons). game filters segment data by a specific game condition (e.g. home/away, h2h).

Enum"time_span""game"
restricted_to_league_idsArray of strings

List of league IDs where this filter is valid. Empty list means it is valid for all leagues.

restricted_to_entity_typesArray of strings(EntityType)

List of entity types this filter applies to. Empty list means it applies to all entity types.

Items Enum"player""team"
]
Response
application/json
[ { "key": "string", "description": "string", "value_type": "string", "filter_type": "time_span", "restricted_to_league_ids": [], "restricted_to_entity_types": [] } ]