{"uid":"cap_OwCFcvAUF6CtTH0Xpw8u4","slug":"fittings-nearby-earthquakes-6002ae76","name":"fittings Nearby Earthquakes","description":"Earthquakes from the USGS catalog within a radius and time window of a point, with magnitude, depth, distance and time.","url":"https://fittings.sh/v1/quake/nearby","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number"},"lon":{"type":"number"},"days":{"type":"number","description":"Days back from now, up to 90. Default 7."},"limit":{"type":"number","description":"Events returned, up to 100. Default 20."},"radiusKm":{"type":"number","description":"Search radius, up to 1000. Default 100."},"minMagnitude":{"type":"number","description":"Optional lower bound, -1 to 10"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00399","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.00399/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00399","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00399","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oSXrVvrJ-cVWGwsmkhikz","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00399","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns USGS earthquake catalog events within a configurable radius and time window around a geographic point, with magnitude, depth, distance, and time details.","exampleAgentPrompt":"Show me all earthquakes magnitude 2.5 or stronger within 150 km of Los Angeles (34.0522, -118.2437) over the last 14 days, up to 50 results.","exampleUseCases":[{"title":"Post-earthquake aftershock check","prompt":"There was a big earthquake in Turkey yesterday — can you pull all seismic events within 300 km of 38.4237, 27.1428 over the last 3 days, minimum magnitude 2.0, up to 100 results?"},{"title":"Real estate seismic risk screening","prompt":"I'm looking at a property near Portland, Oregon (45.5051, -122.6750). Can you show me any earthquakes within 100 km over the past 90 days so I can get a sense of local seismic activity?"},{"title":"Travel safety earthquake briefing","prompt":"Before I fly to Japan next week, can you check for recent earthquake activity within 200 km of Tokyo (35.6762, 139.6503) over the last 30 days, magnitude 3 or higher?"}],"resultDescription":"A list of earthquake events from the USGS catalog, each including magnitude, depth (km), distance from the queried point (km), and event timestamp. Results are filtered by the specified radius, time window, and optional magnitude threshold, capped at the requested limit.","failureModes":["Missing required lat or lon parameters returns an error","Radius exceeding 1000 km or days exceeding 90 may be rejected or clamped","No earthquakes in the area/time window returns an empty list","Invalid coordinate values (out of range) may cause a bad request error","Network timeouts if the USGS upstream is slow"],"whenToPreferThis":"Use this endpoint when you need structured, parameterized access to USGS earthquake data for a specific geographic point and time window — especially when you need distance and depth included alongside magnitude. Prefer it over raw USGS API calls when you want a clean, pay-per-call interface without API key management. Best when combining with other fittings.sh geospatial endpoints like flood zones or elevation for multi-hazard assessments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:06:20.975Z","isFirstParty":false}