Volver al catálogo

SNCF

sncf

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

Acciones
9
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Find SNCF stations, stops, or points of interest near a geographic coordinate.

Parámetros de entrada

  • limitinteger

    Maximum results in this page.

  • latitudenumberObligatorio

    WGS84 latitude from -90 to 90.

  • longitudenumberObligatorio

    WGS84 longitude from -180 to 180.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • place_typestringenum

    Single nearby object type; stop_area represents passenger stations.

    stop_areastop_pointpoi
  • distance_metersinteger

    Positive search radius in metres.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Service StatusSNCF_GET_SERVICE_STATUSAcción

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.

Parámetros de entrada

  • depthinteger

    Affected-object expansion depth from 0 to 3.

  • limitinteger

    Reports per page.

  • sincestring

    Beginning of the disruption window in compact YYYYMMDDTHHMMSS format.

  • untilstring

    End of the disruption window in compact YYYYMMDDTHHMMSS format.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • next_cursorstring

    Opaque continuation returned by a previous call; omit for the first page.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Station BoardSNCF_GET_STATION_BOARDAcción

Get upcoming departures or arrivals for an SNCF station, including scheduled and realtime times and disruption context.

Parámetros de entrada

  • limitinteger

    Maximum station-board entries to request.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • board_typestringenum

    Whether to return trains leaving or reaching the station.

    departuresarrivals
  • station_idstringObligatorio

    A stop_area station ID returned by SNCF_SEARCH_PLACES.

  • from_datetimestring

    Start of the local time window in compact YYYYMMDDTHHMMSS format.

  • data_freshnessstringenum

    Use realtime for live running information or base_schedule for planned times.

    realtimebase_schedule
  • direction_typestringenum

    Optional direction grouping filter.

    allforwardbackward
  • duration_secondsinteger

    Time window in seconds.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Transport ObjectSNCF_GET_TRANSPORT_OBJECTAcción

Get details for one SNCF network, line, route, station, stop, mode, company, or vehicle journey by canonical ID.

Parámetros de entrada

  • depthinteger

    Related-object expansion depth from 0 to 3.

  • object_idstringObligatorio

    Canonical ID returned by SNCF search or list tools.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • collectionstringObligatorioenum

    Whitelisted collection containing the object.

    networkslinesroutesstop_pointsstop_areascommercial_modesphysical_modescompaniesvehicle_journeys

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SNCF CoverageSNCF_LIST_COVERAGEAcción

Get the SNCF transport-data coverage region and its current production horizon.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Transport ObjectsSNCF_LIST_TRANSPORT_OBJECTSAcción

Browse one supported SNCF transport-object collection, such as lines, networks, routes, stations, or vehicle journeys.

Parámetros de entrada

  • depthinteger

    Related-object expansion depth from 0 to 3.

  • limitinteger

    Items per page.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • collectionstringObligatorioenum

    Whitelisted collection to browse; stop_areas are passenger stations.

    networkslinesroutesstop_pointsstop_areascommercial_modesphysical_modescompaniesvehicle_journeys
  • next_cursorstring

    Opaque continuation returned by a previous call; omit for the first page.

  • data_freshnessstringenum

    Optional schedule source, mainly useful for vehicle_journeys.

    realtimebase_schedule

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Plan JourneySNCF_PLAN_JOURNEYAcción

Plan SNCF train journeys between two station/place IDs or coordinates for a requested departure or arrival time.

Parámetros de entrada

  • datetimestring

    Local journey time in compact YYYYMMDDTHHMMSS format, interpreted in the region timezone.

  • to_placestringObligatorio

    Destination place ID from SNCF_SEARCH_PLACES, or WGS84 'longitude;latitude'.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • from_placestringObligatorio

    Origin place ID from SNCF_SEARCH_PLACES, or WGS84 'longitude;latitude'.

  • wheelchairboolean

    Request wheelchair-accessible journey constraints when true.

  • max_journeysinteger

    Maximum journey options to request (1-20).

  • max_transfersinteger

    Optional maximum number of transfers (0-10).

  • traveler_typestringenum

    Traveler profile used for walking and transfer calculations.

    standardslow_walkerfast_walkerluggagewheelchair
  • data_freshnessstringenum

    Use realtime for current operations or base_schedule for the published timetable.

    realtimebase_schedule
  • datetime_representsstringenum

    Whether datetime is the desired departure or arrival time.

    departurearrival
  • max_duration_secondsinteger

    Optional maximum total journey duration in seconds (60-172800).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search PlacesSNCF_SEARCH_PLACESAcción

Find SNCF stations, addresses, administrative areas, or points of interest by name and return IDs usable for journeys and station boards.

Parámetros de entrada

  • nearstring

    Optional WGS84 'longitude;latitude' used only to rank results by proximity.

  • depthinteger

    Related-object expansion depth from 0 to 3.

  • limitinteger

    Maximum number of autocomplete results to request.

  • querystringObligatorio

    Place or station name to search for, such as 'Paris Gare de Lyon'.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • place_typestringenum

    Single result type to return; stop_area is the best choice for train stations.

    stop_areaaddressadministrative_regionpoi

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search Transport ObjectsSNCF_SEARCH_TRANSPORT_OBJECTSAcción

Search SNCF networks, modes, lines, routes, stations, or stop points by name and return canonical transport-object IDs.

Parámetros de entrada

  • depthinteger

    Related-object expansion depth from 0 to 3.

  • querystringObligatorio

    Name or code to autocomplete.

  • region_idstring

    Coverage region; use 'sncf' for the SNCF passenger network.

  • object_typestringenum

    Optional single transport-object type to return.

    networkcommercial_modelineroutestop_areastop_point

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not