# Agent Data Tools: Recent Earthquakes

> Agent Data Tools: Recent Earthquakes is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Returns recent earthquake data from USGS including magnitude, location, depth, and tsunami status, filtered by minimum magnitude and time period

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/earthquakes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-recent-earthquakes-796ade1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2nDID9W078GrmGGSsOock

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 agent-data-tools-recent-earthquakes-796ade1f
```

Example prompt: Can you pull the most recent earthquakes from the last day with a magnitude of at least 4.5 and tell me if any triggered tsunami warnings?

## When to prefer this

Choose this endpoint when you need structured, near-real-time global earthquake data from USGS without setting up an API key, especially for agents that need pay-per-call access with no ongoing subscription. It is ideal for one-off queries, event monitoring, or integrating seismic data into a broader multi-tool agent workflow via x402.

## Known failure modes

- Invalid or out-of-range magnitude parameter returns an error
- Unsupported period value returns an error
- USGS upstream outage may cause empty results or timeout
- Payment failure results in no charge and no data returned

## How this service works

Recent earthquakes worldwide from the US Geological Survey: magnitude, place, time, depth, coordinates, tsunami flag and USGS link, for the past day or week, filtered by minimum magnitude (2.5, 4.5 or significant). Use for alerts, news and travel checks.

## Output

A JSON object containing the total count of matching earthquakes, the time period queried, the minimum magnitude filter applied, and an array of earthquake events each with latitude, longitude, place name, timestamp (ISO 8601), depth in kilometers, tsunami flag (boolean), magnitude, and a link to the USGS event page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "period": {
   "type": "string",
   "description": "hour, day (default), week or month"
  },
  "minMagnitude": {
   "type": "string",
   "description": "Smallest magnitude to include, 0-10 (default 2.5), or significant"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "count": {
   "type": "number"
  },
  "period": {
   "type": "string"
  },
  "earthquakes": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "lat": {
      "type": "number"
     },
     "lon": {
      "type": "number"
     },
     "url": {
      "type": "string"
     },
     "time": {
      "type": "string"
     },
     "place": {
      "type": "string"
     },
     "depthKm": {
      "type": "number"
     },
     "tsunami": {
      "type": "boolean"
     },
     "magnitude": {
      "type": "number"
     }
    }
   }
  },
  "minMagnitude": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-recent-earthquakes-796ade1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
