Skip to main content
Realized PnL per UTC day of a verified wallet of your users, grouped by month, with buy and sell counts, volume, tokens traded and win and loss streaks. It covers the whole history of the wallet. Use it to render a green and red PnL heatmap on a profile page.
Months are ordered oldest first. The current month is also returned on its own as month, with its days in dates, so a calendar for this month needs no extra work.

Query Parameters

string
required
Chain of the wallet. One of solana, bnb, base, eth, rh.
string
required
A wallet verified on this chain by one of your users.
string
default:"instance"
global allows any CabalSpy ID wallet. Enterprise plan only.
string
Your Instance ID. Only needed when your account has several instances.
string
required
Your API key. Alternatively pass it as an Authorization Bearer header.

Usage Example

Response

boolean
True on success.
object

Errors