{"uid":"cap_3FA8d-CTp45I4Qmc1MOM2","slug":"srch-best-alerts-api-a5286996","name":"srch.best Alerts API","description":"Structured alerts data for agents, paid per request with x402 v2","url":"https://x402.srch.best/alerts","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":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"const":"earthquake"},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"endTime":{"type":"string","format":"date"},"latitude":{"type":"number"},"radiusKm":{"type":"number"},"longitude":{"type":"number"},"startTime":{"type":"string","format":"date"},"minMagnitude":{"type":"number","maximum":10,"minimum":-2}},"additionalProperties":false},{"type":"object","required":["type"],"properties":{"area":{"type":"string","maxLength":2,"minLength":2},"type":{"const":"weather"},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"latitude":{"type":"number"},"longitude":{"type":"number"}},"additionalProperties":false}]},"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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wi286V-KzFa3mjlgfKc-k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns structured earthquake and weather alert data for a given location or area, paid per request via x402","exampleAgentPrompt":"Can you pull structured earthquake alerts within 200 km of San Francisco (37.77, -122.41) from 2024-06-01 to 2024-06-30, minimum magnitude 3.5, and give me the top 20 results?","exampleUseCases":[{"title":"Earthquake monitoring near a city","prompt":"Get me the last 30 days of earthquake alerts within 150 km of Los Angeles (34.05, -118.24) with magnitude 4.0 or higher, up to 50 results."},{"title":"Active weather alerts for a US state","prompt":"Are there any active weather alerts for California right now? Use the two-letter state code CA and my coordinates 36.77, -119.42."},{"title":"Post-event seismic activity check","prompt":"Show me all earthquakes within 100 km of latitude 35.68, longitude 139.69 between 2024-01-01 and 2024-01-15 with a minimum magnitude of 2.0, limit to 25 results."}],"resultDescription":"A structured JSON object containing a list of alert records matching the query. For earthquakes: event time, location, depth, magnitude, and geographic coordinates. For weather: active warnings, watch/advisory details, and affected area information. Results are capped at the requested limit (max 100).","failureModes":["Invalid or missing 'type' field (must be 'earthquake' or 'weather') — returns validation error","Coordinates out of valid range — returns schema validation error","Date format not matching ISO date (YYYY-MM-DD) — returns parse error","Missing required 'area' field for weather queries — returns bad request","Magnitude out of allowed range (-2 to 10) — returns validation error","Payment failure via x402 protocol — returns 402 Payment Required","No alerts found for the given parameters — returns empty result set","Limit exceeding maximum of 100 — returns validation error"],"whenToPreferThis":"Choose this endpoint when you need structured, machine-readable earthquake or weather alert data tied to a specific geographic location or US state, especially in agentic workflows where you pay only per query via x402. It is well-suited for agents that need to programmatically assess risk, trigger notifications, or enrich location data with hazard information, without the overhead of scraping government alert feeds directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:36:17.259Z","isFirstParty":false}