InferSports Results API
The results API from InferSports — 2 operation(s) for results.
The results API from InferSports — 2 operation(s) for results.
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-results-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 Results 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: Results
paths:
/v1/results:
get:
tags:
- Results
summary: List Results
operationId: list_results_v1_results_get
parameters:
- name: date
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: UTC kickoff date YYYY-MM-DD
title: Date
description: UTC kickoff date YYYY-MM-DD
- name: team
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: case-insensitive substring on either team
title: Team
description: case-insensitive substring on either team
- name: league
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: case-insensitive substring on the league name
title: League
description: case-insensitive substring on the league name
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
description: max results (most-recent-first)
default: 50
title: Limit
description: max results (most-recent-first)
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ResultsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/results/{event_id}:
get:
tags:
- Results
summary: Get Result
operationId: get_result_v1_results__event_id__get
parameters:
- name: event_id
in: path
required: true
schema:
type: string
title: Event Id
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/MatchResult'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
Score:
properties:
home:
type: integer
title: Home
away:
type: integer
title: Away
type: object
required:
- home
- away
title: Score
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
MatchResult:
properties:
event_id:
type: string
title: Event Id
description: Canonical event id (evt_…).
sport:
anyOf:
- type: string
- type: 'null'
title: Sport
description: football | basketball.
league:
anyOf:
- type: string
- type: 'null'
title: League
description: League name.
home_team:
anyOf:
- type: string
- type: 'null'
title: Home Team
description: Home team name.
away_team:
anyOf:
- type: string
- type: 'null'
title: Away Team
description: Away team name.
scheduled_at:
anyOf:
- type: string
- type: 'null'
title: Scheduled At
description: Kickoff, ISO-8601 UTC.
score:
anyOf:
- $ref: '#/components/schemas/Score'
- type: 'null'
description: Final score {home, away}.
red_cards:
anyOf:
- $ref: '#/components/schemas/Score'
- type: 'null'
description: Final per-side red-card counts {home, away}; null if none on file.
finished_at:
type: string
title: Finished At
description: When this result was first recorded as finished (ISO-8601 UTC).
type: object
required:
- event_id
- finished_at
title: MatchResult
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
ResultsResponse:
properties:
count:
type: integer
title: Count
description: Number of results returned.
results:
items:
$ref: '#/components/schemas/MatchResult'
type: array
title: Results
note:
anyOf:
- type: string
- type: 'null'
title: Note
description: 'Set when 0 results but the queried fixture exists and hasn''t finished: its current status, so an empty list isn''t mistaken for ''no such match''.'
type: object
required:
- count
title: ResultsResponse