# USGS Earthquake Hazard & Historical Activity Lookup

> USGS Earthquake Hazard & Historical Activity Lookup is a paid API for AI agents from x402-service-production-e242.up.railway.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-10-28).

Returns USGS probabilistic seismic hazard values and historical earthquake activity for a given US street address or lat/lon coordinates.

## Facts

- Endpoint: GET https://x402-service-production-e242.up.railway.app/earthquake-risk?utm_source=zero.xyz
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usgs-earthquake-hazard-historical-activity-lookup-538b4423
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UHBfxAzSl_yzBlIYi8wab

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 usgs-earthquake-hazard-historical-activity-lookup-538b4423
```

Example prompt: Can you pull the USGS earthquake hazard data and historical seismic activity for 415 Mission Street, San Francisco, CA? I want to know the probabilistic hazard values and any notable past earthquakes near that location.

## When to prefer this

Choose this endpoint when you need authoritative USGS probabilistic seismic hazard values alongside historical earthquake event data for a specific US address or coordinate pair — especially for real estate due diligence, insurance underwriting, or emergency planning. It combines two USGS data sources (Seismic Design Maps and FDSN Event Web Service) in a single call. Prefer it over generic hazard aggregators when you specifically need earthquake-focused USGS data; for a combined multi-hazard score (flood, wildfire, wind, etc.) consider the sibling insurance location risk score endpoint instead.

## Known failure modes

- Address cannot be geocoded — returns null or error for resolvedAddress
- Coordinates fall outside US coverage area — USGS data may be unavailable
- No historical earthquake events found for sparse or low-activity regions — historicalActivity returns empty array
- Invalid input schema — missing or malformed lat/lon or address parameter
- Payment failure — x402 micropayment not completed, endpoint returns 402 status
- USGS upstream API unavailable — service may return error or partial data

## How this service works

USGS earthquake hazard and historical activity lookup by street address or lat/lon coordinates.

## Output

Returns a JSON object containing: the query input (lat, lon, address), USGS probabilistic seismic hazard values, a list of historical earthquake events near the location, the resolved address, the data source (USGS Earthquake Hazards Program), and advisory notes (e.g. that values are modeled/probabilistic and soil/liquefaction risk is not covered).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "notes": [
   "Hazard values are modeled/probabilistic, not a guarantee of future activity.",
   "Site-specific soil/liquefaction risk is not covered by this data."
  ],
  "query": {
   "lat": 37.7749,
   "lon": -122.4194,
   "address": null
  },
  "hazard": {},
  "source": "USGS Earthquake Hazards Program (Seismic Design Maps + FDSN Event Web Service)",
  "resolvedAddress": null,
  "historicalActivity": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usgs-earthquake-hazard-historical-activity-lookup-538b4423/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-service-production-e242.up.railway.app](https://www.zero.xyz/host/x402-service-production-e242.up.railway.app/llms.txt)
