{"uid":"cap_rgjksju60oNeIm4HnStxy","slug":"statepulse-earthquake-live-feed-0caa04da","name":"StatePulse Earthquake Live Feed","description":"Queries the USGS Earthquake Hazards API for recent earthquakes exceeding a minimum magnitude.","url":"https://statepulse-api.hahavoid0.workers.dev/environment/earthquake","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":{"type":"object","properties":{"min_magnitude":{"type":"number","default":4,"description":"Minimum magnitude threshold"}}},"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"}}}}},"responseSchema":{"type":"json","example":{"result":{"earthquakes":[{"lat":34.448,"lng":-119.141,"time":"2026-06-24T18:32:00.000Z","place":"10km E of Ojai, CA","title":"M 4.2 - 10km E of Ojai, CA","magnitude":4.2}]},"supported":true,"confidence":"high"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.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_c_pahSuwdkAiX_dxQzXzV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live recent earthquake data including location, magnitude, time, and place description","exampleAgentPrompt":"What earthquakes have happened recently? Give me the latest seismic activity — I want to see location, magnitude, and time for any recent events, with high confidence data.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing an array of recent earthquakes, each with latitude, longitude, UTC timestamp, human-readable place description, title (including magnitude label), and numeric magnitude value. Also includes a 'supported' flag and a confidence level string (e.g. 'high').","failureModes":["No recent earthquakes available — empty earthquakes array returned","Upstream seismic data source unavailable — service may return supported:false or error","Network timeout reaching USGS or equivalent data provider","Payment not processed — x402 USDC payment required before data is returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs real-time seismic event data without managing API keys. Ideal for agents monitoring environmental conditions, building disaster-awareness workflows, or answering user queries about recent earthquake activity. At $0.02 per call via x402 USDC on Base, it suits pay-per-use agent pipelines that need fresh geospatial seismic data on demand.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:53:34.263Z","isFirstParty":false}