77trust / 100

Ens Records

by ENS Text Records API in News & content

x402 APIPassing, checked 2 h ago

Read an ENS name's address plus its text records (avatar, url, email, description, com.twitter, com.github and more) in one call, live from the resolver on Ethereum mainnet. Pass `keys` to fetch specific records, or omit it for a sensible default set. Only records that are set are returned. Live reads with automatic endpoint fallback.

POST https://chain.openverbs.com/v1/ens-records

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
557 ms typical, 609 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://chain.openverbs.com/v1/ens-records" \
  -H "content-type: application/json" \
  -d '{"keys":["com.twitter"],"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%2Fchain.openverbs.com%2Fv1%2Fens-records
const res = await pay("https://chain.openverbs.com/v1/ens-records", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"keys":["com.twitter"],"name":"vitalik.eth"}),
});
console.log(await res.json());

Example input

{
  "keys": [
    "com.twitter"
  ],
  "name": "vitalik.eth"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402724 ms$0.002
5 h agoPassed402168 ms$0.002
9 h agoPassed402166 ms$0.002
13 h agoPassed402557 ms$0.002
16 h agoPassed402563 ms$0.002
20 h agoPassed402565 ms$0.002
23 h agoPassed402609 ms$0.002
27 h agoPassed402560 ms$0.002
31 h agoPassed402530 ms$0.002
34 h agoPassed402496 ms$0.002
40 h agoPassed402167 ms$0.002