French Railway Stations Directory (SNCF) — UIC Codes & GPS avatar

French Railway Stations Directory (SNCF) — UIC Codes & GPS

Pricing

Pay per usage

Go to Apify Store
French Railway Stations Directory (SNCF) — UIC Codes & GPS

French Railway Stations Directory (SNCF) — UIC Codes & GPS

Search 6469 French railway stations from SNCF open data. Get UIC code, name, commune, department, passenger/freight flags, line code and GPS coordinates. Free.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

DEV DEV

DEV DEV

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Share

Search the complete directory of French railway stations ("liste des gares SNCF") — all 6 469 stations on the national rail network, from Paris Gare du Nord down to unstaffed rural halts and freight-only yards. Get the UIC code (the standard identifier used across European rail systems), the commune, whether the station serves passengers, freight or both, its line code and its GPS coordinates.

This actor is free. You only pay your own Apify platform usage.

Related: for Paris/Île-de-France urban transit stops (metro, RER, tram) use the Île-de-France transit actor; for full timetable feeds, the GTFS dataset finder.

Input

FieldTypeDescription
stationNamesarraySearch by station name: Lille, Bordeaux… Multiple = OR. Empty = all stations.
communesarrayCommune name as used by SNCF (uppercase, e.g. PARIS).
departmentsarrayDepartment name, uppercase (e.g. NORD) — this dataset uses names, not numeric codes.
passengerOnlybooleanKeep only passenger stations. Default false.
freightOnlybooleanKeep only freight stations. Default false.
maxResultsintegerCap on results. Default 100.

Output

One item per station, each with a status field (found / not_found / error).

{
"status": "found",
"uicCode": "87731448",
"name": "Porte Maillot",
"commune": "PARIS",
"department": "PARIS",
"servesPassengers": true,
"servesFreight": false,
"lineCode": "979000",
"kilometricPoint": "005+500",
"networkId": "109993",
"longitude": 2.282700734140375,
"latitude": 48.87802770024631,
"lambert93X": 647391.4362,
"lambert93Y": 6864461.9163
}

Coordinates are provided in both WGS84 (longitude/latitude, for maps and geocoding) and Lambert 93 (the French national projection, for GIS work).

Use cases

  • Travel & mobility apps — resolve a station name to a UIC code and coordinates.
  • Logistics & freight planning — find freight-capable stations near a site.
  • Geospatial analysis — map rail accessibility by commune or department.
  • Data enrichment — attach UIC codes to an existing dataset of places or addresses.

Limitations & fair use

  • Source: SNCF open data — Liste des gares published under the Licence Ouverte (open licence, free to reuse).
  • This is a directory, not a timetable: it contains no departures, arrivals or service information.
  • Commune and department are stored as uppercase names (not INSEE or numeric codes), so filters match on text.
  • A station may appear more than once when it sits on several lines (different lineCode / kilometricPoint).
  • The API caps pagination at an offset of 10 000 — narrow your filters to reach deeper result sets.
  • The actor retries with backoff and paces requests to stay polite to the source.

More actors by this developer

Reliable data tools built on official French & EU open data APIs — company data, compliance checks, geo and environment: apify.com/vigilant_jasmine