Domain To Addresses
Query blockchain addresses that are associated with a domain
beta
Supported Networks:
Ethereum:
chain_id:"0x1"
post
Query for blockchain addresses associated with a URL
Body
urlstringOptionalExample:
https://blockfence.io/pageintegerOptionalExample:
1Responses
200
Successful operation
application/json
403
Forbidden
500
Internal Server Error
post
/url-to-addressesPOST /api/v1/url-to-addresses HTTP/1.1
Host: api.blockfence.io
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"url": "https://blockfence.io/",
"page": 1
}{
"addresses": [
{
"blockchain_address": "0x8904E3E9eaB00F64458845d32Ea22b2279fda1f7",
"chain_id": "0x1"
}
],
"page": 1,
"page_count": 1
}Request Body Parameters
Parameter Name
Parameter Type
Comments
url
string
Domain / URL
page
int (optional)
Page number (for pagination purposes)
Usage Example
curl https://api.blockfence.io/api/v1/url-to-addresses -X POST -H "Content-Type: application/json" -H "x-api-key: <YOUR API KEY>" -d '
{
"url": "https://thesandbox.gwnfts.com",
"page": 1
}
'{
"addresses":[
{
"blockchain_address":"0xfe99a780e3bc9527151fa9c9e4703acdb49b0bf7",
"chain_id":"0x1"
},
{
"blockchain_address":"0xf9eddeace9c5d3da9c93cf7d3cd38f6a13ed3aff",
"chain_id":"0x1"
},
{
"blockchain_address":"0x5a1e979b5b3c71f15169273e844fe9265070d79c",
"chain_id":"0x1"
}
],
"page": 1,
"page_count": 1
}Last updated
Was this helpful?