Back to LiveQuery Integrations
    Covalent Unified API
    logoImageUrlCovalent
    Log in to Manage

    The Covalent Unified API can be used to pull token balances, positions and historical granular transaction data from dozens of blockchain networks. This data enables hundreds of end-user use-cases like wallets, investor dashboards, taxation tools and as-of-yet unknown use-cases.

    SELECT covalent.get('/v1/1/block_v2/5000000/', {}) as resp;
    
    Getting Started
    Step 1: Get your API Key

    Register through the Covalent Platform to set up your API key.

    Step 2: Navigate to the API Reference

    Once your API key is set up, you will see several options to start using the Covalent API on the API Keys page. Click on: Explore the API Reference.

    Alternatively, you can also click on any of the links to the API Reference from the homepage or elsewhere on the Covalent Platform.

    Step 3: Use the API Reference Sidebar

    In the API Reference, you can make calls to the Covalent API directly from the browser. Use the sidebar on the right side of the page to select the blockchain to use.

    By default, and for this example, we will use the Ethereum Mainnet.

    Step 4: Make a Request

    Now let's make a request to the Get token balances for address endpoint.

    • From the left-hand menu, navigate to: Class A Endpoints -> Balances -> Get token balances for address.

    • Enter a wallet address, like demo.eth, to use for this query, then press the Run button. You will see the response show up shortly in the response pane on the right with list of all the token balances for the wallet address on Ethereum Mainnet.

    • The Get token balances for address is one of the most popular endpoints because it provides balances for all tokens owned by a given wallet address. This includes NFTs and network native tokens like ETH.

    • You have successfully made your first Covalent API call.

    Overview

    Description for Covalent