# ScriptMasterLabs USGS Earthquakes API (x402)

> ScriptMasterLabs USGS Earthquakes API (x402) is a paid API for AI agents from acp-x402-discovery.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns USGS earthquake data (recent seismic events, magnitudes, locations) via a pay-per-call x402 endpoint settled in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-discovery.onrender.com/x402/usgs-earthquakes
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-usgs-earthquakes-api-x402-d96fa3e3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dDoVeQefD6UVQcL505wJ6

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 scriptmasterlabs-usgs-earthquakes-api-x402-d96fa3e3
```

Example prompt: Pull the latest USGS earthquake data for significant seismic events — I want to see recent earthquakes with their magnitudes, locations, and times.

## When to prefer this

Choose this endpoint when you need USGS earthquake data with micropayment-based access via the x402 protocol, settled in USDC on Base, especially within an autonomous agent workflow that handles crypto payments natively. Prefer this over direct USGS API calls when operating in a pay-per-use agent architecture.

## Known failure modes

- Payment not settled in USDC on Base — 402 response requiring x402 payment header
- USGS upstream feed unavailable — proxy may return 502 or empty result
- Invalid or malformed properties filter parameter — likely returns 400 or empty dataset
- Rate limiting or render.com cold-start latency causing timeout

## How this service works

Pay-per-call crypto, RWA, federal, SEC, and compliance APIs. Settled in USDC on Base via x402. Hyphen routes only (e.g. /x402/rwa-aggregates, /x402/gas-tracker).

## Output

Returns USGS earthquake event data including seismic event records with fields such as magnitude, location coordinates, depth, event time, and place name, sourced from the USGS Earthquake Hazards Program feed.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-usgs-earthquakes-api-x402-d96fa3e3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-discovery.onrender.com](https://www.zero.xyz/host/acp-x402-discovery.onrender.com/llms.txt)
