---
title: "BMKG Quake Watcher API (Unofficial)"
url: "https://ridwaanhall.com/projects/bmkg-quake-watcher-api-unofficial"
markdown: "https://ridwaanhall.com/projects/bmkg-quake-watcher-api-unofficial.md"
summary: "An unofficial API for BMKG earthquake and tsunami data in JSON, XML and GeoJSON, built on Flask."
---

# BMKG Quake Watcher API (Unofficial)

> An unofficial API for BMKG earthquake and tsunami data in JSON, XML and GeoJSON, built on Flask.

- Category: API
- Status: Completed
- Started: August 14, 2023
- Built with: Flask, Python

## About

### The problem

Developers building on BMKG earthquake data each have to parse its feeds themselves, and different applications need different formats.

### The approach

I built a Flask API, first hosted on Replit, that serves BMKG earthquake and tsunami data from clean endpoints in JSON, XML and GeoJSON, with request limiting through Flask-Limiter.

- Three output formats for dashboards, research tools and mobile apps.
- Magnitude, location, PGA Max, MMI and tsunami alerts.
- A route list so developers can discover the endpoints.

### The result

The API removed the parsing step for anyone building on Indonesian seismic data. The source is private.

## Features

- **Flexible Data Formats**: Access quake and tsunami info in JSON, XML, or GeoJSON for easy integration.
- **Live Alerts**: Stay updated with real-time seismic and tsunami warnings from BMKG.
- **Comprehensive Insights**: Includes magnitude, location, PGA Max, MMI, and more for deeper analysis.

## Tags

BMKG, Earthquake, Tsunami, API, Flask, Real-time Data, Indonesia, GeoJSON, XML, JSON, Disaster Monitoring

## Elsewhere

- This page for people: https://ridwaanhall.com/projects/bmkg-quake-watcher-api-unofficial
- Index of every page as Markdown: [llms.txt](https://ridwaanhall.com/llms.txt)
