# Blockscout BENS Batch Address Name Resolver

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

Resolves multiple blockchain addresses to their human-readable ENS-style names in a single batch call for a specified chain

## Facts

- Endpoint: POST https://api.blockscout.com/services/bens/api/v1/%7Bchain_id%7D/addresses:batch-resolve-names
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockscout-bens-batch-address-name-resolver-ea770673
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_acbW0W6hgRQZhoqskpEoS

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-batch-address-name-resolver-ea770673 -d '<json body>'
```

Example prompt: Can you resolve these Ethereum addresses to their human-readable blockchain names in one go: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045, 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B, and 0x1db3439a222c519ab44bb1144fc28167b4fa6ee6 — use chain ID 1 for mainnet?

## When to prefer this

Use this endpoint when you need to resolve multiple blockchain addresses to human-readable names in a single API call rather than making individual lookups. It is ideal for enriching address lists, powering leaderboards, labeling transaction histories, or any scenario where you have a batch of addresses on a specific chain and want their registered name service names without making N sequential requests. Prefer this over single-address resolvers when processing more than one address at a time to reduce latency and cost.

## Known failure modes

- Invalid or malformed addresses in the batch return errors or are omitted from results
- Unknown or unsupported chain_id returns an error or empty response
- Addresses with no registered name service record return empty/null entries in the names map
- Malformed request body (wrong bodyType or missing required fields) returns a 400-level error
- Payment failure or missing x402 authorization returns a 402 Payment Required error
- Rate limiting or quota exceeded returns a 429 error

## 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 JSON object containing a 'names' map where each input blockchain address is mapped to its resolved human-readable name (e.g. ENS or other blockchain name service record) on the specified chain. Addresses without a registered name may be absent from the map or returned with a null/empty value.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "$ref": "#/definitions/DomainsExtractorBatchResolveAddressNamesBody"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "properties": {
      "chain_id": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "names": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockscout-bens-batch-address-name-resolver-ea770673/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)
