{"uid":"cap_MtM5aJbby1BbkX8MmbYoS","slug":"2s-earthquake-watcher-b18a2074","name":"2s Earthquake Watcher","description":"The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.","url":"https://2s.io/api/watchers/earthquake","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lat":{"type":"number","maximum":90,"minimum":-90,"description":"Latitude of the center point."},"lon":{"type":"number","maximum":180,"minimum":-180,"description":"Longitude of the center point."},"label":{"type":"string","maxLength":64,"description":"Optional free-text tag."},"payload":{"type":"object","description":"Arbitrary JSON echoed back in every callback.","additionalProperties":{}},"maxFires":{"type":"integer","maximum":1000,"minimum":1,"description":"Stop after this many quakes (default 25)."},"radiusKm":{"type":"number","maximum":1000,"minimum":1,"description":"Search radius in km (default 500)."},"callbackUrl":{"type":"string","maxLength":2048,"description":"Signed event POSTed here (verify X-2s-Signature). Any http(s) URL."},"minMagnitude":{"type":"number","maximum":10,"minimum":0,"description":"Minimum magnitude to fire on (default 4)."},"expiresInSeconds":{"type":"integer","maximum":7776000,"minimum":60,"description":"Active window in seconds (default 30d, max 90d)."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.125","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.125/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.125","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_E0gizgK8lKjIimpRIHzPo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.125","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a persistent geofenced earthquake watcher that POSTs a signed callback to your URL whenever a qualifying seismic event occurs near a specified location.","exampleAgentPrompt":"Set up an earthquake watcher centered on Tokyo (35.6762° N, 139.6503° E) with a 300 km radius, minimum magnitude 5.0, and POST alerts to https://myapp.example.com/quake-hook for the next 60 days, stopping after 50 events.","exampleUseCases":[{"title":"Infrastructure safety alert system","prompt":"Register an earthquake watcher for our data center in San Jose at 37.3382° N, 121.8863° W — 200 km radius, minimum magnitude 4.5 — and POST alerts to https://ops.mycompany.com/seismic-alert. Keep it active for 90 days and stop after 100 events."},{"title":"Travel safety monitoring for a field team","prompt":"Set up a quake watcher around Kathmandu, Nepal (27.7172° N, 85.3240° E) with a 500 km radius for magnitude 4 or greater, fire callbacks to https://safety.myorg.io/nepal-alert, label it 'nepal-field-team', and let it run for 30 days."},{"title":"Research pipeline for seismic data collection","prompt":"Create an earthquake monitor at -33.8688° S, 151.2093° E covering 400 km around Sydney, triggering on magnitude 3 or above, POSTing to https://research.example.edu/quake-ingest with a payload of {\"project\":\"sydney-seismic-2024\"}, and collecting up to 200 events over 45 days."}],"resultDescription":"Returns a JSON object confirming the watcher was created (ok: true), along with an items array containing the watcher record details, an optional total count, and a source object identifying the upstream data provider, URL, and license.","failureModes":["Invalid lat/lon values outside ±90/±180 bounds return a validation error","callbackUrl that is unreachable or malformed will cause callback delivery failures silently","expiresInSeconds exceeding 7,776,000 (90 days) is rejected","minMagnitude or maxFires outside allowed ranges return schema validation errors","Payment failure or insufficient USDC balance results in a 402 response with no watcher created","Duplicate or conflicting watchers may consume fire quota without deduplication"],"whenToPreferThis":"Choose this endpoint when you need persistent, event-driven earthquake monitoring for a geographic area — rather than one-time historical queries. It is ideal for automated workflows that must react to seismic events in near real-time via webhooks, such as triggering safety protocols, notifying teams, or feeding research pipelines. Prefer it over polling-based approaches when low-latency alerting and long-lived monitoring windows (up to 90 days) are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:56:09.763Z","isFirstParty":false}