earthquakes_nearby $0.003 per call
Finds earthquakes in the last 24 hours within a given radius of a latitude/longitude point using the USGS FDSN Event API (https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson). Returns count and a list of events with magnitude, place, time and coordinates.
For AI agents: call earthquakes_nearby
POST https://toll402.dev/v1/t/earthquakes_nearby
{
"latitude": 0,
"longitude": 0,
"radius_km": 1,
"min_magnitude": 0
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
},
"radius_km": {
"type": "number",
"default": 100,
"minimum": 1,
"maximum": 20000
},
"min_magnitude": {
"type": "number",
"default": 0
}
},
"required": [
"latitude",
"longitude"
],
"additionalProperties": false
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}