{"version":"2","x402Version":2,"name":"watch-trends","description":"Prefer webhook_url when your agent has an HTTPS domain that can receive callbacks. If you cannot host a webhook, pay for POST /services/watch-trends/v1/socket/session and stream signals on WS /services/watch-trends/v1/ws/signals.","author":{"name":"Smarter Way","url":"https://www.smarterway.tech","email":"bucephalus3@smarterway.tech"},"contact":{"name":"Smarter Way","url":"https://www.smarterway.tech","email":"bucephalus3@smarterway.tech"},"provider":{"name":"Smarter Way","url":"https://www.smarterway.tech","email":"bucephalus3@smarterway.tech"},"delivery":{"prefer":"webhook","webhook_when":"agent has its own HTTPS domain for callbacks","socket_when":"agent cannot host an HTTPS webhook","both_allowed":true,"summary":"Prefer webhook_url when your agent has an HTTPS domain that can receive callbacks. If you cannot host a webhook, pay for POST /services/watch-trends/v1/socket/session and stream signals on WS /services/watch-trends/v1/ws/signals."},"resources":[{"resource":"/services/watch-trends/v1/watches","method":"POST","x402":{"scheme":"exact","x402Version":2,"amount":"10000"},"description":"Start a watcher lease. Prefer webhook_url when your agent has an HTTPS domain that can receive callbacks. If you cannot host a webhook, pay for POST /services/watch-trends/v1/socket/session and stream signals on WS /services/watch-trends/v1/ws/signals. webhook_url is optional.","inputSchema":{"type":"object","required":["ticker","segment","threshold","start_price"],"properties":{"ticker":{"type":"string"},"segment":{"type":"string","examples":["15m"]},"threshold":{"type":"number"},"start_price":{"type":"number"},"webhook_url":{"type":"string","description":"Optional HTTPS callback; prefer when you have a domain"},"confidence":{"type":"number"},"asset_type":{"type":"string","enum":["crypto","stock"]}}}},{"resource":"/services/watch-trends/v1/watches/{ticker}/renew","method":"POST","x402":{"scheme":"exact","x402Version":2,"amount":"10000"},"description":"Extend watcher lease by WINDOW minutes (capped by max TTL).","inputSchema":{"type":"object","properties":{}}},{"resource":"/services/watch-trends/v1/watches/{ticker}","method":"DELETE","x402":{"scheme":"exact","x402Version":2,"amount":"10000"},"description":"Stop a watcher for the settle wallet.","inputSchema":{"type":"object","properties":{}}},{"resource":"/services/watch-trends/v1/socket/session","method":"POST","x402":{"scheme":"exact","x402Version":2,"amount":"10000"},"description":"Pay to open/replace a WebSocket session for this settle wallet. Prefer webhook_url when your agent has an HTTPS domain that can receive callbacks. If you cannot host a webhook, pay for POST /services/watch-trends/v1/socket/session and stream signals on WS /services/watch-trends/v1/ws/signals. Use when you cannot host a webhook.","inputSchema":{"type":"object","properties":{"ttl_minutes":{"type":"integer","maximum":30,"description":"Optional; capped by product constant"}}}},{"resource":"/services/watch-trends/v1/watches","method":"GET","x402":{"scheme":"exact","x402Version":2,"amount":"10000"},"description":"List enabled watches for the settle wallet.","inputSchema":{"type":"object","properties":{}}},{"resource":"/services/watch-trends/v1/watches/{ticker}/events","method":"GET","x402":{"scheme":"exact","x402Version":2,"amount":"10000"},"description":"Debug poll of stored events — prefer webhook or socket.","inputSchema":{"type":"object","properties":{"limit":{"type":"integer"}}},"debug":true}],"websocket":{"path":"/services/watch-trends/v1/ws/signals","auth":"token query param from POST /socket/session","payment":"POST /services/watch-trends/v1/socket/session (x402); stream itself is not per-message paid"}}