Thai hazard sources — what is live, and what may be sold

Survey for the Thailand Hazard Signals API, 1 October 2026. Every row was fetched that day from Chiang Mai; licences were read, not assumed.

1. The feeds, probed

SignalSource and endpointLive resultLicence / termsVerdict
Official warningsTMD CAP channel www.tmd.go.th/api/xml/CAP → one CAP 1.2 XML per alert200; 6 alerts, newest 30 Sep 2026 ("Heavy Rain", Severe, Immediate, provinces + 112 polygons)<copyright>public domain</copyright> in the channel; registered with Google's alert hubserved; drives alert
Official warnings (old API)TMD data.tmd.go.th/api/WeatherWarningNews/v1200 but one item, dated 16 Oct 2022 (Storm NESAT)DGA OGLstale — not used
Warnings RSStmd.go.th/api/xml/warning-news200; newest 15 Apr 2025—stale — not used
Rain observedTMD Weather3Hours/V2 (126 stations, rain 3 h and 24 h, temperature, wind)200; 70 KB; 13:00 observationsDGA Open Government License (dataset c1-1-3-4 family on data.go.th); the demo credential uid=api&ukey=api12345 is the one data.go.th publishesserved
Rain daily by districtTMD RainRegions/v1200; stations by regionDGA OGL (dataset c1-1-3-13)not needed yet
ForecastTMD WeatherForecast7Days/V2 (81 provinces/areas, 7 days)200; 96 KBDGA OGLserved
Forecast by pointTMD NWP API data.tmd.go.th/nwpapi401 — registration requiredregistration termslater, if registered
EarthquakesUSGS FDSN earthquake.usgs.gov/fdsnws/event/1/query, box 0–28°N 88–112°E200; reviewed eventsUS public domainserved
Earthquakes (Thai catalogue)TMD seismology RSS earthquake.tmd.go.th/feed/rss_tmd.xml200; 10 newest, down to M1.8 inside ThailandDGA OGL (TMD datasets)served
TsunamiNOAA PTWC Atom tsunami.gov/events/xml/PHEBAtom.xml200; latest bulletinUS public domainserved
Global eventsGDACS gdacsapi/api/events/geteventlist/SEARCH?country=Thailand200; 3 events (drought episode, floods)reuse with attribution; terms: automatic, not reviewed, "not meant to substitute … official information"served, disclaimers passed through
Satellite-seen eventsNASA EONET v3, bbox 92,22,110,4200; 10 events in 60 days (floods in Thailand, Tropical Storm Narra)US public domainserved (polygon coordinates are [lat, lon], points [lon, lat] — checked)
River levelsHII ThaiWater api-v3.thaiwater.net/.../waterlevel_load (1.4 MB, all agencies incl. RID's P.1)200 — undocumentedHII datasets on data.go.th: CC BY-NonCommercial; live API has no published terms; another site owner asked HII for written permission on 26 Sep 2026 and is waitingnot served until HII permits (email draft beside this file)
River levelsRID water.rid.go.thTLS certificate expired—not usable
River discharge (model)GloFAS via Open-Meteo flood API200 (used by the lab's live_data.py)Open-Meteo free tier is non-commercial; GloFAS itself is Copernicus open datathe river path for later: Open-Meteo commercial plan, or Copernicus directly
PM2.5Air4Thai air4thai.pcd.go.th/services/getNewAQI_JSON.php (173 stations)TLS chain broken; 200 with verification offno licence stated for the live JSONnot served yet
PM2.5DDPM dpmalert.disaster.go.th/AirQualityDatas/…401DGA OGL (dataset gdpublish-dpm-gd024) but login requirednot served yet
Fire hotspotsNASA FIRMSneeds a free map keypubliclater (burning season)
DDPM warningsdisaster.go.th/rss, NDWC site404 / JavaScript app—no feed found

2. The licence that makes TMD's data sellable

Thailand's DGA Open Government License (Terms and Conditions v1.0, 10 June 2021, read in full) grants a non-exclusive right, without territory or time limits and without fees, to:

"copy, publish, distribute or benefitially processing the Data in whatever methods, for the purposes of enhancing services and innovations" … "gathering the Data therefrom together with other data or utilizing them to be a part of education, analysis, research, service and innovation enhancement".

Its one standing condition: "The User shall state references for the Use of Data, at all the time, which are referred to the sources of Data and organizations" — data without the reference "deem to be contrary to this Terms". Exclusions: data that law forbids disclosing, logos and emblems, military insignia, third-party IP. No warranty; DGA may stop publishing without notice. The API therefore names the agency and licence in every record and in /health.

HII's datasets, by contrast, carry CC BY-NC on data.go.th. Non-commercial means a paid API may not relay them without a separate permission, so the river signal is withheld and asked for.

3. Three things that would have gone wrong

4. Demand on the hub (same scraper as the STT research)

SearchResultsTop listings
thailand weather0—
air quality thailand0—
earthquake33EveryEarthquake (USGS reseller), "Earthquakes: Seismic Data with Revisions & Deletions"
weather alert32WeatherAPI.com, Weather API (OpenWeatherMap wrapper), Easy Weather, "Severe Weather Alert & Operational Risk Intelligence" (NWS, US)
disaster52OpenFEMA, geodisasters
flood46property-data APIs, not hazards

Nothing Thailand-specific exists in weather, air or hazards; the general earthquake and weather-alert categories have established, cheap players. Expectation, written before listing: a niche tool with a handful of subscribers in the first months, most on the free plan, and near-zero cost to run. The reason to list it is the same as for the STT API: it costs nothing to measure, and the data is useful to Thai developers building LINE bots and alert apps.

5. What the API refuses to do