# Blockscout BENS Address Lookup

> Blockscout BENS Address Lookup is a paid API for AI agents from api.blockscout.com, paid per call via x402, $0.015/call, status unknown (last checked 2026-09-11).

Look up blockchain domain name records (ENS-style) by address on a specific chain, returning name, owner, resolver, and protocol metadata

## Facts

- Endpoint: GET https://api.blockscout.com/services/bens/api/v1/%7Bchain_id%7D/addresses:lookup
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-bens-address-lookup-f5fd63c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-pJ47Xidt1AYo0bT47OlR

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockscout-bens-address-lookup-f5fd63c2
```

Example prompt: Can you look up any blockchain domain names registered to wallet address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum (chain ID 1), including only names that resolve to that address?

## When to prefer this

Use this endpoint when you need to resolve or enumerate blockchain naming service (ENS-style) records for a specific wallet address on a known chain. It is ideal for identity enrichment, displaying human-readable names for addresses, auditing domain ownership, and cross-checking domain resolution — especially when you know the chain ID and need protocol-level metadata. Prefer this over generic blockchain explorers when you specifically need name service lookup with protocol and expiry metadata across multiple naming systems.

## Known failure modes

- Invalid or unsupported chain_id returns empty results or 404
- Malformed wallet address format causes 400 bad request
- Address with no registered domains returns empty items array
- Protocol filter string with unknown protocol ID returns no results
- Pagination token mismatch or expiry causes empty or repeated results
- Rate limiting or payment failure (x402) returns 402 Payment Required

## How this service works

Explore crypto activities with Blockscout's multichain search. Find transactions, addresses, tokens, and dapps across top blockchain networks — your go-to explorer for cross-chain blockchain data

## Output

Returns a paginated list of blockchain domain name records matching the address query, each containing the domain name ID, human-readable name, owner address with optional ENS name, resolved address, wrapped owner, protocol details (name, docs, icon, TLD list), registration date, expiry date, and dapp URL. Also includes next_page_params for pagination.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sort": {
       "type": "string"
      },
      "order": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "owned_by": {
       "type": "boolean"
      },
      "page_size": {
       "type": "integer"
      },
      "protocols": {
       "type": "string"
      },
      "page_token": {
       "type": "string"
      },
      "only_active": {
       "type": "boolean"
      },
      "resolved_to": {
       "type": "boolean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "id": "string",
    "name": "string",
    "owner": {
     "hash": "string",
     "ens_domain_name": "string"
    },
    "protocol": {
     "id": "string",
     "title": "string",
     "docs_url": "string",
     "icon_url": "string",
     "tld_list": [
      "string"
     ],
     "short_name": "string",
     "description": "string",
     "deployment_blockscout_base_url": "string"
    },
    "expiry_date": "string",
    "wrapped_owner": {
     "hash": "string",
     "ens_domain_name": "string"
    },
    "resolved_address": {
     "hash": "string",
     "ens_domain_name": "string"
    },
    "protocol_dapp_url": "string",
    "registration_date": "string",
    "protocol_dapp_logo": "string"
   }
  ],
  "next_page_params": {
   "page_size": 0,
   "page_token": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-bens-address-lookup-f5fd63c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockscout.com](https://www.zero.xyz/host/api.blockscout.com/llms.txt)
