SNCF Connect route timetable API
Use the SNCF Connect route timetable API to retrieve train records, journey segments and endpoints, clock-change records, station and stop records, source-page links and record identities and titles as structured JSON from SNCF Connect. Supply origin and destination in the query. Use these results to compare journey options for the selected route and dates before choosing a travel itinerary. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
- Selected price
- $0.002 / billing creditPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
apishCurrent SNCF Connect route timetable API · GET · View API reference | $0.002 / billing credit | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
average_minintegercachedbooleancountintegercredits_usedintegerdatestringfastest_minintegerfetched_atstringfirst_departurestringfromstringinfoobjectDernière heure de départstringDurée du trajet le plus courtstringDurée moyenne d’un trajetstringNombre de trajets par jourstringPremière heure de départstring
last_departurestringtitlestringtostringtrainsobject[]arrivalstringchangesintegerdeparturestringdirectbooleanduration_minintegerfrom_codestringfrom_stationstringoperatorstringstopsobject[]stationstringtimestring
to_codestringto_stationstringtrainsobject[]namestringnumberstring
trains_per_dayintegerurlstring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
average_min?: number;
cached?: boolean;
count?: number;
credits_used?: number;
date?: string;
fastest_min?: number;
fetched_at?: string;
first_departure?: string;
from?: string;
info?: {
"Dernière heure de départ"?: string;
"Durée du trajet le plus court"?: string;
"Durée moyenne d’un trajet"?: string;
"Nombre de trajets par jour"?: string;
"Première heure de départ"?: string;
};
last_departure?: string;
title?: string;
to?: string;
trains?: Array<{
arrival?: string;
changes?: number;
departure?: string;
direct?: boolean;
duration_min?: number;
from_code?: string;
from_station?: string;
operator?: string;
stops?: Array<{
station?: string;
time?: string;
}>;
to_code?: string;
to_station?: string;
trains?: Array<{
name?: string;
number?: string;
}>;
}>;
trains_per_day?: number;
url?: string;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable?from=paris&output=json&raw=0&to=lyon' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
from | URL query parametersquery | string | Yes | Origin city, e.g. `paris`, `lyon`, `bordeaux`. |
to | URL query parametersquery | string | Yes | Destination city. |
raw | URL query parametersquery | string | No | 0 leaves out the bulky `raw` source blocks (often 10-30x smaller). enum: "0", "1" |
fields | URL query parametersquery | string | No | Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included. |
fresh | URL query parametersquery | string | No | 1 skips the 24-hour cache and fetches live. enum: "1" |
output | URL query parametersquery | string | No | JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported. enum: "json" |
records | URL query parametersquery | string | No | With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row. |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"average_min": 157,
"cached": false,
"count": 33,
"credits_used": 1,
"date": "2026-11-20",
"fastest_min": 103,
"fetched_at": "2026-11-19T12:25:28.870Z",
"first_departure": "06:20",
"from": "paris",
"info": {
"Dernière heure de départ": "21h30",
"Durée du trajet le plus court": "1h43",
"Durée moyenne d’un trajet": "2h37",
"Nombre de trajets par jour": "33",
"Première heure de départ": "6h20"
},
"last_departure": "21:30",
"title": "Quels sont les horaires des trains Paris - Lyon le Vendredi 20 novembre 2026 ?",
"to": "lyon",
"trains": [
{
"arrival": "08:22",
"changes": 0,
"departure": "06:20",
"direct": true,
"duration_min": 122,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "06:20"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "07:40"
},
{
"station": "Lyon Part Dieu",
"time": "08:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6641",
"number": "6641"
}
]
},
{
"arrival": "08:56",
"changes": 0,
"departure": "07:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:00"
},
{
"station": "Lyon Part Dieu",
"time": "08:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6603",
"number": "6603"
}
]
},
{
"arrival": "09:22",
"changes": 0,
"departure": "07:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:26"
},
{
"station": "Lyon Part Dieu",
"time": "09:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6643",
"number": "6643"
}
]
},
{
"arrival": "12:44",
"changes": 0,
"departure": "07:34",
"direct": true,
"duration_min": 310,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TER",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:34"
},
{
"station": "Sens",
"time": "08:31"
},
{
"station": "Joigny",
"time": "08:49"
},
{
"station": "Laroche - Migennes",
"time": "08:56"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "09:10"
},
{
"station": "Tonnerre",
"time": "09:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "09:40"
},
{
"station": "Montbard",
"time": "09:52"
},
{
"station": "Les Laumes - Alesia",
"time": "10:02"
},
{
"station": "Dijon",
"time": "10:36"
},
{
"station": "Beaune",
"time": "11:08"
},
{
"station": "Chagny",
"time": "11:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "11:26"
},
{
"station": "Tournus",
"time": "11:40"
},
{
"station": "Macon",
"time": "11:56"
},
{
"station": "Belleville Sur Saone",
"time": "12:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "12:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "12:29"
},
{
"station": "Lyon Part Dieu",
"time": "12:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17769",
"number": "17769"
}
]
},
{
"arrival": "09:56",
"changes": 0,
"departure": "07:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "09:12"
},
{
"station": "Lyon Part Dieu",
"time": "09:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6681",
"number": "6681"
}
]
},
{
"arrival": "10:56",
"changes": 0,
"departure": "09:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "09:00"
},
{
"station": "Lyon Part Dieu",
"time": "10:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6607",
"number": "6607"
}
]
},
{
"arrival": "11:03",
"changes": 0,
"departure": "09:13",
"direct": true,
"duration_min": 110,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "09:13"
},
{
"station": "Lyon Part Dieu",
"time": "11:03"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7867",
"number": "7867"
}
]
},
{
"arrival": "11:33",
"changes": 0,
"departure": "09:42",
"direct": true,
"duration_min": 111,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "09:42"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "11:33"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7885",
"number": "7885"
}
]
},
{
"arrival": "11:56",
"changes": 0,
"departure": "10:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "10:00"
},
{
"station": "Lyon Part Dieu",
"time": "11:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6609",
"number": "6609"
}
]
},
{
"arrival": "12:56",
"changes": 0,
"departure": "11:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "11:00"
},
{
"station": "Lyon Part Dieu",
"time": "12:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6611",
"number": "6611"
}
]
},
{
"arrival": "12:59",
"changes": 0,
"departure": "11:16",
"direct": true,
"duration_min": 103,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "11:16"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "12:59"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7897",
"number": "7897"
}
]
},
{
"arrival": "13:56",
"changes": 0,
"departure": "11:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "11:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "13:12"
},
{
"station": "Lyon Part Dieu",
"time": "13:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6613",
"number": "6613"
}
]
},
{
"arrival": "14:22",
"changes": 0,
"departure": "12:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "12:26"
},
{
"station": "Lyon Part Dieu",
"time": "14:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7803",
"number": "7803"
}
]
},
{
"arrival": "14:33",
"changes": 0,
"departure": "12:50",
"direct": true,
"duration_min": 103,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "12:50"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "14:33"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7841",
"number": "7841"
}
]
},
{
"arrival": "14:56",
"changes": 0,
"departure": "12:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "12:52"
},
{
"station": "Lyon Part Dieu",
"time": "14:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6615 - TGV INOUI 6685",
"number": "6685"
}
]
},
{
"arrival": "18:44",
"changes": 0,
"departure": "13:35",
"direct": true,
"duration_min": 309,
"from_code": "FRPAR",
"from_station": "Paris Bercy Bourgogne - Pays D'auvergne",
"operator": "TER",
"stops": [
{
"station": "Paris Bercy Bourgogne - Pays D'auvergne",
"time": "13:35"
},
{
"station": "Sens",
"time": "14:30"
},
{
"station": "Joigny",
"time": "14:49"
},
{
"station": "Laroche - Migennes",
"time": "14:57"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "15:10"
},
{
"station": "Tonnerre",
"time": "15:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "15:38"
},
{
"station": "Montbard",
"time": "15:48"
},
{
"station": "Les Laumes - Alesia",
"time": "15:56"
},
{
"station": "Dijon",
"time": "16:25"
},
{
"station": "Beaune",
"time": "17:08"
},
{
"station": "Chagny",
"time": "17:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "17:26"
},
{
"station": "Tournus",
"time": "17:40"
},
{
"station": "Macon",
"time": "17:56"
},
{
"station": "Belleville Sur Saone",
"time": "18:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "18:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "18:29"
},
{
"station": "Lyon Part Dieu",
"time": "18:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17775",
"number": "17775"
}
]
},
{
"arrival": "15:56",
"changes": 0,
"departure": "13:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "13:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "15:12"
},
{
"station": "Lyon Part Dieu",
"time": "15:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6617",
"number": "6617"
}
]
},
{
"arrival": "16:00",
"changes": 0,
"departure": "14:13",
"direct": true,
"duration_min": 107,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "14:13"
},
{
"station": "Lyon Part Dieu",
"time": "16:00"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7835",
"number": "7835"
}
]
},
{
"arrival": "16:46",
"changes": 0,
"departure": "14:56",
"direct": true,
"duration_min": 110,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "14:56"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "16:46"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7871",
"number": "7871"
}
]
},
{
"arrival": "16:56",
"changes": 0,
"departure": "15:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "15:00"
},
{
"station": "Lyon Part Dieu",
"time": "16:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6619",
"number": "6619"
}
]
},
{
"arrival": "20:44",
"changes": 0,
"departure": "15:35",
"direct": true,
"duration_min": 309,
"from_code": "FRPAR",
"from_station": "Paris Bercy Bourgogne - Pays D'auvergne",
"operator": "TER",
"stops": [
{
"station": "Paris Bercy Bourgogne - Pays D'auvergne",
"time": "15:35"
},
{
"station": "Sens",
"time": "16:30"
},
{
"station": "Joigny",
"time": "16:48"
},
{
"station": "Laroche - Migennes",
"time": "16:56"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "17:10"
},
{
"station": "Tonnerre",
"time": "17:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "17:39"
},
{
"station": "Montbard",
"time": "17:49"
},
{
"station": "Les Laumes - Alesia",
"time": "17:57"
},
{
"station": "Dijon",
"time": "18:25"
},
{
"station": "Beaune",
"time": "19:08"
},
{
"station": "Chagny",
"time": "19:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "19:26"
},
{
"station": "Tournus",
"time": "19:40"
},
{
"station": "Macon",
"time": "19:56"
},
{
"station": "Belleville Sur Saone",
"time": "20:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "20:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "20:28"
},
{
"station": "Lyon Part Dieu",
"time": "20:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17777",
"number": "17777"
}
]
},
{
"arrival": "18:00",
"changes": 0,
"departure": "15:52",
"direct": true,
"duration_min": 128,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "15:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "17:12"
},
{
"station": "Macon Loche Tgv",
"time": "17:33"
},
{
"station": "Lyon Part Dieu",
"time": "18:00"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6621",
"number": "6621"
}
]
},
{
"arrival": "18:32",
"changes": 0,
"departure": "16:49",
"direct": true,
"duration_min": 103,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "16:49"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "18:32"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7845",
"number": "7845"
}
]
},
{
"arrival": "18:56",
"changes": 0,
"departure": "17:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "17:00"
},
{
"station": "Lyon Part Dieu",
"time": "18:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6687 - TGV INOUI 6623",
"number": "6623"
}
]
},
{
"arrival": "19:22",
"changes": 0,
"departure": "17:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "17:26"
},
{
"station": "Lyon Part Dieu",
"time": "19:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6663",
"number": "6663"
}
]
},
{
"arrival": "22:44",
"changes": 0,
"departure": "17:27",
"direct": true,
"duration_min": 317,
"from_code": "FRPAR",
"from_station": "Paris Bercy Bourgogne - Pays D'auvergne",
"operator": "TER",
"stops": [
{
"station": "Paris Bercy Bourgogne - Pays D'auvergne",
"time": "17:27"
},
{
"station": "Sens",
"time": "18:32"
},
{
"station": "Joigny",
"time": "18:51"
},
{
"station": "Laroche - Migennes",
"time": "18:59"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "19:11"
},
{
"station": "Tonnerre",
"time": "19:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "19:38"
},
{
"station": "Montbard",
"time": "19:50"
},
{
"station": "Les Laumes - Alesia",
"time": "19:58"
},
{
"station": "Dijon",
"time": "20:27"
},
{
"station": "Beaune",
"time": "21:08"
},
{
"station": "Chagny",
"time": "21:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "21:26"
},
{
"station": "Tournus",
"time": "21:40"
},
{
"station": "Macon",
"time": "21:56"
},
{
"station": "Belleville Sur Saone",
"time": "22:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "22:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "22:29"
},
{
"station": "Lyon Part Dieu",
"time": "22:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17779",
"number": "17779"
}
]
},
{
"arrival": "19:54",
"changes": 0,
"departure": "17:52",
"direct": true,
"duration_min": 122,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "17:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "19:12"
},
{
"station": "Lyon Part Dieu",
"time": "19:54"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6627",
"number": "6627"
}
]
},
{
"arrival": "20:22",
"changes": 0,
"departure": "18:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "18:26"
},
{
"station": "Lyon Part Dieu",
"time": "20:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6669",
"number": "6669"
}
]
},
{
"arrival": "20:56",
"changes": 0,
"departure": "19:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "19:00"
},
{
"station": "Lyon Part Dieu",
"time": "20:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6689",
"number": "6689"
}
]
},
{
"arrival": "21:22",
"changes": 0,
"departure": "19:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "19:26"
},
{
"station": "Lyon Part Dieu",
"time": "21:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7805",
"number": "7805"
}
]
},
{
"arrival": "22:58",
"changes": 0,
"departure": "20:57",
"direct": true,
"duration_min": 121,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "20:57"
},
{
"station": "Lyon Perrache",
"time": "22:58"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Perrache",
"trains": [
{
"name": "OUIGO 7815",
"number": "7815"
}
]
},
{
"arrival": "23:10",
"changes": 0,
"departure": "21:00",
"direct": true,
"duration_min": 130,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "21:00"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "22:20"
},
{
"station": "Macon Loche Tgv",
"time": "22:41"
},
{
"station": "Lyon Part Dieu",
"time": "23:10"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6633",
"number": "6633"
}
]
},
{
"arrival": "08:24",
"changes": 2,
"departure": "21:30",
"direct": false,
"duration_min": 654,
"from_code": "FRPAR",
"from_station": "Paris Austerlitz",
"operator": "INTERCITES, TER, TGV INOUI",
"stops": [
{
"station": "Paris Austerlitz",
"time": "21:30"
},
{
"station": "Crest",
"time": "05:22"
},
{
"station": "Crest",
"time": "06:49"
},
{
"station": "Livron",
"time": "07:06"
},
{
"station": "Valence Ville",
"time": "07:19"
},
{
"station": "Valence Tgv Rhone-Alpes Sud",
"time": "07:31"
},
{
"station": "Valence Tgv Rhone-Alpes Sud",
"time": "07:48"
},
{
"station": "Lyon Part Dieu",
"time": "08:24"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "INTERCITES 64005",
"number": "64005"
},
{
"name": "TER 89200",
"number": "89200"
},
{
"name": "TGV INOUI 9898",
"number": "9898"
}
]
}
],
"trains_per_day": 33,
"url": "https://www.sncf-connect.com/train/horaires/paris/lyon"
}Composite rule pricing
Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.
Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.
| Fee item | Price | Metering source | When | Quantity limit |
|---|---|---|---|---|
| Actual API.SH credits consumed | $0.002000 / billing credit | Response · /credits_used · Numeric value | Always | 1 billing credit · Decimal places: 0 |
Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.
Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.
Pricing parameters and defaults
[]
Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# SNCF Connect route timetable API
Use the SNCF Connect route timetable API to retrieve train records, journey segments and endpoints, clock-change records, station and stop records, source-page links and record identities and titles as structured JSON from SNCF Connect. Supply origin and destination in the query. Use these results to compare journey options for the selected route and dates before choosing a travel itinerary. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.
Documentation: https://openany.si/apis/33970072-c676-4c73-8c8b-a8e15c684710
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable
Price: $0.002 / billing credit
Provider: apish
Contract revision: 2
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable?from=paris&output=json&raw=0&to=lyon' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "SNCF Connect route timetable API",
"endpoint": "https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Origin city, e.g. `paris`, `lyon`, `bordeaux`.",
"location": "query",
"name": "from",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Destination city.",
"location": "query",
"name": "to",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
"enum_values": [
"0",
"1"
],
"location": "query",
"name": "raw",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.",
"location": "query",
"name": "fields",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "1 skips the 24-hour cache and fetches live.",
"enum_values": [
"1"
],
"location": "query",
"name": "fresh",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
"enum_values": [
"json"
],
"location": "query",
"name": "output",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.",
"location": "query",
"name": "records",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "rules",
"parameters": [],
"policy_version": 2,
"sale": {
"addons": [],
"base_price_micro_usd": "0",
"max_cost_micro_usd": "2000",
"quantities": [
{
"id": "upstream_credits",
"label": "Actual API.SH credits consumed",
"max_quantity": "1",
"measure": "value",
"pointer": "/credits_used",
"price_micro_usd": "2000",
"quantity_scale": 0,
"source": "response",
"unit": "credit",
"unit_quantity": "1"
}
],
"rounding": "ceil",
"variants": []
}
},
"examples": [
{
"http_status": 200,
"name": "Official example · Live API.SH response · Minimal request",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"from": "paris",
"output": "json",
"raw": "0",
"to": "lyon"
}
},
"response_body": {
"average_min": 157,
"cached": false,
"count": 33,
"credits_used": 1,
"date": "2026-11-20",
"fastest_min": 103,
"fetched_at": "2026-11-19T12:25:28.870Z",
"first_departure": "06:20",
"from": "paris",
"info": {
"Dernière heure de départ": "21h30",
"Durée du trajet le plus court": "1h43",
"Durée moyenne d’un trajet": "2h37",
"Nombre de trajets par jour": "33",
"Première heure de départ": "6h20"
},
"last_departure": "21:30",
"title": "Quels sont les horaires des trains Paris - Lyon le Vendredi 20 novembre 2026 ?",
"to": "lyon",
"trains": [
{
"arrival": "08:22",
"changes": 0,
"departure": "06:20",
"direct": true,
"duration_min": 122,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "06:20"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "07:40"
},
{
"station": "Lyon Part Dieu",
"time": "08:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6641",
"number": "6641"
}
]
},
{
"arrival": "08:56",
"changes": 0,
"departure": "07:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:00"
},
{
"station": "Lyon Part Dieu",
"time": "08:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6603",
"number": "6603"
}
]
},
{
"arrival": "09:22",
"changes": 0,
"departure": "07:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:26"
},
{
"station": "Lyon Part Dieu",
"time": "09:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6643",
"number": "6643"
}
]
},
{
"arrival": "12:44",
"changes": 0,
"departure": "07:34",
"direct": true,
"duration_min": 310,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TER",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:34"
},
{
"station": "Sens",
"time": "08:31"
},
{
"station": "Joigny",
"time": "08:49"
},
{
"station": "Laroche - Migennes",
"time": "08:56"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "09:10"
},
{
"station": "Tonnerre",
"time": "09:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "09:40"
},
{
"station": "Montbard",
"time": "09:52"
},
{
"station": "Les Laumes - Alesia",
"time": "10:02"
},
{
"station": "Dijon",
"time": "10:36"
},
{
"station": "Beaune",
"time": "11:08"
},
{
"station": "Chagny",
"time": "11:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "11:26"
},
{
"station": "Tournus",
"time": "11:40"
},
{
"station": "Macon",
"time": "11:56"
},
{
"station": "Belleville Sur Saone",
"time": "12:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "12:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "12:29"
},
{
"station": "Lyon Part Dieu",
"time": "12:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17769",
"number": "17769"
}
]
},
{
"arrival": "09:56",
"changes": 0,
"departure": "07:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "07:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "09:12"
},
{
"station": "Lyon Part Dieu",
"time": "09:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6681",
"number": "6681"
}
]
},
{
"arrival": "10:56",
"changes": 0,
"departure": "09:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "09:00"
},
{
"station": "Lyon Part Dieu",
"time": "10:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6607",
"number": "6607"
}
]
},
{
"arrival": "11:03",
"changes": 0,
"departure": "09:13",
"direct": true,
"duration_min": 110,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "09:13"
},
{
"station": "Lyon Part Dieu",
"time": "11:03"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7867",
"number": "7867"
}
]
},
{
"arrival": "11:33",
"changes": 0,
"departure": "09:42",
"direct": true,
"duration_min": 111,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "09:42"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "11:33"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7885",
"number": "7885"
}
]
},
{
"arrival": "11:56",
"changes": 0,
"departure": "10:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "10:00"
},
{
"station": "Lyon Part Dieu",
"time": "11:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6609",
"number": "6609"
}
]
},
{
"arrival": "12:56",
"changes": 0,
"departure": "11:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "11:00"
},
{
"station": "Lyon Part Dieu",
"time": "12:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6611",
"number": "6611"
}
]
},
{
"arrival": "12:59",
"changes": 0,
"departure": "11:16",
"direct": true,
"duration_min": 103,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "11:16"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "12:59"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7897",
"number": "7897"
}
]
},
{
"arrival": "13:56",
"changes": 0,
"departure": "11:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "11:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "13:12"
},
{
"station": "Lyon Part Dieu",
"time": "13:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6613",
"number": "6613"
}
]
},
{
"arrival": "14:22",
"changes": 0,
"departure": "12:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "12:26"
},
{
"station": "Lyon Part Dieu",
"time": "14:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7803",
"number": "7803"
}
]
},
{
"arrival": "14:33",
"changes": 0,
"departure": "12:50",
"direct": true,
"duration_min": 103,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "12:50"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "14:33"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7841",
"number": "7841"
}
]
},
{
"arrival": "14:56",
"changes": 0,
"departure": "12:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "12:52"
},
{
"station": "Lyon Part Dieu",
"time": "14:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6615 - TGV INOUI 6685",
"number": "6685"
}
]
},
{
"arrival": "18:44",
"changes": 0,
"departure": "13:35",
"direct": true,
"duration_min": 309,
"from_code": "FRPAR",
"from_station": "Paris Bercy Bourgogne - Pays D'auvergne",
"operator": "TER",
"stops": [
{
"station": "Paris Bercy Bourgogne - Pays D'auvergne",
"time": "13:35"
},
{
"station": "Sens",
"time": "14:30"
},
{
"station": "Joigny",
"time": "14:49"
},
{
"station": "Laroche - Migennes",
"time": "14:57"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "15:10"
},
{
"station": "Tonnerre",
"time": "15:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "15:38"
},
{
"station": "Montbard",
"time": "15:48"
},
{
"station": "Les Laumes - Alesia",
"time": "15:56"
},
{
"station": "Dijon",
"time": "16:25"
},
{
"station": "Beaune",
"time": "17:08"
},
{
"station": "Chagny",
"time": "17:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "17:26"
},
{
"station": "Tournus",
"time": "17:40"
},
{
"station": "Macon",
"time": "17:56"
},
{
"station": "Belleville Sur Saone",
"time": "18:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "18:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "18:29"
},
{
"station": "Lyon Part Dieu",
"time": "18:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17775",
"number": "17775"
}
]
},
{
"arrival": "15:56",
"changes": 0,
"departure": "13:52",
"direct": true,
"duration_min": 124,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "13:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "15:12"
},
{
"station": "Lyon Part Dieu",
"time": "15:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6617",
"number": "6617"
}
]
},
{
"arrival": "16:00",
"changes": 0,
"departure": "14:13",
"direct": true,
"duration_min": 107,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "14:13"
},
{
"station": "Lyon Part Dieu",
"time": "16:00"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7835",
"number": "7835"
}
]
},
{
"arrival": "16:46",
"changes": 0,
"departure": "14:56",
"direct": true,
"duration_min": 110,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "14:56"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "16:46"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7871",
"number": "7871"
}
]
},
{
"arrival": "16:56",
"changes": 0,
"departure": "15:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "15:00"
},
{
"station": "Lyon Part Dieu",
"time": "16:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6619",
"number": "6619"
}
]
},
{
"arrival": "20:44",
"changes": 0,
"departure": "15:35",
"direct": true,
"duration_min": 309,
"from_code": "FRPAR",
"from_station": "Paris Bercy Bourgogne - Pays D'auvergne",
"operator": "TER",
"stops": [
{
"station": "Paris Bercy Bourgogne - Pays D'auvergne",
"time": "15:35"
},
{
"station": "Sens",
"time": "16:30"
},
{
"station": "Joigny",
"time": "16:48"
},
{
"station": "Laroche - Migennes",
"time": "16:56"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "17:10"
},
{
"station": "Tonnerre",
"time": "17:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "17:39"
},
{
"station": "Montbard",
"time": "17:49"
},
{
"station": "Les Laumes - Alesia",
"time": "17:57"
},
{
"station": "Dijon",
"time": "18:25"
},
{
"station": "Beaune",
"time": "19:08"
},
{
"station": "Chagny",
"time": "19:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "19:26"
},
{
"station": "Tournus",
"time": "19:40"
},
{
"station": "Macon",
"time": "19:56"
},
{
"station": "Belleville Sur Saone",
"time": "20:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "20:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "20:28"
},
{
"station": "Lyon Part Dieu",
"time": "20:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17777",
"number": "17777"
}
]
},
{
"arrival": "18:00",
"changes": 0,
"departure": "15:52",
"direct": true,
"duration_min": 128,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "15:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "17:12"
},
{
"station": "Macon Loche Tgv",
"time": "17:33"
},
{
"station": "Lyon Part Dieu",
"time": "18:00"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6621",
"number": "6621"
}
]
},
{
"arrival": "18:32",
"changes": 0,
"departure": "16:49",
"direct": true,
"duration_min": 103,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "16:49"
},
{
"station": "Lyon Saint-Exupery Tgv",
"time": "18:32"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Saint-Exupery Tgv",
"trains": [
{
"name": "OUIGO 7845",
"number": "7845"
}
]
},
{
"arrival": "18:56",
"changes": 0,
"departure": "17:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "17:00"
},
{
"station": "Lyon Part Dieu",
"time": "18:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6687 - TGV INOUI 6623",
"number": "6623"
}
]
},
{
"arrival": "19:22",
"changes": 0,
"departure": "17:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "17:26"
},
{
"station": "Lyon Part Dieu",
"time": "19:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6663",
"number": "6663"
}
]
},
{
"arrival": "22:44",
"changes": 0,
"departure": "17:27",
"direct": true,
"duration_min": 317,
"from_code": "FRPAR",
"from_station": "Paris Bercy Bourgogne - Pays D'auvergne",
"operator": "TER",
"stops": [
{
"station": "Paris Bercy Bourgogne - Pays D'auvergne",
"time": "17:27"
},
{
"station": "Sens",
"time": "18:32"
},
{
"station": "Joigny",
"time": "18:51"
},
{
"station": "Laroche - Migennes",
"time": "18:59"
},
{
"station": "Saint-Florentin - Vergigny",
"time": "19:11"
},
{
"station": "Tonnerre",
"time": "19:23"
},
{
"station": "Nuits Sous Ravieres",
"time": "19:38"
},
{
"station": "Montbard",
"time": "19:50"
},
{
"station": "Les Laumes - Alesia",
"time": "19:58"
},
{
"station": "Dijon",
"time": "20:27"
},
{
"station": "Beaune",
"time": "21:08"
},
{
"station": "Chagny",
"time": "21:17"
},
{
"station": "Chalon-Sur-Saone",
"time": "21:26"
},
{
"station": "Tournus",
"time": "21:40"
},
{
"station": "Macon",
"time": "21:56"
},
{
"station": "Belleville Sur Saone",
"time": "22:10"
},
{
"station": "Villefranche-Sur-Saone",
"time": "22:19"
},
{
"station": "Saint-Germain-Au-Mont-D'or",
"time": "22:29"
},
{
"station": "Lyon Part Dieu",
"time": "22:44"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TER 17779",
"number": "17779"
}
]
},
{
"arrival": "19:54",
"changes": 0,
"departure": "17:52",
"direct": true,
"duration_min": 122,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "17:52"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "19:12"
},
{
"station": "Lyon Part Dieu",
"time": "19:54"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6627",
"number": "6627"
}
]
},
{
"arrival": "20:22",
"changes": 0,
"departure": "18:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "18:26"
},
{
"station": "Lyon Part Dieu",
"time": "20:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6669",
"number": "6669"
}
]
},
{
"arrival": "20:56",
"changes": 0,
"departure": "19:00",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "19:00"
},
{
"station": "Lyon Part Dieu",
"time": "20:56"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6689",
"number": "6689"
}
]
},
{
"arrival": "21:22",
"changes": 0,
"departure": "19:26",
"direct": true,
"duration_min": 116,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "OUIGO",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "19:26"
},
{
"station": "Lyon Part Dieu",
"time": "21:22"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "OUIGO 7805",
"number": "7805"
}
]
},
{
"arrival": "22:58",
"changes": 0,
"departure": "20:57",
"direct": true,
"duration_min": 121,
"from_code": "FRPAR",
"from_station": "Marne-La-Vallee - Chessy",
"operator": "OUIGO",
"stops": [
{
"station": "Marne-La-Vallee - Chessy",
"time": "20:57"
},
{
"station": "Lyon Perrache",
"time": "22:58"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Perrache",
"trains": [
{
"name": "OUIGO 7815",
"number": "7815"
}
]
},
{
"arrival": "23:10",
"changes": 0,
"departure": "21:00",
"direct": true,
"duration_min": 130,
"from_code": "FRPAR",
"from_station": "Paris - Gare De Lyon - Hall 1 & 2",
"operator": "TGV INOUI",
"stops": [
{
"station": "Paris - Gare De Lyon - Hall 1 & 2",
"time": "21:00"
},
{
"station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv",
"time": "22:20"
},
{
"station": "Macon Loche Tgv",
"time": "22:41"
},
{
"station": "Lyon Part Dieu",
"time": "23:10"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "TGV INOUI 6633",
"number": "6633"
}
]
},
{
"arrival": "08:24",
"changes": 2,
"departure": "21:30",
"direct": false,
"duration_min": 654,
"from_code": "FRPAR",
"from_station": "Paris Austerlitz",
"operator": "INTERCITES, TER, TGV INOUI",
"stops": [
{
"station": "Paris Austerlitz",
"time": "21:30"
},
{
"station": "Crest",
"time": "05:22"
},
{
"station": "Crest",
"time": "06:49"
},
{
"station": "Livron",
"time": "07:06"
},
{
"station": "Valence Ville",
"time": "07:19"
},
{
"station": "Valence Tgv Rhone-Alpes Sud",
"time": "07:31"
},
{
"station": "Valence Tgv Rhone-Alpes Sud",
"time": "07:48"
},
{
"station": "Lyon Part Dieu",
"time": "08:24"
}
],
"to_code": "FRLYS",
"to_station": "Lyon Part Dieu",
"trains": [
{
"name": "INTERCITES 64005",
"number": "64005"
},
{
"name": "TER 89200",
"number": "89200"
},
{
"name": "TGV INOUI 9898",
"number": "9898"
}
]
}
],
"trains_per_day": 33,
"url": "https://www.sncf-connect.com/train/horaires/paris/lyon"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Official example · Live API.SH response · Minimal request
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 7
Review these request fields before running. Keep the published provider and request method unchanged.
from- Origin city, e.g. `paris`, `lyon`, `bordeaux`.
to- Destination city.
raw- 0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
fields- Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
fresh- 1 skips the 24-hour cache and fetches live.
output- JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
records- With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable?from=paris&output=json&raw=0&to=lyon' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "average_min": 157, "cached": false, "count": 33, "credits_used": 1, "date": "2026-11-20", "fastest_min": 103, "fetched_at": "2026-11-19T12:25:28.870Z", "first_departure": "06:20", "from": "paris", "info": { "Dernière heure de départ": "21h30", "Durée du trajet le plus court": "1h43", "Durée moyenne d’un trajet": "2h37", "Nombre de trajets par jour": "33", "Première heure de départ": "6h20" }, "last_departure": "21:30", "title": "Quels sont les horaires des trains Paris - Lyon le Vendredi 20 novembre 2026 ?", "to": "lyon", "trains": [ { "arrival": "08:22", "changes": 0, "departure": "06:20", "direct": true, "duration_min": 122, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "06:20" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "07:40" }, { "station": "Lyon Part Dieu", "time": "08:22" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6641", "number": "6641" } ] }, { "arrival": "08:56", "changes": 0, "departure": "07:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "07:00" }, { "station": "Lyon Part Dieu", "time": "08:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6603", "number": "6603" } ] }, { "arrival": "09:22", "changes": 0, "departure": "07:26", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "07:26" }, { "station": "Lyon Part Dieu", "time": "09:22" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6643", "number": "6643" } ] }, { "arrival": "12:44", "changes": 0, "departure": "07:34", "direct": true, "duration_min": 310, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TER", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "07:34" }, { "station": "Sens", "time": "08:31" }, { "station": "Joigny", "time": "08:49" }, { "station": "Laroche - Migennes", "time": "08:56" }, { "station": "Saint-Florentin - Vergigny", "time": "09:10" }, { "station": "Tonnerre", "time": "09:23" }, { "station": "Nuits Sous Ravieres", "time": "09:40" }, { "station": "Montbard", "time": "09:52" }, { "station": "Les Laumes - Alesia", "time": "10:02" }, { "station": "Dijon", "time": "10:36" }, { "station": "Beaune", "time": "11:08" }, { "station": "Chagny", "time": "11:17" }, { "station": "Chalon-Sur-Saone", "time": "11:26" }, { "station": "Tournus", "time": "11:40" }, { "station": "Macon", "time": "11:56" }, { "station": "Belleville Sur Saone", "time": "12:10" }, { "station": "Villefranche-Sur-Saone", "time": "12:19" }, { "station": "Saint-Germain-Au-Mont-D'or", "time": "12:29" }, { "station": "Lyon Part Dieu", "time": "12:44" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TER 17769", "number": "17769" } ] }, { "arrival": "09:56", "changes": 0, "departure": "07:52", "direct": true, "duration_min": 124, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "07:52" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "09:12" }, { "station": "Lyon Part Dieu", "time": "09:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6681", "number": "6681" } ] }, { "arrival": "10:56", "changes": 0, "departure": "09:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "09:00" }, { "station": "Lyon Part Dieu", "time": "10:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6607", "number": "6607" } ] }, { "arrival": "11:03", "changes": 0, "departure": "09:13", "direct": true, "duration_min": 110, "from_code": "FRPAR", "from_station": "Marne-La-Vallee - Chessy", "operator": "OUIGO", "stops": [ { "station": "Marne-La-Vallee - Chessy", "time": "09:13" }, { "station": "Lyon Part Dieu", "time": "11:03" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "OUIGO 7867", "number": "7867" } ] }, { "arrival": "11:33", "changes": 0, "departure": "09:42", "direct": true, "duration_min": 111, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "OUIGO", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "09:42" }, { "station": "Lyon Saint-Exupery Tgv", "time": "11:33" } ], "to_code": "FRLYS", "to_station": "Lyon Saint-Exupery Tgv", "trains": [ { "name": "OUIGO 7885", "number": "7885" } ] }, { "arrival": "11:56", "changes": 0, "departure": "10:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "10:00" }, { "station": "Lyon Part Dieu", "time": "11:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6609", "number": "6609" } ] }, { "arrival": "12:56", "changes": 0, "departure": "11:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "11:00" }, { "station": "Lyon Part Dieu", "time": "12:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6611", "number": "6611" } ] }, { "arrival": "12:59", "changes": 0, "departure": "11:16", "direct": true, "duration_min": 103, "from_code": "FRPAR", "from_station": "Marne-La-Vallee - Chessy", "operator": "OUIGO", "stops": [ { "station": "Marne-La-Vallee - Chessy", "time": "11:16" }, { "station": "Lyon Saint-Exupery Tgv", "time": "12:59" } ], "to_code": "FRLYS", "to_station": "Lyon Saint-Exupery Tgv", "trains": [ { "name": "OUIGO 7897", "number": "7897" } ] }, { "arrival": "13:56", "changes": 0, "departure": "11:52", "direct": true, "duration_min": 124, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "11:52" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "13:12" }, { "station": "Lyon Part Dieu", "time": "13:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6613", "number": "6613" } ] }, { "arrival": "14:22", "changes": 0, "departure": "12:26", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "OUIGO", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "12:26" }, { "station": "Lyon Part Dieu", "time": "14:22" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "OUIGO 7803", "number": "7803" } ] }, { "arrival": "14:33", "changes": 0, "departure": "12:50", "direct": true, "duration_min": 103, "from_code": "FRPAR", "from_station": "Marne-La-Vallee - Chessy", "operator": "OUIGO", "stops": [ { "station": "Marne-La-Vallee - Chessy", "time": "12:50" }, { "station": "Lyon Saint-Exupery Tgv", "time": "14:33" } ], "to_code": "FRLYS", "to_station": "Lyon Saint-Exupery Tgv", "trains": [ { "name": "OUIGO 7841", "number": "7841" } ] }, { "arrival": "14:56", "changes": 0, "departure": "12:52", "direct": true, "duration_min": 124, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "12:52" }, { "station": "Lyon Part Dieu", "time": "14:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6615 - TGV INOUI 6685", "number": "6685" } ] }, { "arrival": "18:44", "changes": 0, "departure": "13:35", "direct": true, "duration_min": 309, "from_code": "FRPAR", "from_station": "Paris Bercy Bourgogne - Pays D'auvergne", "operator": "TER", "stops": [ { "station": "Paris Bercy Bourgogne - Pays D'auvergne", "time": "13:35" }, { "station": "Sens", "time": "14:30" }, { "station": "Joigny", "time": "14:49" }, { "station": "Laroche - Migennes", "time": "14:57" }, { "station": "Saint-Florentin - Vergigny", "time": "15:10" }, { "station": "Tonnerre", "time": "15:23" }, { "station": "Nuits Sous Ravieres", "time": "15:38" }, { "station": "Montbard", "time": "15:48" }, { "station": "Les Laumes - Alesia", "time": "15:56" }, { "station": "Dijon", "time": "16:25" }, { "station": "Beaune", "time": "17:08" }, { "station": "Chagny", "time": "17:17" }, { "station": "Chalon-Sur-Saone", "time": "17:26" }, { "station": "Tournus", "time": "17:40" }, { "station": "Macon", "time": "17:56" }, { "station": "Belleville Sur Saone", "time": "18:10" }, { "station": "Villefranche-Sur-Saone", "time": "18:19" }, { "station": "Saint-Germain-Au-Mont-D'or", "time": "18:29" }, { "station": "Lyon Part Dieu", "time": "18:44" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TER 17775", "number": "17775" } ] }, { "arrival": "15:56", "changes": 0, "departure": "13:52", "direct": true, "duration_min": 124, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "13:52" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "15:12" }, { "station": "Lyon Part Dieu", "time": "15:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6617", "number": "6617" } ] }, { "arrival": "16:00", "changes": 0, "departure": "14:13", "direct": true, "duration_min": 107, "from_code": "FRPAR", "from_station": "Marne-La-Vallee - Chessy", "operator": "OUIGO", "stops": [ { "station": "Marne-La-Vallee - Chessy", "time": "14:13" }, { "station": "Lyon Part Dieu", "time": "16:00" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "OUIGO 7835", "number": "7835" } ] }, { "arrival": "16:46", "changes": 0, "departure": "14:56", "direct": true, "duration_min": 110, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "OUIGO", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "14:56" }, { "station": "Lyon Saint-Exupery Tgv", "time": "16:46" } ], "to_code": "FRLYS", "to_station": "Lyon Saint-Exupery Tgv", "trains": [ { "name": "OUIGO 7871", "number": "7871" } ] }, { "arrival": "16:56", "changes": 0, "departure": "15:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "15:00" }, { "station": "Lyon Part Dieu", "time": "16:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6619", "number": "6619" } ] }, { "arrival": "20:44", "changes": 0, "departure": "15:35", "direct": true, "duration_min": 309, "from_code": "FRPAR", "from_station": "Paris Bercy Bourgogne - Pays D'auvergne", "operator": "TER", "stops": [ { "station": "Paris Bercy Bourgogne - Pays D'auvergne", "time": "15:35" }, { "station": "Sens", "time": "16:30" }, { "station": "Joigny", "time": "16:48" }, { "station": "Laroche - Migennes", "time": "16:56" }, { "station": "Saint-Florentin - Vergigny", "time": "17:10" }, { "station": "Tonnerre", "time": "17:23" }, { "station": "Nuits Sous Ravieres", "time": "17:39" }, { "station": "Montbard", "time": "17:49" }, { "station": "Les Laumes - Alesia", "time": "17:57" }, { "station": "Dijon", "time": "18:25" }, { "station": "Beaune", "time": "19:08" }, { "station": "Chagny", "time": "19:17" }, { "station": "Chalon-Sur-Saone", "time": "19:26" }, { "station": "Tournus", "time": "19:40" }, { "station": "Macon", "time": "19:56" }, { "station": "Belleville Sur Saone", "time": "20:10" }, { "station": "Villefranche-Sur-Saone", "time": "20:19" }, { "station": "Saint-Germain-Au-Mont-D'or", "time": "20:28" }, { "station": "Lyon Part Dieu", "time": "20:44" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TER 17777", "number": "17777" } ] }, { "arrival": "18:00", "changes": 0, "departure": "15:52", "direct": true, "duration_min": 128, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "15:52" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "17:12" }, { "station": "Macon Loche Tgv", "time": "17:33" }, { "station": "Lyon Part Dieu", "time": "18:00" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6621", "number": "6621" } ] }, { "arrival": "18:32", "changes": 0, "departure": "16:49", "direct": true, "duration_min": 103, "from_code": "FRPAR", "from_station": "Marne-La-Vallee - Chessy", "operator": "OUIGO", "stops": [ { "station": "Marne-La-Vallee - Chessy", "time": "16:49" }, { "station": "Lyon Saint-Exupery Tgv", "time": "18:32" } ], "to_code": "FRLYS", "to_station": "Lyon Saint-Exupery Tgv", "trains": [ { "name": "OUIGO 7845", "number": "7845" } ] }, { "arrival": "18:56", "changes": 0, "departure": "17:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "17:00" }, { "station": "Lyon Part Dieu", "time": "18:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6687 - TGV INOUI 6623", "number": "6623" } ] }, { "arrival": "19:22", "changes": 0, "departure": "17:26", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "17:26" }, { "station": "Lyon Part Dieu", "time": "19:22" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6663", "number": "6663" } ] }, { "arrival": "22:44", "changes": 0, "departure": "17:27", "direct": true, "duration_min": 317, "from_code": "FRPAR", "from_station": "Paris Bercy Bourgogne - Pays D'auvergne", "operator": "TER", "stops": [ { "station": "Paris Bercy Bourgogne - Pays D'auvergne", "time": "17:27" }, { "station": "Sens", "time": "18:32" }, { "station": "Joigny", "time": "18:51" }, { "station": "Laroche - Migennes", "time": "18:59" }, { "station": "Saint-Florentin - Vergigny", "time": "19:11" }, { "station": "Tonnerre", "time": "19:23" }, { "station": "Nuits Sous Ravieres", "time": "19:38" }, { "station": "Montbard", "time": "19:50" }, { "station": "Les Laumes - Alesia", "time": "19:58" }, { "station": "Dijon", "time": "20:27" }, { "station": "Beaune", "time": "21:08" }, { "station": "Chagny", "time": "21:17" }, { "station": "Chalon-Sur-Saone", "time": "21:26" }, { "station": "Tournus", "time": "21:40" }, { "station": "Macon", "time": "21:56" }, { "station": "Belleville Sur Saone", "time": "22:10" }, { "station": "Villefranche-Sur-Saone", "time": "22:19" }, { "station": "Saint-Germain-Au-Mont-D'or", "time": "22:29" }, { "station": "Lyon Part Dieu", "time": "22:44" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TER 17779", "number": "17779" } ] }, { "arrival": "19:54", "changes": 0, "departure": "17:52", "direct": true, "duration_min": 122, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "17:52" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "19:12" }, { "station": "Lyon Part Dieu", "time": "19:54" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6627", "number": "6627" } ] }, { "arrival": "20:22", "changes": 0, "departure": "18:26", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "18:26" }, { "station": "Lyon Part Dieu", "time": "20:22" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6669", "number": "6669" } ] }, { "arrival": "20:56", "changes": 0, "departure": "19:00", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "19:00" }, { "station": "Lyon Part Dieu", "time": "20:56" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6689", "number": "6689" } ] }, { "arrival": "21:22", "changes": 0, "departure": "19:26", "direct": true, "duration_min": 116, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "OUIGO", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "19:26" }, { "station": "Lyon Part Dieu", "time": "21:22" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "OUIGO 7805", "number": "7805" } ] }, { "arrival": "22:58", "changes": 0, "departure": "20:57", "direct": true, "duration_min": 121, "from_code": "FRPAR", "from_station": "Marne-La-Vallee - Chessy", "operator": "OUIGO", "stops": [ { "station": "Marne-La-Vallee - Chessy", "time": "20:57" }, { "station": "Lyon Perrache", "time": "22:58" } ], "to_code": "FRLYS", "to_station": "Lyon Perrache", "trains": [ { "name": "OUIGO 7815", "number": "7815" } ] }, { "arrival": "23:10", "changes": 0, "departure": "21:00", "direct": true, "duration_min": 130, "from_code": "FRPAR", "from_station": "Paris - Gare De Lyon - Hall 1 & 2", "operator": "TGV INOUI", "stops": [ { "station": "Paris - Gare De Lyon - Hall 1 & 2", "time": "21:00" }, { "station": "Le Creusot - Montceau-Les-Mines - Montchanin Tgv", "time": "22:20" }, { "station": "Macon Loche Tgv", "time": "22:41" }, { "station": "Lyon Part Dieu", "time": "23:10" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "TGV INOUI 6633", "number": "6633" } ] }, { "arrival": "08:24", "changes": 2, "departure": "21:30", "direct": false, "duration_min": 654, "from_code": "FRPAR", "from_station": "Paris Austerlitz", "operator": "INTERCITES, TER, TGV INOUI", "stops": [ { "station": "Paris Austerlitz", "time": "21:30" }, { "station": "Crest", "time": "05:22" }, { "station": "Crest", "time": "06:49" }, { "station": "Livron", "time": "07:06" }, { "station": "Valence Ville", "time": "07:19" }, { "station": "Valence Tgv Rhone-Alpes Sud", "time": "07:31" }, { "station": "Valence Tgv Rhone-Alpes Sud", "time": "07:48" }, { "station": "Lyon Part Dieu", "time": "08:24" } ], "to_code": "FRLYS", "to_station": "Lyon Part Dieu", "trains": [ { "name": "INTERCITES 64005", "number": "64005" }, { "name": "TER 89200", "number": "89200" }, { "name": "TGV INOUI 9898", "number": "9898" } ] } ], "trains_per_day": 33, "url": "https://www.sncf-connect.com/train/horaires/paris/lyon" }
Loading related APIs…
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use SNCF Connect route timetable API with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.