User Tools

Site Tools


mtr:development:api_reference:arrivals

Fetch Arrivals (POST)

Get arrivals at specific platforms or entire stations. The numeric IDs of platforms or stations are usually used, but unsigned hex string representations can be used if preferred.

Schema Reference

Example Endpoint

http://localhost:8888/mtr/api/operation/arrivals?dimension=0

Example Request Body

{
    "platformIds": [
        -7391405823439797000,
        -4337986715555009500
    ],
    "platformIdsHex": [],
    "stationIds": [],
    "stationIdsHex": [],
    "maxCountPerPlatform": 10,
    "maxCountTotal": 20
}
mtr/development/api_reference/arrivals.txt · Last modified: 2024/05/26 06:00 by jonafanho