81trust / 100

Basename

by APEX Basename lookup in Weather & location

x402 APIPassing, checked 4 h ago

Basename lookup: name.base.eth to address, or an address to its verified primary name, with profile records. Base name lookup: a Basename (name.base.eth) to its address, owner and public profile records (avatar, url, X, GitHub), or an address to its primary Basename, forward-verified so a spoofed reverse record is never trusted. Read on Base from the Basenames registry. Paid in USDC on Base.

GET https://apexfaucet.xyz/api/x402/basename

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://apexfaucet.xyz/api/x402/basename?q=jesse.base.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%2Fapexfaucet.xyz%2Fapi%2Fx402%2Fbasename
const res = await pay("https://apexfaucet.xyz/api/x402/basename?q=jesse.base.eth");
console.log(await res.json());

Example input

{
  "q": "jesse.base.eth"
}

Example output

{
  "data": {
    "address": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
    "isPrimaryNameOfAddress": true,
    "kind": "name",
    "ok": true,
    "owner": "0x2211d1D0020DAEA8039E46Cf1367962070d77DA9",
    "profile": {
      "avatar": "https://zku9gdedgba48lmr.public.blob.vercel-storage.com/basenames/avatar/jesse.base.eth/1722020142962/cryptopunk-diuDROj…",
      "com.github": "jessepollak",
      "com.twitter": "jessepollak",
      "description": "base.eth builder #001",
      "url": "jesse.xyz"
    },
    "query": "jesse.base.eth",
    "registered": true,
    "resolver": "0xC6d566A56A1aFf6508b41f6c90ff131615583BCD"
  },
  "ok": true,
  "paid": 0.001
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed402161 ms$0.001