Trades by slug
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
after | integer | — | Start of time range (Unix timestamp) |
before | integer | — | End of time range |
limit | integer | 100 | Max 300 |
offset | integer | 0 | Pagination offset |
Example
Positions by slug
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 100 | Max 300 |
offset | integer | 0 | Pagination offset |
sort | string | realized_pnl | One of amount, volume, realized_pnl, pnl |
status | string | — | open (current holders only) or closed (zeroed-out positions only). Omit to return all. |
status is a holder-state filter on the current raw balance. open means amount > 0; closed means amount = 0. It is not the wallet/global lifecycle status split, where resolved nonzero positions are redeemable and resolved zero-balance positions are redeemed.
Example
Response fields
| Field | Type | Description |
|---|---|---|
user | string | Wallet address (lowercased) |
token_id | string | Outcome token ID this row is about |
amount | string | Current balance in raw 6-decimal USDC (0 if fully exited) |
avg_price | string | Time-weighted average buy price in raw 6-decimal USDC (500000 = $0.50) |
total_bought | string | Cumulative cost-basis of all purchases in raw 6-decimal USDC |
realized_pnl | string | Realized P&L on closed-out portion of the position in raw 6-decimal USDC |

