60trust / 100

Quakes Near

by Global Hazards in Weather & location

x402 APIPassing, checked 2 h ago

Earthquakes within a radius of any coordinate worldwide: nearest, largest, counts by size and depth class, with distances.

GET
https://global-hazards.x402tookit.com/quakes-near
Price
$0.02
per call in USDC
Uptime
60.0%
last 30 days
Response time
533 ms
4.0 s slowest 5%
Last check
Passed
2 h ago, next in 4 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

GET https://global-hazards.x402tookit.com/quakes-near

Each call costs $0.02 in USDC on Polygon, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

GET https://global-hazards.x402tookit.com/quakes-near?days=365&lat=35.68&lon=139.69&minMagnitude=5&radiusKm=300

Parameters

ParameterTypeRequiredDescription
daysintegerNoLook back 1 to 3650 days (default 365); the window starts on that UTC date
latnumberYesLatitude
lonnumberYesLongitude
minMagnitudenumberNoMinimum magnitude, 1 to 10 (default 4.5)
radiusKmintegerNoRadius 10 to 2000 km (default 300)

Example response

The provider's example. We can't check it without paying.

Example response, 122 lines
{
  "analysedEvents": 8,
  "asOf": "2026-10-11T08:35:42.552Z",
  "countsByDepth": {
    "deep": 0,
    "intermediate": 1,
    "shallow": 7
  },
  "countsBySize": {
    "below5": 0,
    "m5to6": 8,
    "m6to7": 0,
    "m7plus": 0
  },
  "degraded": false,
  "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
  "largest": {
    "depthClass": "shallow",
    "depthKm": 61,
    "direction": "ENE",
    "distanceKm": 49,
    "feltReports": 156,
    "id": "us6000tmta",
    "latitude": 35.9175,
    "longitude": 140.1526,
    "magnitude": 5.8,
    "magnitudeType": "mww",
    "maxInstrumentalIntensity": 5.98,
    "maxReportedIntensity": 5.7,
    "pagerAlert": "green",
    "place": "3 km E of Fujishiro, Japan",
    "reviewStatus": "reviewed",
    "significance": 606,
    "time": "2026-08-22T17:00:39.373Z",
    "tsunamiFlag": false,
    "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tmta"
  },
  "lat": 35.68,
  "lon": 139.69,
  "minMagnitude": 5,
  "nearest": {
    "depthClass": "shallow",
    "depthKm": 61,
    "direction": "ENE",
    "distanceKm": 49,
    "feltReports": 156,
    "id": "us6000tmta",
    "latitude": 35.9175,
    "longitude": 140.1526,
    "magnitude": 5.8,
    "magnitudeType": "mww",
    "maxInstrumentalIntensity": 5.98,
    "maxReportedIntensity": 5.7,
    "pagerAlert": "green",
    "place": "3 km E of Fujishiro, Japan",
    "reviewStatus": "reviewed",
    "significance": 606,
    "time": "2026-08-22T17:00:39.373Z",
    "tsunamiFlag": false,
    "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tmta"
  },
  "notChecked": [
    "events below the catalog completeness threshold (about magnitude 4.5 outside well-instrumented regions)",
    "earthquake hazard or building safety: a count of past events is not a hazard model",
    "…2 more"
  ],
  "quakes": [
    {
      "depthClass": "shallow",
      "depthKm": 61,
      "direction": "ENE",
      "distanceKm": 49,
      "feltReports": 156,
      "id": "us6000tmta",
      "latitude": 35.9175,
      "longitude": 140.1526,
      "magnitude": 5.8,
      "magnitudeType": "mww",
      "maxInstrumentalIntensity": 5.98,
      "maxReportedIntensity": 5.7,
      "pagerAlert": "green",
      "place": "3 km E of Fujishiro, Japan",
      "reviewStatus": "reviewed",
      "significance": 606,
      "time": "2026-08-22T17:00:39.373Z",
      "tsunamiFlag": false,
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000tmta"
    },
    {
      "depthClass": "shallow",
      "depthKm": 43,
      "direction": "E",
      "distanceKm": 80,
      "feltReports": 66,
      "id": "us6000t8cy",
      "latitude": 35.6907,
      "longitude": 140.5771,
      "magnitude": 5.8,
      "magnitudeType": "mww",
      "maxInstrumentalIntensity": 4.764,
      "maxReportedIntensity": 4.3,
      "pagerAlert": "green",
      "place": "2 km ESE of Yōkaichiba, Japan",
      "reviewStatus": "reviewed",
      "significance": 546,
      "time": "2026-06-26T03:46:35.798Z",
      "tsunamiFlag": false,
      "url": "https://earthquake.usgs.gov/earthquakes/eventpage/us6000t8cy"
    }
  ],
  "radiusKm": 300,
  "reasons": [
    "Of the 8 largest events: 7 shallow, 1 intermediate, 0 deep.",
    "Match count is exact; counts by size and depth cover the 100 largest events."
  ],
  "source": "USGS earthquake catalog, NASA EONET and GDACS",
  "sourceUrl": "https://earthquake.usgs.gov",
  "summary": "8 earthquakes of magnitude 5+ within 300 km of 35.68, 139.69 since 2025-10-11. Largest M5.8 (49 km ENE); nearest M5.8 (49 km ENE).",
  "totalMatches": 8,
  "verdict": "QUAKES_FOUND",
  "windowStartDate": "2025-10-11"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.02.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://global-hazards.x402tookit.com/quakes-near?days=365&lat=35.68&lon=139.69&minMagnitude=5&radiusKm=300'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://global-hazards.x402tookit.com/quakes-near?days=365&lat=35.68&lon=139.69&minMagnitude=5&radiusKm=300' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.02 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.02" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.02 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fglobal-hazards.x402tookit.com%2Fquakes-near
const res = await pay("https://global-hazards.x402tookit.com/quakes-near?days=365&lat=35.68&lon=139.69&minMagnitude=5&radiusKm=300");
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.02 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.02"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.get("https://global-hazards.x402tookit.com/quakes-near?days=365&lat=35.68&lon=139.69&minMagnitude=5&radiusKm=300")
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed4024.0 s$0.02
16 h agoPassed402533 ms$0.02
44 h agoExpected HTTP 402, got 530530101 ms-
3 days agoExpected HTTP 402, got 530530140 ms-
4 days agoExpected HTTP 402, got 530530114 ms-
Show 10 older checks
5 days agoExpected HTTP 402, got 530530133 ms-
5 days agoExpected HTTP 402, got 530530201 ms-
5 days agoExpected HTTP 402, got 530530157 ms-
5 days agoPassed402515 ms$0.02
5 days agoPassed402550 ms$0.02
6 days agoPassed402513 ms$0.02
6 days agoPassed402576 ms$0.02
6 days agoPassed402487 ms$0.02
6 days agoPassed402503 ms$0.02
7 days agoPassed402602 ms$0.02