# Indo News API — BMKG Earthquake Feed

> Indo News API — BMKG Earthquake Feed is a paid API for AI agents from indo-news-api.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-02).

Returns recent BMKG-sourced earthquake events in Indonesia with magnitude, depth, coordinates, region description, and tsunami potential.

## Facts

- Endpoint: GET https://indo-news-api.vercel.app/quake?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/indo-news-api-bmkg-earthquake-feed-d79941a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z4ryDHjxQqhDEySlf9WDC

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability indo-news-api-bmkg-earthquake-feed-d79941a0
```

Example prompt: What are the 5 most recent earthquakes detected in Indonesia by BMKG, and do any of them have tsunami potential?

## When to prefer this

Choose this endpoint when you need structured, real-time earthquake data specifically from Indonesia's official BMKG agency, including tsunami risk assessments. It is ideal for safety monitoring, travel advisories, or news dashboards focused on Indonesia. Prefer it over generic earthquake APIs when you need BMKG-authoritative data with Indonesian regional descriptions and no API key friction.

## Known failure modes

- BMKG data source temporarily unavailable — may return empty or stale data
- limit parameter out of range (must be 1–15) — likely returns default of 5 or an error
- Payment not processed (x402 flow) — request rejected before data is returned
- Network timeout if BMKG upstream is slow — may result in a 5xx response

## How this service works

Indonesian headlines, keyword search and ranked briefings, plus reference data: USD/IDR and any FX pair, BTC/ETH/USDT in rupiah, BMKG earthquakes and public holidays. Structured JSON, paid per call in USDC on Base. No API key, no signup.

## Output

Returns a JSON object with a 'latest' field containing the most recent earthquake event (or up to the requested limit), each including latitude, longitude, region description in Indonesian, depth in km, UTC timestamp, Richter magnitude, and a tsunami potential statement in Indonesian. Also includes a 'source' field identifying BMKG.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Number of recent events to return, 1-15. Default 5."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "latest": {
   "lat": 4.79,
   "lon": 96.12,
   "region": "Pusat gempa berada di darat 21 km BaratDaya Banda Aceh",
   "depth_km": 10,
   "time_utc": "2026-11-01T05:34:56+00:00",
   "magnitude": 4.7,
   "tsunami_potential": "Gempa ini tidak berpotensi TSUNAMI"
  },
  "source": "BMKG"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/indo-news-api-bmkg-earthquake-feed-d79941a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from indo-news-api.vercel.app](https://www.zero.xyz/host/indo-news-api.vercel.app/llms.txt)
