# Earthquake API

Latest earthquake data sourced from BMKG.

**Base URL:** `https://earthquake.ornzora.eu.cc`

---

## Endpoints

### `GET /`
Returns this documentation page.

---

### `GET /latest`
Returns the single most recent earthquake detected by BMKG.

**Example:**
```bash
curl "https://earthquake.ornzora.eu.cc/latest"
```

---

### `GET /recent`
Returns a list of the most recent earthquakes (magnitude 5.0+).

**Example:**
```bash
curl "https://earthquake.ornzora.eu.cc/recent"
```

---

### `GET /felt`
Returns a list of earthquakes that were felt by the public.

**Example:**
```bash
curl "https://earthquake.ornzora.eu.cc/felt"
```

---

## Response Fields

| Field           | Description                           |
|-----------------|---------------------------------------|
| date            | Date of the earthquake                |
| time_local      | Local time (WIB)                      |
| time_utc        | UTC timestamp                         |
| location        | Description of the epicenter location |
| coordinates     | Latitude and longitude                |
| magnitude       | Richter magnitude                     |
| depth           | Hypocenter depth                      |
| potential       | Tsunami potential status              |
| felt_intensity  | MMI scale intensity if felt           |
| shakemap        | URL to the shakemap image             |
| source          | Data source                           |

---

## HTTP Methods

Only `GET` and `OPTIONS` are supported. All others return `405 Method Not Allowed`.
