{"api":{"id":"api_3731004e21be72a57baf5f87","slug":"sncf-train-stations","name":"SNCF Train Stations","description":"French railway stations from SNCF open data with UIC code, name, commune, department, passenger and freight use, coordinates and line code. Search by name or commune.","kind":"ready_made","visibility":"public","domain":"ressources.data.sncf.com","source_url":"https://ressources.data.sncf.com/explore/dataset/liste-des-gares/","category":"travel","record_type":"place","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":9,"created_at":"2026-12-06T04:45:48.399Z","updated_at":"2026-12-06T04:45:48.399Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"uic_code","type":"string","description":"UIC code of the station.","required":true,"coverage":1,"example":"87721175"},{"name":"name","type":"string","description":"Station name.","required":false,"coverage":1,"example":"Lyon-Gorge-de-Loup"},{"name":"commune","type":"string","description":"Commune the station is in.","required":false,"coverage":1,"example":"LYON"},{"name":"department","type":"string","description":"French department.","required":false,"coverage":1,"example":"RHONE"},{"name":"is_passenger","type":"boolean","description":"True when open to passengers.","required":false,"coverage":1,"example":true},{"name":"is_freight","type":"boolean","description":"True when used for freight.","required":false,"coverage":1,"example":false},{"name":"latitude","type":"number","description":"Latitude in decimal degrees.","required":false,"coverage":1,"example":45.765956329548665},{"name":"longitude","type":"number","description":"Longitude in decimal degrees.","required":false,"coverage":1,"example":4.804524590633849},{"name":"line_code","type":"string","description":"SNCF code of the rail line the station sits on.","required":false,"coverage":1,"example":"782000"}],"inputs":[{"name":"name","type":"string","description":"Word in the station name, such as Lyon.","example":"Lyon"},{"name":"commune","type":"string","description":"Commune the station is in, such as PARIS.","example":"PARIS"},{"name":"passengers_only","type":"boolean","description":"Only stations open to passengers.","default":false,"example":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"commune":{"description":"Commune the station is in.","type":"string"},"department":{"description":"French department.","type":"string"},"is_freight":{"description":"True when used for freight.","type":"boolean"},"is_passenger":{"description":"True when open to passengers.","type":"boolean"},"latitude":{"description":"Latitude in decimal degrees.","type":"number"},"line_code":{"description":"SNCF code of the rail line the station sits on.","type":"string"},"longitude":{"description":"Longitude in decimal degrees.","type":"number"},"name":{"description":"Station name.","type":"string"},"uic_code":{"description":"UIC code of the station.","type":"string"}},"required":["uic_code"],"title":"SNCF Train Stations","type":"object"},"samples":[{"uic_code":"87721175","name":"Lyon-Gorge-de-Loup","commune":"LYON","department":"RHONE","is_passenger":true,"is_freight":false,"latitude":45.765956329548665,"longitude":4.804524590633849,"line_code":"782000"},{"uic_code":"87282624","name":"Lyon-Jean-Macé","commune":"LYON","department":"RHONE","is_passenger":true,"is_freight":false,"latitude":45.744624830101,"longitude":4.84312436124991,"line_code":"830000"},{"uic_code":"87723197","name":"Lyon-Part-Dieu","commune":"LYON","department":"RHONE","is_passenger":true,"is_freight":true,"latitude":45.76054053999095,"longitude":4.860200803130667,"line_code":"893000"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"commune":1,"department":1,"is_freight":1,"is_passenger":1,"latitude":1,"line_code":1,"longitude":1,"name":1,"uic_code":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_3731004e21be72a57baf5f87/run","openapi":"https://pullrow.dev/v1/apis/api_3731004e21be72a57baf5f87/openapi.json","contract":"https://pullrow.dev/v1/apis/api_3731004e21be72a57baf5f87/contract.json","page":"https://pullrow.dev/catalog/sncf-train-stations"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["The data is SNCF's open list of stations (Open Database Licence, credit SNCF Open Data). It is updated by SNCF a few times a year, not live.","About 6,500 stations in all, including freight-only sites; use passengers_only to keep passenger stations.","A station on several lines appears once per line, with that line's code.","Name search matches whole words (Lyon finds Lyon Part-Dieu); commune must be the commune name in French, such as PARIS.","SNCF's open data service allows a limited number of calls per day for anonymous use; runs are paced at about three requests a second with 100 records a page.","At most 7,000 records per run."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"uic_code","label":"Uic code","description":"UIC code of the station.","group":"Basics","shown":true,"written":false},{"name":"name","label":"Station name","description":"","group":"Basics","shown":true,"written":false},{"name":"commune","label":"Commune","description":"Commune the station is in.","group":"Basics","shown":true,"written":false},{"name":"department","label":"French department","description":"","group":"Basics","shown":true,"written":false},{"name":"is_passenger","label":"Passenger","description":"Yes when open to passengers.","group":"Basics","shown":true,"written":false},{"name":"is_freight","label":"Freight","description":"Yes when used for freight.","group":"Basics","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the place, for a map.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the place, for a map.","group":"Location","shown":true,"written":false},{"name":"line_code","label":"Line code","description":"SNCF code of the rail line the station sits on.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"name","label":"Name","help":"Word in the station name, such as Lyon.","example":"Lyon","written":false},{"name":"commune","label":"Commune","help":"Commune the station is in, such as PARIS.","example":"PARIS","written":false},{"name":"passengers_only","label":"Passengers only","help":"Only stations open to passengers.","example":"true","written":false}]}},"incidents":[]}