83trust / 100
Portfolio
by Otto AI in Onchain & crypto
x402 APIPassing, checked 1 h ago
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.
GET https://x402.ottoai.services/portfolio
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 67 ms typical, 210 ms slowest 5%
- Last check
- 1 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.ottoai.services/portfolio?userId=0xYourWalletAddress"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402.ottoai.services%2Fportfolio
const res = await pay("https://x402.ottoai.services/portfolio?userId=0xYourWalletAddress");
console.log(await res.json());Example input
{
"userId": "0xYourWalletAddress"
}Example output
{
"portfolio": {
"tokens": [],
"totalValueUsd": 0
},
"status": "success"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 272 ms | $0.001 |
| 4 h ago | Passed | 402 | 63 ms | $0.001 |
| 7 h ago | Passed | 402 | 67 ms | $0.001 |
| 12 h ago | Passed | 402 | 210 ms | $0.001 |