List Tokens By Address

Through this endpoint customers can obtain token data by providing an attribute - address. The information that can be returned can include the contract address, the token symbol, type and balance.

List of Results - This endpoint returns multiple objects which means pagination is applicable. GET /blockchain-data/{blockchain}/{network}/addresses/{address}/tokens

Path Parameters

  • Required
    blockchain string

    Represents the specific blockchain protocol name, e.g. Ethereum, Ethereum Classic, etc.

    Example : ethereum
    Possible Values : ethereum ethereum-classic binance-smart-chain tron tezos
  • Required
    network string

    Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "goerli" are test networks.

    Example : sepolia
    Possible Values : mainnet mordor testnet ghostnet nile sepolia
  • Required
    address string

    Represents the public address, which is a compressed and shortened form of a public key.

    Example : 0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5

Query parameters

  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Optional
    limit integer

    Defines how many items should be returned in the response per page basis.

    Default : 50
    Example : 50
  • Optional
    offset integer

    The starting index of the response items, i.e. where the response should start listing the returned items.

    Default : 0
    Example : 0

Response schema

200 400 401 402 403 409 415 422 429 500
HTTP Status Code: 200
Content-Type: application/json

The request has been successful.

  • Object :

  • Required
    apiVersion string

    Specifies the version of the API that incorporates this endpoint.

    Example : 2023-04-25
  • Required
    requestId string

    Defines the ID of the request. The requestId is generated by Crypto APIs and it's unique for every request.

    Example : 601c1710034ed6d407996b30
  • Optional
    context string

    In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. context is specified by the user.

    Example : yourExampleString
  • Required
    data object
    • Required
      limit integer

      Defines how many items should be returned in the response per page basis.

      Example : 50
    • Required
      offset integer

      The starting index of the response items, i.e. where the response should start listing the returned items.

      Example : 0
    • Required
      total integer

      Defines the total number of items returned in the response.

      Example : 100
    • Required
      items array
      Example : Array ( )
      • Required
        contractAddress string

        Represents the contract address of the token, which controls its logic. It is not the address that holds the tokens.

        Example : 0xdac17f958d2ee523a2206206994597c13d831ec7
      • Required
        type string

        Defines the specific token type.

        Example : ERC-20
      • Required
        confirmedBalance string

        Representation of the confirmed balance value

        Example : 296.231921
      • Optional
        name string

        String identifier of the name

        Example : TezDAO
      • Optional
        symbol string

        Representation of the token symbol

        Example : TezDAO

Credits Cost : 100 Credits For 1 Result(s)

Try it out

Request Example

GET
https://rest.cryptoapis.io/blockchain-data/ethereum/sepolia/addresses/0x7495fede000c8a3b77eeae09cf70fa94cd2d53f5/tokens?context=yourExampleString&limit=50&offset=0
Headers
Content-Type: application/json
X-API-Key: my-api-key

Response Example

{
    "apiVersion": "2023-04-25",
    "requestId": "601c1710034ed6d407996b30",
    "context": "yourExampleString",
    "data": {
        "limit": 50,
        "offset": 0,
        "total": 100,
        "items": [
            {
                "contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7",
                "type": "ERC-20",
                "confirmedBalance": "296.231921",
                "name": "TezDAO",
                "symbol": "TezDAO"
            }
        ]
    }
}