
get
/v4/volume/user
Aggregated volume for a single user (recipient), filterable by program, clientId, chainId and a timestamp range (all optional, AND-combined). Returns the summed amountUSD and matching entry count.
Query parameters
recipientstringrequired
The user's wallet address (case-insensitive).
programstringFilter by the config's program.
clientIdstringFilter by the config's clientId.
chainIdnumber | stringFilter by the config's chainId.
fromTimestampnumber | stringOnly entries with timestamp >= this (unix seconds).
toTimestampnumber | stringOnly entries with timestamp <= this (unix seconds).
Responses
200Response for status 200
Schema
object
recipientstringrequired
The queried wallet address.volumeUSDnumberrequired
Sum of amountUSD across matching entries.entryCountnumberrequired
Number of matching entries.Example
{
"recipient": "string",
"volumeUSD": 0,
"entryCount": 0
}get
https://api.merkl.xyz/v4/volume/user?recipient=curl -X GET "https://api.merkl.xyz/v4/volume/user?recipient=0xd93814273b33DD33B32cD345225CfB65DEB048Dd"