VOOZH about

URL: https://apify.com/parseforge/hk-mtr-realtime-scraper

โ‡ฑ Hong Kong MTR Realtime Scraper ยท Apify


Pricing

from $7.50 / 1,000 results

Go to Apify Store

Hong Kong MTR Realtime Scraper

Query the official Hong Kong MTR realtime feed for any line and station. Returns line code, station code, direction, destination, platform, and minutes to arrival. Track Tuen Ma, East Rail, Tsuen Wan, Island, and other lines for commuter tools and travel dashboards.

Pricing

from $7.50 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

25 days ago

Last modified

Share

๐Ÿ‘ ParseForge Banner

๐Ÿš‡ Hong Kong MTR Realtime Scraper

๐Ÿš€ Export live Hong Kong MTR train schedule and arrival times from the Hong Kong open data portal in seconds. From the public Hong Kong MTR source to spreadsheet, JSON, JSONL, XML, RSS, or HTML.

๐Ÿ•’ Last updated: 2026-06-05 ยท ๐Ÿ“Š 11 fields per record ยท Public Hong Kong MTR data ยท Real-time

The Hong Kong MTR Realtime Scraper turns the Hong Kong MTR public endpoint into a clean, structured dataset. It pulls live Hong Kong MTR train schedule and arrival times from the Hong Kong open data portal, normalizes the fields, and pushes one row per record.

Coverage is whatever Hong Kong MTR publishes on the public endpoint at the moment you run the actor. No login, no API key, no scraping tricks. Just clean data, ready for analysis.

๐ŸŽฏ Target Audience๐Ÿ’ก Primary Use Cases
๐Ÿ“Š AnalystsPull a fresh snapshot for dashboards
๐Ÿ› ๏ธ DevelopersMirror the feed into your own database
๐Ÿ“ฐ JournalistsVerify facts quickly without writing client code
๐Ÿค– ML engineersBuild training sets from the public feed
๐Ÿข Operations teamsMonitor changes over time
๐ŸŽ“ ResearchersUse the data for academic studies

๐Ÿ“‹ What the Hong Kong MTR Realtime Scraper does

  • Calls the public Hong Kong MTR endpoint and parses the response.
  • Flattens the data into one row per record with clean field names.
  • Surfaces upstream errors as a single record with the error field set, so your pipeline does not crash.
  • Lets you cap the output with maxItems for cheap previews.
  • Streams results to the Apify dataset for instant export.

๐Ÿ’ก Why it matters: Public feeds change shape and field names constantly. This actor gives you a stable, documented schema your downstream tooling can rely on.

๐ŸŽฌ Full Demo

๐Ÿšง Coming soon.

โš™๏ธ Input

FieldTypeRequiredDescription
maxItemsintegerNoFree users: 10. Paid users: up to 1,000,000. Prefill: 10.
linestringNoMTR line code (e.g. TML, EAL, TWL).
stationstringNoStation code (e.g. ETS, ADM, CEN).

Example input:

{
"maxItems":10,
"line":"TML",
"station":"ETS"
}

โš ๏ธ Good to Know: This actor depends on the public Hong Kong MTR endpoint. If the upstream is rate-limiting or temporarily unavailable, the actor pushes a single record with the error field populated. Re-run later.

๐Ÿ“Š Output

Each record is a flat object. The error field is always last.

FieldTypeDescription
๐Ÿ›ค๏ธ Line linestringMTR line code.
๐Ÿš‰ Station stationstringStation code.
๐Ÿงญ Direction directionstringDirection (UP/DOWN).
๐Ÿ”ข Train Seq trainSeqnumberTrain sequence.
๐ŸŽฏ Destination deststringDestination station code.
๐Ÿš Platform platstringPlatform number.
โฐ TTNT ttntstringTime to next train (minutes).
๐Ÿ•’ Time timestringScheduled time.
โœ… Valid validstringValidity flag.
๐Ÿ•’ scrapedAtstringWhen this row was fetched.
โŒ errorstringSet if the upstream response was an error.

