Claimables

Did you know? We used the Claimables API to build our very own user-facing Claimables product at bankless.com/claimables. Enter your wallet to see this endpoint working in the real world!

Introduction

This endpoint returns a list of Claimables for a given wallet address, currently supporting EVM, Solana and Cosmos. Read our FAQs to learn more about what Claimables are.

GET /claimables/{address}

Response Parameters


Example Request

curl 'https://api.bankless.com/claimables/0x469b33E0B70725184175750920AfD81B4BD94619'

Example Response

[
    {
        "type": "airdrop",
        "title": "Degen Season 1 Airdrop 2",
        "action": {
            "url": "https://www.degen.tips/airdrop2/season2",
            "onEarnifi": false,
            "type": "claim"
        },
        "claimStatus": "expired",
        "description": "Degen's second round of first season airdrops for users who tipped and received tips using $degen on Warpcast.",
        "walletAddress": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
        "supplier": {
            "name": "Degen",
            "imageUrl": "https://banklesspublic.b-cdn.net/claimables/9jrvP_yG_400x400.jpg"
        },
        "imageUrl": "https://banklesspublic.b-cdn.net/claimables/9jrvP_yG_400x400.jpg",
        "expires": 1711843200000,
        "tokenAmount": 568508,
        "tokenName": "DEGEN",
        "worth": {
            "worthUSDFloat": 12328,
            "worthUSDString": "$12,328",
            "hasWorthInUSD": true
        },
        "created": 1677628800000
    }
]

Permissions

This endpoint requires you to have the CLAIMABLES permission.


Real Use Cases

Here's some real life use cases of products and features using the Claimables API, in production today:

  • Bankless.com/claimables - Claimables is the user-facing version of this API, fully utilising the exact same API documented here to deliver value to over 400,000 Bankless accounts, finding an average of over $800 worth of onchain value for Bankless accounts.

  • Etherscan - Etherscan built an "Airdrops & Claimables" card to surface all of the unclaimed Claimables on individual wallet pages.

  • Farcaster Frame - We harnessed the power of the Claimables API into a Farcaster Frame, unlocking real onchain value to numerous Farcaster users.

Last updated