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:
1
Responses
200
Successful operation
application/json
403
Forbidden
500
Internal Server Error
post
POST /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
}
'
Last updated
Was this helpful?