{"uid":"cap_pRsyrfj8mVxINvH-g3Ifm","slug":"toll402-earthquakes-nearby-55bd852a","name":"Toll402 Earthquakes Nearby","description":"The OpenRouter for AI-agent tools: one gateway, every capability, pay per call. Built-in tools, agent-forged tools, a global verified business directory, 2,788 provider API endpoints (SEO, social, enrichment, ads, market data, AI generation) and aggregated x402 services. Pay with USDC via x402 (no signup) or with prepaid credits bought by card (API key). Charged only on success.","url":"https://toll402.dev/v1/t/earthquakes_nearby?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["latitude","longitude"],"properties":{"latitude":{"type":"number","maximum":90,"minimum":-90},"longitude":{"type":"number","maximum":180,"minimum":-180},"radius_km":{"type":"number","default":100,"maximum":20000,"minimum":1},"min_magnitude":{"type":"number","default":0}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Yon3uS-xGSnuYwY9b0t9i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a list of recent earthquakes near a given geographic coordinate, filtered by radius and minimum magnitude","exampleAgentPrompt":"What earthquakes of magnitude 4 or higher have occurred within 150km of Los Angeles (latitude 34.05, longitude -118.25) recently?","exampleUseCases":[{"title":"Disaster monitoring for a specific region","prompt":"Are there any earthquakes of magnitude 3 or higher within 200km of Mexico City (latitude 19.43, longitude -99.13)? I want to know if there's been recent seismic activity."},{"title":"Real estate safety research","prompt":"Look up any earthquakes within 50km of latitude 37.77, longitude -122.42 — that's San Francisco — so I can understand the seismic risk for the area. Show me anything magnitude 2 or higher."},{"title":"Travel safety check before a trip","prompt":"Can you check if there's been significant seismic activity within 300km of Kathmandu, Nepal (latitude 27.72, longitude 85.32) in the past few days? I'm trying to assess safety before traveling there."}],"resultDescription":"Returns a JSON object with ok:true and a list of nearby earthquake events, each likely including magnitude, location coordinates, depth, and timestamp, filtered by the specified radius and minimum magnitude threshold.","failureModes":["Invalid latitude (outside -90 to 90) or longitude (outside -180 to 180) returns a validation error","radius_km below 1 or above 20000 returns a validation error","Payment failure via x402 if USDC balance is insufficient","No earthquakes found in range returns an empty list rather than an error","Network timeout if upstream seismic data source is slow"],"whenToPreferThis":"Use this endpoint when you need to programmatically query earthquake data near a specific GPS coordinate without signing up for a separate seismic API. It is ideal for AI agents that need pay-per-call seismic lookups via USDC (x402) or prepaid credits, without managing a separate USGS or seismic data subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:19:29.421Z","isFirstParty":false,"canonicalSlug":"toll402-earthquakes-nearby-55bd852a"}