ENS Resolver
Resolve an ENS name, including .eth names, DNS names on ENS and subdomains, to its Ethereum address, avatar and resolver.
Pay by wallet (x402)
ens-resolve Example
Example answer
{
"name": "thisdoesnotexist99999.eth",
"address": null,
"resolved": false,
"resolver": null,
"avatar_url": null
} Inputs
| Field | Type | Required | What it is |
|---|---|---|---|
name | string | Yes | ENS name to resolve (e.g., 'vitalik.eth') |
Output fields
How reliably each field appears in a successful answer.
| Field | Type | Appears |
|---|---|---|
name | string | Usually (present for most inputs) |
address | string | Usually (present for most inputs) |
resolved | boolean | Usually (present for most inputs) |
avatar_url | string | Usually (present for most inputs) |
How to call it
The same tool through each route. MCP clients reach it through Strale’s server at https://api.strale.io/mcp; the call below is what the agent sends.
# Needs an API key. max_price_cents caps what this call may cost.
curl -X POST https://api.strale.io/v1/do \
-H "Authorization: Bearer $STRALE_API_KEY" \
-H 'Content-Type: application/json' \
-d '{
"capability_slug": "ens-resolve",
"inputs": {
"name": "vitalik.eth"
},
"max_price_cents": 2
}' {
"tool": "strale_execute",
"arguments": {
"slug": "ens-resolve",
"inputs": {
"name": "vitalik.eth"
},
"max_price_cents": 2
}
} import { Strale } from "straleio";
const strale = new Strale({ apiKey: process.env.STRALE_API_KEY! });
const result = await strale.do({
capability_slug: "ens-resolve",
inputs: {
"name": "vitalik.eth"
},
max_price_cents: 2,
}); import os
from straleio import Strale, DoRequest
strale = Strale(api_key=os.environ["STRALE_API_KEY"])
result = strale.do(DoRequest(
capability_slug="ens-resolve",
inputs={
"name": "vitalik.eth",
},
max_price_cents=2,
)) # No account. The first request answers 402 with the price in USDC;
# an x402 client pays it from your wallet and repeats the request.
curl -i 'https://api.strale.io/x402/v2/ens-resolve?name=vitalik.eth' Limitations
Output reflects Public Ethereum RPC (publicnode.com, llamarpc.com) at query time. Dependent on upstream API availability; may degrade if the provider rate-limits or is temporarily unavailable.
Related tools
- Crypto Fear and Greed Index €0.02
- ENS Reverse Lookup €0.02
- Gas Price Check €0.02
- Protocol Fees Lookup €0.02
- Protocol TVL Lookup €0.02
- Stablecoin Flow Check €0.02