33trust / 100

Hazard Exposure Screen

by Global Hazards in Security & trust

x402 APIFailing, checked 22 h ago

Hazard screen of a coordinate: quake history plus active wildfire, storm, volcano and flood events within a radius.

GET
https://global-hazards.x402tookit.com/hazard-exposure-screen
Price
$0.05
per call in USDC
Uptime
53.9%
last 30 days
Response time
530 ms
877 ms slowest 5%
Last check
Failed
22 h ago, next in 4 h

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 22 h ago: Expected HTTP 402, got 530

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

How to call it

GET https://global-hazards.x402tookit.com/hazard-exposure-screen

Each call costs $0.05 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/hazard-exposure-screen?lat=14&lon=121&radiusKm=300&years=10

Parameters

ParameterTypeRequiredDescription
latnumberYesLatitude
lonnumberYesLongitude
radiusKmintegerNoRadius 50 to 1000 km (default 300)
yearsintegerNoQuake history length, 1 to 30 years (default 10)

Example response

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

Example response, 60 lines
{
  "activeEventCount": 1,
  "activeEvents": [
    {
      "alertLevel": "Orange",
      "category": "volcano",
      "direction": "NNW",
      "distanceKm": 1,
      "source": "GDACS",
      "title": "Eruption Taal",
      "url": "https://www.gdacs.org/report.aspx?eventid=1000151&episodeid=1&eventtype=VO"
    }
  ],
  "asOf": "2026-10-11T08:35:41.381Z",
  "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.",
  "gdacsOrangeRedCount": 1,
  "historyYears": 10,
  "lat": 14,
  "lon": 121,
  "notChecked": [
    "flood-plain, tsunami inundation, landslide, liquefaction and storm-surge maps (this is not a site hazard model)",
    "earthquakes under magnitude 5 and events older than the history window",
    "…3 more"
  ],
  "radiusKm": 300,
  "reasons": [
    "Tiers: HIGH_ATTENTION = a GDACS Orange/Red event in range or an M6+ quake in the last 30 days; ELEVATED = any active event, 10+ M5+ quakes, or an M6.5+ quake in the history; BACKGROUND = some M5+ hist…",
    "All four lookups answered.",
    "…1 more"
  ],
  "seismic": {
    "largest": {
      "depthClass": "intermediate",
      "direction": "SW",
      "distanceKm": 44,
      "magnitude": 6.7,
      "place": "15 km S of Hukay, Philippines",
      "time": "2021-07-23T20:48:57.357Z"
    },
    "m5PlusCount": 86,
    "m6PlusLast30Days": 0,
    "m7PlusInHistory": 0,
    "nearestOfLargest100": {
      "distanceKm": 26,
      "magnitude": 5.2,
      "place": "2 km SSW of Bolo, Philippines",
      "time": "2017-04-04T16:49:02.250Z"
    }
  },
  "source": "USGS, NASA EONET and GDACS",
  "sourceUrl": "https://earthquake.usgs.gov",
  "sourcesAnswered": [
    "quakes",
    "quakeCount",
    "…2 more"
  ],
  "summary": "high attention for 14, 121 within 300 km: 86 earthquake(s) of magnitude 5+ in 10 years (largest M6.7); 1 hazard event(s) active in the last 30 days.",
  "verdict": "HIGH_ATTENTION"
}

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.05.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://global-hazards.x402tookit.com/hazard-exposure-screen?lat=14&lon=121&radiusKm=300&years=10'

# 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/hazard-exposure-screen?lat=14&lon=121&radiusKm=300&years=10' \
  | 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.05 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.05" });
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.05 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fglobal-hazards.x402tookit.com%2Fhazard-exposure-screen
const res = await pay("https://global-hazards.x402tookit.com/hazard-exposure-screen?lat=14&lon=121&radiusKm=300&years=10");
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.05 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.05"})
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/hazard-exposure-screen?lat=14&lon=121&radiusKm=300&years=10")
    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
22 h agoExpected HTTP 402, got 530530156 ms-
2 days agoExpected HTTP 402, got 530530120 ms-
3 days agoExpected HTTP 402, got 530530141 ms-
4 days agoExpected HTTP 402, got 530530109 ms-
5 days agoExpected HTTP 402, got 530530222 ms-
Show 8 older checks
5 days agoExpected HTTP 402, got 530530163 ms-
5 days agoPassed402229 ms$0.05
5 days agoPassed402505 ms$0.05
6 days agoPassed402877 ms$0.05
6 days agoPassed402531 ms$0.05
6 days agoPassed402494 ms$0.05
6 days agoPassed402530 ms$0.05
7 days agoPassed402588 ms$0.05