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 warnings (live)River water levels & flood warnings (live)Transit schedules ~ Rapid KL LRT/MRT/monorail/bus (Prasarana GTFS)Train schedules ~ KTMB (GTFS)Live bus positions ~ Rapid KL & Rapid Penang (Prasarana GTFS-R)Live train positions ~ KTMB (GTFS-R)Bus schedules ~ myBAS Johor Bahru (GTFS)Live bus positions ~ myBAS Johor (GTFS-R)