79trust / 100
Hazard
by HazardPulse in Security & trust
x402 APIPassing, checked 2 h ago
Global (or per-country) natural-hazard / disaster alert signal (optional ?country=)
GET https://hazard.lonestaroracle.xyz/hazard
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 374 ms typical, 467 ms slowest 5%
- Last check
- 2 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://hazard.lonestaroracle.xyz/hazard?country=Japan"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fhazard.lonestaroracle.xyz%2Fhazard
const res = await pay("https://hazard.lonestaroracle.xyz/hazard?country=Japan");
console.log(await res.json());Example input
{
"country": "Japan"
}Example output
{
"active_alerts": {
"green": 98,
"orange": 1,
"red": 1
},
"alert_score": 6,
"by_type": {
"Earthquake": 55,
"Flood": 8,
"Tropical Cyclone": 3,
"Wildfire": 74
},
"events": [
{
"alert": "Red",
"country": "China",
"date": "2026-08-05",
"name": "Flood in China",
"source": "GDACS",
"type": "Flood"
},
{
"alert": "Orange",
"country": "Japan, China",
"date": "2026-08-06",
"name": "DOLPHIN-26",
"source": "GDACS",
"type": "Tropical Cyclone"
}
],
"hazard_level": "ELEVATED",
"max_score": 10,
"scope": "global",
"source": "GDACS + USGS Earthquake Hazards"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 2 h ago | Passed | 402 | 395 ms | $0.05 |
| 6 h ago | Passed | 402 | 355 ms | $0.05 |
| 10 h ago | Passed | 402 | 367 ms | $0.05 |
| 14 h ago | Passed | 402 | 467 ms | $0.05 |
| 17 h ago | Passed | 402 | 374 ms | $0.05 |
| 21 h ago | Passed | 402 | 337 ms | $0.05 |
| 24 h ago | Passed | 402 | 406 ms | $0.05 |
| 27 h ago | Passed | 402 | 372 ms | $0.05 |
| 33 h ago | Passed | 402 | 518 ms | $0.05 |