Z

Zerion · Wallets Positions

by Zerion

GETBaseSolana

$0.01

per call · USD Coin on Base

Endpoint

GET https://api.zerion.io/v1/wallets/:address/positions

16

Calls / 30d

3

Unique payers / 30d

Sep 4

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/positions", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.zerion.io/v1/wallets/:address/positions?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": [
    {
      "attributes": {},
      "id": "<resource id>",
      "type": "<resource type>"
    }
  ],
  "links": {
    "self": "https://api.zerion.io/v1/..."
  }
}

Payment details

Pay to0xd07c06a650a88bbcf4f0c4fbf2c6c08c9a60acc6
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Zerion & similar services