Skip to content

CityBikes API

4 endpointsTravel, Maps & WeatherGlobalsocial:read4 real examples

Returns bike-share networks worldwide, live station bike and dock availability, and the networks and stations nearest a position.

View as Markdown
GET/citybikes/networksThe bike-share networks of the world, optionally only those of one country.
GET/citybikes/networkOne bike-share network with its city and the live state of its stations.
GET/citybikes/nearbyNetworksThe bike-share networks whose city is nearest a position, closest first, with the distance in kilometres.
GET/citybikes/nearbyStationsThe stations of one network nearest a position, closest first, with their bikes and free docks now.

networks

GET/v1/citybikes/networks

The bike-share networks of the world, optionally only those of one country.

scope social:read1 unitcached 6 hpaginated

Parameters

country
string
ISO 3166 country code, such as FR. Empty lists every country.
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
citystring
companiesCompany[]
namestring
countrystring
idstring
latitudenumber (double)
longitudenumber (double)
namestring
curl "https://api.hoshime.com/v1/citybikes/networks" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "city": "Abu Dhabi",
      "companies": [
        {
          "name": "Careem"
        }
      ],
      "country": "AE",
      "id": "abu-dhabi-careem-bike",
      "latitude": 24.4866,
      "longitude": 54.3728,
      "name": "Abu Dhabi Careem BIKE"
    },
    {
      "city": "Saguenay",
      "companies": [
        {
          "name": "PBSC Urban Solutions"
        }
      ],
      "country": "CA",
      "id": "acces-velo-saguenay",
      "latitude": 48.433333,
      "longitude": -71.083333,
      "name": "Accès Vélo"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "networks",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "citybikes",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

network

GET/v1/citybikes/network

One bike-share network with its city and the live state of its stations.

scope social:read1 unitcached 1 min

Parameters

id
string
required
Network id, such as velib or citi-bike-nyc.
e.g. velib
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

16 fields
citystring
companiesCompany[]
namestring
countrystring
idstring
latitudenumber (double)
longitudenumber (double)
namestring
stationsStation[]
emptySlotsinteger (int64)
freeBikesinteger (int64)
idstring
latitudenumber (double)
longitudenumber (double)
namestring
reportedAtstring
curl "https://api.hoshime.com/v1/citybikes/network?id=velib" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": {
    "city": "Paris",
    "companies": [
      {
        "name": "Smovengo"
      }
    ],
    "country": "FR",
    "id": "velib",
    "latitude": 48.856614,
    "longitude": 2.3522219,
    "name": "Vélib' Métropole",
    "stations": [
      {
        "emptySlots": 10,
        "freeBikes": 15,
        "id": "0003131bffcf527ba3a560fc46d38b6f",
        "latitude": 48.888559314669514,
        "longitude": 2.2642001509666447,
        "name": "Argenson - Château",
        "reportedAt": "2026-11-06T17:58:57Z"
      },
      {
        "emptySlots": 13,
        "freeBikes": 12,
        "id": "000471e1f2b458a6e68a8ae732880557",
        "latitude": 48.83659148147257,
        "longitude": 2.2930556908249855,
        "name": "Saint Lambert - Blomet",
        "reportedAt": "2026-11-06T17:58:57Z"
      }
    ]
  },
  "meta": {
    "cached": false,
    "endpoint": "network",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "citybikes",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

nearbyNetworks

GET/v1/citybikes/nearbyNetworks

The bike-share networks whose city is nearest a position, closest first, with the distance in kilometres.

scope social:read1 unitcached 6 hpaginated

Parameters

lat
string
required
Latitude, from -90 to 90, such as 48.8566.
e.g. 48.8566
lon
string
required
Longitude, from -180 to 180, such as 2.3522.
e.g. 2.3522
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
citystring
companiesCompany[]
namestring
countrystring
distanceKmnumber (double)
idstring
latitudenumber (double)
longitudenumber (double)
namestring
curl "https://api.hoshime.com/v1/citybikes/nearbyNetworks?lat=48.8566&lon=2.3522" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "city": "Paris",
      "companies": [
        {
          "name": "Smovengo"
        }
      ],
      "country": "FR",
      "distanceKm": 0,
      "id": "velib",
      "latitude": 48.856614,
      "longitude": 2.3522219,
      "name": "Vélib' Métropole"
    },
    {
      "city": "Cergy",
      "companies": [
        {
          "name": "Nextbike GmbH"
        }
      ],
      "country": "FR",
      "distanceKm": 29.16,
      "id": "velo2",
      "latitude": 49.03561699999999,
      "longitude": 2.060325,
      "name": "VélO2"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "nearbyNetworks",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "citybikes",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

nearbyStations

GET/v1/citybikes/nearbyStations

The stations of one network nearest a position, closest first, with their bikes and free docks now.

scope social:read1 unitcached 1 minpaginated

Parameters

network
string
required
Network id, such as velib.
e.g. velib
lat
string
required
Latitude, from -90 to 90, such as 48.8566.
e.g. 48.8566
lon
string
required
Longitude, from -180 to 180, such as 2.3522.
e.g. 2.3522
limit
integer
Items per page, 1 to 50.
default 10
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

8 fields
distanceKmnumber (double)
emptySlotsinteger (int64)
freeBikesinteger (int64)
idstring
latitudenumber (double)
longitudenumber (double)
namestring
reportedAtstring
curl "https://api.hoshime.com/v1/citybikes/nearbyStations?network=velib&lat=48.8566&lon=2.3522" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Real response
{
  "data": [
    {
      "distanceKm": 0.09,
      "emptySlots": 11,
      "freeBikes": 49,
      "id": "6b1f2d11be3fd0eca68fa47eb2831604",
      "latitude": 48.8562118,
      "longitude": 2.3532536,
      "name": "Lobau - Hôtel de Ville",
      "reportedAt": "2026-11-06T17:58:57Z"
    },
    {
      "distanceKm": 0.1,
      "emptySlots": 1,
      "freeBikes": 13,
      "id": "a59f867a689ec8bab0b42e27b783d44f",
      "latitude": 48.8573314,
      "longitude": 2.351458,
      "name": "Place de l'Hôtel de Ville",
      "reportedAt": "2026-11-06T17:58:57Z"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "nearbyStations",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "citybikes",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open