Hazards near batch
hazards_near_batchUse when you need to screen several sites for natural hazards at once: up to 10 'lat,lon' points in one POST, each answered exactly like /hazards/near. Returns the paid x402 request for your input (POST /hazards/near/batch, $0.05 per call; schema linked). POST that JSON body to the URL with an x402 or MPP client to get the data. Bad input is refused before any charge. For a single site use hazards_near.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sites": "<sites>"
},
"name": "hazards_near_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| km | No | optional, for every site: radius in km for earthquakes and EONET events (NWS alerts are for the point itself), 1..500 | |
| days | No | optional, for every site: look-back days, 1..30 | |
| sites | Yes | 1 to 10 sites; duplicates are removed |