{"uid":"cap_y7b3-fNiZhLGd3Uo3ZVrB","slug":"global-hazards-earthquakes-near-coordinate-25db12c0","name":"Global Hazards: Earthquakes Near Coordinate","description":"Earthquakes within a radius of any coordinate worldwide: nearest, largest, counts by size and depth class, with distances.","url":"https://global-hazards.x402tookit.com/quakes-near?utm_source=zero.xyz","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","description":"Latitude"},"lon":{"type":"number","description":"Longitude"},"days":{"type":"integer","description":"Look back 1 to 3650 days (default 365); the window starts on that UTC date"},"radiusKm":{"type":"integer","description":"Radius 10 to 2000 km (default 300)"},"minMagnitude":{"type":"number","description":"Minimum magnitude, 1 to 10 (default 4.5)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"lat":{"type":["null","number"]},"lon":{"type":["null","number"]},"asOf":{"type":["null","string"]},"quakes":{"type":["array","null"],"items":{"type":"object","properties":{"id":{"type":["null","string"]},"url":{"type":["null","string"]},"time":{"type":["null","string"]},"place":{"type":["null","string"]},"depthKm":{"type":["null","number"]},"latitude":{"type":["null","number"]},"direction":{"type":["null","string"]},"longitude":{"type":["null","number"]},"magnitude":{"type":["null","number"]},"depthClass":{"type":["null","string"]},"distanceKm":{"type":["null","number"]},"pagerAlert":{"type":["null","string"]},"feltReports":{"type":["null","number"]},"tsunamiFlag":{"type":["boolean","null"]},"reviewStatus":{"type":["null","string"]},"significance":{"type":["null","number"]},"magnitudeType":{"type":["null","string"]},"maxReportedIntensity":{"type":["null","number"]},"maxInstrumentalIntensity":{"type":["null","number"]}}}},"source":{"type":["null","string"]},"largest":{"type":["null","object"],"properties":{"id":{"type":["null","string"]},"url":{"type":["null","string"]},"time":{"type":["null","string"]},"place":{"type":["null","string"]},"depthKm":{"type":["null","number"]},"latitude":{"type":["null","number"]},"direction":{"type":["null","string"]},"longitude":{"type":["null","number"]},"magnitude":{"type":["null","number"]},"depthClass":{"type":["null","string"]},"distanceKm":{"type":["null","number"]},"pagerAlert":{"type":["null","string"]},"feltReports":{"type":["null","number"]},"tsunamiFlag":{"type":["boolean","null"]},"reviewStatus":{"type":["null","string"]},"significance":{"type":["null","number"]},"magnitudeType":{"type":["null","string"]},"maxReportedIntensity":{"type":["null","number"]},"maxInstrumentalIntensity":{"type":["null","number"]}}},"nearest":{"type":["null","object"],"properties":{"id":{"type":["null","string"]},"url":{"type":["null","string"]},"time":{"type":["null","string"]},"place":{"type":["null","string"]},"depthKm":{"type":["null","number"]},"latitude":{"type":["null","number"]},"direction":{"type":["null","string"]},"longitude":{"type":["null","number"]},"magnitude":{"type":["null","number"]},"depthClass":{"type":["null","string"]},"distanceKm":{"type":["null","number"]},"pagerAlert":{"type":["null","string"]},"feltReports":{"type":["null","number"]},"tsunamiFlag":{"type":["boolean","null"]},"reviewStatus":{"type":["null","string"]},"significance":{"type":["null","number"]},"magnitudeType":{"type":["null","string"]},"maxReportedIntensity":{"type":["null","number"]},"maxInstrumentalIntensity":{"type":["null","number"]}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"radiusKm":{"type":["null","number"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"countsBySize":{"type":["null","object"],"properties":{"m5to6":{"type":["null","number"]},"m6to7":{"type":["null","number"]},"below5":{"type":["null","number"]},"m7plus":{"type":["null","number"]}}},"minMagnitude":{"type":["null","number"]},"totalMatches":{"type":["null","number"]},"countsByDepth":{"type":["null","object"],"properties":{"deep":{"type":["null","number"]},"shallow":{"type":["null","number"]},"intermediate":{"type":["null","number"]}}},"analysedEvents":{"type":["null","number"]},"windowStartDate":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xe9Eb4by6DaZoBaCddB-Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns earthquakes within a configurable radius of any lat/lon worldwide, including nearest, largest, counts by size and depth class, with distances.","exampleAgentPrompt":"Can you pull all earthquakes magnitude 5 or higher within 400 km of Tokyo (35.6762° N, 139.6503° E) over the last 90 days and tell me which was the largest and which was closest?","exampleUseCases":[{"title":"Seismic risk check before relocation","prompt":"I'm considering moving to Izmir, Turkey — coordinates 38.4189° N, 26.6267° E. Can you show me all earthquakes magnitude 4.5 or bigger within 300 km over the past 5 years so I can understand the seismic risk?"},{"title":"Real-time disaster situational awareness","prompt":"There was a big earthquake in the news near Kathmandu — lat 27.7172, lon 85.3240. Pull all quakes magnitude 5+ within 200 km in the last 30 days so I can see the full seismic picture including aftershocks."},{"title":"Infrastructure safety audit for a site","prompt":"We're building a data center near San Jose, California — lat 37.3382, lon -121.8863. Can you retrieve all earthquakes within 150 km over the last 10 years, minimum magnitude 3.5, so we can assess historical seismic exposure?"}],"resultDescription":"Returns a structured JSON object containing: a full list of earthquakes matching the query (each with id, time, place, magnitude, magnitude type, depth in km, depth class, distance in km, direction from input point, PAGER alert level, tsunami flag, felt reports, significance score, max reported and instrumental intensities, and USGS URL), plus summary fields for the nearest earthquake, the largest earthquake, counts grouped by magnitude and depth class, the data source, and the timestamp the data was fetched.","failureModes":["Missing required lat or lon parameters returns a 400 error","radiusKm outside 10–2000 km range returns a validation error","days outside 1–3650 range returns a validation error","minMagnitude outside 1–10 returns a validation error","No earthquakes found in the specified window returns an empty quakes array","USGS upstream data source unavailable may result in a 503 or empty response","Payment failure (x402) results in a 402 response requiring USDC payment"],"whenToPreferThis":"Choose this endpoint when you need a geographically centered earthquake query — i.e., 'what happened near this specific point' — with rich per-event detail including distances, directions, depth classes, PAGER alerts, and tsunami flags. Prefer this over the global feed endpoint when the user's question is location-anchored rather than time- or magnitude-anchored globally. Ideal for risk assessments, disaster situational awareness, infrastructure due diligence, or travel safety checks tied to a specific coordinate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:11:19.464Z","isFirstParty":false,"canonicalSlug":"global-hazards-earthquakes-near-coordinate-25db12c0"}