# FiatDock ENS Name Resolver

> FiatDock ENS Name Resolver is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.0027/call, status unknown (last checked 2026-10-10).

Resolves ENS names (including Basenames) to Ethereum addresses and vice versa, returning verified primary name bindings and published profile records (avatar, URL, Twitter, GitHub, description).

## Facts

- Endpoint: GET https://fiatdock.com/v1/chain/ens?utm_source=zero.xyz
- Price: $0.0027/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-ens-name-resolver-95ea7183
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SgMpTY0R9PuKkzNWx7DOV

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 fiatdock-ens-name-resolver-95ea7183
```

Example prompt: What Ethereum address does vitalik.eth resolve to, and what profile records has he published — like his Twitter, GitHub, and avatar?

## When to prefer this

Choose this endpoint when you need to resolve ENS names or Basenames to Ethereum addresses (or vice versa) with verified bidirectional confirmation and rich profile records in a single pay-per-call request. It reads directly from Ethereum mainnet via the ENS Universal Resolver with SSRF-protected off-chain gateway support, making it more reliable than rolling your own RPC calls. Prefer it over generic blockchain RPC endpoints when you need profile metadata (avatar, socials) alongside address resolution in one shot.

## Known failure modes

- Name not registered or has no resolver set — returns no address found
- Address has no primary ENS name set — returns empty name
- ENS name resolves to an address but the reverse record doesn't match — returned as unverified
- Off-chain gateway SSRF guard blocks suspicious gateway URLs
- Non-ASCII characters in name — not supported, returns error
- Malformed address format (not 0x + 40 hex) — schema validation error
- Name registered but no profile records published — returns address only with empty profile fields

## How this service works

Resolve an ENS name or Basename to its address (vitalik.eth, jesse.base.eth), or an address to its primary name - verified to resolve back - with the profile records the owner published: url, X/Twitter, GitHub, description, avatar. Read from Ethereum mainnet through the ENS Universal Resolver; off-chain gateways go through our SSRF guard. ASCII names. Send {} for the published example. A name with no address is not charged. Pay-per-call via x402.

## Output

Returns the resolved Ethereum address for a given ENS name (or the primary ENS name for a given address), along with verified reverse-resolution confirmation and any published profile records: avatar image URL, personal website URL, X/Twitter handle, GitHub username, and text description — all sourced from the ENS Universal Resolver on Ethereum mainnet.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "name": {
       "type": "string",
       "example": "vitalik.eth",
       "maxLength": 253,
       "description": "An ENS name to resolve (vitalik.eth, jesse.base.eth …) — ASCII letters, digits and hyphens"
      },
      "address": {
       "type": "string",
       "example": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
       "maxLength": 42,
       "description": "Or an address, to find its primary ENS name (0x + 40 hex)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-10-05T00:00:00.000Z",
  "name": "vitalik.eth",
  "note": "records are what the name's owner published (their words, not verified by us).",
  "chain": "ethereum",
  "query": {
   "name": "vitalik.eth"
  },
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "records": {
   "url": "https://vitalik.ca",
   "avatar": "https://euc.li/vitalik.eth",
   "github": "vbuterin",
   "twitter": "VitalikButerin",
   "description": "mi pinxe lo crino tcati"
  },
  "elapsedMs": 281,
  "primaryName": "vitalik.eth",
  "resolvedVia": "ENS Universal Resolver on Ethereum mainnet; off-chain (CCIP-Read) gateways are fetched through FiatDock's SSRF guard",
  "isPrimaryName": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-ens-name-resolver-95ea7183/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
