# Global Earthquakes

Every significant earthquake worldwide — the USGS feed, beside BMKG's Indonesia-only one.

- Method: `GET`
- Path: `/v1/earthquakes/global`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `limit` | integer | optional | How many events, newest first. |
| `min_magnitude` | number | optional | Trim the feed; the world hums below 2.5. |
| `max_age` | integer (seconds) | optional | Ask for data no older than this. Clamped to the product's own floor, so it can narrow the window but never force a refresh on every call. |

**Example request**

```bash
curl https://api.diraz.ae/v1/earthquakes/global \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "quakes": [
      {
        "id": "us7000abcd",
        "magnitude": 5.4,
        "place": "34 km NE of Hafnarfjörður, Iceland",
        "time": "2026-08-21T13:02:11.000Z",
        "depth_km": 10.2,
        "latitude": 64.13,
        "longitude": -21.62,
        "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us7000abcd",
        "tsunami": false
      }
    ]
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ",
    "as_of": "2026-08-21T13:10:00.000Z",
    "age_seconds": 42,
    "next_update_at": "2026-08-21T13:15:00.000Z"
  }
}
```