Transport for Bordeaux, France API

Transportation / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

The Bordeaux Metropole Open Data API provides public transport schedules, real-time vehicle positions, and city mobility data for the Bordeaux metropolitan area in France. An API key is required but free to obtain through the open data portal. It is a great resource for developers building local transit or smart city applications.

💡

Beginner Tip

Register for a free API key on the Bordeaux open data portal before making requests. Explore the dataset catalog on the portal to find the specific dataset IDs you need for transport data.

Available Data

match scores and results
team standings
player statistics
schedule and fixtures

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

total_count Total number of records matching the query
results Array of data records matching your query
gml_id Unique GML identifier for a geographic feature
nom Name of the transit stop or location (in French)
geo_point_2d Geographic coordinates (lat/lon) of the feature

Implementation Example

const url = "https://opendata.bordeaux-metropole.fr/explore/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
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

401 Unauthorized Missing or invalid API key in the request
Register at opendata.bordeaux-metropole.fr and include your apikey parameter in each request
Dataset not found Using an incorrect dataset ID in the URL
Browse the data catalog on the portal to find the correct dataset ID for transport data (e.g., sv_arret_p for stops)
Empty records array Too-restrictive filter parameters returning no matches
Start without filters and limit results to 10 to confirm the dataset has data, then add filters gradually

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 2/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Transportation
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →