# SNCF Connect route timetable API

Get SNCF Connect route timetables between city names via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as from, output, raw, and retrieve structured data including source timetable date, source first-departure label, source last-departure label, source average journey duration, and source shortest journey duration to route timetable, and duration comparison.

Documentation: https://openany.si/market/apis/sncf-connect/sncf-connect-route-timetable-api/?offering=33970072-c676-4c73-8c8b-a8e15c684710
API ID: 33970072-c676-4c73-8c8b-a8e15c684710
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/sncf-connect/v1/timetable
Page update time: 2026-12-03T02:46:56.581Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:46:55.111Z. This is not a price-change timestamp.
```json
{
  "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": []
  }
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SNCF Connect route timetable API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "description": "Origin city, e.g. `paris`, `lyon`, `bordeaux`."
        },
        "to": {
          "type": "string",
          "description": "Destination city."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "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."
        }
      },
      "required": [
        "from",
        "to"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "average_min": {
      "type": "integer"
    },
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "date": {
      "type": "string"
    },
    "fastest_min": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "first_departure": {
      "type": "string"
    },
    "from": {
      "type": "string"
    },
    "info": {
      "type": "object",
      "properties": {
        "Dernière heure de départ": {
          "type": "string"
        },
        "Durée du trajet le plus court": {
          "type": "string"
        },
        "Durée moyenne d’un trajet": {
          "type": "string"
        },
        "Nombre de trajets par jour": {
          "type": "string"
        },
        "Première heure de départ": {
          "type": "string"
        }
      }
    },
    "last_departure": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "trains": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "arrival": {
            "type": "string"
          },
          "changes": {
            "type": "integer"
          },
          "departure": {
            "type": "string"
          },
          "direct": {
            "type": "boolean"
          },
          "duration_min": {
            "type": "integer"
          },
          "from_code": {
            "type": "string"
          },
          "from_station": {
            "type": "string"
          },
          "operator": {
            "type": "string"
          },
          "stops": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "station": {
                  "type": "string"
                },
                "time": {
                  "type": "string"
                }
              }
            }
          },
          "to_code": {
            "type": "string"
          },
          "to_station": {
            "type": "string"
          },
          "trains": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "number": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "trains_per_day": {
      "type": "integer"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal 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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- apish: https://openany.si/market/apis/sncf-connect/sncf-connect-route-timetable-api/?offering=33970072-c676-4c73-8c8b-a8e15c684710

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
