# CityBikes API

Category: [Transport](https://free-web-services.com/web-services/open-data/transport/)  
Page: https://free-web-services.com/web-services/open-data/transport/citybikes-api.html  
Documentation: https://docs.citybik.es/api/

The CityBikes API gives live data about bike-sharing systems in cities around the world: the networks, their stations, and the free bikes and empty docks at each one, for example to show the nearest available bike on a map. Ask for the list of networks or one network and get JSON; GBFS feeds are also offered. Free, no key needed, up to 300 requests per hour; you must credit CityBikes with a link. For higher limits, ask the project.

- API key: Not needed
- Pricing: Free, no key needed, up to 300 requests per hour; you must credit CityBikes with a link.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: REST, HTTP-GET
- Provider: docs.citybik.es

Example request:

```sh
curl 'https://api.citybik.es/v2/networks/velib?fields=stations'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

