VOOZH about

URL: https://apify.com/studio-amba/sncf-scraper

⇱ SNCF Scraper API - French Train Schedules & Prices Β· Apify


πŸ‘ SNCF Scraper - French Train Schedules & Prices avatar

SNCF Scraper - French Train Schedules & Prices

Pricing

from $8.00 / 1,000 result scrapeds

Go to Apify Store

SNCF Scraper - French Train Schedules & Prices

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.

Pricing

from $8.00 / 1,000 result scrapeds

Rating

0.0

(0)

Developer

πŸ‘ Studio Amba

Studio Amba

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Share

How to scrape SNCF data

SNCF Scraper extracts train schedules, ticket prices, availability, and journey details from SNCF Connect β€” the official booking platform of France's national railway operator. With 40 million monthly visits, SNCF Connect is the primary source for French domestic and European train travel data.

This Actor uses Playwright to navigate the SNCF Connect search interface, extract TGV INOUI, TER, Intercites, and OUIGO train results, and return structured data ready for analysis, price monitoring, or integration with your travel platform. No login or cookies required.

Why use SNCF Scraper?

  • Price monitoring β€” Track ticket prices across routes and dates to find the best deals or monitor fare trends over time.
  • Travel research β€” Compare routes, durations, and train types (TGV, TER, OUIGO) for any French destination.
  • Market intelligence β€” Collect structured pricing data for competitive analysis in the travel industry.
  • Availability tracking β€” Monitor seat availability for popular routes and get alerts when seats open up.
  • Carbon footprint analysis β€” Extract CO2 emission data for eco-conscious travel planning.
  • API access β€” Get SNCF train data via Apify API, webhooks, or scheduled runs. Integrate with Zapier, Make, Google Sheets, or your own applications.

What data can you extract from SNCF Connect?

FieldDescription
originDeparture station or city
destinationArrival station or city
departureTimeDeparture time (HH:mm)
arrivalTimeArrival time (HH:mm)
durationTotal travel time (e.g., 1h 56min)
trainTypeService type (TGV INOUI, TER, OUIGO, Intercites)
priceTicket price in EUR
currencyCurrency code (EUR)
travelClassSeat class (1st, 2nd)
availableSeatsAvailability status
carrierOperating company (SNCF, Trenitalia, etc.)
co2EmissionCarbon footprint per journey
changesNumber of transfers
urlSource URL
scrapedAtTimestamp of extraction

How to use SNCF Scraper

  1. Go to the SNCF Scraper input page.
  2. Enter your origin city (e.g., Paris) and destination city (e.g., Lyon).
  3. Optionally set a departure date in YYYY-MM-DD format. If left empty, defaults to 14 days from today.
  4. Set the number of passengers (default: 1).
  5. Configure max results to limit the number of train results returned.
  6. Click Start and wait for the run to complete.
  7. Download your data from the Dataset tab in JSON, CSV, Excel, or HTML format.

Input parameters

ParameterTypeDefaultDescription
originstringParisDeparture city name
destinationstringLyonArrival city name
departureDatestring14 days from todayTravel date (YYYY-MM-DD)
passengersinteger1Number of adult passengers (1-9)
maxResultsinteger50Maximum results to return
proxyConfigurationobjectResidential FRProxy settings (residential recommended)

Example input

{
"origin":"Paris",
"destination":"Marseille",
"departureDate":"2026-07-15",
"passengers":2,
"maxResults":30
}

Output example

{
"origin":"Paris",
"destination":"Lyon",
"departureTime":"07:23",
"arrivalTime":"09:19",
"duration":"1h 56min",
"trainType":"TGV INOUI",
"price":29.0,
"currency":"EUR",
"travelClass":"2nd",
"availableSeats":"Available",
"carrier":"SNCF",
"co2Emission":"2.4 kg",
"changes":0,
"url":"https://www.sncf-connect.com/app/home/search",
"scrapedAt":"2026-06-09T10:30:00.000Z"
}

How much does it cost to scrape SNCF Connect?

A typical run searching one route returns 10-30 train results and costs approximately $0.10-0.25 in Apify platform credits, depending on proxy usage and whether results load quickly. The Actor uses Playwright (browser-based) which consumes more compute than HTTP-only scrapers, but this is necessary because SNCF Connect is a React single-page application.

To keep costs down:

  • Set maxResults to only what you need.
  • Use a specific date rather than leaving it to default.
  • Schedule runs during off-peak hours for faster loading.

Supported routes

