API referenceTokens
What one wallet holds of a token, what that is worth at the token's price, and what it made on the token at average cost: its trades, transfers, cost basis, realized and unrealized. pnl is null where pnlWhy says why.
Path Parameters
address*string
The token.
Match
^0x[0-9a-fA-F]{40}$wallet*string
A 20-byte hex address.
Match
^0x[0-9a-fA-F]{40}$Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/tokens/string/traders/string"{ "token": "string", "wallet": "string", "balance": "string", "valueUsd": 0, "priceUsd": 0, "label": { "kind": "burn", "name": "string" }, "pnl": { "bought": { "amount": 0, "usd": 0, "txs": 0 }, "sold": { "amount": 0, "usd": 0, "txs": 0 }, "received": { "amount": 0, "txs": 0 }, "sent": { "amount": 0, "txs": 0 }, "costBasisUsd": 0, "avgCostUsd": 0, "realizedUsd": 0, "unrealizedUsd": 0, "totalUsd": 0, "estimated": true, "firstAt": 0, "lastAt": 0 }, "pnlWhy": "contract", "readAt": 0, "source": "indexer"}Get a token's logo GET
The token's logo as an image. A token with no logo answers 404: draw a monogram instead.
Get a token's trading windows GET
A token's trading over the last 5 minutes, hour, 6 hours and day, across every pool it trades in: its swaps by side, their dollar volumes, and the wallets behind them. They are read at most once in 30 seconds a token and may be up to two minutes old: `asOf` names the second they were read.