get
/v4/historical/tree
Reward breakdowns of a single tree (BETA)Historical Tree Breakdowns
Returns the cumulative reward breakdowns of a single merkle tree, selected either by date (closest root on or before the date) or by an explicit root hash. Results can be filtered by campaignId and/or recipient.
Authentication: Requires a valid API key passed via the Authorization header.
⚠️ Beta: this endpoint is in beta. The behavior, response shape and data format may change at any time without notice. Historical data is only available from the configured cutoff date onwards.
Query parameters
chainIdnumber | stringrequired
datestringrootstringcampaignIdstringrecipientstringResponses
200Response for status 200
Schema
object
rootstringrequired
timestampstringrequired
breakdownsobject[]required
campaignIdstringrecipientstringreasonstringrewardTokenstringamountstringCumulative reward amount in the treeExample
{
"root": "string",
"timestamp": "string",
"breakdowns": [
{
"campaignId": "string",
"recipient": "string",
"reason": "string",
"rewardToken": "string",
"amount": "string"
}
]
}get
https://api.merkl.xyz/v4/historical/treecurl -X GET "https://api.merkl.xyz/v4/historical/tree"