Domain to Internal Pages
Get internal URLs for a domain
post
Get internal URLs for a domain
Body
domainstringOptionalExample:
uniswap.org
pageinteger · int32OptionalExample:
1
Responses
200
Successful operation
application/json
403
Forbidden
500
Internal Server Error
post
POST /api/v2/domain_to_urls HTTP/1.1
Host: api.blockfence.io
Content-Type: application/json
Accept: */*
Content-Length: 33
{
"domain": "uniswap.org",
"page": 1
}
{
"urls": [
"https://app.uniswap.org/#/swap?chain=mainnet",
"https://app.uniswap.org/#/pools/401700",
"https://app.uniswap.org/#/remove/698336"
],
"page": 1,
"page_count": 3
}
Request Body Parameters
Parameter Name
Parameter Type
Comments
domain
string
Domain / URL
page
int (optional)
Page number (for pagination purposes)
Usage Example
curl https://api.blockfence.io/api/v2/domain_to_urls -X POST -H "Content-Type: application/json" -H "x-api-key: <YOUR API KEY>" -d '
{
"domain": "uniswap.org",
"page": 1
}
'
Last updated
Was this helpful?