# klymax402 Wallet Portfolio API

> klymax402 Wallet Portfolio API is a paid API for AI agents from klymax402.com, paid per call via x402, $0.008/call, status unknown (last checked 2026-09-14).

Retrieves the complete token portfolio and native balance for a given wallet address on Base or Ethereum, returning token holdings and total USD value.

## Facts

- Endpoint: GET https://klymax402.com/api/wallet-portfolio/api/portfolio
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/klymax402-wallet-portfolio-api-88519373
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HjhriTElUNfyYs7qYIHM4

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 klymax402-wallet-portfolio-api-88519373
```

Example prompt: What tokens does wallet 0x742d35Cc6634C0532925a3b8D4C9C6e8a1b2f3e4 hold on Base, and what's the total portfolio value in USD?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call portfolio snapshot for any wallet on Base or Ethereum without managing API keys. It is ideal for lightweight agent workflows that occasionally need on-chain portfolio data without subscribing to a full blockchain data provider. Prefer alternatives if you need historical portfolio data, NFT holdings, or support for chains beyond Base and Ethereum.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain value returns a validation error
- Empty wallet with no tokens returns an empty token array
- Network timeout or upstream data provider outage causes a 5xx error
- Payment failure (insufficient USDC or x402 rejection) blocks the request

## How this service works

One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.

## Output

Returns a JSON object containing the wallet address, blockchain network, timestamp, a list of token holdings (with balances and values), the native token balance, total token count, and the total portfolio value in USD.

## 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": "Blockchain network (default: base)"
      },
      "address": {
       "type": "string",
       "description": "Wallet address (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "example",
  "tokens": [],
  "address": "example",
  "timestamp": "example",
  "tokenCount": 1,
  "nativeBalance": {},
  "totalPortfolioUsd": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/klymax402-wallet-portfolio-api-88519373/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from klymax402.com](https://www.zero.xyz/host/klymax402.com/llms.txt)
