PASAR API

🇮🇩 BMKG Earthquake & Tsunami Feed ~ real-time Indonesia seismic data

← directory
BMKG (Badan Meteorologi, Klimatologi dan Geofisika)Realtimetier: openauth: no authpricing: freefreq: REALTIME

Keyless real-time JSON feeds of Indonesian earthquakes, latest quake (autogempa.json), recent felt quakes and M5.0+ events, with magnitude, depth, coordinates, region and tsunami potential. No signup. ID-first.

View docs ↗ More Realtime APIs

Call it

curl 'https://data.bmkg.go.id/DataMKG/TEWS'

AI prompt

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

API: BMKG Earthquake & Tsunami Feed ~ real-time Indonesia seismic data
Provider: BMKG (Badan Meteorologi, Klimatologi dan Geofisika)
Endpoint: GET https://data.bmkg.go.id/DataMKG/TEWS
It returns JSON (live data).

Source: BMKG (Badan Meteorologi, Klimatologi dan Geofisika) (https://data.bmkg.go.id/gempabumi/)
Source type: Official public feed
Endpoint type: Direct public JSON endpoint
Integration difficulty: Copy-paste ready
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 Realtime APIs

7-day weather forecast (live)Weather warnings (live)Earthquake notices & historyBus positions ~ Prasarana GTFS-R (availability varies)Live train positions ~ KTMB (GTFS-R)Live bus positions ~ myBAS Johor (GTFS-R)Hanoi Air Quality ~ live monitoring-station JSON from moitruongthudo.vnAEMET OpenData ~ Spain weather & climate dataMSC GeoMet ~ Canada weather, climate & water dataMet Eireann ~ Irish weather forecast API