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.
More ways to use Feeds from an agent
Install the Feeds skill
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.
Connect the docs MCP server
The Goldsky docs MCP server lets any MCP client search the Goldsky docs, including the Feeds API reference, while it answers. Point your client at:
https://docs.goldsky.com/mcp
For clients that use the mcpServers schema, such as Cursor and Claude Code:
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?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Goldsky","colors":{"primary":"#F24B13","light":"#FE6C3C","dark":"#F24B13"},"logo":{"light":"https://mintcdn.com/goldsky-38/ji0yCkCfylVYRAVB/images/logo/light.svg?fit=max\u0026auto=format\u0026n=ji0yCkCfylVYRAVB\u0026q=85\u0026s=a5f82383787205b368a99af88dc7536e","dark":"https://mintcdn.com/goldsky-38/ji0yCkCfylVYRAVB/images/logo/dark.svg?fit=max\u0026auto=format\u0026n=ji0yCkCfylVYRAVB\u0026q=85\u0026s=d0291d9445301cfe0e12d6bccebd76c0","href":"/introduction"},"favicon":"https://mintcdn.com/goldsky-38/ji0yCkCfylVYRAVB/images/favicon.svg?fit=max\u0026auto=format\u0026n=ji0yCkCfylVYRAVB\u0026q=85\u0026s=b1885abf9abeb800a2df8eeba09cf484","api":{"playground":{}},"appearance":{"default":"dark","strict":false},"background":{"color":{"light":"#FFFFFF","dark":"#090B0C"}},"navbar":{"primary":{"type":"button","label":"Open app","href":"https://app.goldsky.com/"}},"footer":{"socials":{"twitter":"https://twitter.com/goldskyio","linkedin":"https://www.linkedin.com/company/76612907","github":"https://github.com/goldsky-io/documentation-examples"}},"seo":{"metatags":{"og:site_name":"Goldsky Documentation","twitter:card":"summary_large_image","twitter:site":"@goldskyio","twitter:creator":"@goldskyio","msvalidate.01":"ACCFDAF535E366D076B974FC456A5E23"},"indexing":"navigable"},"fonts":{"body":{"family":"Inter"}},"icons":{"library":"lucide"},"styling":{"eyebrows":"breadcrumbs","codeblocks":"dark","latex":false},"integrations":{"ga4":{"measurementId":"G-EWJVB03QZV"},"posthog":{"apiKey":"phc_xnF1pd8YYevvkU72QMBo7tj0L8HZ85GPqUxfH3LjkvY","apiHost":"https://us.i.posthog.com"}},"contextual":{"options":["copy","view","assistant","download-spec"],"display":"header"},"thumbnails":{"appearance":"light","background":"https://mintcdn.com/goldsky-38/btZ7fHJ4AzpW9VsW/images/og/waves-1.png?fit=max\u0026auto=format\u0026n=btZ7fHJ4AzpW9VsW\u0026q=85\u0026s=f1549f9490ef128fa88580ce21b46212"},"navigation":{"global":{"anchors":[{"anchor":"Pricing","icon":"tag","href":"https://goldsky.com/pricing"},{"anchor":"Products","icon":"layers","href":"https://goldsky.com/products/turbo-pipelines"},{"anchor":"Solutions","icon":"compass","href":"https://goldsky.com/solutions/reconciliation"},{"anchor":"Comparisons","icon":"scale","href":"https://goldsky.com/compare/the-graph"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"goldsky-38","hasAudioNarration":false,"actualSubdomain":"goldsky-38","customDomains":["docs.goldsky.com"],"gitSource":{"type":"github","owner":"goldsky-io","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":false,"contextualFeedback":{"allowEmail":true},"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b09a00e8d78a2dfa2daf69f","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Chains","count":160},{"language":"default","tag":"Overview","count":116},{"language":"default","tag":"Turbo","count":115},{"language":"default","tag":"Other networks","count":108},{"language":"default","tag":"API reference","count":87},{"language":"default","tag":"Reference","count":80},{"language":"default","tag":"Edge RPC","count":69},{"language":"default","tag":"Compose","count":61},{"language":"default","tag":"Methods","count":55},{"language":"default","tag":"Partners","count":42}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@goldsky.com"}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"::selection{background:rgba(255, 173, 51, 0.28)}a.card,a[class*=\"card\"]{transition:border-color 0.15s ease}a.card:hover,a[class*=\"card\"]:hover{border-color:rgba(255, 173, 51, 0.45)}.card:hover,a[class*=\"card\"]:hover{transform:none;box-shadow:none}#content-area table th,#content-area table td{padding-top:0.45rem;padding-bottom:0.45rem}*{scrollbar-width:thin;scrollbar-color:rgba(161, 161, 170, 0.35) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-thumb{background:rgba(161, 161, 170, 0.35);border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:rgba(255, 173, 51, 0.55)}*::-webkit-scrollbar-track{background:transparent}:root{--gsk-ink: #111827;--gsk-body: #4b5563;--gsk-sub: #6b7280;--gsk-card: #ffffff;--gsk-panel: #fcfcfb;--gsk-code: #f6f6f5;--gsk-hair: rgba(17, 24, 39, 0.12);--gsk-edge: rgba(17, 24, 39, 0.2);--gsk-wire: #94a3b8;--gsk-on-accent: #ffffff;--gsk-gold: #d97706;--gsk-green: #059669;--gsk-cyan: #0e7490;--gsk-blue: #2563eb;--gsk-purple: #7c3aed;--gsk-red: #dc2626;--gsk-gray: #6b7280}:root.dark{--gsk-ink: #f4f4f5;--gsk-body: #d4d4d8;--gsk-sub: #a1a1aa;--gsk-card: rgba(255, 255, 255, 0.03);--gsk-panel: rgba(255, 255, 255, 0.03);--gsk-code: rgba(255, 255, 255, 0.06);--gsk-hair: rgba(255, 255, 255, 0.1);--gsk-edge: rgba(255, 255, 255, 0.18);--gsk-wire: #52525b;--gsk-on-accent: #1c1033;--gsk-gold: #ffad33;--gsk-green: #34d399;--gsk-cyan: #22d3ee;--gsk-blue: #60a5fa;--gsk-purple: #a78bfa;--gsk-red: #f87171;--gsk-gray: #a1a1aa}img[src*=\"/product-icons/\"]{object-position:-999px 0;background-color:currentColor!important;-webkit-mask:var(--icon) center / contain no-repeat;mask:var(--icon) center / contain no-repeat}img[src$=\"/product-icons/pipelines.svg\"]{--icon: url(\"/images/product-icons/pipelines.svg\")}img[src$=\"/product-icons/edge.svg\"]{--icon: url(\"/images/product-icons/edge.svg\")}img[src$=\"/product-icons/boost.svg\"]{--icon: url(\"/images/product-icons/boost.svg\")}img[src$=\"/product-icons/feeds.svg\"]{--icon: url(\"/images/product-icons/feeds.svg\")}img[src$=\"/product-icons/compose.svg\"]{--icon: url(\"/images/product-icons/compose.svg\")}img[src$=\"/product-icons/subgraphs.svg\"]{--icon: url(\"/images/product-icons/subgraphs.svg\")}@media (min-width: 1024px){#navbar.is-not-custom>.max-w-8xl,#navbar.is-not-custom~#body-content{max-width:none;padding-left:24px;padding-right:24px}}@media (min-width: 1280px){#navbar.is-not-custom.is-not-wide~#body-content #content-container{max-width:none;padding-right:0}#navbar.is-not-custom.is-not-wide~#body-content #content-area{max-width:672px;margin-left:auto;margin-right:auto}}#navbar .topbar-right-container #theme-preference-menu-trigger{order:-1}#theme-preference-menu-trigger{background-color:transparent}#topbar-cta-button svg{display:none}#topbar-cta-button a{padding-left:12px;padding-right:10px}#topbar-cta-button a>div::after{content:\"\";width:1rem;height:1rem;background-color:rgb(255 255 255 / 0.9);-webkit-mask:var(--arrow-up-right) center / contain no-repeat;mask:var(--arrow-up-right) center / contain no-repeat;--arrow-up-right: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M18 15V6M18 6H9M18 6L6.25 17.75' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\")}#sidebar-content .sidebar-group-header,#navbar .nav-tabs-item{gap:6px}[role=\"menu\"]{box-shadow:0 12px 32px -4px rgb(0 0 0 / 0.12),\n 0 4px 8px -2px rgb(0 0 0 / 0.06)!important}:root.dark [role=\"menu\"]{box-shadow:0 12px 32px -4px rgb(0 0 0 / 0.6),\n 0 4px 8px -2px rgb(0 0 0 / 0.4)!important}@media (min-width: 1024px){#navbar div:has(>#search-bar-entry){justify-content:center}#navbar #search-bar-entry{flex:none;width:208px}}"}]}
{"page":{"pagePath":"feeds/agents","slug":"/feeds/agents","pageMetadata":{"title":"Build with agents","sidebarTitle":"Build with agents","description":"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.","og:title":"Build with agents - Goldsky Docs","public":true,"href":"/feeds/agents"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"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.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The easiest way to build with Feeds is to prompt your coding agent with:`}),`\n`,_jsx(CodeBlock,{filename:``,wrap:`true`,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`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.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`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:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`“Show me what 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 holds on Base.”`}),`\n`,_jsx(_components.li,{children:`“Build a portfolio endpoint that returns a wallet’s total value and one row per token.”`}),`\n`,_jsx(_components.li,{children:`“List this trader’s open Polymarket positions with realized PnL.”`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Give the agent a Feeds API key, for example in a `,_jsx(_components.code,{children:`GOLDSKY_FEEDS_API_KEY`}),` environment variable. See `,_jsx(_components.a,{href:`/feeds/api/overview#get-an-api-key`,children:`Get an API key`}),`. An agent can also get the key from the Goldsky API, or pay for each request itself with `,_jsx(_components.a,{href:`/feeds/api/overview#pay-per-request-with-x402`,children:`x402`}),`, with no account or key.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`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.`})}),`\n`,_jsx(Heading,{level:`2`,id:`more-ways-to-use-feeds-from-an-agent`,children:`More ways to use Feeds from an agent`}),`\n`,_jsx(Heading,{level:`3`,id:`install-the-feeds-skill`,children:`Install the Feeds skill`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.a,{href:`/ai-skills`,children:`Goldsky Agent`}),` skill pack includes a `,_jsx(_components.code,{children:`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.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`npx`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` skills`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` add`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` goldsky-io/goldsky-agent`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/ai-skills`,children:`Agent Skills`}),` for other install methods and for agents that don’t load skills automatically.`]}),`\n`,_jsx(Heading,{level:`3`,id:`connect-the-docs-mcp-server`,children:`Connect the docs MCP server`}),`\n`,_jsx(_components.p,{children:`The Goldsky docs MCP server lets any MCP client search the Goldsky docs, including the Feeds API reference, while it answers. Point your client at:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`https://docs.goldsky.com/mcp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[`For clients that use the `,_jsx(_components.code,{children:`mcpServers`}),` schema, such as Cursor and Claude Code:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcpServers\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"goldsky\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`\"url\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"https://docs.goldsky.com/mcp\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/mcp-server`,children:`Goldsky MCP server`}),` for setup in other clients.`]}),`\n`,_jsx(Heading,{level:`2`,id:`tips-for-agents`,children:`Tips for agents`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Filter by chain when you can.`}),` Wallet requests default to every supported chain. Pass `,_jsx(_components.code,{children:`chains`}),`, such as `,_jsx(_components.code,{children:`chains=base`}),`, when the user names a chain.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Follow pagination.`}),` Balances and Transfers page with `,_jsx(_components.code,{children:`page_size`}),` and `,_jsx(_components.code,{children:`page_token`}),`. The Prediction markets feeds and Blocks page with `,_jsx(_components.code,{children:`limit`}),` and `,_jsx(_components.code,{children:`cursor`}),`, and ignore `,_jsx(_components.code,{children:`page_size`}),`. See `,_jsx(_components.a,{href:`/feeds/api/overview#pagination`,children:`pagination`}),` in the API overview.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Mind the chain names.`}),` Blocks spells Polygon `,_jsx(_components.code,{children:`matic`}),`, while the wallet feeds spell it `,_jsx(_components.code,{children:`polygon`}),`. Each group has its own chain list.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Scale Polymarket numbers.`}),` Positions and Prediction markets Balances return strings in raw units of 10^6. Activity returns plain numbers.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Batch token lookups.`}),` To price a list of tokens, send up to 100 `,_jsx(_components.code,{children:`chain:token_address`}),` pairs in one `,_jsx(_components.a,{href:`/feeds/api/tokens`,children:`Tokens`}),` request instead of one request per token. It costs the same as a request for one token.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Can’t find what you’re looking for? Reach out to us at `,_jsx(_components.a,{href:`mailto:support@goldsky.com`,children:`support@goldsky.com`}),` for help.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Build with agents","sidebarTitle":"Build with agents","description":"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.","og:title":"Build with agents - Goldsky Docs","public":true,"href":"/feeds/agents"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"More ways to use Feeds from an agent","slug":"more-ways-to-use-feeds-from-an-agent","depth":2,"children":[{"title":"Install the Feeds skill","slug":"install-the-feeds-skill","depth":3,"children":[]},{"title":"Connect the docs MCP server","slug":"connect-the-docs-mcp-server","depth":3,"children":[]}]},{"title":"Tips for agents","slug":"tips-for-agents","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/goldsky-38/306527d152e1badc/theme-toggle.js","/_mintlify/custom/goldsky-38/891a1a67c6bbc696/attribution.js"],"subdomain":"goldsky-38","siteName":"Goldsky","title":"Build with agents - Goldsky Docs","relatedPagesConfig":{"enabled":true,"limit":5,"mode":"automatic"},"contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-02T19:27:00.777Z","originalFileLocation":"feeds/agents.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"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.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Goldsky\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Build with agents - Goldsky Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"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.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Goldsky Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.goldsky.com/feeds/agents\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://goldsky-38.mintlify.site/_mintlify/api/og/v2?division=Feeds\u0026amp;title=Build+with+agents\u0026amp;description=Build+with+Goldsky+Feeds+from+Codex%2C+Claude+Code%2C+Cursor%2C+or+any+coding+agent+using+the+Feeds+OpenAPI+spec%2C+plus+the+Feeds+skill+and+docs+MCP+server.\u0026amp;theme=976591e7974bce03f17963ad\u0026amp;signature=3f4b587e38a5f9bb876a6f31b88134ff6fe55adc7649c2c4b2d9114fab92c119\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Build with agents - Goldsky Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"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.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://goldsky-38.mintlify.site/_mintlify/api/og/v2?division=Feeds\u0026amp;title=Build+with+agents\u0026amp;description=Build+with+Goldsky+Feeds+from+Codex%2C+Claude+Code%2C+Cursor%2C+or+any+coding+agent+using+the+Feeds+OpenAPI+spec%2C+plus+the+Feeds+skill+and+docs+MCP+server.\u0026amp;theme=976591e7974bce03f17963ad\u0026amp;signature=3f4b587e38a5f9bb876a6f31b88134ff6fe55adc7649c2c4b2d9114fab92c119\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/goldsky-38/8vzUdVp5dBiBAO4D/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Goldsky\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F24B13\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@goldskyio\">\u003cmeta data-mint-head name=\"msvalidate.01\" content=\"ACCFDAF535E366D076B974FC456A5E23\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.goldsky.com/feeds/agents\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/feeds/agents.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.goldsky.com/#organization\",\"name\":\"Goldsky\",\"url\":\"https://docs.goldsky.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/goldsky-38/ji0yCkCfylVYRAVB/images/logo/light.svg?fit=max\u0026auto=format\u0026n=ji0yCkCfylVYRAVB\u0026q=85\u0026s=a5f82383787205b368a99af88dc7536e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.goldsky.com#website\",\"name\":\"Goldsky\",\"url\":\"https://docs.goldsky.com\",\"publisher\":{\"@id\":\"https://docs.goldsky.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.goldsky.com/feeds/agents#webpage\",\"url\":\"https://docs.goldsky.com/feeds/agents\",\"name\":\"Build with agents\",\"description\":\"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.\",\"dateModified\":\"2026-11-02T19:27:00.777Z\",\"isPartOf\":{\"@id\":\"https://docs.goldsky.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.goldsky.com/feeds/agents#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.goldsky.com/feeds/agents#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Feeds\",\"item\":\"https://docs.goldsky.com/feeds\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Build with agents\",\"item\":\"https://docs.goldsky.com/feeds/agents\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.goldsky.com/feeds/agents#article\",\"headline\":\"Build with agents\",\"name\":\"Build with agents\",\"description\":\"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.\",\"url\":\"https://docs.goldsky.com/feeds/agents\",\"mainEntityOfPage\":{\"@id\":\"https://docs.goldsky.com/feeds/agents#webpage\"},\"dateModified\":\"2026-11-02T19:27:00.777Z\",\"publisher\":{\"@id\":\"https://docs.goldsky.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.goldsky.com#website\"}}]}\u003c/script>","agentPointerHref":"/feeds/agents.md","siteName":"Goldsky","nav":{"global":{"anchors":[{"anchor":"Pricing","icon":"tag","href":"https://goldsky.com/pricing"},{"anchor":"Products","icon":"layers","href":"https://goldsky.com/products/turbo-pipelines"},{"anchor":"Solutions","icon":"compass","href":"https://goldsky.com/solutions/reconciliation"},{"anchor":"Comparisons","icon":"scale","href":"https://goldsky.com/compare/the-graph"}]},"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/introduction"}]},{"tab":"Turbo","icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/pipelines.svg","pages":[{"title":"Turbo","href":"/turbo-pipelines/introduction"}]},{"tab":"Edge RPC","icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/edge.svg","pages":[{"title":"Edge RPC","href":"/edge-rpc/introduction"}]},{"tab":"Boost","icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/boost.svg","pages":[{"title":"Boost","href":"/boost"}]},{"tab":"Feeds","icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/feeds.svg","groups":[{"group":"Feeds","public":true,"icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/feeds.svg","pages":[{"title":"Feeds: ready-made onchain datasets","sidebarTitle":"Introduction","href":"/feeds"},{"title":"Get started with Feeds","sidebarTitle":"Quickstart","description":"Create a Feeds API key, request a wallet's balances and transfers, look up token prices, and try the Polymarket and Blocks feeds in the Feeds quickstart.","href":"/feeds/quickstart"},{"title":"Build with agents","sidebarTitle":"Build with agents","public":true,"href":"/feeds/agents"},{"title":"Sync Feeds to your database","sidebarTitle":"Data sync","description":"Feeds data sync pushes any feed's rows to ClickHouse, Postgres, MySQL, or a webhook as they land. It is in early access; request access to turn it on.","href":"/feeds/data-sync"}]},{"group":"Reference","public":true,"icon":"library","pages":[{"title":"Feeds API overview","sidebarTitle":"Overview","href":"/feeds/api/overview"},{"group":"Wallets \u0026 portfolios","expanded":true,"pages":[{"title":"Balances","sidebarTitle":"Balances","href":"/feeds/api/balances"},{"title":"Transfers","sidebarTitle":"Transfers","href":"/feeds/api/transfers"},{"title":"Tokens","sidebarTitle":"Tokens","href":"/feeds/api/tokens"}]},{"group":"Prediction markets","expanded":true,"pages":[{"title":"Activity","sidebarTitle":"Activity","href":"/feeds/api/prediction-markets/activity"},{"title":"Positions","sidebarTitle":"Positions","href":"/feeds/api/prediction-markets/positions"},{"title":"Prediction markets Balances","sidebarTitle":"Balances","href":"/feeds/api/prediction-markets/balances"}]},{"group":"Chain datasets","expanded":true,"pages":[{"title":"Blocks","sidebarTitle":"Blocks","href":"/feeds/api/chain-datasets/blocks"},{"title":"Chain head","sidebarTitle":"Chain head","href":"/feeds/api/chain-datasets/chain-head"}]}]}]},{"tab":"Compose","icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/compose.svg","pages":[{"title":"Compose","href":"/compose/introduction"}]},{"tab":"Subgraphs","icon":"https://mintlify.s3.us-west-1.amazonaws.com/goldsky-38/images/product-icons/subgraphs.svg","pages":[{"title":"Subgraphs","href":"/subgraphs/introduction"}]},{"tab":"Chains","pages":[{"title":"Chains","href":"/chains/supported-networks"}]}]},"basePath":"","title":"Build with agents - Goldsky Docs","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}