VOOZH about

URL: https://apify.com/dr1ms/sncf-train-price-scraper

⇱ SNCF Train Price Scraper — TGV INOUI, OUIGO, TER, Intercités · Apify


👁 SNCF Train Price Scraper — TGV INOUI, OUIGO, TER, Intercités avatar

SNCF Train Price Scraper — TGV INOUI, OUIGO, TER, Intercités

Pricing

from $5.00 / 1,000 results

Go to Apify Store

SNCF Train Price Scraper — TGV INOUI, OUIGO, TER, Intercités

Scrape French train schedules and official price ranges from SNCF. Returns structured JSON with journeys, durations, segments, CO2 emissions, and official fare brackets. Covers TGV INOUI, OUIGO, TER, and Intercités.

Pricing

from $5.00 / 1,000 results

Rating

0.0

(0)

Developer

👁 Adrien

Adrien

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

0

Monthly active users

4 months ago

Last modified

Share

🚄 SNCF Train Price Scraper — TGV INOUI, OUIGO, TER, Intercités

Retrieve French train schedules and official fare brackets for any route in France. Covers TGV INOUI, OUIGO, TER, Intercités, Lyria, and Eurostar via the official SNCF API.

What data do you get?

For each journey found, the scraper returns:

  • Schedule: departure/arrival times, duration, number of transfers
  • Train details: carrier (TGV INOUI, OUIGO, TER...), train number, segments with connections
  • Official fare brackets: min/max price from SNCF Open Data (e.g. €16–€99 for Paris→Lyon)
  • CO2 emissions: grams of CO2 per journey (official SNCF data)
  • Metadata: search date, days before departure, data attribution

⚠️ Note on pricing: The SNCF API provides schedules and official fare ranges, not real-time dynamic ticket prices. The official_min_price_eur and official_max_price_eur fields give you the official tariff brackets for each origin-destination pair.

How to get an SNCF API key

  1. Go to numerique.sncf.com/startup/api
  2. Create a free account
  3. You get 90,000 API calls/month for free
  4. Copy your API key and paste it in the sncfApiKey field

Example input

{
"routes":[
{"from":"Paris","to":"Lyon","date":"2026-04-15"},
{"from":"Marseille","to":"Bordeaux"}
],
"sncfApiKey":"YOUR_SNCF_API_KEY",
"maxResults":10,
"enrichWithOfficialFares":true
}

If date is omitted, tomorrow's date is used automatically.

Example output

{
"departure_station":"Paris - Gare de Lyon - Hall 1 & 2",
"departure_city":"Paris",
"arrival_station":"Lyon Part Dieu",
"arrival_city":"Lyon",
"departure_time":"2026-04-15T10:00:00.000Z",
"arrival_time":"2026-04-15T11:56:00.000Z",
"duration_minutes":116,
"price_eur":null,
"official_min_price_eur":16,
"official_max_price_eur":99,
"carrier":"TGV INOUI",
"train_type":"Train grande vitesse",
"train_number":"6607",
"transport_mode":"train",
"nb_transfers":0,
"co2_grams":923,
"segments":[
{
"departure_station":"Paris - Gare de Lyon - Hall 1 & 2",
"arrival_station":"Lyon Part Dieu",
"carrier":"TGV INOUI",
"train_number":"6607",
"duration_minutes":116
}
],
"source":"sncf",
"search_date":"2026-04-15",
"data_attribution":"Données tarifs et gares : SNCF Open Data (ressources.data.sncf.com) — Licence ODbL"
}

Supported cities

The scraper supports any French city or station served by SNCF. Popular routes are pre-mapped for instant resolution:

Paris, Lyon, Marseille, Bordeaux, Lille, Toulouse, Nantes, Strasbourg, Rennes, Montpellier, Nice, Grenoble, Annecy, Dijon

For other cities, the scraper automatically resolves station names via the SNCF API.

Use cases

  • Travel comparison apps: get train schedules and fare ranges for route planning
  • Business travel tools: find fastest connections between French cities
  • Price monitoring: track official fare brackets over time
  • Data journalism: analyze French rail network coverage and pricing
  • Academic research: CO2 emissions data for transport studies

Data sources & attribution

This scraper uses the official SNCF Navitia API for schedules and the SNCF Open Data portal (ressources.data.sncf.com) for fare brackets and station data, published under the Open Database License (ODbL).

Rate limits

The scraper respects SNCF API rate limits with configurable delays between requests (default: 1 second). The free SNCF API tier allows 90,000 calls/month.

You might also like

SNCF Train Ticket and Connection Scraper

jindrich.bar/sncf-train-ticket-scraper

Scrape live SNCF train connections, schedules, ticket prices, transfers, delays, and fares across France and Europe. Extract structured SNCF timetable data for travel apps, price monitoring, analytics, and AI agents.

👁 User avatar

Jindřich Bär

4

5.0

JustETF - ETF Extractor (ISIN, TER, Returns, Holdings, Risk)

giovannibiancia/justetf---etf-extractor-isin-ter-returns-holdings-risk

Extract comprehensive ETF and fund data from JustETF. Get ISIN, TER, returns (1M to MAX), top holdings, sector/country allocation, volatility, Sharpe ratio, max drawdown, and yearly performance. Perfect for portfolio analysis and financial research. Supports 2,800+ European UCITS ETFs.

👁 User avatar

Giovanni Bianciardi

22

Trainline Scraper — European Train Routes & Prices

studio-amba/trainline-scraper

Scrape train routes, schedules, operators, and prices from Trainline (thetrainline.com). Covers European rail travel across 40+ countries.

👁 User avatar

Studio Amba

5

Rome2Rio Scraper | Multi-Modal Travel Routes

parseforge/rome2rio-scraper

Get travel routes between any two cities from Rome2Rio with flight, train, bus, ferry, and car options including duration, price, frequency, operators, and segment details. Power travel apps, itinerary tools, ground transport research, and transit data pipelines worldwide.

20

Doctolib

anchor/Doctolib

Scraping Doctolib is now super easy and cheap! Extract phones, names, contact, timings, image and addresses of medics, doctors, hospitals... Best part : you can even customize what info to extract from Doctolib!

246

3.3

SNCF Scraper - French Train Schedules & Prices

studio-amba/sncf-scraper

Scrape train schedules, prices, and availability from SNCF Connect (sncf-connect.com). Extract TGV, TER, and Intercites routes across France and Europe. No login required.

👁 User avatar

Studio Amba

2

ManyVids Video Downloader

datavoid/manyvids-video-downloader

Download ManyVids videos from a URL for offline viewing.

Doctolib scraper

giovannibiancia/doctolib-scraper

Extract medical professionals data from Doctolib.fr, Doctolib.it, and Doctolib.de. Scrapes doctor profiles, contact information, specializations, and clinic details across France, Italy, and Germany. Supports multiple cities, professions, and automated pagination with structured JSON output.

👁 User avatar

Giovanni Bianciardi

66

1.0