Build with Goldsky Feeds from Codex, Claude Code, Cursor, or any coding agent using the Feeds OpenAPI spec, plus the Feeds skill and docs MCP server.
The easiest way to build with Feeds is to prompt your coding agent with:
Use Goldsky Feeds for onchain data. API spec (OpenAPI): https://edge.goldsky.com/data/openapi.json. Send your API key in the x-api-key header.
This works in Codex, Claude Code, Cursor, Grok, and any other coding agent. The agent reads the spec to learn every feed’s parameters and response fields. Then describe what you want to build. For example:
“Show me what 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Base.”
“Build a portfolio endpoint that returns a wallet’s total value and one row per token.”
“List this trader’s open Polymarket positions with realized PnL.”
Give the agent a Feeds API key, for example in a GOLDSKY_FEEDS_API_KEY environment variable. See Get an API key. An agent can also get the key from the Goldsky API, or pay for each request itself with x402, with no account or key.
The Feeds API key is not the Goldsky API token. Don’t give an agent that only reads feed data access to the Goldsky API token.
The Goldsky Agent skill pack includes a feeds skill for Claude Code, Cursor, Windsurf, Codex, and other AI coding assistants. It teaches the assistant how to authenticate, call the Balances, Transfers, and Tokens endpoints, and avoid common mistakes, such as using the Goldsky API token instead of the Feeds key.
npx skills add goldsky-io/goldsky-agent
See Agent Skills for other install methods and for agents that don’t load skills automatically.
Filter by chain when you can. Wallet requests default to every supported chain. Pass chains, such as chains=base, when the user names a chain.
Follow pagination. Balances and Transfers page with page_size and page_token. The Prediction markets feeds and Blocks page with limit and cursor, and ignore page_size. See pagination in the API overview.
Mind the chain names. Blocks spells Polygon matic, while the wallet feeds spell it polygon. Each group has its own chain list.
Scale Polymarket numbers. Positions and Prediction markets Balances return strings in raw units of 10^6. Activity returns plain numbers.
Batch token lookups. To price a list of tokens, send up to 100 chain:token_address pairs in one Tokens request instead of one request per token. It costs the same as a request for one token.
Can’t find what you’re looking for? Reach out to us at support@goldsky.com for help.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.