{"uid":"cap_sUGoU4oaIiSSNA8YD7SIL","slug":"datakoot-earthquake-lookup-5dd2a672","name":"Datakoot Earthquake Lookup","description":"48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.","url":"https://x402.datakoot.com/api/earthquakes?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"number","description":"Optional center latitude for a radius search."},"lon":{"type":"number","description":"Optional center longitude for a radius search."},"days":{"type":"integer","default":7,"description":"Look back this many days (default 7, max 30)."},"limit":{"type":"integer","default":20,"description":"Maximum number of quakes to return."},"radius_km":{"type":"number","description":"Radius in km around lat/lon (requires lat+lon)."},"min_magnitude":{"type":"number","default":4.5,"description":"Only return quakes at or above this magnitude."}}},"responseSchema":{"type":"json","example":{"count":5,"source":"USGS (public domain)","criteria":{"days":3,"min_magnitude":4.5},"earthquakes":[{"lat":29.221,"lon":130.6125,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/us6000tzb5","time":"2026-10-03T06:05:21.157Z","place":"112 km S of Koshima, Japan","depth_km":37.466,"magnitude":4.8},{"lat":52.0836,"lon":160.4217,"url":"https://earthquake.usgs.gov/earthquakes/eventpage/us6000tzal","time":"2026-10-03T02:59:06.296Z","place":"163 km SE of Petropavlovsk-Kamchatsky, Russia","depth_km":10,"magnitude":5}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OwNEZx6HPHDy-XP7wyJ1t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves recent earthquakes from USGS filtered by magnitude, time window, and optional geographic radius","exampleAgentPrompt":"Show me all earthquakes with magnitude 5.0 or higher that happened within 300 km of Tokyo in the last 10 days.","exampleUseCases":[{"title":"Seismic alert near a city","prompt":"Find any earthquakes magnitude 4.5 or above within 500 km of Istanbul over the past 7 days — I want to know if there's been significant seismic activity nearby."},{"title":"Global major quake digest","prompt":"Give me a list of the 20 biggest earthquakes worldwide in the last 30 days, only showing ones magnitude 6.0 or higher."},{"title":"Post-event damage assessment context","prompt":"There was a reported quake near San Francisco — can you pull all USGS earthquakes within 100 km of latitude 37.77 longitude -122.42 in the past 3 days with magnitude 3.0 or higher?"}],"resultDescription":"Returns a JSON object with count, source attribution (USGS public domain), the query criteria used, and an array of earthquake events each containing magnitude, depth in km, latitude/longitude, human-readable place name, UTC timestamp, and a direct USGS event page URL.","failureModes":["No earthquakes match the criteria — returns count 0 with empty array","lat/lon provided without radius_km or vice versa — may return global results or error","days exceeds 30 maximum — request rejected or capped","Payment of $0.002 USDC not fulfilled via x402 — 402 response returned before data","USGS upstream data unavailable — service may return 503 or empty result"],"whenToPreferThis":"Use this endpoint when you need structured, filterable earthquake data from USGS with geospatial radius search and magnitude thresholds — especially when paying per-call via x402 on Base for programmatic access, or when you need recent seismic events in a specific region rather than manually scraping USGS feeds. Prefer this over raw USGS API when you want a clean JSON response without parsing Atom/GeoJSON feeds yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:38:36.406Z","isFirstParty":false,"canonicalSlug":"datakoot-earthquake-lookup-5dd2a672"}