Sample record:

{
"line":"",
"station":"",
"direction":"",
"trainSeq":0,
"dest":"",
"plat":"",
"ttnt":"",
"time":"",
"valid":"",
"scrapedAt":"2026-06-05T12:00:00.000Z",
"error":null
}

โœจ Why choose this Actor

| ๐Ÿ†“ | Works on the free Apify tier with no Hong Kong MTR account required. | | ๐Ÿงน | Clean, snake-friendly field names ready for BI tools. | | ๐Ÿ›Ÿ | Surfaces upstream rate-limit and error responses as a clean record instead of crashing. | | ๐Ÿ”Œ | Zero setup. Click run, get data. | | ๐Ÿ’พ | Push to dataset for instant spreadsheet, JSON, JSONL, XML, RSS, or HTML export. | | โšก | Lightweight. No browser, no heavy dependencies. |

๐Ÿ“ˆ How it compares to alternatives

ApproachSetup timeClean fields?Error handling?
Roll your own fetch30 min +โŒโŒ
Generic RSS reader5 minpartialโŒ
This Actor5 sec, no installโœ…โœ…

๐Ÿš€ How to use

  1. Click Try for free.
  2. Adjust any filters in the input form (defaults are fine for a first run).
  3. Click Start. Your dataset is ready in seconds. Download as spreadsheet, JSON, JSONL, XML, RSS, or HTML, or pipe to your warehouse.

๐Ÿ’ผ Business use cases

๐Ÿ“Š Operational dashboards. Pull a fresh snapshot every few minutes and feed your status board.

๐Ÿค– ML feature engineering. Build a clean training set from the public feed for downstream modelling.

๐Ÿ“ฐ Newsroom fact-checking. Reporters can grab a verified snapshot in seconds, no specialist tool needed.

๐Ÿข Compliance and audit. Keep a tamper-evident log of what the upstream source said, when.

๐Ÿ”Œ Automating Hong Kong MTR Realtime Scraper

  • Make / Zapier: trigger this actor on a schedule, push results to Airtable, Google Sheets, or Slack.
  • Cron schedule: native Apify scheduler.
  • Webhooks: get a POST to your endpoint the moment a run finishes.
  • Pipe to BigQuery / Snowflake / Postgres: native Apify integrations move datasets straight into your warehouse.

๐ŸŒŸ Beyond business use cases

๐ŸŽ“ Education. Teach a class using a real-time public feed instead of a stale textbook dataset.

๐Ÿงช Personal research. Track changes over time for whatever you find interesting.

๐Ÿค Non-profit and open data. Build public dashboards without writing client code.

๐Ÿงฐ Tinkering and prototyping. Spin up a clean feed in 5 seconds to test a new tool or pipeline idea.

๐Ÿค– Ask an AI assistant about this scraper

Paste this README into ChatGPT, Claude, or any AI assistant and ask it to map your workflow to the actor's inputs. The schema, examples, and field list above contain everything an LLM needs to design a working pipeline.

โ“ Frequently Asked Questions

โ“ Do I need an account with Hong Kong MTR? No. This actor uses the public endpoint only.

โ“ Is this scraping or API? It is a thin wrapper over the public Hong Kong MTR endpoint, normalised for downstream tools.

โ“ Will the schema change? The documented fields are stable. New fields from upstream are passed through as-is.

โ“ How fresh is the data? As fresh as Hong Kong MTR publishes it. The actor reads live every run.

โ“ What happens during a rate-limit? The actor pushes a single record with the error field populated instead of crashing.

โ“ Can I schedule runs? Yes, use the Apify scheduler or hook into Make, Zapier, or cron.

โ“ How do I cap the cost of a test run? Set maxItems to a small number, such as 5 or 10.

โ“ What format can I download? Spreadsheet, JSON, JSONL, XML, RSS, or HTML straight from the Apify dataset UI.

โ“ Is the data accurate? It mirrors what Hong Kong MTR publishes. Any inaccuracy upstream will be mirrored downstream.

