Z
$0.01
per call · USD Coin on Base
Endpoint
GET https://api.zerion.io/v1/wallets/:address/portfolio4
Calls / 30d
3
Unique payers / 30d
Sep 2
Last called
exact
Payment scheme
Call this service
TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://api.zerion.io/v1/wallets/:address/portfolio", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://api.zerion.io/v1/wallets/:address/portfolio?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"attributes": {
"total": {
"currency": "usd",
"value": 1234.56
}
},
"type": "wallet-portfolio"
}
}Payment details
Pay to
0xd07c06a650a88bbcf4f0c4fbf2c6c08c9a60acc6Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase, Solana
Schemesexact
Is this your API?
Pin it to the top of Other and the homepage with a featured placement.
More from Zerion & similar services
Z
Zerion · Wallets Transactions
api.zerion.io
No description provided.
GETBaseOther
$0.01 / call451 calls / 30d
Z
Zerion · Wallets Positions
api.zerion.io
No description provided.
GETBaseOther
$0.01 / call16 calls / 30d
Z
Zerion · Fungibles
api.zerion.io
No description provided.
GETBaseOther
$0.01 / call3 calls / 30d