Address Enrichment

Provides metadata on a given blockchain address

Supported Networks

  • Ethereum: chain_id: "0x1"

  • BSC: chain_id: "0x38"

  • Avalanche: chain_id: "0xa86a"

  • Polygon: chain_id: "0x89"

  • Optimism: chain_id: "0xa"

  • Arbitrum: chain_id: "0xa4b1"

All requests require an API key. Add "x-api-key" to your request header as shown in the example below.

Don't have an API key? Contact us to get one.

post

Provides metadata on a given blockchain address

Body
blockchain_addressstring · hexOptionalExample: 0xEfF92A263d31888d860bD50809A8D171709b7b1c
chain_idstring · hexOptionalExample: 0x1
Responses
200
Successful operation
application/json
post
POST /api/v2/enrich_address HTTP/1.1
Host: api.blockfence.io
Content-Type: application/json
Accept: */*
Content-Length: 84

{
  "blockchain_address": "0xEfF92A263d31888d860bD50809A8D171709b7b1c",
  "chain_id": "0x1"
}
{
  "enrichments": [
    {
      "provider_name": "DappRadar",
      "name": "PancakeSwap V2",
      "type": "DAPP",
      "logo": "https://dashboard-assets.dappradar.com/geRRcWz9IdTwSrm1/document/4600/pancakeswap-dapp-defi-bsc-logo_97d09bb01774bc41263cb848bedbe994.png",
      "description": "The #1 AMM and yield farm on Binance Smart Chain",
      "long_description": "<p>PancakeSwap is an automated market maker (“AMM”) that allows two tokens to be exchanged on the Binance Smart Chain...</p>",
      "metrics": [
        {
          "name": "UAW",
          "amount": 713630,
          "tooltip": "The number of unique active wallets (UAW) interacting or performing a transaction with a dapp's smart contracts"
        }
      ]
    }
  ]
}

Request Body Parameters

Parameter Name
Parameter Type
Comments

chain_id

hex string

Chain ID (e.g. "0x1" for mainnet)

blockchain_address

hex string

Blockchain address

Usage Example

curl https://api.blockfence.io/api/v2/enrich_address -X POST -H "Content-Type: application/json" -H "x-api-key: <YOUR API KEY>" -d '
{
    "chain_id": "0x1",
    "blockchain_address": "0xEfF92A263d31888d860bD50809A8D171709b7b1c"
}
'

Last updated

Was this helpful?