Bikes City
by Saylor Innovations Data Desk in Other
Live bike-share availability for any city worldwide from CityBikes - free bikes and empty docks per station, sorted by distance from your lat/lon
https://saylorinnovations.com/api/bikes/city- Price
- $0.01
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 2.3 s
- 2.3 s slowest 5%
- Last check
- Passed
- 2 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://saylorinnovations.com/api/bikes/city
Each call costs $0.01 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://saylorinnovations.com/api/bikes/city?city=Paris&lat=48.8566&lon=2.3522Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
city | string | Yes | City name, e.g. Paris, London, New York |
lat | string | No | optional latitude to sort stations by distance |
lon | string | No | optional longitude |
Example response
The provider's example. We can't check it without paying.
Example response, 155 lines
{
"network": {
"city": "Paris",
"country": "FR",
"ebikes": true,
"id": "velib",
"name": "Vélib' Métropole",
"operator": "Smovengo"
},
"other_networks_matching": [],
"sorted_by": "distance from lat/lon",
"source": "CityBikes (api.citybik.es), network data under each operator licence",
"stations": [
{
"distance_km": 0.09,
"empty_slots": 23,
"free_bikes": 36,
"lat": 48.8562118,
"lon": 2.3532536,
"name": "Lobau - Hôtel de Ville",
"updated": "2026-10-16T03:41:02.177146+00:00Z"
},
{
"distance_km": 0.1,
"empty_slots": 13,
"free_bikes": 0,
"lat": 48.8573314,
"lon": 2.351458,
"name": "Place de l'Hôtel de Ville",
"updated": "2026-10-16T03:41:02.036824+00:00Z"
},
{
"distance_km": 0.15,
"empty_slots": 14,
"free_bikes": 8,
"lat": 48.857346707443,
"lon": 2.3539767041802,
"name": "Archives - Rivoli",
"updated": "2026-10-16T03:41:02.160828+00:00Z"
},
{
"distance_km": 0.21,
"empty_slots": 28,
"free_bikes": 3,
"lat": 48.857999643315,
"lon": 2.3502172809763,
"name": "Saint-Bon - Rivoli",
"updated": "2026-10-16T03:41:02.173753+00:00Z"
},
{
"distance_km": 0.25,
"empty_slots": 18,
"free_bikes": 13,
"lat": 48.858835448898,
"lon": 2.3518279194832,
"name": "Cloître Saint-Merri - Renard",
"updated": "2026-10-16T03:41:02.178393+00:00Z"
},
{
"distance_km": 0.31,
"empty_slots": 15,
"free_bikes": 27,
"lat": 48.855949910497,
"lon": 2.3563823103905,
"name": "Mairie du 4ème",
"updated": "2026-10-16T03:41:02.172908+00:00Z"
},
{
"distance_km": 0.37,
"empty_slots": 13,
"free_bikes": 1,
"lat": 48.853883541328,
"lon": 2.3493797332048,
"name": "Arcole - Notre-Dame",
"updated": "2026-10-16T03:41:02.180745+00:00Z"
},
{
"distance_km": 0.38,
"empty_slots": 19,
"free_bikes": 0,
"lat": 48.855258115391,
"lon": 2.3473754525185,
"name": "Marché aux fleurs",
"updated": "2026-10-16T03:41:02.173541+00:00Z"
},
{
"distance_km": 0.41,
"empty_slots": 3,
"free_bikes": 15,
"lat": 48.852915956209,
"lon": 2.3521957173944,
"name": "Quai aux Fleurs - Pont Saint-Louis",
"updated": "2026-10-16T03:41:02.173373+00:00Z"
},
{
"distance_km": 0.42,
"empty_slots": 13,
"free_bikes": 14,
"lat": 48.85941800703,
"lon": 2.3559471219778,
"name": "Blancs-Manteaux - Archives",
"updated": "2026-10-16T03:41:02.178378+00:00Z"
},
{
"distance_km": 0.42,
"empty_slots": 18,
"free_bikes": 4,
"lat": 48.857992591527,
"lon": 2.3469167947769,
"name": "Victoria - Place du Chatelet",
"updated": "2026-10-16T03:41:02.176685+00:00Z"
},
{
"distance_km": 0.42,
"empty_slots": 18,
"free_bikes": 4,
"lat": 48.860134890542,
"lon": 2.3500636965036,
"name": "Place Edmond Michelet",
"updated": "2026-10-16T03:41:02.158162+00:00Z"
},
{
"distance_km": 0.43,
"empty_slots": 36,
"free_bikes": 2,
"lat": 48.859059340842,
"lon": 2.3476943001151,
"name": "Saint-Denis - Rivoli",
"updated": "2026-10-16T03:41:02.157742+00:00Z"
},
{
"distance_km": 0.43,
"empty_slots": 6,
"free_bikes": 18,
"lat": 48.855692253233,
"lon": 2.3579058051109,
"name": "Tiron - Rivoli",
"updated": "2026-10-16T03:41:02.177219+00:00Z"
},
{
"distance_km": 0.46,
"empty_slots": 30,
"free_bikes": 4,
"lat": 48.853899645527,
"lon": 2.3569472506642,
"name": "Hôtel de Ville - Pont-Marie",
"updated": "2026-10-16T03:41:02.178348+00:00Z"
}
],
"totals": {
"empty_docks": 28068,
"free_bikes": 20102,
"stations": 1517
}
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://saylorinnovations.com/api/bikes/city?city=Paris&lat=48.8566&lon=2.3522'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://saylorinnovations.com/api/bikes/city?city=Paris&lat=48.8566&lon=2.3522' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsaylorinnovations.com%2Fapi%2Fbikes%2Fcity
const res = await pay("https://saylorinnovations.com/api/bikes/city?city=Paris&lat=48.8566&lon=2.3522");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://saylorinnovations.com/api/bikes/city?city=Paris&lat=48.8566&lon=2.3522")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 2.3 s | $0.01 |