Query USGS earthquakes nearby
geo-environment_earthquake-queryFind earthquakes within a radius and time window from the vendored USGS all_month feed. Price $0.03 USDC. POST /api/v1/geo-environment/earthquake-query. An unpaid call returns the x402 payment terms and does not run.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>",
"radiusKm": "<radiusKm>"
},
"name": "geo-environment_earthquake-query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | to, string, length 10 to 40. Optional. | |
| from | No | from, string, length 10 to 40. Optional. | |
| sort | No | sort, string, one of time, magnitude. Required. | time |
| limit | No | limit, integer, from 1 to 500. Required. | |
| latitude | Yes | latitude, number, from -90 to 90. Required. | |
| radiusKm | Yes | radiusKm, number, from 1 to 20000. Required. | |
| eventType | No | eventType, string, length 1 to 40. Required. | earthquake |
| longitude | Yes | longitude, number, from -180 to 180. Required. | |
| minMagnitude | No | minMagnitude, number. Optional. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | count. Number. | |
| events | No | events. Array. | |
| window | No | window. Object. | |
| sources | No | sources. Array. | |
| snapshotAt | No | snapshotAt. String. | |
| limitations | No | limitations. Array. |