# Basename/ENS Name Resolution on Base

> Basename/ENS Name Resolution on Base is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Resolves Basename/ENS names to Ethereum addresses (forward lookup) or Ethereum addresses to Basename/ENS names (reverse lookup, with anti-spoofing verification) on the Base network.

## Facts

- Endpoint: GET https://api.agentstools.dev/resolve
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basename-ens-name-resolution-on-base-146ff4d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I3XTslrMGb3jwMDrRe4UB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability basename-ens-name-resolution-on-base-146ff4d9
```

Example prompt: What Ethereum address does vitalik.base.eth resolve to? And can you also do the reverse — what Basename is registered to 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?

## When to prefer this

Use this endpoint when you need to resolve Basename or ENS identities specifically on the Base network, especially when anti-spoofing guarantees for reverse lookups are important. Prefer this over generic ENS resolvers when working in the Base/Coinbase ecosystem or when you need forward-verified reverse lookups to prevent identity spoofing.

## Known failure modes

- Name not found — the Basename/ENS name does not exist or is not registered
- Address has no reverse record — the address hasn't set a primary name
- Reverse record fails forward verification — spoofing attempt detected, resolution rejected
- Invalid input format — address is not a valid 0x Ethereum address or name is malformed
- Network or RPC error — Base/ENS resolution infrastructure temporarily unavailable
- Payment failure — x402 micropayment of $0.005 USDC not completed

## How this service works

Basename/ENS resolution on Base: forward name->address (give 'name') or reverse address->name (give 'address', forward-verified against spoofing).

## Output

Returns the resolved Ethereum address for a given Basename/ENS name (forward lookup), or the verified Basename/ENS name for a given Ethereum address (reverse lookup, with forward-verification to prevent spoofing attacks). Response indicates whether resolution succeeded and provides the canonical result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "name": {
       "type": "string",
       "description": "Basename/ENS name to resolve (forward)"
      },
      "address": {
       "type": "string",
       "description": "Address for reverse lookup (->name)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basename-ens-name-resolution-on-base-146ff4d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
