All integrationsMaps & Travel

PubliBike

Check live bike availability across PubliBike, Switzerland's national bike-sharing network, through its keyless public API: every station's position, address and city; how many bikes, e-bikes, cargo bikes and e-scooters are standing at each; the nearest station to a point, or the nearest bike someone can actually take; and availability totals for a city or the whole network.

actions
10

Actions

Steps a workflow can run in PubliBike.

  • List stationsList every station in the network: position, address, what is standing there, and the station id the other actions take.
  • Get stationGet one station by its id, its printed number or its name: where it is, what is available there right now, and the id of each bike standing at it, with the charge left on the electric ones, as a percentage or as the kilometres it is good for, depending on which the station publishes.
  • List vehicles at a stationList the bikes available at one station, best-charged first, with the id of each and the range left on an e-bike. Where a station lists its bikes without saying which are electric, the ids still come back and the counts answer for how many of each kind are there.
  • List stations with vehiclesList stations together with what is available at each of them, in one request. Narrow by city, network, state, text, vehicle type or battery level: the action for anything that spans more than one station.
  • Search stationsFind stations by name, address, zip code or city: the way to turn 'Bern Bahnhof' or a postcode into a station id, with what is currently there.
  • Find nearby stationsList the stations closest to a point, nearest first, with the distance to each and what is standing there. Optionally keep only stations within a radius, or only those with the kind of bike you want.
  • Find the nearest available bikeFind the closest station that has a bike someone can take right now (optionally an e-bike, a cargo bike or an e-scooter). Answers 'found: false' instead of failing when nothing qualifies, and returns a few runner-up stations as a fallback.
  • List citiesList the cities PubliBike serves, with how many stations and how many bikes and e-bikes are in each.
  • List networksList the local networks the stations belong to (a city's scheme, a campus, an employer's fleet) with their size, the cities they cover and their sponsors.
  • Get availability summarySummarise availability across the whole network, or across one city or network of it: how many stations there are, how many have anything to rent, and the split between pedal bikes, e-bikes, cargo bikes and e-scooters.

Automate PubliBike with Lodol.

Connect PubliBike and ask your AI for your first workflow.

Free plan, no credit card