PASAR API
Official PCD air-quality feed with bilingual station names and coordinates. The HTTP URLs currently redirect to HTTPS; normal certificate validation failed from the audit host. Resolve the certificate-chain problem before relying on this feed; do not disable TLS verification.
View docs ↗ More Government services APIs All Thailand APIscurl --fail-with-body --location --max-time 30 'https://air4thai.pcd.go.th/services/getNewAQI_JSON.php'
I'm building an app using a public Thailand API (no private credentials needed). API: Air4Thai ~ live air quality & PM2.5 station feed Provider: Pollution Control Department (PCD) Endpoint: GET https://air4thai.pcd.go.th/services/getNewAQI_JSON.php Response format: JSON Source: Pollution Control Department (PCD) (https://air4thai.pcd.go.th/webV3/) Source type: Official public feed Endpoint type: Direct public JSON endpoint Integration difficulty: Regulated setup Last checked: 2026-06-29 Production caveat: Onboarding, approvals, sandbox/preprod, or compliance steps may be required before production. Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.