> ## Documentation Index
> Fetch the complete documentation index at: https://composio-preview.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SNCF

> Access SNCF passenger-information data for train journeys, stations, schedules, service status, and transport-network discovery.

![SNCF logo](https://mintcdn.com/composio-preview/B09iGux45A5cYDuO/images/toolkits/sncf.svg?fit=max\&auto=format\&n=B09iGux45A5cYDuO\&q=85\&s=043914a87a7bf045ea12c93b9413855c)

* **Category:** developer tools
* **Auth:** API\_KEY
* **Composio-managed OAuth available?** N/A
* **Tools:** 9
* **Triggers:** 0
* **Slug:** `SNCF`
* **Version:** 00000000\_00

## Tools

> [accordion] Find Nearby Places
>
> **Slug:** `SNCF_FIND_NEARBY_PLACES`
>
> Find SNCF stations, stops, or points of interest near a geographic coordinate.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum results in this page.
>
> **latitude** `number` *required*
>
> WGS84 latitude from -90 to 90.
>
> **longitude** `number` *required*
>
> WGS84 longitude from -180 to 180.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **place\_type** `string ("stop_area" | "stop_point" | "poi")`
>
> Single nearby object type; stop\_area represents passenger stations.
>
> **distance\_meters** `integer`
>
> Positive search radius in metres.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Service Status
>
> **Slug:** `SNCF_GET_SERVICE_STATUS`
>
> Get SNCF network service disruptions and affected lines, stations, or vehicle journeys for a time window. Returns one page; pass next\_cursor back to continue.
>
> #### Input Parameters
>
> **depth** `integer`
>
> Affected-object expansion depth from 0 to 3.
>
> **limit** `integer`
>
> Reports per page.
>
> **since** `string`
>
> Beginning of the disruption window in compact YYYYMMDDTHHMMSS format.
>
> **until** `string`
>
> End of the disruption window in compact YYYYMMDDTHHMMSS format.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **next\_cursor** `string`
>
> Opaque continuation returned by a previous call; omit for the first page.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Station Board
>
> **Slug:** `SNCF_GET_STATION_BOARD`
>
> Get upcoming departures or arrivals for an SNCF station, including scheduled and realtime times and disruption context.
>
> #### Input Parameters
>
> **limit** `integer`
>
> Maximum station-board entries to request.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **board\_type** `string ("departures" | "arrivals")`
>
> Whether to return trains leaving or reaching the station.
>
> **station\_id** `string` *required*
>
> A stop\_area station ID returned by SNCF\_SEARCH\_PLACES.
>
> **from\_datetime** `string`
>
> Start of the local time window in compact YYYYMMDDTHHMMSS format.
>
> **data\_freshness** `string ("realtime" | "base_schedule")`
>
> Use realtime for live running information or base\_schedule for planned times.
>
> **direction\_type** `string ("all" | "forward" | "backward")`
>
> Optional direction grouping filter.
>
> **duration\_seconds** `integer`
>
> Time window in seconds.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get Transport Object
>
> **Slug:** `SNCF_GET_TRANSPORT_OBJECT`
>
> Get details for one SNCF network, line, route, station, stop, mode, company, or vehicle journey by canonical ID.
>
> #### Input Parameters
>
> **depth** `integer`
>
> Related-object expansion depth from 0 to 3.
>
> **object\_id** `string` *required*
>
> Canonical ID returned by SNCF search or list tools.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **collection** `string ("networks" | "lines" | "routes" | "stop_points" | "stop_areas" | "commercial_modes" | "physical_modes" | "companies" | "vehicle_journeys")` *required*
>
> Whitelisted collection containing the object.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Get SNCF Coverage
>
> **Slug:** `SNCF_LIST_COVERAGE`
>
> Get the SNCF transport-data coverage region and its current production horizon.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] List Transport Objects
>
> **Slug:** `SNCF_LIST_TRANSPORT_OBJECTS`
>
> Browse one supported SNCF transport-object collection, such as lines, networks, routes, stations, or vehicle journeys.
>
> #### Input Parameters
>
> **depth** `integer`
>
> Related-object expansion depth from 0 to 3.
>
> **limit** `integer`
>
> Items per page.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **collection** `string ("networks" | "lines" | "routes" | "stop_points" | "stop_areas" | "commercial_modes" | "physical_modes" | "companies" | "vehicle_journeys")` *required*
>
> Whitelisted collection to browse; stop\_areas are passenger stations.
>
> **next\_cursor** `string`
>
> Opaque continuation returned by a previous call; omit for the first page.
>
> **data\_freshness** `string ("realtime" | "base_schedule")`
>
> Optional schedule source, mainly useful for vehicle\_journeys.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Plan Journey
>
> **Slug:** `SNCF_PLAN_JOURNEY`
>
> Plan SNCF train journeys between two station/place IDs or coordinates for a requested departure or arrival time.
>
> #### Input Parameters
>
> **datetime** `string`
>
> Local journey time in compact YYYYMMDDTHHMMSS format, interpreted in the region timezone.
>
> **to\_place** `string` *required*
>
> Destination place ID from SNCF\_SEARCH\_PLACES, or WGS84 'longitude;latitude'.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **from\_place** `string` *required*
>
> Origin place ID from SNCF\_SEARCH\_PLACES, or WGS84 'longitude;latitude'.
>
> **wheelchair** `boolean`
>
> Request wheelchair-accessible journey constraints when true.
>
> **max\_journeys** `integer`
>
> Maximum journey options to request (1-20).
>
> **max\_transfers** `integer`
>
> Optional maximum number of transfers (0-10).
>
> **traveler\_type** `string ("standard" | "slow_walker" | "fast_walker" | "luggage" | "wheelchair")`
>
> Traveler profile used for walking and transfer calculations.
>
> **data\_freshness** `string ("realtime" | "base_schedule")`
>
> Use realtime for current operations or base\_schedule for the published timetable.
>
> **datetime\_represents** `string ("departure" | "arrival")`
>
> Whether datetime is the desired departure or arrival time.
>
> **max\_duration\_seconds** `integer`
>
> Optional maximum total journey duration in seconds (60-172800).
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Places
>
> **Slug:** `SNCF_SEARCH_PLACES`
>
> Find SNCF stations, addresses, administrative areas, or points of interest by name and return IDs usable for journeys and station boards.
>
> #### Input Parameters
>
> **near** `string`
>
> Optional WGS84 'longitude;latitude' used only to rank results by proximity.
>
> **depth** `integer`
>
> Related-object expansion depth from 0 to 3.
>
> **limit** `integer`
>
> Maximum number of autocomplete results to request.
>
> **query** `string` *required*
>
> Place or station name to search for, such as 'Paris Gare de Lyon'.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **place\_type** `string ("stop_area" | "address" | "administrative_region" | "poi")`
>
> Single result type to return; stop\_area is the best choice for train stations.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not

> [accordion] Search Transport Objects
>
> **Slug:** `SNCF_SEARCH_TRANSPORT_OBJECTS`
>
> Search SNCF networks, modes, lines, routes, stations, or stop points by name and return canonical transport-object IDs.
>
> #### Input Parameters
>
> **depth** `integer`
>
> Related-object expansion depth from 0 to 3.
>
> **query** `string` *required*
>
> Name or code to autocomplete.
>
> **region\_id** `string`
>
> Coverage region; use 'sncf' for the SNCF passenger network.
>
> **object\_type** `string ("network" | "commercial_mode" | "line" | "route" | "stop_area" | "stop_point")`
>
> Optional single transport-object type to return.
>
> #### Output
>
> **data** `string` *required*
>
> Data from the action execution
>
> **error** `string`
>
> Error if any occurred during the execution of the action
>
> **successful** `boolean` *required*
>
> Whether or not the action execution was successful or not
