public apis
/
CategoriesMCPBlogRandomStar
Public APIs

A searchable directory of 2,000+ free public APIs, curated by the community and maintained with APILayer.

Powered byAPILayer

Popular

  • Weather APIs
  • Finance APIs
  • Crypto APIs
  • Geocoding APIs
  • Machine learning APIs
  • Games APIs

Directory

  • Categories
  • All APIs
  • MCP servers
  • FAQ
  • Stats
  • JSON API
  • llms.txt

APILayer

  • Browse the API suite ↗
  • Get a free API key ↗
  • APILayer blog ↗
  • Postman collection ↗
  • Discord community ↗

Project

  • public-apis on GitHub ↗
  • Contribute an API ↗
Public APIs · by APILayerData from public-apis (MIT)
  1. Home
  2. /Sports & Fitness
  3. /DunkAPI
Sports & Fitness
DunkAPI logo

DunkAPI

NBA, WNBA and college basketball: play-by-play, shot locations, box scores and sportsbook odds.

DunkAPI is a free Sports & Fitness API that requires apiKey authentication, is served over HTTPS and supports CORS, so it can be called from the browser.

Authentication
apiKey
HTTPS
Yes
CORS
Yes
Category
Sports & Fitness
Visit documentation ↗dunkapi.com

About DunkAPI

Full API reference for DunkAPI. 18 basketball data endpoints with parameters, example requests, and response shapes.

Provider
DunkAPI
Website
dunkapi.com ↗

Details from dunkapi.com.

APILayer

Unified API suite · now live

Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.

Get your free API key→Free tier on every API

DunkAPI alternatives

DiscGolf logo

DiscGolf

Structured disc golf course data

No authHTTPSCORS
E

Ergast F1

F1 data from the beginning of the world championships in 1950

No authHTTPSCORS ?
CollegeFootballData.com logo

CollegeFootballData.com

Unofficial detailed American college football statistics, records, and results API

apiKeyHTTPSCORS ?
FanLine Wire logo

FanLine Wire

Real-time FanDuel Sportsbook odds — live & in-play and pre-match, with a keyless public snapshot

No authHTTPSCORS
Cloudbet logo

Cloudbet

Official Cloudbet API provides real-time sports odds and betting API to place bets programmatically

apiKeyHTTPSCORS
FastballAPI logo

FastballAPI

MLB since 2015 plus college baseball: pitches, plate appearances, box scores and sportsbook odds

apiKeyHTTPSCORS

DunkAPI FAQ

Who provides the DunkAPI?

The DunkAPI is provided by DunkAPI (dunkapi.com). Full API reference for DunkAPI. 18 basketball data endpoints with parameters, example requests, and response shapes.

Is the DunkAPI free?

Yes. The DunkAPI is listed in the Sports & Fitness category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.

Does the DunkAPI require an API key?

Yes. The DunkAPI uses apiKey authentication, so you need to register for credentials before making requests.

Can I call the DunkAPI from the browser?

Yes. The DunkAPI supports CORS, so front-end JavaScript can call it directly.

Does the DunkAPI support HTTPS?

Yes. The DunkAPI is served over HTTPS, so it's safe to use in production.