# USGS Earthquake Feed via tools.bip-rep.com

> USGS Earthquake Feed via tools.bip-rep.com is a paid API for AI agents from tools.bip-rep.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Fetches recent earthquake data from the USGS feed, filtered by magnitude and count limit, returning structured seismic event records.

## Facts

- Endpoint: GET https://tools.bip-rep.com/quake?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/usgs-earthquake-feed-via-tools-bip-rep-com-0f429639
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oAuqf2D_4x-R0V-9oF53p

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-feed-via-tools-bip-rep-com-0f429639
```

Example prompt: Show me the 20 most recent earthquakes with a magnitude of at least 4.5 — I want to see where they happened, how deep they were, and whether any triggered a tsunami warning.

## When to prefer this

Use this endpoint when you need structured, up-to-date USGS earthquake data with magnitude and result-count filtering in a single paid API call. Prefer over scraping USGS directly when you need a clean JSON response with lat/lon/depth already parsed out, or when operating in an x402 payment-enabled agent environment.

## Known failure modes

- Invalid limit value outside 1-100 range returns a validation error
- Invalid min_magnitude outside 0-10 returns a validation error
- USGS upstream outage may cause timeout or error response
- Payment not provided or insufficient USDC results in 402 response
- No earthquakes matching filters returns empty earthquakes array with count 0

## How this service works

Lightweight utility API for agents and operators: DNS lookups, RDAP/WHOIS domain data, HTTP probes, page metadata extraction, cryptographic hashing, JSON validation, scheduled webhooks, and exotic endpoints (Base transaction decode, ENS resolve, USGS earthquakes, cron next-run, TLS certificate report). No shell access; outbound URL tools enforce SSRF protections.

## Output

Returns a JSON object with a list of earthquake events including each event's ID, magnitude, geographic coordinates (lat/lon/depth in km), place description, UTC timestamps for occurrence and last update, tsunami flag (0/1), and a USGS detail URL. Also includes feed name, total count returned, the limit applied, minimum magnitude filter used, and server latency in milliseconds.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "limit": 20,
   "min_magnitude": 4.5
  }
 }
}
```

## 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",
     "properties": {
      "limit": {
       "type": "integer",
       "description": "Maximum number of results (1-100)"
      },
      "min_magnitude": {
       "type": "number",
       "description": "Minimum earthquake magnitude (0-10)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "feed": {
       "type": "string"
      },
      "count": {
       "type": "integer"
      },
      "limit": {
       "type": "integer"
      },
      "latency_ms": {
       "type": "integer"
      },
      "earthquakes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "id": {
          "type": "string"
         },
         "url": {
          "type": "string"
         },
         "time": {
          "type": "string"
         },
         "place": {
          "type": "string"
         },
         "tsunami": {
          "type": "integer"
         },
         "updated": {
          "type": "string"
         },
         "magnitude": {
          "type": "number"
         },
         "coordinates": {
          "type": "object",
          "properties": {
           "lat": {
            "type": "number"
           },
           "lon": {
            "type": "number"
           },
           "depth_km": {
            "type": "number"
           }
          }
         }
        }
       }
      },
      "min_magnitude": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/usgs-earthquake-feed-via-tools-bip-rep-com-0f429639/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools.bip-rep.com](https://www.zero.xyz/host/tools.bip-rep.com/llms.txt)
