{"uid":"cap_Obaxrkn_Kj-TxFdA5Crv-","slug":"tariffmonkee-taiwan-transit-check-8c2e3a31","name":"TariffMonkee Taiwan Transit Check","description":"Taiwan real-time transit via TDX: bus arrival predictions, TRA rail live board, THSR high-speed rail daily train info, and MRT arrival boards (Taipei, Kaohsiung, Taoyuan, Kaohsiung Light Rail) for a given stop, route or station. Passes TDX data through and does not plan journeys. A bus estimate of -1 means the bus already passed. TRA, THSR and MRT return TDX's raw fields.","url":"https://tariffmonkee.com/paid/tw-transit-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["mode"],"properties":{"city":{"type":"string","description":"Required for mode=bus. TDX city code, e.g. 'Taichung', 'Kaohsiung', 'Taipei'."},"mode":{"type":"string","description":"'bus', 'tra', 'thsr', or 'mrt'."},"route_name":{"type":"string","description":"Required for mode=bus. Route name as TDX has it, e.g. '紅56'."},"station_id":{"type":"string","description":"Required for mode=tra or mode=thsr. Look up via TDX's own /v2/Rail/TRA/Station or /v2/Rail/THSR/Station."},"rail_system":{"type":"string","description":"Required for mode=mrt. One of: TRTC (Taipei), KRTC (Kaohsiung), TYMC (Taoyuan), KLRT (Kaohsiung Light Rail)."},"station_name":{"type":"string","description":"Optional for mode=mrt, to filter to one station. Omit to get the whole system's board (capped at 50 rows)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["mode","results","count","data_note","attribution","disclaimer","sources","verified_on"],"properties":{"mode":{"type":"string"},"count":{"type":"number"},"results":{"type":"array","items":{"type":"object","required":["stop_name","route_name","plate_number","estimate_seconds","already_passed","next_bus_time","stop_sequence","update_time"],"properties":{"stop_name":{"type":"string"},"route_name":{"type":"string"},"update_time":{"type":"string"},"plate_number":{"type":"string"},"next_bus_time":{"type":"string"},"stop_sequence":{"type":"number"},"already_passed":{"type":"boolean"},"estimate_seconds":{"type":"number"}}}},"sources":{"type":"array","items":{"type":"object","required":["name","url"],"properties":{"url":{"type":"string"},"name":{"type":"string"}}}},"data_note":{"type":"string"},"disclaimer":{"type":"string"},"attribution":{"type":"string"},"verified_on":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"mode":"bus","count":65,"results":[{"stop_name":"大學十七街口","route_name":"紅56科技幹線","update_time":"2026-10-18T16:07:50+08:00","plate_number":"916-V2","next_bus_time":"2026-10-18T16:20:00+08:00","stop_sequence":2,"already_passed":false,"estimate_seconds":780},{"stop_name":"援中國小(大學26街口)","route_name":"紅56科技幹線","update_time":"2026-10-18T16:07:50+08:00","plate_number":"KKA-9161","next_bus_time":"2026-10-18T16:22:00+08:00","stop_sequence":4,"already_passed":false,"estimate_seconds":0},{"stop_name":"大學東路口","route_name":"紅56科技幹線","update_time":"2026-10-18T16:07:50+08:00","plate_number":"KKA-9161","next_bus_time":"2026-10-18T16:26:00+08:00","stop_sequence":8,"already_passed":false,"estimate_seconds":180}],"sources":[{"url":"https://tdx.transportdata.tw","name":"TDX 運輸資料流通服務 (Transport Data eXchange)"},{"url":"https://motc-ptx.gitbook.io/tdx-zi-liao-shi-yong-kui-hua-bao-dian/data_notice/public_transportation_data/bus_dynamic_data","name":"TDX API usage notice -- bus real-time data caveats"}],"data_note":"TDX retains at most the last 2 hours of estimate data per stop, specifically because some county source systems don't update reliably -- a route with no results may simply be outside its operating hours. estimate_seconds is null and already_passed is true when the bus has already passed this stop (T...","disclaimer":"Passes through TDX's own real-time data for the specific stop/route/station requested -- this does not plan a journey or compute a route. Only the transit operator's own real-time systems are authoritative for a specific departure.","attribution":"資料介接「交通部TDX平臺」(Data via Ministry of Transportation and Communications TDX Platform), per the Government Open Data License v1. Logo: https://tdx.transportdata.tw/images/tdxlogo.png","verified_on":"2026-09-08"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pdXn5A9nEXoQ3Ku1v6AVc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time Taiwan transit data (bus arrival predictions, TRA rail live board, THSR high-speed rail train info, and MRT arrival boards) for a given stop, route, or station via TDX.","exampleAgentPrompt":"What are the next bus arrivals for route 紅56 in Taipei right now — and has any bus already passed my stop?","exampleUseCases":[{"title":"Check next bus arrival at stop","prompt":"I'm at a bus stop in Taichung waiting for route 74. Can you tell me how many seconds until the next bus arrives, and whether any bus already passed?"},{"title":"Live TRA board at a rail station","prompt":"Pull up the live TRA departure board for Hsinchu station right now — I need to see which trains are currently running."},{"title":"Taipei MRT arrivals at a specific station","prompt":"Show me the current MRT arrival board for Taipei using TRTC, filtered to Taipei City Hall station, so I know when the next train is coming."}],"resultDescription":"Returns a JSON object with mode, count, and a results array. For bus mode: each item includes stop_name, route_name, plate_number, estimate_seconds (seconds until arrival; -1 means already passed), already_passed boolean, next_bus_time, stop_sequence, and update_time. For TRA, THSR, and MRT modes: raw TDX fields are passed through covering train IDs, arrival/departure times, platform info, and station names. Also includes data_note, attribution, disclaimer, sources, and verified_on metadata fields.","failureModes":["Missing required mode parameter returns an error","Missing city or route_name for bus mode returns an error","Missing station_id for TRA or THSR mode returns an error","Missing rail_system for MRT mode returns an error","Invalid city code or route name not found in TDX returns empty results or TDX error","TDX upstream outage causes failure or stale data","estimate_seconds of -1 indicates bus already passed (not an error)","Station ID must be looked up separately via TDX's own station endpoints"],"whenToPreferThis":"Use this endpoint when you need real-time Taiwan public transit arrival data — specifically bus predictions, TRA live boards, THSR daily train info, or MRT arrival boards — without needing journey planning or routing. Prefer this over direct TDX API calls when you want a simplified, paid-per-call interface that handles TDX authentication. Not suitable for trip planning, fare calculation, or transit outside Taiwan.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T12:30:53.510Z","isFirstParty":false,"canonicalSlug":"tariffmonkee-taiwan-transit-check-8c2e3a31"}