Japan Rail Scraper - JR, Shinkansen, Metro Timetables avatar

Japan Rail Scraper - JR, Shinkansen, Metro Timetables

Pricing

Pay per event

Go to Apify Store
Japan Rail Scraper - JR, Shinkansen, Metro Timetables

Japan Rail Scraper - JR, Shinkansen, Metro Timetables

Scrape Japan rail timetables and fares from Yahoo! Transit. Covers JR Group, every Shinkansen line, Tokyo Metro, Toei, and major private rail (Odakyu, Tokyu, Keio, Hankyu, Kintetsu, etc). Returns IC fare, transfers, segments, train type, JR Pass eligibility. Hyperdia replacement.

Pricing

Pay per event

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

6

Total users

3

Monthly active users

0.031 hours

Issues response

3 days ago

Last modified

Share

Japan Rail Scraper — JR, Shinkansen & Metro Timetables

Query Japan's national and metropolitan rail network for point-to-point journeys or station departure boards. Covers JR, Shinkansen, private railways, and metro lines across the country — returning fares, IC card prices, seat fees, JR Pass eligibility, and segment-level operator data. Hyperdia was the dominant English-language Japan rail journey planner until it shut down public access in 2022; this actor fills that gap.

What does the Japan Rail Scraper do?

  • Journey search mode — Returns route options between any two Japanese stations with fares, IC card rates, seat fees, Shinkansen flags, JR Pass eligibility, and segment breakdowns
  • Station board mode — Returns upcoming departures from a single station with train type, destination, operator, and platform
  • Covers JR, Shinkansen, Toei, Tokyo Metro, Osaka Metro, Kintetsu, Hankyu, and all major private operators
  • Returns both Japanese and romanised station names
  • Uses Japan-based residential proxies to access the source API reliably

What data does it extract?

Journey search fields (mode: journey_search)

FieldDescription
modejourney_search
route_idUnique route identifier
origin_stationOrigin station name (Japanese)
origin_station_enOrigin station name (romanised)
origin_lineDeparture line at origin
destination_stationDestination station name (Japanese)
destination_station_enDestination station name (romanised)
destination_lineArrival line at destination
departure_timeScheduled departure time (HH:MM)
arrival_timeScheduled arrival time (HH:MM)
duration_minutesTotal travel time in minutes
transfersNumber of transfers
segmentsArray of legs: operator, train type, departure station, arrival station, times
total_fare_yenTotal cash fare in yen
ic_card_fare_yenIC card (Suica/PASMO) fare in yen
seat_fee_yenReserved seat surcharge in yen
distance_kmTotal distance in kilometres
train_typePrimary train type for the route
train_nameNamed train service (e.g. Nozomi, Hikari)
operatorPrimary operator
operator_typeOperator category (JR, private, metro, etc.)
is_shinkansenWhether the route uses Shinkansen services
jr_pass_eligibleWhether a JR Pass covers this route
source_urlSource URL for this result
scraped_atScrape timestamp (ISO 8601)

Station board fields (mode: station_board)

All journey search fields above, plus:

FieldDescription
directionDeparture direction or line terminus
station_idStation identifier code

How to use it

For journey search, provide origin and destination as romanised station names (e.g. Tokyo, Osaka, Kyoto). For station board, provide the station name. Set date and time to query a specific departure window; leave empty for the next available departures.

FieldTypeDefaultDescription
modestringjourney_searchjourney_search or station_board
originstringOrigin station name (romanised). Required for journey_search.
destinationstringDestination station name (romanised). Required for journey_search.
stationstringStation name for departure board. Required for station_board.
datestringtodayDate in YYYY-MM-DD. Empty = today.
timestringnowDeparture time in HH:MM. Empty = current time.
includeShinkansenbooleantrueInclude Shinkansen routes in journey search results
maxItemsinteger10Maximum route options or departures to return (max 500)
proxyConfigurationobjectJP residentialJapan-based residential proxies — required for source API access

Use cases

  • Tourism and travel planning — Japan is on track for 60 million annual tourists by 2030; travel agencies and booking platforms need reliable rail fare and route data to build Japan itinerary tools without reverse-engineering the HAFAS API.
  • JR Pass route optimization — Filter routes where jr_pass_eligible: true to help travellers determine which journeys are covered and calculate pass break-even points against individual ticket costs.
  • Transit comparison and research — Query the same city-pair across different times of day to compare duration_minutes, transfers, and ic_card_fare_yen across route options.
  • Shinkansen data feeds — Pull all Shinkansen services between major hub cities (is_shinkansen: true) for integration into travel apps, fare comparison tools, or rail price monitoring dashboards.
  • Academic transport research — Build a dataset of fare-per-km ratios across private vs JR operators, or study the frequency and timing of departures from major interchange stations using station board mode.

FAQ

What happened to Hyperdia? Hyperdia was the leading English-language Japan rail search tool used by tourists and researchers worldwide. It shut down its public consumer product in 2022 citing data licensing costs. This actor provides equivalent journey data with English station names and JR Pass eligibility flags.

Can I get IC card fares vs cash fares? Yes. Every journey search result includes both total_fare_yen (cash fare) and ic_card_fare_yen (Suica/PASMO rate). The IC rate is typically 1–5% lower than cash on most JR routes.

Do I need to enter station names in Japanese? No. Use romanised station names (e.g. Shin-Osaka, Nagoya, Hakata). Major stations are recognised by their English spellings. For smaller regional stations, the Japanese station name in romaji works reliably.

Results are available for export in JSON, CSV, and Excel formats from the Apify dataset tab.


Further reading: How to Get Airbnb Data, Hotel Prices, and Transit Feeds in Bulk