โ“ Can I run it from my own code? Yes, every Apify actor exposes a REST API and SDK clients in popular languages.

๐Ÿ”Œ Integrate with any app

Apify ships native integrations with Make, Zapier, Slack, Discord, Google Drive, Google Sheets, Gmail, Airbyte, Keboola, Telegram, GitHub, and any REST API or webhook endpoint. Trigger runs from a calendar event, a form submission, a cron job, or pipe results straight into BigQuery, Snowflake, or a Postgres warehouse.

๐Ÿ”— Recommended Actors

ActorWhat it does
ParseForge OurAirports ScraperGlobal airport database.
ParseForge Alpha Vantage Public ScraperStocks, FX, crypto, indicators.
ParseForge NBA Stats ScraperNBA player and team stats.
ParseForge CurseForge Mods ScraperPublic mod metadata.

๐Ÿ’ก Pro Tip: browse the complete ParseForge collection for 900+ production-grade scrapers across business intelligence, real estate, e-commerce, sports, finance, and public records.


Disclaimer: This actor scrapes only publicly available data. ParseForge is not affiliated with, endorsed by, or sponsored by any of the third-party services referenced. Users are responsible for complying with the target site's terms of service and applicable law. Create a free account w/ $5 credit.

You might also like

Hong Kong Transit Scraper - MTR, KMB, Citybus, Light Rail

jungle_synthesizer/hong-kong-transit-scraper

Hong Kong public transit data via the official HKSAR open APIs: MTR (10 lines), KMB and Citybus bus networks, and MTR Light Rail. Bilingual English / Traditional Chinese station names, real-time train and bus ETAs, full route catalogues.

๐Ÿ‘ User avatar

BowTiedRaccoon

3

28Hse Scraper | Hong Kong Real Estate

fatihtahta/28hse-scraper

Extract structured Hong Kong real estate property listings from 28Hse with prices, estate names, districts, bedroom counts, saleable area, and enriched listing details. Built for enterprise-grade Hong Kong real estate intelligence, pricing analysis, and automated property data pipelines.

Hong Kong Open Data Scraper

parseforge/data-gov-hk-hong-kong-scraper

Export datasets from data.gov.hk, the Hong Kong government open data portal. Browse the full catalog or fetch specific datasets. Pull titles, organizations, descriptions, tags, update frequency, resource files, formats, licences, and direct download links.

JobsDB Scraper โ€” Hong Kong & Thailand Job Listings

blackfalcondata/jobsdb-scraper

Scrape JobsDB Hong Kong and Thailand job listings with salary parsing, employer profile enrichment, applicant-demand signals, contact extraction, incremental change tracking, notifications, and agent-ready deduped exports for recruiting and market research.

๐Ÿ‘ User avatar

Black Falcon Data

47

5.0

Irish Rail Realtime Scraper

parseforge/irishrail-realtime-scraper

Stream live Irish Rail train movements with train code, public message, direction, status, and last reported location. Filter by Northbound or Southbound to follow commuter and intercity services across Ireland for transit apps, dashboards, or delay analytics.

Hong Kong Jockey Club (HKJC) Comprehensive Racing Data Scraper

alaricus/hkjc-comprehensive-racing-data

The definitive data solution for Hong Kong horse racing. Effortlessly extract comprehensive datasets including Pre Race Analysis, Race Results, Barrier Trials, Veterinary history, and Official Incident Reports. Engineered for high-speed performance and clean, developer-friendly JSON output.

Zillow.com Realtime Scraper

muhammad_usama/apify-zillow

Scrapes any data-set from Zillow.com in realtime

๐Ÿ‘ User avatar

Muhammad Usama

11

SEPTA Train View Scraper

parseforge/septa-train-view-scraper

Stream live SEPTA Regional Rail train positions around Philadelphia with line, train number, origin, destination, current station, and delay minutes. Filter by line such as Paoli or Trenton to power commuter dashboards, alert bots, or transit reliability studies.