84trust / 100

Ens Resolve

by JAW.id ENS Resolver in Weather & location

x402 APIPassing, checked 10 min ago

Resolves an ENS name into its addresses, text records, and content hash, with batch support up to 50 names and per-name chain scoping via interop addresses.

GET https://api.justaname.id/ens/v2/resolve

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
250 ms typical, 250 ms slowest 5%
Last check
10 min ago
Next check
in 22 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.justaname.id/ens/v2/resolve?ens=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%2Fapi.justaname.id%2Fens%2Fv2%2Fresolve
const res = await pay("https://api.justaname.id/ens/v2/resolve?ens=vitalik.eth");
console.log(await res.json());

Example input

{
  "ens": "vitalik.eth"
}

Example output

{
  "fullName": "vitalik.eth",
  "records": {
    "contentHash": {
      "decoded": "ipns://k51qzi5uqu5dgox2z23r6e99oqency055a6xt92xzmyvpz8mwz5ycjavm0u2u8",
      "protocolType": "ipns"
    },
    "texts": [
      {
        "key": "url",
        "value": "https://vitalik.ca"
      },
      {
        "key": "avatar",
        "value": "eip155:1/erc721:0x..."
      }
    ]
  },
  "resolvedAddress": {
    "coinType": "60",
    "value": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
10 min agoPassed402243 ms$0.005
3 h agoPassed402250 ms$0.005
9 h agoPassed402404 ms$0.005