# Watch Trends Socket Session Creator

> Watch Trends Socket Session Creator is a paid API for AI agents from agents.smarterway.tech, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Creates a new WebSocket or long-lived session for receiving real-time trend watch notifications, with a configurable time-to-live.

## Facts

- Endpoint: POST https://agents.smarterway.tech/services/watch-trends/v1/socket/session
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/watch-trends-socket-session-creator-96ec937a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CWI4YZ1jg0tl_5fmaBSoi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability watch-trends-socket-session-creator-96ec937a -d '<json body>'
```

Example prompt: Set up a real-time trend-watching session for me that stays active for 60 minutes so I can start receiving live trend updates.

## When to prefer this

Choose this endpoint when you need to establish a persistent, real-time session for receiving trend updates over a socket connection, especially when you want to control how long the session remains active via a TTL. It complements the sibling POST /watches endpoint, which likely registers specific watch targets — this endpoint creates the underlying session infrastructure first.

## Known failure modes

- Invalid or missing ttl_minutes value may return a 400 Bad Request
- TTL exceeds maximum allowed value, resulting in a validation error
- Payment failure (x402 protocol) prevents session creation
- Expired or invalid authentication causes a 401 Unauthorized
- Server-side socket capacity limits may return a 503 Service Unavailable

## How this service works

watch-trends POST /socket/session

## Output

Returns a session object containing a session ID or token, a WebSocket or socket connection endpoint, and an expiry timestamp corresponding to the configured TTL. The agent can use these credentials to open a live socket connection and receive real-time trend event streams for the duration of the session.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ttl_minutes": {
   "type": "integer"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/watch-trends-socket-session-creator-96ec937a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.smarterway.tech](https://www.zero.xyz/host/agents.smarterway.tech/llms.txt)
