# x402 Bazaar — Base Wallet Token Balances

> x402 Bazaar — Base Wallet Token Balances is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status down (last checked 2026-10-30).

Returns non-zero ETH, WETH, USDC, USDbC, DAI, and cbETH balances for a Base address with live USD valuations from DexScreener

## Facts

- Endpoint: POST https://api.relai.fi/relay/1782567677091/api/x402/wallet-tokens?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-bazaar-base-wallet-token-balances-0f4c236f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4QojKQDpLNIYadGWY8j_l

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 x402-bazaar-base-wallet-token-balances-0f4c236f -d '<json body>'
```

Example prompt: What token balances does Base wallet 0xAbC123...def456 currently hold, and what are they worth in USD right now?

## When to prefer this

Use this endpoint when you need a quick, enriched snapshot of the major token balances (ETH, WETH, USDC, USDbC, DAI, cbETH) on the Base network for any given address, complete with live USD pricing. It is ideal for portfolio dashboards, DeFi agents, or any flow that needs to know the current USD worth of a Base wallet without building price-feed integrations from scratch. Choose it over generic RPC calls when you want USD enrichment included in a single paid API call.

## Known failure modes

- 402 Payment Required — must pay $0.01 USDC on Base to the specified address and retry
- Invalid or malformed Base wallet address returns an error
- Address with all-zero balances returns an empty holdings list
- DexScreener pricing unavailable may result in missing or null USD values
- Network congestion on Base may delay or fail payment verification

## How this service works

Returns native ETH plus WETH, USDC, USDbC, DAI, cbETH balances for any Base address, enriched with live USD values via DexScreener. Only non-zero holdings are returned. Paid via x402: $0.01 in USDC on Base (eip155:8453) to 0x973a31858f4d2125f48c880542da11a2796f12d6. Returns 402 with payment requirements; pay and retry.

## Output

A list of non-zero token holdings for the given Base address, covering native ETH plus WETH, USDC, USDbC, DAI, and cbETH, each annotated with the current USD value sourced from DexScreener. Zero-balance tokens are omitted from the response.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Wallet address"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-bazaar-base-wallet-token-balances-0f4c236f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
