T

TraceFast · Entities Portfolio

by TraceFast

GETBase

$0.1

per call · USD Coin on Base

TraceFast live Ethereum data: everything an address holds, valued in USD — token balances and native ETH, up to 100 positions by USD value, plus totalUsd / pricedCount / hiddenCount over the whole holding. Path address: 0x-prefixed, 40 hex. Query block: integer, state at the end of this block, absent = current; limit: integer 1..100, default 100. Docs: https://docs.tracefast.xyz/api/address-portfolio.md

Endpoint

GET https://mpp.tracefast.xyz/api/v1/chains/1/entities/:address/portfolio

1

Calls / 30d

1

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://mpp.tracefast.xyz/api/v1/chains/1/entities/:address/portfolio", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://mpp.tracefast.xyz/api/v1/chains/1/entities/:address/portfolio?limit=3" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "address": "0xf977814e90da44bfa03b6295a0616a897441acec",
    "hiddenCount": 687,
    "positions": [
      {
        "balance": "17000000000000198",
        "decimals": 6,
        "kind": "token",
        "priceUsd": 1,
        "share": 0.812,
        "symbol": "USDT",
        "token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
        "valueUsd": 17000000000
      }
    ],
    "priceBasis": "latest_hour",
    "pricedCount": 158,
    "totalUsd": 20935201151.94,
    "window": {
      "asOfBlock": 25903017,
      "kind": "current"
    }
  }
}

Payment details

Pay to0x2a65491e93ad0d484b74405401a38e2e0e5edd7e
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from TraceFast & similar services