# SiteCheck Earthquake Feed

> SiteCheck Earthquake Feed is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-02).

Retrieves recent earthquakes from USGS filtered by location, magnitude, and time window

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/earthquakes?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-earthquake-feed-c064e2ca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FVzNzeltJ3Gygc8QNl_pc

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 sitecheck-earthquake-feed-c064e2ca
```

Example prompt: Can you check for earthquakes magnitude 5.0 or higher within 200 km of Santiago, Chile over the past 10 days and list up to 20 events?

## When to prefer this

Use this endpoint when you need recent earthquake data filtered by geographic area and magnitude, proxied through SiteCheck's pay-per-call API rather than calling USGS directly — ideal for agents that already use SiteCheck for other capabilities and want a single billing/auth flow. Prefer this over raw USGS FDSN queries when you need a simple JSON response without dealing with GeoJSON parsing.

## Known failure modes

- No events returned if no earthquakes match the filters in the given window
- Invalid lat/lon values may cause empty results or errors
- radiusKm too small may return zero events in low-seismicity areas
- days exceeding 30 or limit exceeding 50 rejected as out of range
- USGS upstream outage may cause request failure or stale data

## How this service works

Recent earthquakes from USGS, newest first: magnitude, place, time, depth, coordinates, tsunami flag and alert level. Filter by minimum magnitude, days back (max 30) and a radius around a point. Public domain data.

## Output

A JSON object containing: the number of days queried, the count of matching events, and an array of earthquake events each with latitude, longitude, place description, depth in km, magnitude, tsunami flag, USGS alert level, USGS event page URL, and UTC timestamp. Also includes the data source attribution (USGS public domain) and the timestamp when the data was fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Point latitude, with lon and radiusKm"
      },
      "lon": {
       "type": "string",
       "description": "Point longitude"
      },
      "days": {
       "type": "string",
       "description": "1 to 30 (default 7)"
      },
      "limit": {
       "type": "string",
       "description": "1 to 50 (default 10)"
      },
      "radiusKm": {
       "type": "string",
       "description": "Radius in km around the point"
      },
      "minMagnitude": {
       "type": "string",
       "description": "0 to 10 (default 4.5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 7,
  "count": 3,
  "events": [
   {
    "lat": -29.219,
    "lon": -71.9168,
    "link": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000u26f",
    "time": "2026-10-14T00:36:45.416Z",
    "alert": null,
    "place": "98 km NW of Coquimbo, Chile",
    "depthKm": 10,
    "tsunami": false,
    "magnitude": 5
   },
   {
    "lat": -29.2155,
    "lon": -71.8024,
    "link": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000u26c",
    "time": "2026-10-14T00:30:47.706Z",
    "alert": null,
    "place": "93 km NNW of Coquimbo, Chile",
    "depthKm": 21.9,
    "tsunami": false,
    "magnitude": 5.1
   },
   {
    "lat": -5.4832,
    "lon": 152.1364,
    "link": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000u24c",
    "time": "2026-10-13T18:45:03.231Z",
    "alert": "green",
    "place": "126 km S of Kokopo, Papua New Guinea",
    "depthKm": 20.8,
    "tsunami": false,
    "magnitude": 6
   }
  ],
  "source": "https://earthquake.usgs.gov/fdsnws/event/1/query (USGS, public domain)",
  "checkedAt": "2026-10-14T07:00:44.874Z",
  "minMagnitude": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-earthquake-feed-c064e2ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
