81trust / 100

Chain Ens

by FiatDock in Weather & location

x402 APIPassing, checked 2 h ago

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.

POST https://fiatdock.com/v1/chain/ens

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
45 ms typical, 45 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://fiatdock.com/v1/chain/ens" \
  -H "content-type: application/json" \
  -d '{"name":"vitalik.eth"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffiatdock.com%2Fv1%2Fchain%2Fens
const res = await pay("https://fiatdock.com/v1/chain/ens", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"name":"vitalik.eth"}),
});
console.log(await res.json());

Example input

{
  "name": "vitalik.eth"
}

Example output

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

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402133 ms$0.0027
7 h agoPassed40245 ms$0.0027