A

Agenttoll · Base Name

by Agenttoll

GETBase

$0.001

per call · USD Coin on Base

Basename lookup both ways: a name returns its address and text records, an address returns its primary basename

Endpoint

GET https://agenttoll.app/api/base/name/:nameOrAddress

11

Calls / 30d

3

Unique payers / 30d

Aug 31

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agenttoll.app/api/base/name/:nameOrAddress", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://agenttoll.app/api/base/name/:nameOrAddress" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "address": "0xe553...56f8",
  "at": "2026-08-05T13:31:58.678Z",
  "name": "agenttoll.base.eth",
  "query": "agenttoll.base.eth",
  "records": {},
  "resolver": "0x426fA03f..."
}

Payment details

Pay to0xe55359021a6a22d8385b827405991c56075f56f8
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Agenttoll & similar services