Skip to main content
This quickstart gets a wallet’s balances and transfers from the Feeds REST API, then looks up token prices, in four steps. It ends with requests to the Prediction markets and Chain datasets feeds, which use the same key.

Prerequisites

1

Get your API key

Open Feeds in the Goldsky dashboard and create or copy a key on the API keys tab. You can also get one from the Goldsky API or the CLI. One key works for every feed in your project.This is a Feeds API key, not the Goldsky API key the CLI uses.Save the key in your server’s environment:
2

Get balances for a wallet

Request the balances for a wallet:
The response has the wallet’s total value and one row per token, highest value first. This one is shortened to its first row:
3

Get transfers for a wallet

Request the transfer history for the same wallet:
You get the wallet’s transfers across every supported chain, newest first, 100 per page. This one is shortened to its first row:
To get the next page, pass pagination.next_page_token back as page_token.
4

Look up token prices

Request the metadata and current USD price of USDC on Ethereum and ETH on Base. Pass up to 100 chain:token_address pairs, and use the zero address for a chain’s native token:
You get one entry per token, in the order you asked for them:
USDC has a price but no last_priced_at because major stablecoins are priced at 1.0. The response has no pagination.
Each successful Balances, Transfers, or Tokens request is billed as one request, at $0.35 per 1,000. A Tokens request costs the same whether it looks up one token or 100. Or pay per request in USDC with x402, with no Goldsky account or API key.

Try the other feeds

The same key works for the Prediction markets and Chain datasets feeds. You can also try them from their cards on the dashboard’s Feeds page, which open a request builder and a preview. These feeds page with limit and cursor instead of page_size and page_token. See pagination. Get a wallet’s three largest Polymarket positions:
Find the newest Ethereum block at or before a Unix timestamp:
These feeds bill one compute unit per row returned, at $10 per million. Or pay per request in USDC with x402, with no Goldsky account or API key. See Feeds pricing.

Prompt a coding agent

To have Claude Code, Cursor, or another coding agent build on Feeds, paste this prompt and replace the last line with what you want to build:
For the Feeds skill, the docs MCP server, and OpenAPI tool generation, see Build with agents.

Next steps

Balances reference

Filter by chain or token, hide dust, and page through holdings.

Transfers reference

Filter by direction, transfer type, time, or block range.

Tokens reference

Look up metadata and current USD prices for up to 100 tokens.

Prediction markets reference

Polymarket activity, positions, and balances.

Chain datasets reference

Block headers and chain head on 21 chains.