Data API
GET /v1/wallets/{wallet}/trades
A wallet's trade history across all tokens. Paginated.
Endpoint
GET https://solindex.infinityblocks.io/v1/wallets/{wallet}/trades
Authentication
Send your key in the x-api-key header (or ?api-key=). See Authentication.
Path parameters
| Param | Description |
|---|---|
wallet | Base-58 wallet address. |
Query parameters
| Param | Type | Default | Allowed / range |
|---|---|---|---|
limit | int | 100 | 1–500 (page size) |
offset | int | 0 | Rows to skip |
page | int | — | 1-based page (alternative to offset) |
Request
curl -s "https://solindex.infinityblocks.io/v1/wallets/<WALLET>/trades?limit=100" \
-H "x-api-key: <API_KEY>"
const r = await fetch("https://solindex.infinityblocks.io/v1/wallets/<WALLET>/trades?limit=100", {
headers: { "x-api-key": "<API_KEY>" },
});
const { data } = await r.json();
Response
{ "data": [
{ "time": 1780165220000, "mint": "<MINT>", "direction": "sell",
"amountToken": 41152213.7, "amountSol": 1.2253, "amountUsd": 101.65,
"priceUsd": 0.00000247, "signature": "<SIGNATURE>" },
… ],
"page": { "limit": 100, "offset": 0, "total": 143,
"returned": 100, "hasMore": true, "nextOffset": 100 } }
Paginated:
limit + offset, or 1-based page (offset wins if both sent). The page object returns total, hasMore and nextOffset — keep requesting ?offset=<nextOffset> until hasMore is false. On a live feed, new trades arriving mid-traversal can make a row repeat across pages — de-duplicate client-side by signature.Try it
Run GET /v1/wallets/{wallet}/tradeslive · GET
Your key is stored only in this browser (localStorage).
—