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...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Origin city, e.g. `paris`, `lyon`, `bordeaux`.
Destination city.
Optional parameters (5)
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

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"
}

Response result

Response structure

Inferred from examples
  • average_mininteger
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • datestring
  • fastest_mininteger
  • fetched_atstring
  • first_departurestring
  • fromstring
  • infoobject
    • Dernière heure de départstring
    • Durée du trajet le plus courtstring
    • Durée moyenne d’un trajetstring
    • Nombre de trajets par jourstring
    • Première heure de départstring
  • last_departurestring
  • titlestring
  • tostring
  • trainsobject[]
    • arrivalstring
    • changesinteger
    • departurestring
    • directboolean
    • duration_mininteger
    • from_codestring
    • from_stationstring
    • operatorstring
    • stopsobject[]
      • stationstring
      • timestring
    • to_codestring
    • to_stationstring
    • trainsobject[]
      • namestring
      • numberstring
  • trains_per_dayinteger
  • urlstring

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.