Basename lookup both ways: a name returns its address and text records, an address returns
Basename lookup both ways: a name returns its address and text records, an address returns its primary basename
1000 (raw units)
price
9
calls / 30d
2
unique payers
2026-08-31
updated
Provider
agenttoll.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xe55359021a6a22d8385b827405991c56075f56f8",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"nameOrAddress": "agenttoll.base.eth"
},
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"address": "0xe553...56f8",
"at": "2026-08-05T13:31:58.678Z",
"name": "agenttoll.base.eth",
"query": "agenttoll.base.eth",
"records": {},
"resolver": "0x426fA03f..."
},
"type": "json"
}
},
"routeTemplate": "/api/base/name/:nameOrAddress",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"properties": {
"nameOrAddress": {
"description": "A basename (.base.eth optional) or a 0x address",
"type": "string"
}
},
"required": [
"nameOrAddress"
],
"type": "object"
},
"queryParams": {
"properties": {},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agenttoll.app/api/base/name/:nameOrAddress" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agenttoll.app/api/base/name/:nameOrAddress");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agenttoll.app/api/base/name/:nameOrAddress")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/4007.json, and this resource appears in /discovery/resources and /discovery/search.