PASAR API

🇹🇭 Air4Thai ~ live air quality & PM2.5 station feed

← directory
Pollution Control Department (PCD)Government servicestier: openauth: no authpricing: freeverified 2026-06-29

Official Pollution Control Department feed of live AQI, PM2.5/PM10, O3, CO, NO2 and SO2 from hundreds of ground stations with Thai+English station names and coordinates; one keyless GET returns JSON for every station. HTTP-only. TH-first.

View docs ↗ More Government services APIs

Call it

curl 'http://air4thai.pcd.go.th/services/getNewAQI_JSON.php'

AI prompt

I'm building an app using a free Thailand API (no auth needed).

API: Air4Thai ~ live air quality & PM2.5 station feed
Provider: Pollution Control Department (PCD)
Endpoint: GET http://air4thai.pcd.go.th/services/getNewAQI_JSON.php
It returns JSON (live data).

Source: Pollution Control Department (PCD) (http://air4thai.pcd.go.th/webV3/)
Source type: Official public feed
Endpoint type: Direct public JSON endpoint
Integration difficulty: Copy-paste ready
Last checked: 2026-06-29
Production caveat: Still handle downtime, changing fields, empty responses, and rate limits before shipping user-facing alerts.

Help me fetch this and build a simple page that displays it nicely. Include basic production safeguards for errors, empty responses, schema changes, caching, and rate limits.

Related Government services APIs

data.gov.sg ~ Singapore open data & real-time APIsJAKIM e-Solat Prayer Times APIWaktu Solat API (Malaysia Prayer Times)SSM e-Info Company Registry APIOpenDOSM ~ official Malaysian statisticsGLEIF LEI API ~ global Legal Entity Identifier registryCompanies House API ~ UK company registry, filings & officersSEC EDGAR APIs ~ US public-company filings & financial dataFederal Register API ~ US government documents, rules & noticesOpenSanctions API ~ global sanctions, PEP & watchlist screening