Velib metropolis, Paris, France API

⭐ Beginner's Pick Transportation / No Auth Required Beginner HTTPS
Free to Use Varies (check documentation)

Overview

The Velib Metropolis API provides real-time open data for Paris's bike-sharing service, including station locations, bike availability, and dock counts. It follows the GBFS (General Bikeshare Feed Specification) standard, making it easy to integrate if you've worked with other bike-share APIs. No authentication is required, so you can start fetching live station data immediately.

💡

Beginner Tip

Use the GBFS standard endpoint to get station status and information; the feed is updated every 10 seconds so it is great for real-time apps. Explore station_information.json and station_status.json feeds first to understand the data structure.

Available Data

Use case: Integrate velib open data api data into web and mobile applications
Velib metropolis, Paris, France data via REST API
JSON-formatted response data
Freely accessible without authentication

Example Response

JSON Response
{
  "route": "Line 1",
  "origin": "Station A",
  "destination": "Station B",
  "departure": "08:30",
  "arrival": "09:15",
  "status": "On Time",
  "delays_min": 0
}

Field Reference

station_id Unique identifier for the bike station
name Human-readable name of the bike station
lat Latitude coordinate of the station
lon Longitude coordinate of the station
capacity Total number of docking points at the station

Implementation Example

const url = "https://www.velib-metropole.fr/donnees-open-data-gbfs-du-service-velib-metropole";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

CORS errors in browser Some GBFS endpoints may not allow cross-origin requests from browsers
Fetch the data from your backend server and serve it to your frontend instead
Stale data Caching the GBFS feed responses too aggressively
Respect the ttl field in each feed response and refresh accordingly
Missing station data Requesting a station ID that does not exist or is temporarily offline
Cross-reference station_information.json and handle missing entries gracefully

Matrix Score Breakdown

🌐 Reachability 0/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 7/15
Response Time 39ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS NO
Category Transportation
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →