{"uid":"cap_acbW0W6hgRQZhoqskpEoS","slug":"blockscout-bens-batch-address-name-resolver-ea770673","name":"Blockscout BENS Batch Address Name Resolver","description":"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","url":"https://api.blockscout.com/services/bens/api/v1/%7Bchain_id%7D/addresses:batch-resolve-names","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{"names":{}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xthlYSuWg9IS7TMvPD8mr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves multiple blockchain addresses to their human-readable ENS-style names in a single batch call for a specified chain","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Label wallet addresses in a portfolio tracker","prompt":"I have a list of Ethereum addresses from my portfolio tracker — 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045, 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B, and 0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe — can you resolve them all to their ENS or blockchain names on chain ID 1?"},{"title":"Enrich transaction senders with readable names","prompt":"These addresses all sent transactions in the last block on Ethereum mainnet (chain 1): 0x00000000219ab540356cBB839Cbe05303d7705Fa and 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2. Can you batch-resolve them to their blockchain name service names so I can display something friendlier than raw addresses?"},{"title":"Dapp leaderboard name display","prompt":"I'm building a leaderboard for my dapp on Polygon (chain 137) and need to show names instead of raw addresses. Here are the top 5 addresses: 0x1111, 0x2222, 0x3333, 0x4444, 0x5555 — resolve them all to their registered names in one shot using Blockscout's name service."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-10T00:35:52.949Z","isFirstParty":false}