GET /base/resolve $0.003/call
Resolve any Basename (name.base.eth) to its address, or reverse-resolve an address to its primary Basename, for $0.003 per call. The onchain identity primitive for Base, exposed as a one-line HTTP call for agents.
Parameters
| name | required | description |
|---|---|---|
name | no | name.base.eth to resolve |
address | no | address for reverse lookup |
Example
GET /base/resolve?name=jesse.base.eth
→ {"query":"jesse.base.eth","address":"0x2211…","resolved":true}
Payment (x402)
Call without payment to receive HTTP 402 with a base64 envelope in the payment-required header — price, payTo, network (USDC on Base), and I/O schemas. Pay automatically with @x402/fetch:
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://402arcade.dev/base/resolve?…");
No API keys. No accounts. Machine-readable: openapi.json · llms.txt · catalog