Data tools / FX, rates, news, weather and knowledge
Use when you must screen several sites for natural hazards at once: up to 10 'lat,lon' points in one POST, each answered exactly like /hazards/near (NWS alerts in the US, USGS earthquakes, NASA EONET events with distances). Fixed price per call for 1 to 10 sites ($0.005 each at a full batch); bad input refused before any charge. $0.05 per call (USDC or USDT). Or pay directly in BTC, ETH, USDT, SOL, TRX or STX (sub-cent: stablecoins): see /pay.
curl -i -X POST https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/hazards/near/batch -H 'content-type: application/json' -d '{"sites":["37.77,-122.42","29.76,-95.37"],"km":100,"days":7}'| Parameter | Required | What it is |
|---|---|---|
sites | yes | 1 to 10 sites; duplicates are removed |
km | no | optional, for every site: radius in km, 1..500 |
days | no | optional, for every site: look-back days, 1..30 |
Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.
{
"results": [
{
"input": "37.77,-122.42",
"ok": true,
"result": {
"location": {
"lat": 37.77,
"lon": -122.42
},
"radius_km": 100,
"days": 7,
"as_of": "2026-10-25T09:20:00.000Z",
"counts": {
"nws": 0,
"usgs": 1,
"eonet": 1,
"total": 2
},
"sources": {
"nws": {
"status": "ok",
"source": "NOAA National Weather Service",
"count": 0,
"truncated": false,
"events": []
},
"usgs": {
"status": "ok",
"source": "USGS Earthquake Catalog",
"count": 1,
"count_is_lower_bound": false,
"truncated": false,
"max_magnitude": 2.1,
"events": [
{
"type": "earthquake",
"title": "M 2.1 - 6 km NE of Piedmont, CA",
"severity": null,
"magnitude": 2.1,
"magnitude_unit": "md",
"time": "2026-10-23T04:12:09.000Z",
"distance_km": 14.3,
"latitude": 37.85,
"longitude": -122.2,
"depth_km": 8.4,
"felt_reports": null,
"tsunami_flag": false,
"link": "https://earthquake.usgs.gov/earthquakes/eventpage/nc00000000"
}
]
},
"eonet": {
"status": "ok",
"source": "NASA EONET v3",
"count": 1,
"truncated": false,
"events": [
{
"type": "Wildfires",
"category": "wildfires",
"title": "Example Fire (CA)",
"severity": null,
"magnitude": 1200,
"magnitude_unit": "acres",
"time": "2026-10-24T18:00:00Z",
"distance_km": 61.8,
"geometry": "point",
"detail": null,
"sources": [
{
"id": "IRWIN",
"url": "https://irwin.doi.gov/observer/incidents/example"
}
],
"link": "https://eonet.gsfc.nasa.gov/api/v3/events/EONET_00000"
}
]
}
},
"sources_un…Free sample, no payment: /hazards/near/batch/sample. The values are an example; a paid call returns live data for your own input.
Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/fx-rates-news-weather-data, tool hazards_near_batch. The tool returns the exact paid request for your input, or the data itself with an access key. All tools on one server: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp.
Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools