Token metadata and USD values for portfolio analytics: a worked example
Goldsky Feeds prices up to 100 tokens per call and puts a USD value on every balance and transfer, so a portfolio view skips the token list and price join.

Account Executive
A raw balance from a chain is an integer and a contract address, and a portfolio screen needs a symbol, a logo, a decimal amount, and a dollar value. Goldsky Feeds returns all of that in the same response as the balance or the transfer. A Balances row has the token's symbol, name, decimals, logo, and USD value next to the raw balance, and a Transfers row has the same metadata with the USD value at the time of the transfer. The Tokens endpoint prices up to 100 tokens on 9 EVM chains and Solana in one request, for a token list you keep yourself. You read one response and get a row that's ready for a portfolio screen, a tax export, or a treasury dashboard, with no price feed or token list to join by hand.

What a portfolio row needs
A row in a portfolio view needs more than the raw balance a chain gives you. It needs the token's symbol and logo to render, its decimals to turn the raw integer into a human amount, and a USD value to total up. Without a provider that returns all three, a team builds three joins. A token list gives the symbol, name, and logo. A decimals lookup per contract turns balance_raw into a real number. A price feed gives the USD value, at request time for a balance and at the historical time for a transfer. Feeds returns all three in the same response as the balance or the transfer, so none of those three joins happens on your side.
Tokens: price and identify a list in one call
The Tokens endpoint (opens in a new tab) takes a tokens parameter of up to 100 comma-separated chain:token_address pairs and returns the symbol, name, decimals, logo, and current USD price for each one, in the order you sent them. It takes no wallet. Use it to price a token list you already track, or to fill in symbol and USD value for rows you pulled from your own indexer.
This request looks up USDC on Ethereum, ETH on Base, USDC on Base, and an address that isn't a token:
curl -H "X-API-Key: $GOLDSKY_FEEDS_API_KEY" \
"https://edge.goldsky.com/data/feeds/tokens?tokens=ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,base:0x0000000000000000000000000000000000000000,base:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913,ethereum:0x000000000000000000000000000000000000dEaD"{
"data": [
{
"chain": "ethereum",
"chain_family": "evm",
"token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"token_symbol": "USDC",
"token_name": "USD Coin",
"token_decimals": 6,
"token_logo_url": "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png?1769615602",
"price_usd": 1.0,
"last_priced_at": null
},
{
"chain": "base",
"chain_family": "evm",
"token_address": "0x0000000000000000000000000000000000000000",
"token_symbol": "ETH",
"token_name": "Ether",
"token_decimals": 18,
"token_logo_url": "https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628",
"price_usd": 2325.8505102107843,
"last_priced_at": "2026-10-27T00:27:00.000Z"
},
{
"chain": "base",
"chain_family": "evm",
"token_address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
"token_symbol": "USDC",
"token_name": "USD Coin",
"token_decimals": 6,
"token_logo_url": "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png?1769615602",
"price_usd": 1.0,
"last_priced_at": null
},
{
"chain": "ethereum",
"chain_family": "evm",
"token_address": "0x000000000000000000000000000000000000dead",
"token_symbol": null,
"token_name": null,
"token_decimals": null,
"token_logo_url": null,
"price_usd": null,
"last_priced_at": null
}
]
}Both USDC entries have price_usd: 1.0 and no last_priced_at, because we price major stablecoins at 1.0. The address we don't know as a token still comes back as a row, with every field null, so you can match each row to your request by chain and token_address. One request prices a whole token list, and a request for 100 tokens costs the same as a request for one.
Balances: a priced row per token, and a wallet total
The Balances endpoint (opens in a new tab) takes a wallet address and returns one row per token it holds now, highest value_usd first, plus total_value_usd for the wallet. Each row already carries the metadata the Tokens endpoint returns, so a portfolio screen reads one response for both the token identity and its price.
The Feeds quickstart (opens in a new tab) uses 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 as its sample wallet. This request asks for two rows:
curl "https://edge.goldsky.com/data/feeds/wallets/balances?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&page_size=2&key=$GOLDSKY_FEEDS_API_KEY"{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"total_value_usd": 25174.729277920822,
"wallets": [
{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"total_value_usd": 25174.729277920822
}
],
"data": [
{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"chain": "ethereum",
"chain_family": "evm",
"token_address": "0x0000000000000000000000000000000000000000",
"token_symbol": "ETH",
"token_name": "Ether",
"token_decimals": 18,
"token_logo_url": "https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628",
"balance_raw": "5715987139328012679",
"price_usd": 2659.529118748444,
"last_priced_at": "2026-09-30T06:46:00.000Z",
"value_usd": 15201.834239434469,
"block_number": 26088597,
"block_timestamp": "2026-09-30T06:47:23.000Z"
},
{
"address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"chain": "base",
"chain_family": "evm",
"token_address": "0x0000000000000000000000000000000000000000",
"token_symbol": "ETH",
"token_name": "Ether",
"token_decimals": 18,
"token_logo_url": "https://coin-images.coingecko.com/coins/images/279/large/ethereum.png?1696501628",
"balance_raw": "3128821803472537280",
"price_usd": 2659.529118748444,
"last_priced_at": "2026-09-30T06:46:00.000Z",
"value_usd": 8321.192693710234,
"block_number": 51980751,
"block_timestamp": "2026-09-30T06:47:29.000Z"
}
],
"pagination": {
"next_page_token": "eyJzIjoidmFsdWVfdXNkIiwiayI6IiIsInQiOiJi...",
"prev_page_token": null,
"page_size": 2
}
}value_usd is balance_raw divided by 10^token_decimals, times price_usd, so your code doesn't do that division or look up that price. Set min_value_usd to drop dust, and total_value_usd counts only the rows that pass the filter, so the total at the top of the response matches the rows on the screen. Our worked example on wallet balance and transfer history covers paging and requests for several wallets.
Transfers: metadata and a USD value at transfer time
The Transfers endpoint (opens in a new tab) returns one row for each transfer, newest first, with the same token metadata as Balances and with amount_usd, the value of the transfer at the time it happened. That's the field a tax tool or a deposit reconciliation job needs, because today's price is the wrong one for a transfer from last March.
This request gets the wallet's most recent transfer:
curl "https://edge.goldsky.com/data/feeds/wallets/transfers?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&key=$GOLDSKY_FEEDS_API_KEY"{
"data": [
{
"chain": "ethereum",
"chain_family": "evm",
"block_number": 26088909,
"block_timestamp": "2026-09-30T07:49:59.000Z",
"transaction_hash": "0x1a4b7361a7700a95158ab51ace260ad29089c37144348f892af384b193e90159",
"from_address": "0xc2363b7155ee8391c5395b72c46a6d22bf49151c",
"to_address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
"from_label": null,
"to_label": null,
"direction": "in",
"token_address": "0x6b175474e89094c44da98b954eedeac495271d0f",
"token_symbol": "DAI",
"token_name": "Dai",
"token_decimals": 18,
"token_logo_url": "https://coin-images.coingecko.com/coins/images/9956/large/Badge_Dai.png?1696509996",
"amount_raw": "9800000000000000000",
"price_usd": 1.0,
"amount_usd": 9.8,
"transfer_type": "erc20"
}
],
"pagination": {
"next_page_token": "eyJzIjoiYmxvY2tfdGltZXN0YW1wX2Rlc2MiLCJr...",
"prev_page_token": null,
"page_size": 100
}
}The row says the wallet received 9.8 DAI worth $9.80 at the time, with the symbol, name, decimals, and logo attached. Each transfer row has the price from just before its own block, so a year of transfers comes back with each one priced at the time it happened. A tax tool reads amount_usd from the row and doesn't look up DAI's price for that date.
Limits on the price and the metadata
The price field behaves differently depending on which endpoint returns it, and a portfolio tool needs to know which one it's reading.
| What you're asking | What you get |
|---|---|
Tokens: price_usd | The current price, served only if we recorded it in the last 4 hours. You can't ask for a price at a past time. |
Balances: price_usd, value_usd | The latest price, with the same 4-hour rule. You can't ask for balances at a past block. |
Transfers: price_usd, amount_usd | The last price we recorded shortly before the transfer's block, or null if none is close enough. |
A token with no price source comes back with price_usd set to null on every endpoint, and Balances and Transfers leave those tokens out by default. Set include_unknown_price=true on either wallet feed to see them, unpriced. Major stablecoins are priced at 1.0 with no last_priced_at, so leave them out of a staleness check.
One more thing matters for a tax export. We price each transfer when you request it, so the price_usd and amount_usd of an old transfer can change as our price history fills in. If you need a number that doesn't move, store the value when you read it.
Balances, Transfers, and Tokens cover 9 EVM chains, Ethereum, Base, Arbitrum One, Optimism, Polygon, BNB Smart Chain, Robinhood Chain, Arc, and Elysium, plus Solana. The wallet's own address decides which chains a Balances or Transfers request reads: an EVM address reads the 9 EVM chains, and a Solana address reads Solana. NFT transfers, ERC-721 and ERC-1155, aren't supported on Transfers yet and return a 400 error. One request with an EVM address reads all 9 EVM chains, so you don't maintain an integration for each chain.
The same data in your own database
Calling the API on a schedule works for a screen a user opens on demand. A reconciliation job that scans a wallet's whole history, or a dashboard with thousands of tracked wallets, reads faster from a table it already owns. Feeds data sync (opens in a new tab) pushes a feed's rows to ClickHouse, Postgres, MySQL, or a webhook as they land, so your app queries its own table and doesn't poll. We introduced the wallet feeds and this streaming path together in the post that introduced Feeds. Data sync is in early access today: email [email protected] with the feed and the destination you want, and we turn it on for your project.
Price of the API
Every Feeds request with an API key bills on one meter, $10 per million compute units, with no minimum spend. Tokens, Balances, and Transfers cost 35 compute units per request, $0.35 per 1,000 requests, and each wallet in a multi-wallet Balances or Transfers request bills as its own request. A Tokens request for 100 tokens costs the same as one for a single token. The rate limit is per project rather than per key: 5 requests per second on the Starter plan at no monthly fee, 50 on Scale, and higher tiers on request. You can also pay for each request in USDC over x402, at $0.00035 for these three endpoints, with no Goldsky account. A portfolio tool that reads the balances of 1,000 wallets once a day spends $0.35 a day when each wallet fits on one page.
FAQ
Does the USD value come from the current price or the price at the time of a transfer?
It depends on the endpoint. Tokens and Balances return the current price, which is the latest one we recorded in the last 4 hours. Transfers returns the price from just before the transfer's block, so a row from six months ago has the price of that date.
Which tokens come back with no USD value?
Any token we have no price source for, or none recent enough, comes back with price_usd set to null. Balances and Transfers leave those tokens out by default, and include_unknown_price=true brings them back unpriced. Major stablecoins are always priced at 1.0.
Can I look up a token I don't have a wallet balance for?
Yes. The Tokens endpoint takes no wallet. Pass any chain:token_address pair and it returns that token's metadata and current price, or null fields if we don't know the token yet.
Does this cover NFTs?
Not yet. Transfers supports native and ERC-20 transfer types today, and ERC-721 and ERC-1155 requests return a 400 error.
How do I start building on Goldsky Feeds?
Create a Feeds API key on the API keys tab of the Feeds dashboard. Then run the Tokens request in this post with your own token list, and the Balances request with a wallet you track.