Transport for Paris, France API
Overview
The RATP Open Data API provides access to schedule, stop, and network data for Paris public transport, including the Metro, RER, buses, and trams. No API key is required, so you can start experimenting with Parisian transit data immediately. The API follows the ODS (OpenDataSoft) format, making it straightforward to filter and search datasets.
Beginner Tip
Start by browsing the dataset catalog at data.ratp.fr to find the dataset IDs you need, then use those IDs in API requests to fetch records. The search endpoint lets you filter by keyword so you can quickly locate Metro line schedules or bus stop locations.
Available Data
Example Response
{
"route": "Line 1",
"origin": "Station A",
"destination": "Station B",
"departure": "08:30",
"arrival": "09:15",
"status": "On Time",
"delays_min": 0
} Field Reference
nhits Total number of matching records found across all pages for the search query. datasets List of dataset objects returned by a catalog search, each describing a available RATP dataset. datasetid Unique identifier for a specific dataset, used to construct record-level API queries. metas.title Human-readable title of the dataset, such as "Positions géographiques des stations du réseau RATP". records Array of individual data records from a dataset, such as individual Metro stop entries. fields Key-value pairs of the actual data for a record, such as stop name, coordinates, and line number. Implementation Example
const url = "http://data.ratp.fr/api/v1/console/datasets/1.0/search/";
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
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →ADS-B Exchange
⭐ Beginner's PickADS-B Exchange is a community-driven API that provides real-time and historical position data for aircraft around the world.
airportsapi
⭐ Beginner's PickThe airportsapi lets you look up airport names and official website URLs by providing an ICAO code.
AviationAPI
AviationAPI provides programmatic access to faa aeronautical charts and publications, airport information, and airport weather via REST API.
BC Ferries
⭐ Beginner's PickThe BC Ferries API is a free, open API providing real-time sailing schedules, capacity, and current conditions for BC Ferries routes in British Columbia, Canada.
Community Transit
⭐ Beginner's PickCommunity Transit (Transitland) is a free, open API that aggregates public transit data from hundreds of agencies worldwide including routes, stops, and schedules.