# Otto AI Multi-Chain Portfolio Snapshot

> Otto AI Multi-Chain Portfolio Snapshot is a paid API for AI agents from x402.ottoai.services, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Retrieves token balances, yield positions, and total portfolio value across 7 chains for a given Otto AI Safe wallet address

## Facts

- Endpoint: GET https://x402.ottoai.services/portfolio
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-ottoai-services-bf22ca0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YV-fgK6sw-gEfcyaCjxfk

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-ottoai-services-bf22ca0e
```

Example prompt: Pull up my Otto AI Safe portfolio for wallet 0x742d35Cc6634C0532925a3b844Bc9e7595f42bE4 — I want to see my total value, idle cash, and any Aave or Morpho yield positions across all chains.

## When to prefer this

Use this endpoint when you need a unified multi-chain DeFi portfolio view specifically for Otto AI Safe accounts, including both spot token balances and yield protocol positions (Aave V3, Morpho) in a single call. Prefer this over generic balance APIs when the user has an Otto AI Safe and wants actionable DeFi recommendations alongside their balances.

## Known failure modes

- Missing or invalid userId (non-0x address format) returns a validation error
- Wallet address with no associated Otto AI Safe returns empty safeAddresses array and zero balances
- Chain RPC timeouts may result in partial data for some chains
- Invalid or malformed EVM address returns an error response
- Rate limiting or payment failure returns a 402 Payment Required

## How this service works

Multi-chain portfolio snapshot with token balances and yield positions for a user's Otto AI Safe accounts across Base, Ethereum, Arbitrum, Polygon, BSC, Avalanche, and Solana.

## Output

Returns a portfolio object containing total USD value, idle cash USD, yield position total USD, a list of Safe addresses, per-chain token balances, Aave V3 and Morpho yield positions, and butler recommendations for available DeFi actions like earning yield, swapping, or bridging.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "userId": "0x742d35Cc6634C0532925a3b844Bc9e7595f42bE4"
  }
 }
}
```

## 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": [
      "userId"
     ],
     "properties": {
      "userId": {
       "type": "string",
       "description": "EVM wallet address (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "status": {
       "type": "string"
      },
      "portfolio": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-ottoai-services-bf22ca0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ottoai.services](https://www.zero.xyz/host/x402.ottoai.services/llms.txt)
