{"uid":"cap_QQJUfuE5hkv_2Ulfui-qB","slug":"2s-stock-price-watcher-116f587f","name":"2s Stock Price 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/stock-price","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"label":{"type":"string","maxLength":64,"description":"Optional free-text tag to recognize this watcher later."},"ticker":{"type":"string","maxLength":12,"minLength":1,"description":"US-listed ticker to watch, e.g. AAPL."},"payload":{"type":"object","description":"Arbitrary JSON echoed back verbatim in every callback so you can route/identify the event. e.g. {\"agentId\":\"a1\"}","additionalProperties":{}},"maxFires":{"type":"integer","maximum":1000,"minimum":1,"description":"Stop after this many callbacks (default 1 — a one-shot alert). Each fire is a fresh crossing into the condition."},"threshold":{"type":"number","description":"The trigger level. A USD price for above/below (e.g. 200), or a percent for pct_up/pct_down (e.g. 5 = ±5%)."},"callbackUrl":{"type":"string","maxLength":2048,"description":"Where we POST the event. Any http(s) URL; the JSON body is signed (verify with X-2s-Signature). e.g. https://your-agent.app/hooks/price"},"conditionType":{"enum":["above","below","pct_up","pct_down"],"type":"string","description":"above/below = threshold is a USD price; pct_up/pct_down = threshold is a percent move vs the prior close."},"expiresInSeconds":{"type":"integer","maximum":7776000,"minimum":60,"description":"How long the watch stays active, in seconds. Default 2592000 (30 days), max 7776000 (90 days)."}}},"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_peq_mFyFDaQZ56nIjUGzr","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 webhook-based alert that fires when a US-listed stock price crosses a specified threshold condition (above, below, or percent move)","exampleAgentPrompt":"Set up a price watcher for AAPL that fires a webhook to https://my-agent.app/hooks/price when the stock goes above $220 — make it a one-shot alert that expires in 7 days, and tag it with label 'aapl-breakout'.","exampleUseCases":null,"resultDescription":"A confirmation that the watcher has been registered. When the price condition is met, the service POSTs a signed JSON event to the specified callbackUrl, including the ticker, trigger details, and any custom payload supplied at registration time. The watcher fires up to maxFires times and auto-expires after the configured duration.","failureModes":["Invalid or unlisted ticker symbol — watcher not created","callbackUrl unreachable or malformed — registration may succeed but callbacks will fail silently","threshold not appropriate for conditionType (e.g. negative price for above/below) — validation error","expiresInSeconds out of allowed range (60–7776000) — rejected","maxFires outside 1–1000 range — rejected","Payment not received or insufficient USDC — 402 response, watcher not created"],"whenToPreferThis":"Use this endpoint when you need event-driven, asynchronous notification of a US stock price crossing a threshold, rather than polling a price endpoint repeatedly. Ideal for agent workflows that need to react to market conditions without maintaining an active polling loop. Prefer this over a simple price-lookup endpoint when the trigger is conditional and timing is unknown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:54:47.423Z","isFirstParty":false}