Blockfence API Docs
Back to Homepage
  • Welcome to Blockfence API
  • Quick Start
  • Reference
    • API Reference
      • Enrichment
        • Transaction Simulation
        • Address Enrichment
        • Domain Enrichment
        • AI Interpreter
      • Analysis
        • Address Analysis
        • Domain Analysis
        • Transaction Analysis
      • Monitoring
        • Subscribe to Address Events
        • Subscribe to Domain Events
      • Investigation
        • Domain To Addresses
        • Address to Domains
        • Similar Smart Contracts
        • Domain to Linked Domains
        • Domain to Internal Pages
        • Investigate a URL
  • Terms & Policy
    • API License Agreement
    • Terms & Conditions
    • Privacy Policy
Powered by GitBook
On this page

Was this helpful?

  1. Reference
  2. API Reference
  3. Investigation

Domain To Addresses

Query blockchain addresses that are associated with a domain

Last updated 1 year ago

Was this helpful?

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.

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

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
}
  • beta
  • POST/url-to-addresses
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
}