# Earthquakes Near Location

> Earthquakes Near Location is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns recent earthquakes within a specified radius of any geographic point, filtered by minimum magnitude, including depth, epicenter distance, timestamp, and tsunami-risk flag per event.

## Facts

- Endpoint: POST https://x402.forgemesh.io/quakes-near-location
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/earthquakes-near-location-b22850ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vcewbzg_dIh-5IsYMyJHt

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 earthquakes-near-location-b22850ba -d '<json body>'
```

Example prompt: Show me all earthquakes magnitude 3.0 or higher within 150km of latitude 37.77, longitude -122.42 over the past week, and flag any that had tsunami risk.

## When to prefer this

Use this endpoint when you need seismic event data scoped to a specific geographic point rather than a global or regional feed — ideal for property risk checks, insurance underwriting, or supply-chain disruption monitoring at a known site location. Prefer this over global earthquake feeds when proximity, distance, and tsunami-risk flags per event are required.

## Known failure modes

- Invalid or out-of-range latitude/longitude returns an error or empty result
- Radius or magnitude values outside supported bounds may return errors
- No earthquakes found in the specified area/magnitude range returns an empty list
- Malformed string inputs for numeric fields may cause parsing errors
- Payment failure (402) if USDC payment is not correctly submitted

## How this service works

Recent earthquakes within a chosen radius of any point on Earth, filtered by minimum magnitude, with depth, epicenter distance, timestamp, and tsunami-risk flag for each event. For property-risk checks, supply-chain disruption monitoring, and insurance underwriting agents that need seismic activity near a specific site rather than the whole planet.

## Output

A list of recent earthquake events near the specified coordinates, each with magnitude, depth, distance from the epicenter to the search center, event timestamp, and a tsunami-risk flag — filtered to the requested radius and minimum magnitude threshold.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latitude": {
   "type": "string",
   "description": "Latitude of the search center, e.g. 37.77"
  },
  "longitude": {
   "type": "string",
   "description": "Longitude of the search center, e.g. -122.42"
  },
  "radius_km": {
   "type": "string",
   "description": "Search radius in kilometers, default 100"
  },
  "min_magnitude": {
   "type": "string",
   "description": "Minimum magnitude, default 2.5"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "type": "FeatureCollection",
   "features": [
    {
     "properties": {
      "mag": 2.56,
      "place": "1 km NNW of Angwin, CA",
      "tsunami": 0
     }
    }
   ]
  },
  "attribution": "U.S. Geological Survey (public domain)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/earthquakes-near-location-b22850ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.forgemesh.io](https://www.zero.xyz/host/x402.forgemesh.io/llms.txt)
