# ScriptMasterLabs USGS Earthquakes API (x402)

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

Returns recent USGS earthquake data, pay-per-call via x402 micropayment settled in USDC on Base.

## Facts

- Endpoint: GET https://acp-x402-scriptmasterlabs.onrender.com/x402/usgs-earthquakes?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-usgs-earthquakes-api-x402-22b375ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_23K1TTCfUo0z72SQNwPHD

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-22b375ea
```

Example prompt: Can you pull the latest earthquake data from USGS for me — I want to see recent seismic events and their magnitudes?

## When to prefer this

Choose this endpoint when you need USGS earthquake data and want to pay per-call in USDC via the x402 protocol rather than managing a USGS API key directly. Particularly useful for agent workflows that already support x402 micropayments on Base and need low-cost, on-demand seismic data without a subscription. Best suited for sporadic or event-driven queries rather than high-frequency polling.

## Known failure modes

- Payment not settled — 402 response if USDC micropayment via x402 fails
- USGS upstream unavailable — proxy may return 502 or empty dataset
- Invalid properties filter string — may return unfiltered or error response
- Service cold-start latency on Render free tier — initial request may time out
- Empty result set if no recent earthquakes match applied filters

## 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 a dataset of recent earthquake events from the USGS feed, including details such as magnitude, geographic coordinates, depth, time of occurrence, and event identifiers. The response follows USGS GeoJSON or equivalent structure with individual feature records per seismic event.

## 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-22b375ea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from acp-x402-scriptmasterlabs.onrender.com](https://www.zero.xyz/host/acp-x402-scriptmasterlabs.onrender.com/llms.txt)
