get
/v4/claims/
Fetch claims filtered by chainId(s), recipient, campaignId, token, root, exact reason, and an inclusive [fromTimestamp, toTimestamp] range (Unix seconds). Scope by timestamp to keep responses light for recipients with many claims. Returns the 100 most recent claims unless a recipient is given, in which case all matching claims are returned.
Query parameters
chainIdnumber | stringchainIdsnumber | string[]recipientstringcampaignIdstringtokenstringrootstringreasonstringfromTimestampnumber | stringtoTimestampnumber | stringResponses
200Response for status 200
Schema
object[]
idstringClaim Id in Merkl DatabasechainIdnumber | stringChain Id the claim was detected onrecipientstringAddress of the recipientblockNumbernumberBlock number at which the claim occurredtimestampnumberUnix timestamp of the claimtokenstringToken address that was claimedcampaignIdstringCampaign ID associated with the claimreasonstringReason for the claimrootstringMerkle root used for the claimamountstringAmount claimed (as string to handle big numbers)metadataanyAdditional metadata about the claimisLatestbooleanWhether this is the latest claim for this combinationExample
[
{
"id": "string",
"chainId": 0,
"recipient": "string",
"blockNumber": 0,
"timestamp": 0,
"token": "string",
"campaignId": "string",
"reason": "string",
"root": "string",
"amount": "string",
"metadata": null,
"isLatest": false
}
]get
https://api.merkl.xyz/v4/claims/curl -X GET "https://api.merkl.xyz/v4/claims/"