URL: https://api.nextbike.net/maps/nextbike-live.json
as JSON or https://api.nextbike.net/maps/nextbike-live.xml
as XML.
You also can filter by city, with the GET-Parameter city
. Eg. https://api.nextbike.net/maps/nextbike-live.json?city=362
for Berlin.
In some cities there’s an artificial split into separate systems (while the bikes are interchangeable) - you can provide multiple city ids separated by commas - e.g. https://nextbike.net/maps/nextbike-official.xml?city=372,210,475
lists all Warsaw bikes.
For some cities nextbike has flexzones (free floating in these zones). At the moment these are:
https://api.nextbike.net/reservation/geojson/flexzone_bn.json
https://api.nextbike.net/reservation/geojson/flexzone_sz.json
https://api.nextbike.net/reservation/geojson/flexzone_fg.json
https://api.nextbike.net/reservation/geojson/flexzone_kg.json
https://api.nextbike.net/reservation/geojson/flexzone_le.json
https://api.nextbike.net/reservation/geojson/flexzone_nb.json
https://api.nextbike.net/reservation/geojson/flexzone_all.json
Nextbike provides different GBFS endpoints for their different networks/brands/countries:
https://api.nextbike.net/maps/gbfs/v1/nextbike_<NETWORK-ID>/gbfs.json
. You can find the Network-ID in the https://api.nextbike.net/maps/nextbike-live.json
, just search for the "domain"
JSON Key in country root object. So GBFS endpoint for Germany would be https://api.nextbike.net/maps/gbfs/v1/nextbike_de/gbfs.json
. Warning: Not all german citys are in the de
endpoint, e.g. in Berlin nextbike partnered with Deezer and uses Network-ID/country code bn
.