# Stream token trades

`GET /v2/stream/token/{chain_id}/{address}/replay`

Operation id: `stream-token-trades`

Opens a server-sent event stream of one token's trades.
Use it to follow every swap in a token as it happens.
Each event is one trade in the shape of `GET /v2/token/{chain_id}/{address}/trades`.
A trade withdrawn by a chain reorganisation arrives again with `revoked: true`.
The first event is `attached`; every later `frame` event is an envelope holding one trade.
Start from history with `from_block` or `from_seq`; without either the stream is live only.
Reconnect with `Last-Event-ID` to receive the trades you missed; it wins over `from_block` and `from_seq`.

Base URL: `https://api.chainmetric.io`. Send `Authorization: <key>` (the bare key, no `Bearer`).

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `undefined` | undefined | object | no | undefined |
| `undefined` | undefined | object | no | undefined |
| `undefined` | undefined | object | no | undefined |
| `undefined` | undefined | object | no | undefined |
| `undefined` | undefined | object | no | undefined |

## Responses

### 200



### 400



### 401



### 410



### 429



### 503


