{"name":"watch-trends","version":"0.1.0","description":"Paid bidirectional trend watchers. Signals via webhook and/or x402-gated WebSocket.","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"},"discovery":"/.well-known/x402.json","docs":"/openapi.json","health":"/health","ready":"/ready","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 /socket/session and stream signals on WS /ws/signals."},"flows":{"webhook":["GET / or GET /.well-known/x402.json","POST /watches with HTTPS webhook_url + x402 payment","Receive signal POSTs while lease is active; renew with POST /watches/{ticker}/renew"],"socket":["GET / or GET /.well-known/x402.json","POST /socket/session with x402 payment → token + ws_url","Connect WS /ws/signals?token=…; answer app ping with pong","POST /watches per ticker (webhook_url optional) with x402 payment","Receive multi-ticker signal messages on the one socket"]},"socket":{"path":"/ws/signals","query":"token","session_ttl_minutes":30,"ping_interval_sec":25,"pong_timeout_sec":10,"one_connection_per_payer":true,"client_must_pong":true},"lease_window_minutes":30,"paid_routes":["POST /watches","POST /watches/{ticker}/renew","DELETE /watches/{ticker}","POST /socket/session","GET /watches","GET /watches/{ticker}/events (debug)"]}