dunkapi-com Basic lookup API
The Basic lookup API from dunkapi-com — 5 operation(s) for basic lookup.
The Basic lookup API from dunkapi-com — 5 operation(s) for basic lookup.
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/dunkapi-com:dunkapi-com-basic-lookup-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: DunkAPI Basic lookup API
version: 1.0.0
description: DunkAPI basketball data. Every tool is a POST to /v1/{tool} with a JSON body of its arguments and costs the credits in x-credits. The same tools are an MCP server at https://mcp.dunkapi.com/mcp and free accounts get credits every month at https://dunkapi.com/signup
termsOfService: https://dunkapi.com/terms
contact:
name: DunkAPI support
email: support@dunkapi.com
url: https://dunkapi.com/docs
servers:
- url: https://mcp.dunkapi.com
security:
- apiKey: []
- bearer: []
tags:
- name: Basic lookup
paths:
/v1/list_games:
post:
operationId: list_games
summary: List games
description: Use to list games with scores by season, date, date range or team, newest first. For upcoming games with lines use get_schedule; for one game's box score use get_game. Costs 2 credits.
tags:
- Basic lookup
x-credits: 2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
season:
description: 'Season by the year it ends: 2025 = 2024-25.'
type:
- number
- string
season_type:
description: regular, postseason, play_in or preseason.
type: string
enum:
- regular
- postseason
- play_in
- preseason
team:
description: Team id or abbreviation.
type: string
date:
description: One date, YYYY-MM-DD (US Eastern).
type: string
from:
description: From date, YYYY-MM-DD.
type: string
to:
description: To date, YYYY-MM-DD.
type: string
status:
type: string
enum:
- scheduled
- final
limit:
description: Max games (default 50).
type: integer
minimum: 1
maximum: 200
offset:
description: Page offset; use next_offset.
type: integer
minimum: 0
maximum: 9007199254740991
league:
description: 'League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.'
type: string
enum:
- nba
- wnba
- ncaam
- ncaaw
additionalProperties: false
responses:
'200':
description: The result, wrapped in data.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
games:
type: array
items:
type: object
propertyNames:
type: string
additionalProperties: {}
count:
type: number
next_offset:
type:
- number
- 'null'
note:
type: string
required:
- games
- count
additionalProperties: false
required:
- data
'400':
description: Invalid arguments.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'402':
description: Not enough credits.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: Rate limited.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/v1/get_schedule:
post:
operationId: get_schedule
summary: Schedule
description: 'Use for upcoming games (next 1-30 days, default 7) with the median line across posted sportsbooks: spread, total and moneylines. For every book''s line use get_odds. Costs 2 credits. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.'
tags:
- Basic lookup
x-credits: 2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
days:
description: Days ahead (default 7).
type: integer
minimum: 1
maximum: 30
team:
description: Team id or abbreviation.
type: string
league:
description: 'League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.'
type: string
enum:
- nba
- wnba
- ncaam
- ncaaw
additionalProperties: false
responses:
'200':
description: The result, wrapped in data.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
days:
type: number
games:
type: array
items:
type: object
propertyNames:
type: string
additionalProperties: {}
count:
type: number
required:
- days
- games
- count
additionalProperties: false
required:
- data
'400':
description: Invalid arguments.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'402':
description: Not enough credits.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: Rate limited.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/v1/get_standings:
post:
operationId: get_standings
summary: Standings
description: 'Use for a season''s regular-season standings computed from every final game: overall, conference, home and away records, points for and against, margin and last 10. Costs 2 credits.'
tags:
- Basic lookup
x-credits: 2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
season:
description: 'Season by the year it ends (default: the latest).'
type:
- number
- string
league:
description: 'League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.'
type: string
enum:
- nba
- wnba
- ncaam
- ncaaw
additionalProperties: false
responses:
'200':
description: The result, wrapped in data.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
season:
type:
- number
- 'null'
standings:
type: array
items:
type: object
propertyNames:
type: string
additionalProperties: {}
count:
type: number
note:
type: string
required:
- season
- standings
- count
- note
additionalProperties: false
required:
- data
'400':
description: Invalid arguments.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'402':
description: Not enough credits.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: Rate limited.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/v1/get_injuries:
post:
operationId: get_injuries
summary: Injuries
description: 'Use for the injury report: every listed player''s status (out, day-to-day), injury and expected return, as captured on the latest day (or the latest on or before date). NBA and WNBA. Costs 2 credits.'
tags:
- Basic lookup
x-credits: 2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
team:
description: One team (id or abbreviation).
type: string
date:
description: 'The report as of this day, YYYY-MM-DD (default: the latest).'
type: string
league:
description: 'League. Defaults to nba. One of: nba, wnba.'
type: string
enum:
- nba
- wnba
additionalProperties: false
responses:
'200':
description: The result, wrapped in data.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
date:
type:
- string
- 'null'
injuries:
type: array
items:
type: object
propertyNames:
type: string
additionalProperties: {}
count:
type: number
note:
type: string
required:
- date
- injuries
- count
additionalProperties: false
required:
- data
'400':
description: Invalid arguments.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'402':
description: Not enough credits.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: Rate limited.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
/v1/get_ratings:
post:
operationId: get_ratings
summary: Ratings
description: Use for our team power ratings (Elo from every final game in our data), ranked, as of the end of a season or today. Costs 2 credits.
tags:
- Basic lookup
x-credits: 2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
season:
description: 'Season by the year it ends (default: the latest).'
type:
- number
- string
league:
description: 'League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw.'
type: string
enum:
- nba
- wnba
- ncaam
- ncaaw
additionalProperties: false
responses:
'200':
description: The result, wrapped in data.
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
season:
type:
- number
- 'null'
ratings:
type: array
items:
type: object
propertyNames:
type: string
additionalProperties: {}
count:
type: number
method:
type: string
required:
- season
- ratings
- count
- method
additionalProperties: false
required:
- data
'400':
description: Invalid arguments.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'401':
description: Missing or invalid API key.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'402':
description: Not enough credits.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
'429':
description: Rate limited.
content:
application/json:
schema:
type: object
properties:
error:
type: string
required:
- error
components:
securitySchemes:
apiKey:
type: apiKey
in: header
name: x-api-key
bearer:
type: http
scheme: bearer
description: The same API key as a bearer token.
externalDocs:
description: Documentation
url: https://dunkapi.com/docs