{"uid":"cap_g5G5AhYq544cDrI99Ezm2","slug":"usgs-recent-earthquakes-feed-35057e90","name":"USGS Recent Earthquakes Feed","description":"Earthquake / recent earthquakes API / USGS earthquake feed. Returns recent earthquakes from USGS for any time window (hour, day, week, month) above a magnitude threshold. Includes location, magnitude, depth, tsunami flag. Each quake includes magnitude + type, depth (km), place, ISO8601 time, lat/lon, tsunami flag, USGS event URL, and felt-report count when available. Wraps USGS GeoJSON summary feeds - public domain, no auth.","url":"https://x402.agentutility.ai/earthquakes-recent?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":{"required":[],"properties":{"bounds":{"type":"object","properties":{"east":{"type":"number"},"west":{"type":"number"},"north":{"type":"number"},"south":{"type":"number"}},"description":"Optional geographic bounding box { north, south, east, west } in decimal degrees. Antimeridian-crossing boxes (west > east) supported."},"time_range":{"enum":["hour","day","week","month"],"type":"string","description":"Time window for the feed. Default 'day'."},"min_magnitude":{"type":"number","description":"Lower bound on quake magnitude (Richter/moment). Default 2.5."}}},"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","properties":{"count":{"type":"integer"},"range":{"type":"string"},"source":{"type":"string"},"earthquakes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"felt":{"type":"integer"},"time":{"type":"string"},"place":{"type":"string"},"tsunami":{"type":"boolean"},"depth_km":{"type":"number"},"latitude":{"type":"number"},"longitude":{"type":"number"},"magnitude":{"type":"number"},"magnitude_type":{"type":"string"}}}}}}}}}},"responseSchema":{"type":"json","example":{"count":12,"range":"day","source":"https://earthquake.usgs.gov","earthquakes":[{"id":"us7000n3xy","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000n3xy","felt":3,"time":"2026-05-06T11:42:18.000Z","place":"120 km SW of Adak, Alaska","tsunami":false,"depth_km":35.7,"latitude":51.1234,"longitude":-177.8765,"magnitude":5.2,"magnitude_type":"mww"}]}},"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_9NYyW3GITJfFzU1SC1FPm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent earthquake events from the USGS GeoJSON feed filtered by time window and minimum magnitude, including location, depth, tsunami flag, and felt reports.","exampleAgentPrompt":"Pull the USGS earthquake feed for the past day and show me all quakes above magnitude 4.0 — include location, depth, and whether any triggered a tsunami warning.","exampleUseCases":[{"title":"Daily seismic activity briefing","prompt":"Give me a summary of all earthquakes above magnitude 3.5 that happened in the last 24 hours, including their locations and whether any had tsunami flags."},{"title":"Weekly disaster risk monitoring","prompt":"Fetch all earthquakes above magnitude 5.0 from the past week and tell me which ones had tsunami alerts and where they occurred."},{"title":"Real-time earthquake alert check","prompt":"Check the USGS feed right now — have there been any earthquakes above magnitude 6 in the last hour, and did any of them trigger a tsunami warning?"}],"resultDescription":"A list of recent earthquake events from the USGS GeoJSON summary feed, each containing: magnitude and type, depth in kilometers, human-readable place name, ISO8601 timestamp, latitude/longitude coordinates, tsunami flag (0 or 1), link to the USGS event detail page, and felt-report count where available.","failureModes":["Invalid time window value (not one of: hour, day, week, month) returns an error","Magnitude threshold outside USGS feed range may return empty results","USGS upstream feed unavailability causes fetch failure","No earthquakes matching the criteria returns an empty list"],"whenToPreferThis":"Use this endpoint when you need structured, near-real-time earthquake data from the authoritative USGS source without managing USGS API keys or GeoJSON parsing. Ideal for agents that need to monitor seismic activity, generate disaster briefings, or check for tsunami-flagged events across flexible time windows. Prefer this over direct USGS GeoJSON access when operating in an x402/MCP payment-gated agent environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:36.455Z","isFirstParty":false,"canonicalSlug":"usgs-recent-earthquakes-feed-35057e90"}