ready-to-use endpoints in this product, with JSON responses and consistent error handling.
The Earthquake API serves BMKG earthquake data synced automatically every hour: the 15 latest quakes, the 15 latest felt quakes with MMI intensity per area, and a history of up to 100 events per date range. Each record has magnitude, depth, coordinates, region and tsunami-potential status.
Realtime earthquake data sourced from BMKG, refreshed automatically every hour via cron.
ready-to-use endpoints in this product, with JSON responses and consistent error handling.
Can be tried with the 3,000 credit signup bonus, then used in production through one API Indonesia key.
https://use.apiindonesia.id/api/v1/gempa/terkiniReturns the 15 most recent earthquakes, newest first.
The Earthquake API fits media, disaster-mitigation apps, operations dashboards, and notification systems that need current BMKG earthquake data without scraping public pages.
The product needs a current earthquake feed for widgets, push notifications, or dashboards.
Teams need magnitude, depth, location, and event time in a JSON response.
The app needs periodically refreshed data without running its own cron job.
For safety-critical systems, still follow official BMKG channels and local authority procedures. This API fits product integration, not the only source for emergency decisions.
This section separates the product page from the docs. The docs explain how to call endpoints; this page explains why the endpoints make sense for your feature.
curl "https://use.apiindonesia.id/api/v1/gempa/terkini" \
-H "x-api-key: YOUR_API_KEY"{
"data": [
{
"id": "eq_20260702_0413",
"datetime": "2026-07-02 04:13:21",
"magnitude": 5.4,
"depth_km": 10,
"lat": -8.12,
"lng": 110.34,
"region": "Pacitan, Jawa Timur",
"potential": "Tidak berpotensi tsunami",
"is_felt": 1,
"felt_areas": "III Yogyakarta, II-III Pacitan",
"source": "BMKG"
}
]
}Tutorial membuat bot Telegram yang mengirim peringatan dini cuaca dan info gempa BMKG secara otomatis memakai n8n dan API Indonesia, lengkap dengan kode anti pesan ganda dan hitungan biaya.
Data BMKG (prakiraan cuaca, peringatan dini, gempa terkini) dalam format JSON konsisten lewat satu REST API dan satu API key. Tanpa parsing XML atau scraping.
Butuh API berita Indonesia untuk dashboard atau content app? Ini peta opsi RSS/API media nasional plus data API Indonesia yang bisa jadi konten berita otomatis seperti gempa terkini.
Data comes from BMKG and is synced automatically every hour by a cron job.
/gempa/terkini returns the 15 latest earthquakes. /gempa/dirasakan returns the 15 latest quakes reported as felt, with MMI intensity per area in the felt_areas field.
Yes. GET /api/v1/gempa/history?start=YYYY-MM-DD&end=YYYY-MM-DD returns up to 100 events, newest first.