<ApiPlayground endpoint="trading-history" />

## Parameters

| Parameter | In    | Required | Description                                        |
| --------- | ----- | -------- | -------------------------------------------------- |
| `address` | path  | Yes      | A Solana address, an EVM `0x` address or a GUM address. |
| `type`    | query | No       | `deposit`, `swap` or `withdrawal`. Omit for all.   |
| `limit`   | query | No       | 1–100, default 20.                                 |
| `cursor`  | query | No       | The previous page's `nextCursor`.                  |
| `chainId` | query | No       | Only one market: the token's chain. Pass it with `token`. |
| `token`   | query | No       | Only one market: the token's address on `chainId`. Pass it with `chainId`. |
| `mint`    | query | No       | Only one market, by its GUM mint. Use instead of `chainId` and `token`. |

The market filter works with every `type`: a swap's token, or the token a
deposit or withdrawal moved. Keep it on every page you fetch with `cursor`.

## Response

`items` holds [Activity](/trading-api/reference/overview#activity) objects,
newest first. `nextCursor` fetches the next page and is `null` on the last.
