# Wallet Profile Lookup API (x402)

> Wallet Profile Lookup API (x402) is a paid API for AI agents from freetier-agent-api.pages.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-30).

Returns on-chain wallet or contract profile data including ETH balance, token balances, nonce, and account type for a given address on Base or Ethereum.

## Facts

- Endpoint: GET https://freetier-agent-api.pages.dev/api/wallet-profile?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wallet-profile-lookup-api-x402-1030f898
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rkFfVsYxzca-RRVrnMT6k

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 wallet-profile-lookup-api-x402-1030f898
```

Example prompt: Can you pull the full on-chain profile for wallet address 0xAbCd...1234 on Base — I want to see the ETH balance, any token holdings like USDC, and whether it's a regular wallet or a contract?

## When to prefer this

Choose this endpoint when you need a quick, no-signup on-chain wallet profile including balance and account type for Base or Ethereum, and you want to pay per call with USDC via x402 rather than managing API keys or subscriptions.

## Known failure modes

- Invalid or malformed address format returns an error
- Unsupported chain value returns a validation error
- Address not found or zero activity may return empty balances
- Payment not fulfilled via x402 returns HTTP 402
- Network or RPC timeout may cause delayed or failed response

## How this service works

Invoice-to-JSON, on-chain tools (transaction explainer + payment check, wallet profile, contract ABI, ERC-20 token risk), company contacts and web-to-RAG for AI agents. Pay per call with x402 (USDC on Base). No signup, no API key.

## Output

A JSON object containing the account type (EOA or contract), chain, address, nonce, ETH balance as a string, and an array of token balances each with symbol and balance amount.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "default base"
      },
      "address": {
       "type": "string",
       "description": "wallet or contract address 0x..."
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "eoa",
  "chain": "base",
  "nonce": 42,
  "address": "0x...",
  "ethBalance": "0.0123",
  "tokenBalances": [
   {
    "symbol": "USDC",
    "balance": "12.5"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wallet-profile-lookup-api-x402-1030f898/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from freetier-agent-api.pages.dev](https://www.zero.xyz/host/freetier-agent-api.pages.dev/llms.txt)
