# Crypto Portfolio Valuator

> Crypto Portfolio Valuator is a paid API for AI agents from crypto-portfolio-valuator.pdfextractapi.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Values a wallet's native token balance and specified ERC-20 holdings in USD across major EVM chains.

## Facts

- Endpoint: POST https://crypto-portfolio-valuator.pdfextractapi.workers.dev/valuate
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-portfolio-valuator-4f26e860
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Erw2uaYIDoTAQgOXnfr7W

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 crypto-portfolio-valuator-4f26e860 -d '<json body>'
```

Example prompt: What's the total USD value of the wallet 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B on Ethereum, including these ERC-20 tokens: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and 0x6B175474E89094C44Da98b954EedeAC495271d0F?

## When to prefer this

Use this endpoint when you need a quick USD valuation of a single wallet's native and ERC-20 token holdings across major EVM chains. It supports Ethereum, Base, Polygon, Arbitrum, Optimism, and BNB chains. Prefer this over manual on-chain lookups or multi-step token price APIs when you need an aggregated dollar value in one call.

## Known failure modes

- Invalid or malformed wallet address returns an error
- Unsupported chain key causes rejection — must be one of: ethereum, base, polygon, arbitrum, optimism, bnb
- More than 10 ERC-20 token addresses provided exceeds limit
- Invalid ERC-20 contract address may return zero value or error
- Network/RPC timeout for the specified chain
- Token price feed unavailable for obscure ERC-20 contracts

## Output

Returns the wallet's USD-denominated value including the native chain token (e.g. ETH, MATIC) plus optional ERC-20 token balances, aggregated into a total portfolio valuation 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Optional chain key. Default 'ethereum'. One of: ethereum, base, polygon, arbitrum, optimism, bnb."
      },
      "tokens": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional array of ERC-20 contract addresses to include, max 10."
      },
      "address": {
       "type": "string",
       "description": "The wallet address to value."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/crypto-portfolio-valuator-4f26e860/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto-portfolio-valuator.pdfextractapi.workers.dev](https://www.zero.xyz/host/crypto-portfolio-valuator.pdfextractapi.workers.dev/llms.txt)
