Address to Domains

Query Domains that are associated with a blockchain address

beta

Supported Networks:

  • Ethereum: chain_id: "0x1"

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

Query for blockchain addresses associated with a URL

Body
blockchain_addressstring · hexOptionalExample: 0x8904E3E9eaB00F64458845d32Ea22b2279fda1f7
chain_idstring · hexOptionalExample: 0x1
pageintegerOptionalExample: 1
Responses
200
Successful operation
application/json
post
POST /api/v1/address-to-urls HTTP/1.1
Host: api.blockfence.io
Content-Type: application/json
Accept: */*
Content-Length: 93

{
  "blockchain_address": "0x8904E3E9eaB00F64458845d32Ea22b2279fda1f7",
  "chain_id": "0x1",
  "page": 1
}
{
  "urls": [
    "text"
  ],
  "page": 1,
  "page_count": 1
}

This API returns at max 50 results per call. Check the response for page and page_count to query the rest of the results.

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

page

int (optional)

Page number (for pagination purposes)

Usage Example

curl https://api.blockfence.io/api/v1/address-to-urls -X POST -H "Content-Type: application/json" -H "x-api-key: <YOUR API KEY>" -d '
{
    "chain_id": "0x1",
    "blockchain_address": "0x8904E3E9eaB00F64458845d32Ea22b2279fda1f7",
    "page": 1
}
'

Last updated

Was this helpful?