SNCF Connect covers all French domestic rail routes and many European connections:

  • High-speed (TGV INOUI) β€” Paris-Lyon, Paris-Marseille, Paris-Bordeaux, Paris-Strasbourg, Paris-Lille, Paris-Nantes, Paris-Rennes, Paris-Montpellier, and more.
  • Budget (OUIGO) β€” Low-cost TGV services on major routes.
  • Regional (TER) β€” Local and regional connections across all French regions.
  • Intercites β€” Medium-distance routes not served by TGV.
  • International β€” Paris-Brussels, Paris-London (Eurostar), Paris-Geneva, Paris-Milan, and other cross-border services.

Tips for best results

  • Use residential proxies β€” SNCF Connect uses DataDome anti-bot protection. Residential proxies with FR country code provide the best success rate.
  • Set realistic dates β€” SNCF typically shows results for dates up to 3-4 months in advance. Past dates or dates too far in the future will return no results.
  • French city names work best β€” While the Actor handles English city names, using French names (e.g., "Marseille" instead of "Marseilles") improves autocomplete matching.
  • Run during business hours (CET) β€” SNCF Connect tends to respond faster during European daytime hours.

Integrations

Connect SNCF Scraper to your workflow with:

  • Apify API β€” Call programmatically from any language.
  • Webhooks β€” Get notified when a run completes.
  • Scheduled runs β€” Monitor prices daily or weekly.
  • Zapier / Make β€” No-code integration with 5000+ apps.
  • Google Sheets β€” Export results directly to a spreadsheet.

FAQ

Is it legal to scrape SNCF Connect?

This Actor extracts publicly available train schedule and pricing information that any visitor can see on sncf-connect.com. No login, authentication, or account is required. Always ensure your use case complies with applicable laws and SNCF Connect's terms of service.

Why did my run return zero results?

SNCF Connect uses DataDome anti-bot protection which may block requests. Make sure you are using residential proxies with FR country code. Also verify that your origin and destination city names are valid and your departure date is in the future.

Can I scrape multiple routes in one run?

Currently the Actor searches one route per run. To scrape multiple routes, trigger separate runs with different origin/destination combinations using the Apify API or scheduler.

How often is pricing data updated?

SNCF updates prices dynamically based on demand. For accurate price tracking, schedule runs at consistent times (e.g., daily at 8:00 AM CET).

Support and feedback

If you encounter issues or have feature requests, please open an issue in the Issues tab. For custom scraping solutions, reach out via the Actor's page on the Apify Store.

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

SNCF Train Price Scraper β€” TGV INOUI, OUIGO, TER, IntercitΓ©s

dr1ms/sncf-train-price-scraper

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.

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.

Irish Rail Scraper - Train Fares & Schedules

studio-amba/irish-rail-scraper

Scrape train schedules, fares, and real-time data from Irish Rail (irishrail.ie). Extract Intercity, DART, Commuter, and Enterprise routes across Ireland. No login required.

Eurostar Scraper β€” Train Tickets, Prices & Schedule Data

studio-amba/eurostar-scraper

Scrape Eurostar high-speed train schedules, prices, and availability. Search by route and date to get departure/arrival times, durations, ticket prices by class, and seat availability. Covers London, Paris, Brussels, Amsterdam, Cologne, and more. No login or cookies required.

SBB Scraper β€” Swiss Train Timetable & Connections

studio-amba/sbb-scraper

Scrape Swiss Federal Railways (SBB) train connections, timetables, and schedules. Search by station name and date. Returns departure times, arrival times, duration, train types, platforms, and transfer details. No login or cookies required.

Deutsche Bahn Scraper - Train Schedules & Prices

studio-amba/deutsche-bahn-scraper

Scrape train connections, schedules, and prices from Deutsche Bahn (bahn.de). Extract ICE, IC, RE, and S-Bahn routes with departure/arrival times, duration, transfers, carriers, and live fares across Germany and Europe.

Γ–BB Train Ticket and Connection Scraper

jindrich.bar/oebb-ticket-scraper

Scrape live Austrian Federal Railways train connections, schedules, ticket prices, transfers, delays, and fares across Austria and Europe. Extract structured Γ–BB timetable data for travel apps, price monitoring, analytics, and AI agents.

πŸ‘ User avatar

JindΕ™ich BΓ€r

3

5.0

IRCTC Train Data Scraper

scrapingshark/irctc-train-data-scraper

The IRCTC Train Data Scraper is an actor designed to automate the extraction of real-time train-related data from the Indian Railway Catering and Tourism Corporation (IRCTC) website. It fetches information such as trains between stations, seat availability, fare details, train routes and more.

32

Deutsche Bahn Train Tickets & Connections Scraper

jindrich.bar/deutsche-bahn-ticket-scraper

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

πŸ‘ User avatar

JindΕ™ich BΓ€r

14

5.0