InferSports Metadata API
The metadata API from InferSports — 4 operation(s) for metadata.
The metadata API from InferSports — 4 operation(s) for metadata.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/infersports-dev:infersports-dev-metadata-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: InferSports Metadata API
summary: Sharp Asian odds, built for code.
description: 'Read-only REST API for live Asian-bookmaker + Pinnacle odds (football & basketball; 1x2 / Asian handicap / totals; full-time & half-time).
**Determinism contract** (see `/llms.txt`): `/v1` is frozen (breaking changes ship under `/v2`); Sqids ids are stable across calls and restarts; response field sets are fixed (optional values are sent as `null`, never omitted — the sole exception is `/convert/odds`, which projects to the requested `to` formats). `convert/odds`, `convert/handicap` and `explain_handicap` are pure functions (same input → same output) and safe to cache indefinitely; snapshot reads keep a fixed shape but live values. No historical data.'
version: 0.1.0
tags:
- name: Metadata
paths:
/v1/sports:
get:
tags:
- Metadata
summary: List Sports
operationId: list_sports_v1_sports_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DataList_Sport_'
/v1/bookmakers:
get:
tags:
- Metadata
summary: List Bookmakers
operationId: list_bookmakers_v1_bookmakers_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/DataList_Bookmaker_'
/v1/leagues:
get:
tags:
- Metadata
summary: List Leagues
operationId: list_leagues_v1_leagues_get
parameters:
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: fuzzy name filter (e.g. 'world cup')
title: Q
description: fuzzy name filter (e.g. 'world cup')
- name: sport
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Sport
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: cursor
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Cursor
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Paginated_League_'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/teams:
get:
tags:
- Metadata
summary: List Teams
operationId: list_teams_v1_teams_get
parameters:
- name: q
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: fuzzy name filter
title: Q
description: fuzzy name filter
- name: sport
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Sport
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: cursor
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Cursor
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/Paginated_Team_'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
DataList_Bookmaker_:
properties:
data:
items:
$ref: '#/components/schemas/Bookmaker'
type: array
title: Data
type: object
required:
- data
title: DataList[Bookmaker]
Bookmaker:
properties:
id:
type: string
title: Id
key:
type: string
title: Key
name:
type: string
title: Name
class:
type: string
title: Class
type: object
required:
- id
- key
- name
- class
title: Bookmaker
DataList_Sport_:
properties:
data:
items:
$ref: '#/components/schemas/Sport'
type: array
title: Data
type: object
required:
- data
title: DataList[Sport]
Sport:
properties:
id:
type: string
title: Id
key:
type: string
title: Key
name:
type: string
title: Name
type: object
required:
- id
- key
- name
title: Sport
Page:
properties:
next_cursor:
anyOf:
- type: string
- type: 'null'
title: Next Cursor
limit:
type: integer
title: Limit
type: object
required:
- limit
title: Page
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
Team:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
disambiguator:
anyOf:
- type: string
- type: 'null'
title: Disambiguator
type: object
required:
- id
- name
title: Team
League:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
sport:
type: string
title: Sport
type: object
required:
- id
- name
- sport
title: League
Paginated_League_:
properties:
data:
items:
$ref: '#/components/schemas/League'
type: array
title: Data
page:
$ref: '#/components/schemas/Page'
type: object
required:
- data
- page
title: Paginated[League]
Paginated_Team_:
properties:
data:
items:
$ref: '#/components/schemas/Team'
type: array
title: Data
page:
$ref: '#/components/schemas/Page'
type: object
required:
- data
- page
title: Paginated[Team]