SNCF
sncfAccess SNCF passenger-information data for train journeys, stations, schedules, service status, and transport-network discovery.
Acciones disponibles (9)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Find Nearby PlacesSNCF_FIND_NEARBY_PLACESAcciónFind SNCF stations, stops, or points of interest near a geographic coordinate.
SNCF_FIND_NEARBY_PLACESAcciónFind SNCF stations, stops, or points of interest near a geographic coordinate.
Parámetros de entrada
limitintegerMaximum results in this page.
latitudenumberObligatorioWGS84 latitude from -90 to 90.
longitudenumberObligatorioWGS84 longitude from -180 to 180.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
place_typestringenumSingle nearby object type; stop_area represents passenger stations.
stop_areastop_pointpoidistance_metersintegerPositive search radius in metres.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Service StatusSNCF_GET_SERVICE_STATUSAcciónGet SNCF network service disruptions and affected lines, stations, or vehicle journeys for a time window. Returns one page; pass next_cursor back to continue.
SNCF_GET_SERVICE_STATUSAcciónGet SNCF network service disruptions and affected lines, stations, or vehicle journeys for a time window. Returns one page; pass next_cursor back to continue.
Parámetros de entrada
depthintegerAffected-object expansion depth from 0 to 3.
limitintegerReports per page.
sincestringBeginning of the disruption window in compact YYYYMMDDTHHMMSS format.
untilstringEnd of the disruption window in compact YYYYMMDDTHHMMSS format.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
next_cursorstringOpaque continuation returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Station BoardSNCF_GET_STATION_BOARDAcciónGet upcoming departures or arrivals for an SNCF station, including scheduled and realtime times and disruption context.
SNCF_GET_STATION_BOARDAcciónGet upcoming departures or arrivals for an SNCF station, including scheduled and realtime times and disruption context.
Parámetros de entrada
limitintegerMaximum station-board entries to request.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
board_typestringenumWhether to return trains leaving or reaching the station.
departuresarrivalsstation_idstringObligatorioA stop_area station ID returned by SNCF_SEARCH_PLACES.
from_datetimestringStart of the local time window in compact YYYYMMDDTHHMMSS format.
data_freshnessstringenumUse realtime for live running information or base_schedule for planned times.
realtimebase_scheduledirection_typestringenumOptional direction grouping filter.
allforwardbackwardduration_secondsintegerTime window in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Transport ObjectSNCF_GET_TRANSPORT_OBJECTAcciónGet details for one SNCF network, line, route, station, stop, mode, company, or vehicle journey by canonical ID.
SNCF_GET_TRANSPORT_OBJECTAcciónGet details for one SNCF network, line, route, station, stop, mode, company, or vehicle journey by canonical ID.
Parámetros de entrada
depthintegerRelated-object expansion depth from 0 to 3.
object_idstringObligatorioCanonical ID returned by SNCF search or list tools.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
collectionstringObligatorioenumWhitelisted collection containing the object.
networkslinesroutesstop_pointsstop_areascommercial_modesphysical_modescompaniesvehicle_journeys
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get SNCF CoverageSNCF_LIST_COVERAGEAcciónGet the SNCF transport-data coverage region and its current production horizon.
SNCF_LIST_COVERAGEAcciónGet the SNCF transport-data coverage region and its current production horizon.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Transport ObjectsSNCF_LIST_TRANSPORT_OBJECTSAcciónBrowse one supported SNCF transport-object collection, such as lines, networks, routes, stations, or vehicle journeys.
SNCF_LIST_TRANSPORT_OBJECTSAcciónBrowse one supported SNCF transport-object collection, such as lines, networks, routes, stations, or vehicle journeys.
Parámetros de entrada
depthintegerRelated-object expansion depth from 0 to 3.
limitintegerItems per page.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
collectionstringObligatorioenumWhitelisted collection to browse; stop_areas are passenger stations.
networkslinesroutesstop_pointsstop_areascommercial_modesphysical_modescompaniesvehicle_journeysnext_cursorstringOpaque continuation returned by a previous call; omit for the first page.
data_freshnessstringenumOptional schedule source, mainly useful for vehicle_journeys.
realtimebase_schedule
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Plan JourneySNCF_PLAN_JOURNEYAcciónPlan SNCF train journeys between two station/place IDs or coordinates for a requested departure or arrival time.
SNCF_PLAN_JOURNEYAcciónPlan SNCF train journeys between two station/place IDs or coordinates for a requested departure or arrival time.
Parámetros de entrada
datetimestringLocal journey time in compact YYYYMMDDTHHMMSS format, interpreted in the region timezone.
to_placestringObligatorioDestination place ID from SNCF_SEARCH_PLACES, or WGS84 'longitude;latitude'.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
from_placestringObligatorioOrigin place ID from SNCF_SEARCH_PLACES, or WGS84 'longitude;latitude'.
wheelchairbooleanRequest wheelchair-accessible journey constraints when true.
max_journeysintegerMaximum journey options to request (1-20).
max_transfersintegerOptional maximum number of transfers (0-10).
traveler_typestringenumTraveler profile used for walking and transfer calculations.
standardslow_walkerfast_walkerluggagewheelchairdata_freshnessstringenumUse realtime for current operations or base_schedule for the published timetable.
realtimebase_scheduledatetime_representsstringenumWhether datetime is the desired departure or arrival time.
departurearrivalmax_duration_secondsintegerOptional maximum total journey duration in seconds (60-172800).
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search PlacesSNCF_SEARCH_PLACESAcciónFind SNCF stations, addresses, administrative areas, or points of interest by name and return IDs usable for journeys and station boards.
SNCF_SEARCH_PLACESAcciónFind SNCF stations, addresses, administrative areas, or points of interest by name and return IDs usable for journeys and station boards.
Parámetros de entrada
nearstringOptional WGS84 'longitude;latitude' used only to rank results by proximity.
depthintegerRelated-object expansion depth from 0 to 3.
limitintegerMaximum number of autocomplete results to request.
querystringObligatorioPlace or station name to search for, such as 'Paris Gare de Lyon'.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
place_typestringenumSingle result type to return; stop_area is the best choice for train stations.
stop_areaaddressadministrative_regionpoi
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search Transport ObjectsSNCF_SEARCH_TRANSPORT_OBJECTSAcciónSearch SNCF networks, modes, lines, routes, stations, or stop points by name and return canonical transport-object IDs.
SNCF_SEARCH_TRANSPORT_OBJECTSAcciónSearch SNCF networks, modes, lines, routes, stations, or stop points by name and return canonical transport-object IDs.
Parámetros de entrada
depthintegerRelated-object expansion depth from 0 to 3.
querystringObligatorioName or code to autocomplete.
region_idstringCoverage region; use 'sncf' for the SNCF passenger network.
object_typestringenumOptional single transport-object type to return.
networkcommercial_modelineroutestop_areastop_point
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not