Discover/rtr.pbs.gov.tw API
live

rtr.pbs.gov.tw APIrtr.pbs.gov.tw

Access real-time road conditions across Taiwan from the Police Broadcasting Service. Filter by region or highway. Live accident, congestion, and hazard data.

Endpoints
3
Updated
3mo ago
Try it
Maximum number of results to return.
api.parse.bot/scraper/0ffc8282-b83d-4780-b5e0-10ac06bc8cff/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0ffc8282-b83d-4780-b5e0-10ac06bc8cff/get_road_conditions?limit=3' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Fetches all real-time road conditions from the Police Broadcasting Service. Returns paginated results ordered by most recent update time.

Input
ParamTypeDescription
limitintegerMaximum number of results to return.
Response
{
  "type": "object",
  "fields": {
    "data": "array of road condition records, each containing number, category, uptime, date, time, source, area, location, and info",
    "status": "string indicating success"
  },
  "sample": {
    "data": [
      {
        "area": "北部",
        "date": "2026-05-11",
        "info": "新北市-鶯歌區中山高架橋往國華路方向.外+部分人行道.隔音牆增設工程.時間:5/12~5/20.每日0930~1600(遇雨順延)",
        "time": "17:46",
        "number": "11505110279",
        "source": "新北市政府養護工程處",
        "uptime": "今天 15:01",
        "category": "道路施工",
        "location": "新北市-鶯歌區"
      }
    ],
    "status": "success"
  }
}

About the rtr.pbs.gov.tw API

The PBS Taiwan Road Conditions API exposes live traffic and road incident data from the Police Broadcasting Service (rtr.pbs.gov.tw) across 3 endpoints. Each record returns 8 structured fields including category, area, location, and info describing the condition. The get_road_conditions_by_region endpoint lets you filter by named region such as 北部 or 南部, while get_road_conditions_by_highway narrows results to a specific highway like 國道1號.

What the API Returns

All three endpoints return arrays of road condition records sourced from the Police Broadcasting Service's real-time feed, aggregated via road.ioi.tw. Every record includes: number (record identifier), category (incident type), uptime (freshness indicator), date, time, source (reporting agency), area (geographic area), location (specific road location), and info (free-text description of the condition). Results are ordered by most recent update time.

Filtering by Region and Highway

get_road_conditions_by_region accepts a region parameter using either Chinese region names (北部, 中部, 南部, 東部, 國道, 全區) or their single-letter codes (N, M, S, E, F). This makes it straightforward to isolate conditions for a specific part of Taiwan. get_road_conditions_by_highway accepts a highway string — for example 國道1號 or 國道3號 — and performs a keyword match against records, useful when monitoring a specific freeway corridor.

Pagination and Volume Control

All three endpoints accept an optional limit integer parameter that caps the number of records returned. When omitted, the default result set is returned ordered by recency. There is no explicit offset or cursor parameter in the current API surface, so limit is the primary tool for controlling response volume. The get_road_conditions endpoint fetches the full cross-Taiwan feed without any region or highway filter applied.

Common use cases
  • Display a live incident map for Taiwan highways using the area and location fields
  • Send push alerts to drivers when new conditions appear on a watched highway via get_road_conditions_by_highway
  • Build a regional dashboard for northern or southern Taiwan using get_road_conditions_by_region with 北部 or 南部
  • Log historical road condition records by polling the API and storing date, time, and category fields
  • Filter and surface only freeway incidents by querying the 國道 region code
  • Aggregate incident frequency by category type across all regions to identify recurring hazard patterns
  • Feed real-time road data into a route-planning tool to flag active disruptions along a selected corridor
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the Police Broadcasting Service provide an official developer API?+
The PBS road condition site at rtr.pbs.gov.tw does not publish a documented public developer API or SDK. This Parse API provides structured programmatic access to the same real-time data.
What does the `info` field contain, and is it machine-parseable?+
The info field is a free-text Chinese-language string describing the specific road condition — for example, lane closures, accident details, or hazard descriptions. It is not structured into sub-fields, so parsing specific attributes from it requires your own text processing.
Does the API cover city streets and provincial roads, or only national freeways?+
The API covers national freeway (國道) corridors and the four broad geographic regions of Taiwan (北部, 中部, 南部, 東部). Granular city-street or provincial-highway-level filtering is not currently exposed as a dedicated parameter. You can fork this API on Parse and revise it to add a finer-grained location filter if your source data includes those records.
Is there a way to paginate through results beyond the first page?+
The current API surface exposes a limit parameter to cap result count but does not include an offset, page number, or cursor parameter. All three endpoints return results ordered by most recent update time, so the freshest records are always at the top of the response. You can fork the API on Parse and revise it to add offset-based pagination if your use case requires deeper result sets.
Can I filter conditions by incident category, such as accidents only?+
Category filtering is not a dedicated input parameter on any endpoint. The category field is present in every response record and can be filtered client-side after retrieval. You can fork the API on Parse and revise it to add a category query parameter that pre-filters the result set server-side.
Page content last updated . Spec covers 3 endpoints from rtr.pbs.gov.tw.
Related APIs in Maps GeoSee all →
angieslist.com API
Search for home service professionals on Angi and access their detailed profiles including reviews, contact information, and photos to find the right contractor for your project. Quickly compare multiple service providers by viewing their ratings, customer feedback, and verified business details all in one place.
yellowpages-uae.com API
Search and discover UAE businesses with instant access to contact details, locations, and branch information from the Yellow Pages UAE directory. Find companies by name, get detailed business profiles, explore multiple branches, and browse available cities all in one place.
api.nasa.gov API
Access NASA's suite of open data APIs — including the Astronomy Picture of the Day, Near Earth Object tracking, DONKI space weather events, EPIC Earth imagery, Mars weather, the NASA Image and Video Library, the Exoplanet Archive, and EONET natural events.
58.com Housing API
Access real-time housing market data from 58.com (58同城), China's largest classifieds platform. Search house price trends across 31+ major Chinese cities at city, district, and neighborhood levels, and browse hot new property developments with prices, floor plans, and location details.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
immobiliare.it API
Search Italian property listings for sale or rent, browse real estate agencies, and explore price trends across Italian cities — all via immobiliare.it.
zapimoveis.com.br API
Search and filter real estate listings across Brazil on ZAP Imóveis — the country's largest property portal. Retrieve listings for sale or rent with detailed attributes including price, location, size, bedrooms, bathrooms, parking, and amenities. Supports location autocomplete, property type discovery, and full listing detail retrieval.