Sports & Fitness · head-to-head
DiscGolf vs NBA Stats
DiscGolfAPI catalogs disc golf courses worldwide with location, hole counts, and a confidence score showing how well each listing has been verified, aimed at map and directory builders rather than official tour data. The public read endpoints (courses, countries, regions) need no API key and return JSON, throttled only by a fair-use policy against excessive automated traffic; a separate POST endpoint lets anyone submit corrections.
"NBA Stats" refers to stats.nba.com, the unofficial internal API that powers NBA.com's own statistics pages rather than a published, supported product -- there's no official developer signup or docs, and its former any-api.com docs mirror now permanently redirects to an unrelated marketplace. The community-maintained swar/nba_api project (and its companion documentation site) is the best available reference, covering box scores, play-by-play, shot charts, and historical stats back to the 1996-97 season. No API key is required, but requests must spoof browser-like headers to get past NBA's bot filtering, and access is blocked outright from many data-center IP ranges -- treat it as an unofficial, goodwill-rate-limited source, not a guaranteed-uptime service.
| DiscGolf | NBA Stats | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON | JSON |
| CORS | yes | unknown |
| HTTPS | Yes | Yes |
DiscGolf supports CORS, while NBA Stats doesn't — pick DiscGolf for direct browser calls.