{"uid":"cap_8GjWcSlrUosIGlhuDPtQp","slug":"x402-deployer-x402-deployer-workers-dev-7cadaebf","name":"USGS Earthquake Feed","description":"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-deployer.x402-deployer.workers.dev/earthquakes-recent","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":null,"example":{"request":{"input":{"body":{"time_range":"week","min_magnitude":5},"type":"http","method":"POST","bodyType":"json"}},"response":{"count":27,"range":"week","source":"https://earthquake.usgs.gov","earthquakes":[{"id":"us7000sr0g","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sr0g","time":"2026-06-05T22:22:02.934Z","place":"Kermadec Islands region","tsunami":false,"depth_km":10,"latitude":-29.3155,"longitude":-176.8622,"magnitude":5,"magnitude_type":"mb"},{"id":"us7000sqzx","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqzx","time":"2026-06-05T20:58:09.553Z","place":"Balleny Islands region","tsunami":false,"depth_km":10,"latitude":-61.8467,"longitude":161.168,"magnitude":5.6,"magnitude_type":"mww"},{"id":"us7000sqzv","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqzv","felt":15,"time":"2026-06-05T20:55:05.129Z","place":"0 km SSW of Quetzalapa, Mexico","tsunami":false,"depth_km":47.928,"latitude":16.7782,"longitude":-98.5044,"magnitude":5.1,"magnitude_type":"mww"},{"id":"us7000sqvk","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqvk","time":"2026-06-05T15:57:05.030Z","place":"97 km NNE of Lospalos, Timor Leste","tsunami":false,"depth_km":154.139,"latitude":-7.6807,"longitude":127.2652,"magnitude":5.3,"magnitude_type":"mww"},{"id":"us7000squy","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000squy","felt":26,"time":"2026-06-05T13:57:59.739Z","place":"7 km NNW of Manito, Philippines","tsunami":false,"depth_km":10,"latitude":13.1856,"longitude":123.8507,"magnitude":5.3,"magnitude_type":"mww"},{"id":"us7000squw","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000squw","time":"2026-06-05T13:40:20.252Z","place":"Pacific-Antarctic Ridge","tsunami":false,"depth_km":10,"latitude":-54.6462,"longitude":-135.6401,"magnitude":5.3,"magnitude_type":"mb"},{"id":"us7000sqtb","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqtb","time":"2026-06-05T06:54:49.152Z","place":"103 km NNW of Villa General Roca, Argentina","tsunami":false,"depth_km":135.979,"latitude":-31.8817,"longitude":-67.0453,"magnitude":5.1,"magnitude_type":"mb"},{"id":"us7000sqrh","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqrh","time":"2026-06-04T23:28:32.786Z","place":"77 km S of Gorontalo, Indonesia","tsunami":false,"depth_km":128.812,"latitude":-0.1639,"longitude":123.0614,"magnitude":5.2,"magnitude_type":"mww"},{"id":"us7000sqcw","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqcw","time":"2026-06-03T17:23:31.747Z","place":"193 km SSE of Vilyuchinsk, Russia","tsunami":false,"depth_km":13.439,"latitude":51.3903,"longitude":159.7076,"magnitude":5.2,"magnitude_type":"mww"},{"id":"us7000sqcu","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sqcu","felt":2,"time":"2026-06-03T17:21:25.301Z","place":"35 km ENE of San Fernando, Peru","tsunami":false,"depth_km":150.096,"latitude":-8.2249,"longitude":-74.263,"magnitude":5.2,"magnitude_type":"mww"},{"id":"nc75370186","url":"https://earthquake.usgs.gov/earthquakes/eventpage/nc75370186","felt":125,"time":"2026-06-03T12:45:36.790Z","place":"62 km W of Petrolia, CA","tsunami":false,"depth_km":10,"latitude":40.3646666666667,"longitude":-125.017833333333,"magnitude":5.1,"magnitude_type":"mw"},{"id":"us7000sq93","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sq93","felt":42,"time":"2026-06-03T10:53:54.074Z","place":"154 km WSW of Pistol River, Oregon","tsunami":false,"depth_km":10,"latitude":41.8967,"longitude":-126.1861,"magnitude":5.7,"magnitude_type":"mww"},{"id":"us7000sq90","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sq90","time":"2026-06-03T10:20:37.618Z","place":"Vanuatu region","tsunami":false,"depth_km":10,"latitude":-20.4457,"longitude":173.0405,"magnitude":5.6,"magnitude_type":"mww"},{"id":"us7000sq7x","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sq7x","time":"2026-06-03T06:58:56.791Z","place":"76 km S of Daroot-Korgon, Kyrgyzstan","tsunami":false,"depth_km":10,"latitude":38.8658,"longitude":72.278,"magnitude":5.1,"magnitude_type":"mb"},{"id":"us7000spya","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spya","time":"2026-06-01T23:01:17.102Z","place":"207 km WNW of Abepura, Indonesia","tsunami":false,"depth_km":29.55,"latitude":-2.0575,"longitude":138.8427,"magnitude":5.4,"magnitude_type":"mb"},{"id":"us7000spxm","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spxm","felt":55,"time":"2026-06-01T22:12:36.284Z","place":"22 km WSW of Scarcelli, Italy","tsunami":false,"depth_km":243,"latitude":39.325,"longitude":15.7796,"magnitude":6.2,"magnitude_type":"mww"},{"id":"us7000sps9","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sps9","time":"2026-06-01T05:16:15.532Z","place":"264 km E of Levuka, Fiji","tsunami":false,"depth_km":567.977,"latitude":-18.1208,"longitude":-178.1836,"magnitude":5,"magnitude_type":"mb"},{"id":"us7000sprv","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sprv","time":"2026-06-01T03:40:11.053Z","place":"southeast of Easter Island","tsunami":false,"depth_km":10,"latitude":-35.387,"longitude":-104.6576,"magnitude":5.3,"magnitude_type":"mww"},{"id":"us7000spru","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spru","time":"2026-06-01T03:34:30.871Z","place":"Izu Islands, Japan region","tsunami":false,"depth_km":11,"latitude":30.7158,"longitude":141.7476,"magnitude":5.7,"magnitude_type":"mww"},{"id":"us7000spqc","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spqc","felt":155,"time":"2026-05-31T21:34:18.026Z","place":"33 km NW of Valparaíso, Chile","tsunami":false,"depth_km":25,"latitude":-32.8047,"longitude":-71.8593,"magnitude":6,"magnitude_type":"mww"},{"id":"us7000sppt","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000sppt","time":"2026-05-31T19:15:39.818Z","place":"Kermadec Islands region","tsunami":false,"depth_km":98.548,"latitude":-30.5996,"longitude":-179.0432,"magnitude":5,"magnitude_type":"mb"},{"id":"us7000splv","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000splv","time":"2026-05-31T03:57:05.760Z","place":"south of the Fiji Islands","tsunami":false,"depth_km":486.212,"latitude":-24.0984,"longitude":-179.7084,"magnitude":5,"magnitude_type":"mb"},{"id":"us7000splm","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000splm","felt":3,"time":"2026-05-31T02:48:01.280Z","place":"72 km NW of Port-Vila, Vanuatu","tsunami":false,"depth_km":35,"latitude":-17.3616,"longitude":167.751,"magnitude":5,"magnitude_type":"mb"},{"id":"us7000spkp","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spkp","time":"2026-05-30T22:45:51.647Z","place":"81 km SE of Lae, Papua New Guinea","tsunami":false,"depth_km":68.854,"latitude":-7.2968,"longitude":147.4544,"magnitude":5,"magnitude_type":"mb"},{"id":"us7000spkc","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spkc","felt":22,"time":"2026-05-30T21:27:25.699Z","place":"137 km SSE of Oistins, Barbados","tsunami":false,"depth_km":35,"latitude":11.9084,"longitude":-59.1029,"magnitude":5.6,"magnitude_type":"mww"},{"id":"us7000spie","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spie","time":"2026-05-30T11:06:52.023Z","place":"191 km NNW of Kilmia, Yemen","tsunami":false,"depth_km":10,"latitude":13.8562,"longitude":51.7873,"magnitude":5,"magnitude_type":"mww"},{"id":"us7000spgb","url":"https://earthquake.usgs.gov/earthquakes/eventpage/us7000spgb","time":"2026-05-30T00:38:14.852Z","place":"South Sandwich Islands region","tsunami":false,"depth_km":95.738,"latitude":-59.1715,"longitude":-26.3858,"magnitude":5,"magnitude_type":"mb"}]}},"exampleRequest":{"time_range":"week","min_magnitude":5},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_biQJ4Pyw99QaZxUenWTa8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent earthquakes from USGS for a specified time window and minimum magnitude, including location, magnitude, depth, tsunami flag, and felt-report count.","exampleAgentPrompt":"Pull the USGS earthquake feed for the past week and show me all quakes with magnitude 5 or higher, including their location, depth, and whether any triggered a tsunami warning.","exampleUseCases":null,"resultDescription":"A list of recent earthquake events from the USGS GeoJSON summary feed, each including magnitude and type, depth in kilometers, place description, ISO8601 timestamp, latitude/longitude coordinates, tsunami flag, USGS event URL, and felt-report count where available.","failureModes":["Invalid time window value returns an error (valid options: hour, day, week, month)","Invalid or out-of-range magnitude threshold may return empty results or an error","USGS upstream feed unavailable causes a service error","Malformed POST body causes a 400 bad request","No earthquakes matching the filter returns an empty list"],"whenToPreferThis":"Use this endpoint when you need structured, up-to-date earthquake data from the authoritative USGS source without setting up your own USGS GeoJSON feed parsing. Ideal for agents monitoring seismic activity, building disaster-awareness features, or answering user questions about recent earthquakes globally. Prefer this over raw USGS API access when you want a simple POST interface with clean per-event fields already parsed out.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:27.196Z","isFirstParty":false}