Sports & Fitness · head-to-head
City Bikes vs NBA Stats
City Bikes (CityBik.es) aggregates real-time bike-share data for 700+ networks worldwide into one JSON API, covering station locations, available bikes and e-bikes, free docks, and GBFS feed links where a network publishes one. It's free and keyless -- the only condition is crediting the CityBikes project and linking back to it from any app built on the data.
"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.
| City Bikes | NBA Stats | |
|---|---|---|
| Authentication | None | None |
| Pricing | free | free |
| Formats | JSON | JSON |
| CORS | yes | unknown |
| HTTPS | Yes | Yes |
City Bikes supports CORS, while NBA Stats doesn't — pick City Bikes for direct browser calls.