get
/v4/reallocations/breakdown
Retrieve Reallocation Breakdown
Returns aggregated reallocation amounts grouped by recipient and campaign.
Filters only successful reallocation operations (reason = "reallocation").
Use query parameters to filter by chain, recipients, and campaigns.
Authentication: Requires a valid API key passed via the Authorization header.
Query parameters
chainIdnumber | stringrequired
tostring[]campaignIdsstring[]Responses
200Response for status 200
Schema
object[]
chainIdnumberDistribution chain ID where the reallocation occurredcampaignIdstring**On-chain campaign ID** (32-byte hex hash, e.g. `0x93cf385c...`). NOT internal `Campaign.id`. See [ID types](/integrate-merkl/id-types).tostringRecipient address receiving the reallocated rewardstokenAddressstringAddress of the reward tokentokenSymbolstringHuman-readable symbol of the reward token (e.g. USDC, ANGLE)tokenDecimalsnumberNumber of decimals for the reward token (e.g. 18 for ANGLE, 6 for USDC)amountstringTotal reallocated amount in raw token units (wei). String format to preserve precision for large BigInt values. Divide by 10^tokenDecimals for human-readable amount.countnumberNumber of individual reallocation entries (LeafBreakdown records with reason=reallocation) aggregated into this totalExample
[
{
"chainId": 0,
"campaignId": "string",
"to": "string",
"tokenAddress": "string",
"tokenSymbol": "string",
"tokenDecimals": 0,
"amount": "string",
"count": 0
}
]get
https://api.merkl.xyz/v4/reallocations/breakdowncurl -X GET "https://api.merkl.xyz/v4/reallocations/breakdown"