The Financial Datasets ETF holdings API returns the full list of holdings of an ETF or index fund and each position’s percent of net assets, largest first, with a fund header that carries the as-of period and coverage counts. It covers 500+ funds with 5+ years of history, updated daily, from SEC fund holdings filings. To see which funds hold a given stock, use Funds (by holding).You can call it as a REST endpoint with an API key, or from Claude, ChatGPT, Cursor, and other AI apps through the MCP server, or pay per request with x402. Pricing starts at $20.Use this to answer “what’s in SPY, and at what weight?” for index replication, exposure analysis, and overlap checks.To get started, please create an account and grab your API key at financialdatasets.ai.You will use the API key to authenticate your API requests.
Without an as_of filter, this endpoint returns the fund’s most recent filing. To reconstruct a historical composition, pass as_of=YYYY-MM-DD and the response is the composition in effect on or before that date.
Every position is returned, including bonds, derivatives, and cash, each labeled with an asset_class (equity, bond, or other). name is included when available; ticker is null for securities without a US listing (e.g., many bonds and foreign holdings). To narrow the list, pass asset_class=equity or asset_class=bond.
import requests# add your API key to the headersheaders = { "X-API-KEY": "your_api_key_here"}# set your query paramsticker = 'SPY' # fund tickerlimit = 50 # number of holdings to return# create the URLurl = ( f'https://api.financialdatasets.ai/index-funds/' f'?ticker={ticker}' f'&limit={limit}')# make API requestresponse = requests.get(url, headers=headers)# parse holdings from the responseholdings = response.json().get('holdings')
import requests# add your API key to the headersheaders = { "X-API-KEY": "your_api_key_here"}# set your query paramsticker = 'SPY'as_of = '2023-12-31' # composition in effect on/before this dateasset_class = 'equity' # equities only# create the URLurl = ( f'https://api.financialdatasets.ai/index-funds/' f'?ticker={ticker}' f'&as_of={as_of}' f'&asset_class={asset_class}')# make API requestresponse = requests.get(url, headers=headers)# parse holdings from the responseholdings = response.json().get('holdings')
Yes. Every position is returned, including bonds, derivatives, and cash, each labeled with an asset_class of equity, bond, or other. Pass asset_class=equity to get equities only. ticker is null for securities without a US listing.
Yes. Claude, ChatGPT, Cursor, and other MCP clients reach it through the Financial Datasets MCP server. An agent with a wallet can also pay per request with x402, with no account.
The total number of rows to return (default: 50; no maximum). This is the total across all pages, not a page size: each page holds up to 10 records, linked by next_page_url.
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
Response
Index fund holdings response. The shape depends on the query direction: ticker returns a fund header + constituents; holding returns a security header + funds.
Option 1
Option 2
Forward response (?ticker=...): a fund header plus its constituents, sorted by weight descending.
Absolute URL of the next page of results. Present only when more results remain; request it as-is to continue. Each page holds up to 10 records.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Financial Datasets","description":"Financial Datasets is a stock market API with financial data for 27,000+ tickers over 30+ years, including financial statements, equity prices, insider transactions, SEC filings, and more.","colors":{"primary":"#26251E","light":"#F7F7F4","dark":"#14120B"},"logo":{"light":"https://mintcdn.com/financialdatasets/a_k2mvb6Uv1PgEyn/logo/light.svg?fit=max\u0026auto=format\u0026n=a_k2mvb6Uv1PgEyn\u0026q=85\u0026s=daeaecf8e650c693ec5950b51cbe29d2","dark":"https://mintcdn.com/financialdatasets/a_k2mvb6Uv1PgEyn/logo/dark.svg?fit=max\u0026auto=format\u0026n=a_k2mvb6Uv1PgEyn\u0026q=85\u0026s=df6176301195f4de6325ee3295c73658","href":"https://financialdatasets.ai"},"favicon":"https://mintcdn.com/financialdatasets/3kIYTNCZBSs0PnUp/favicon.svg?fit=max\u0026auto=format\u0026n=3kIYTNCZBSs0PnUp\u0026q=85\u0026s=a6d7e62b40c8bf35ca0b03f74fde99b2","appearance":{"default":"system"},"background":{"color":{"light":"#F7F7F4","dark":"#14120B"}},"navbar":{"links":[{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://financialdatasets.ai"}},"footer":{"socials":{"x":"https://x.com/virattt","github":"https://github.com/virattt"}},"seo":{"metatags":{"image":"/images/new-docs.png","type":"website","title":"Financial Datasets - API Documentation","description":"Financial Datasets is a stock market API with financial data for 27,000+ tickers over 30+ years, including financial statements, equity prices, insider transactions, SEC filings, and more."}},"fonts":{"heading":{"family":"Literata"},"body":{"family":"Inter"}},"styling":{"codeblocks":{"theme":{"light":"vitesse-light","dark":"vitesse-dark"}},"latex":true},"markdown":{"instructions":["The Financial Datasets API is served at https://api.financialdatasets.ai. Authenticate with the `X-API-KEY` header; create keys at https://financialdatasets.ai. Agents can open and fund their own account without a dashboard: see https://docs.financialdatasets.ai/agents.md.","Tool-using agents can call Financial Datasets without writing code through the hosted MCP server at https://mcp.financialdatasets.ai/.","The OpenAPI spec at https://financialdatasets.ai/openapi.json is the source of truth for request and response schemas.","The index of every docs page is at https://docs.financialdatasets.ai/llms.txt. Append .md to any docs URL to get that page as Markdown."]},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"financialdatasets","hasAudioNarration":false,"actualSubdomain":"financialdatasets","customDomains":["docs.financialdatasets.ai"],"gitSource":{"type":"github","owner":"virattt","repo":"fd-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6af4a7fb4b5da1d1ca4361fa","clientVersion":"0.0.4111","searchFilterCounts":[{"language":"default","tag":"Datasets","count":48},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Integrations","count":6},{"language":"default","tag":"Financial Statements","count":6},{"language":"default","tag":"Segmented Financials","count":4},{"language":"default","tag":"Overview","count":4},{"language":"default","tag":"Operating KPIs","count":3},{"language":"default","tag":"Stock Prices","count":3},{"language":"default","tag":"Company","count":2},{"language":"default","tag":"Earnings","count":2}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","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":"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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"nav a[href=\"https://financialdatasets.ai\"] img,header a[href=\"https://financialdatasets.ai\"] img,a[aria-label=\"home\"] img,[class*=\"navbar\"] img,[class*=\"logo\"] img{height:32px!important;max-height:32px!important}:root{font-size:16px!important}article,[class*=\"prose\"]{font-size:15px!important}h2,h3,h4,h5,h6,.font-headingsFamily:not(h1){font-family:var(--font-family-body-custom, var(--font-inter)), -apple-system, BlinkMacSystemFont, \"Segoe UI\", system-ui, sans-serif!important}.tryit-button{background-color:#14120B!important;color:#F7F7F4!important;border-color:#14120B!important}.tryit-button:hover{background-color:#3b3a33!important}.tryit-button svg{background-color:#F7F7F4!important}:is(.dark,[class~=\"dark\"]) .tryit-button{background-color:#F7F7F4!important;color:#14120B!important;border-color:#F7F7F4!important}:is(.dark,[class~=\"dark\"]) .tryit-button:hover{background-color:#d7d6d5!important}:is(.dark,[class~=\"dark\"]) .tryit-button svg{background-color:#14120B!important}.method-pill{background-color:rgba(38, 37, 30, 0.15)!important;color:#26251E!important}:is(.dark,[class~=\"dark\"]) .method-pill{background-color:rgba(237, 236, 236, 0.2)!important;color:#EDECEC!important}.method-nav-pill>*{background-color:rgba(38, 37, 30, 0.12)!important;color:#26251E!important}:is(.dark,[class~=\"dark\"]) .method-nav-pill>*{background-color:rgba(237, 236, 236, 0.15)!important;color:#EDECEC!important}:is(.dark,[class~=\"dark\"]) .nav-tag-pill-text{background-color:rgba(237, 236, 236, 0.15)!important;color:#EDECEC!important}[class*=\"accordion\"],[data-state]>[class*=\"accordion\"],details,details>summary{background:transparent!important;background-color:transparent!important}.code-group.code-group.code-group,.code-block.code-block.code-block{background:#F2F1ED!important;background-color:#F2F1ED!important;border-color:#D4D4D4!important;padding:0!important;overflow:hidden!important}.code-group.code-group>*,.code-block.code-block>*,.code-group.code-group div,.code-block.code-block div,.code-group.code-group pre,.code-block.code-block pre,.code-group.code-group pre[style],.code-block.code-block pre[style],.code-group.code-group code,.code-block.code-block code,.code-group.code-group [class*=\"shiki\"],.code-block.code-block [class*=\"shiki\"],.code-group.code-group [style*=\"background\"],.code-block.code-block [style*=\"background\"]{background:#F2F1ED!important;background-color:#F2F1ED!important;padding-top:0!important;padding-bottom:0!important;margin:0!important}:is(.dark,[class~=\"dark\"]) .code-group.code-group.code-group,:is(.dark,[class~=\"dark\"]) .code-block.code-block.code-block{background:#1B1913!important;background-color:#1B1913!important;border-color:transparent!important;padding:0!important;overflow:hidden!important}:is(.dark,[class~=\"dark\"]) .code-group.code-group>*,:is(.dark,[class~=\"dark\"]) .code-block.code-block>*,:is(.dark,[class~=\"dark\"]) .code-group.code-group div,:is(.dark,[class~=\"dark\"]) .code-block.code-block div,:is(.dark,[class~=\"dark\"]) .code-group.code-group pre,:is(.dark,[class~=\"dark\"]) .code-block.code-block pre,:is(.dark,[class~=\"dark\"]) .code-group.code-group pre[style],:is(.dark,[class~=\"dark\"]) .code-block.code-block pre[style],:is(.dark,[class~=\"dark\"]) .code-group.code-group code,:is(.dark,[class~=\"dark\"]) .code-block.code-block code,:is(.dark,[class~=\"dark\"]) .code-group.code-group [class*=\"shiki\"],:is(.dark,[class~=\"dark\"]) .code-block.code-block [class*=\"shiki\"],:is(.dark,[class~=\"dark\"]) .code-group.code-group [style*=\"background\"],:is(.dark,[class~=\"dark\"]) .code-block.code-block [style*=\"background\"]{background:#1B1913!important;background-color:#1B1913!important;padding-top:0!important;padding-bottom:0!important;margin:0!important}div:has(>#sidebar){max-width:none!important}#navbar .max-w-8xl{max-width:none!important}#footer .docs-footer-llms{margin-left:auto;align-self:center;font-size:0.875rem;color:rgba(38, 37, 30, 0.6);text-decoration:none;white-space:nowrap}#footer .docs-footer-llms:hover{color:#26251E}:is(.dark,[class~=\"dark\"]) #footer .docs-footer-llms{color:rgba(237, 236, 236, 0.55)}:is(.dark,[class~=\"dark\"]) #footer .docs-footer-llms:hover{color:#EDECEC}#navigation-items>div+div{margin-top:0.875rem;padding-top:0.875rem;border-top:1px solid rgba(38, 37, 30, 0.12)}:is(.dark,[class~=\"dark\"]) #navigation-items>div+div{border-top-color:rgba(237, 236, 236, 0.14)}.endpoint-tables table{table-layout:fixed;width:100%}.endpoint-tables th:first-child,.endpoint-tables td:first-child{width:54%;overflow-wrap:anywhere}"}],"page":{"pagePath":"api/index-funds/ticker","slug":"/api/index-funds/ticker","pageMetadata":{"title":"ETF Holdings API","sidebarTitle":"Holdings (by fund)","description":"The holdings of an ETF or index fund and each position's weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.","openapi":"GET /index-funds","href":"/api/index-funds/ticker"},"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: \"The holdings of an ETF or index fund and each position’s weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`3`,id:`overview`,children:`Overview`}),`\n`,_jsxs(_components.p,{children:[`The Financial Datasets ETF holdings API returns the full list of holdings of an ETF or index fund and each position’s percent of net assets, largest first, with a fund header that carries the as-of period and coverage counts. It covers 500+ funds with 5+ years of history, updated daily, from SEC fund holdings filings. To see which funds hold a given stock, use `,_jsx(_components.a,{href:`/api/index-funds/holding`,children:`Funds (by holding)`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`You can call it as a REST endpoint with an API key, or from Claude, ChatGPT, Cursor, and other AI apps through the `,_jsx(_components.a,{href:`/mcp-server`,children:`MCP server`}),`, or pay per request with `,_jsx(_components.a,{href:`/x402`,children:`x402`}),`. `,_jsx(_components.a,{href:`https://www.financialdatasets.ai/pricing`,children:`Pricing`}),` starts at $20.`]}),`\n`,_jsx(_components.p,{children:`Use this to answer “what’s in SPY, and at what weight?” for index replication, exposure analysis, and overlap checks.`}),`\n`,_jsxs(_components.p,{children:[`To get started, please create an account and grab your `,_jsx(`b`,{children:`API key`}),` at `,_jsx(_components.a,{href:`https://financialdatasets.ai`,children:`financialdatasets.ai`}),`.`]}),`\n`,_jsx(_components.p,{children:`You will use the API key to authenticate your API requests.`}),`\n`,_jsx(Heading,{level:`3`,id:`coverage`,children:`Coverage`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Funds`}),_jsx(_components.th,{children:`Years of Coverage`}),_jsx(_components.th,{children:`Updated`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{\"data-numeric\":`true`,children:`500+`}),_jsx(_components.td,{children:`5+ years`}),_jsx(_components.td,{children:`Daily`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`the-“latest”-definition`,children:`The “latest” definition`}),`\n`,_jsxs(_components.p,{children:[`Without an `,_jsx(_components.code,{children:`as_of`}),` filter, this endpoint returns the fund’s `,_jsx(_components.strong,{children:`most recent filing`}),`. To reconstruct a historical composition, pass `,_jsx(_components.code,{children:`as_of=YYYY-MM-DD`}),` and the response is the composition in effect on or before that date.`]}),`\n`,_jsx(Heading,{level:`3`,id:`all-holdings-labeled`,children:`All holdings, labeled`}),`\n`,_jsxs(_components.p,{children:[`Every position is returned, including bonds, derivatives, and cash, each labeled with an `,_jsx(_components.code,{children:`asset_class`}),` (`,_jsx(_components.code,{children:`equity`}),`, `,_jsx(_components.code,{children:`bond`}),`, or `,_jsx(_components.code,{children:`other`}),`). `,_jsx(_components.code,{children:`name`}),` is included when available; `,_jsx(_components.code,{children:`ticker`}),` is `,_jsx(_components.code,{children:`null`}),` for securities without a US listing (e.g., many bonds and foreign holdings). To narrow the list, pass `,_jsx(_components.code,{children:`asset_class=equity`}),` or `,_jsx(_components.code,{children:`asset_class=bond`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`find-available-tickers`,children:`Find available tickers`}),`\n`,_jsx(_components.p,{children:`To discover which funds are available, hit the helper endpoint:`}),`\n`,_jsx(CodeBlock,{filename:`Tickers`,numberOfLines:`8`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light vitesse-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#121212`,color:`#393a34`,\"--shiki-dark\":`#dbd7caee`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#4D9375`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# free endpoint, no API key required`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`url `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` '`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`https://api.financialdatasets.ai/index-funds/tickers/`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`response `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` requests`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`get`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`url`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`tickers `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` response`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`json`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`().`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`get`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`tickers`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#B8A965`},children:`print`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:`f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`{`}),_jsx(_components.span,{style:{color:`#998418`,\"--shiki-dark\":`#B8A965`},children:`len`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`tickers`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`}`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:` funds available'`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`filtering-the-data`,children:`Filtering the Data`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`ticker`}),` is required. Optional filters:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`as_of`}),` — the composition in effect on/before this date (YYYY-MM-DD). Defaults to the latest filing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`asset_class`}),` — `,_jsx(_components.code,{children:`equity`}),` or `,_jsx(_components.code,{children:`bond`}),`. Defaults to all holdings.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`By default, `,_jsx(_components.code,{children:`limit`}),` is `,_jsx(_components.code,{children:`50`}),` (max `,_jsx(_components.code,{children:`1000`}),`). Use `,_jsx(_components.code,{children:`offset`}),` to page through a fund’s constituents.`]}),`\n`,_jsx(Heading,{level:`3`,id:`examples`,children:`Examples`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Latest holdings`,numberOfLines:`23`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light vitesse-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#121212`,color:`#393a34`,\"--shiki-dark\":`#dbd7caee`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`23`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#4D9375`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# add your API key to the headers`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`headers `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`X-API-KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`:`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`your_api_key_here`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# set your query params`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`ticker `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` '`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`SPY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:` # fund ticker`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`limit `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#2F798A`,\"--shiki-dark\":`#4C9A91`},children:` 50`}),_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:` # number of holdings to return`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# create the URL`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`url `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'https://api.financialdatasets.ai/index-funds/'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'?ticker=`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`{`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`ticker`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`}`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'\u0026limit=`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`{`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`limit`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`}`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# make API request`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`response `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` requests`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`get`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`url`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`,`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-dark\":`#BD976A`},children:` headers`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`headers`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# parse holdings from the response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`holdings `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` response`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`json`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`().`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`get`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`holdings`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`As-of date + equities only`,numberOfLines:`25`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes vitesse-light vitesse-dark`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#121212`,color:`#393a34`,\"--shiki-dark\":`#dbd7caee`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`25`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1E754F`,\"--shiki-dark\":`#4D9375`},children:`import`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` requests`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# add your API key to the headers`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`headers `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`X-API-KEY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`\"`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`:`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` \"`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`your_api_key_here`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# set your query params`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`ticker `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` '`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`SPY`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`as_of `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` '`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`2023-12-31`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:` # composition in effect on/before this date`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`asset_class `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:` '`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`equity`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:` # equities only`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# create the URL`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`url `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:` (`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'https://api.financialdatasets.ai/index-funds/'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'?ticker=`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`{`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`ticker`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`}`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'\u0026as_of=`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`{`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`as_of`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`}`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#AB5959`,\"--shiki-dark\":`#CB7676`},children:` f`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'\u0026asset_class=`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`{`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`asset_class`}),_jsx(_components.span,{style:{color:`#A65E2B`,\"--shiki-dark\":`#C99076`},children:`}`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# make API request`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`response `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` requests`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`get`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`url`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`,`}),_jsx(_components.span,{style:{color:`#B07D48`,\"--shiki-dark\":`#BD976A`},children:` headers`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`headers`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#A0ADA0`,\"--shiki-dark\":`#758575DD`},children:`# parse holdings from the response`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`holdings `}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`=`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:` response`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`.`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`json`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`().`}),_jsx(_components.span,{style:{color:`#393A34`,\"--shiki-dark\":`#DBD7CAEE`},children:`get`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`(`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#B56959`,\"--shiki-dark\":`#C98A7D`},children:`holdings`}),_jsx(_components.span,{style:{color:`#B5695977`,\"--shiki-dark\":`#C98A7D77`},children:`'`}),_jsx(_components.span,{style:{color:`#999999`,\"--shiki-dark\":`#666666`},children:`)`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`faq`,children:`FAQ`}),`\n`,_jsx(Heading,{level:`4`,id:`which-funds-are-covered`,children:`Which funds are covered?`}),`\n`,_jsxs(_components.p,{children:[`500+ ETFs and index funds. Get the list with a free request to `,_jsx(_components.code,{children:`/index-funds/tickers/`}),`. It needs no API key.`]}),`\n`,_jsx(Heading,{level:`4`,id:`can-i-see-what-a-fund-held-on-a-past-date`,children:`Can I see what a fund held on a past date?`}),`\n`,_jsxs(_components.p,{children:[`Yes. Pass `,_jsx(_components.code,{children:`as_of=YYYY-MM-DD`}),` to get the composition in effect on or before that date. Without `,_jsx(_components.code,{children:`as_of`}),`, you get the fund’s most recent filing.`]}),`\n`,_jsx(Heading,{level:`4`,id:`does-it-include-bonds-and-cash`,children:`Does it include bonds and cash?`}),`\n`,_jsxs(_components.p,{children:[`Yes. Every position is returned, including bonds, derivatives, and cash, each labeled with an `,_jsx(_components.code,{children:`asset_class`}),` of `,_jsx(_components.code,{children:`equity`}),`, `,_jsx(_components.code,{children:`bond`}),`, or `,_jsx(_components.code,{children:`other`}),`. Pass `,_jsx(_components.code,{children:`asset_class=equity`}),` to get equities only. `,_jsx(_components.code,{children:`ticker`}),` is `,_jsx(_components.code,{children:`null`}),` for securities without a US listing.`]}),`\n`,_jsx(Heading,{level:`4`,id:`can-an-ai-agent-use-this-data`,children:`Can an AI agent use this data?`}),`\n`,_jsxs(_components.p,{children:[`Yes. Claude, ChatGPT, Cursor, and other MCP clients reach it through the `,_jsx(_components.a,{href:`/mcp-server`,children:`Financial Datasets MCP server`}),`. An agent with a wallet can also pay per request with `,_jsx(_components.a,{href:`/x402`,children:`x402`}),`, with no account.`]})]})}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":{"theme":{"light":"vitesse-light","dark":"vitesse-dark"}},"config":{},"pageMetadata":{"title":"ETF Holdings API","sidebarTitle":"Holdings (by fund)","description":"The holdings of an ETF or index fund and each position's weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.","openapi":"GET /index-funds","href":"/api/index-funds/ticker"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":3,"children":[]},{"title":"Coverage","slug":"coverage","depth":3,"children":[]},{"title":"The “latest” definition","slug":"the-“latest”-definition","depth":3,"children":[]},{"title":"All holdings, labeled","slug":"all-holdings-labeled","depth":3,"children":[]},{"title":"Find available tickers","slug":"find-available-tickers","depth":3,"children":[]},{"title":"Filtering the Data","slug":"filtering-the-data","depth":3,"children":[]},{"title":"Examples","slug":"examples","depth":3,"children":[]},{"title":"FAQ","slug":"faq","depth":3,"children":[]},{"title":"Which funds are covered?","slug":"which-funds-are-covered","depth":4,"children":[]},{"title":"Can I see what a fund held on a past date?","slug":"can-i-see-what-a-fund-held-on-a-past-date","depth":4,"children":[]},{"title":"Does it include bonds and cash?","slug":"does-it-include-bonds-and-cash","depth":4,"children":[]},{"title":"Can an AI agent use this data?","slug":"can-an-ai-agent-use-this-data","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/financialdatasets/8043b90d12abf431/llms-footer-link.js","/_mintlify/custom/financialdatasets/bbf9c5270a9ae9d7/landing-source.js"],"openApiReferenceData":{"operation":{"tags":["Index Funds"],"operationId":"getIndexFunds","summary":"Get ETF / index-fund holdings","description":"The holdings of an ETF or index fund and each position's weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.","parameters":["12e675f6-fd39-4ee7-8495-7d9f63c60e0c","04486f96-7f80-4ecc-9a7c-d80ac79d9f5b","1ab1c665-ceb6-487a-8ed9-e6d7be99d5c4","ffc6a969-a2fd-49d0-8b1d-cee5a2abb753","51333db7-4679-48ff-927f-b9ecfacf35db","64afb0d4-05f3-4165-b96c-42ddda2d60f5","0951c084-6e1d-478e-8916-b95a36f1e3b0"],"responses":{"200":"9ac85d9b-bf44-4aa6-9e63-a2e4f5eaa30e","400":"d0c9f185-f8cb-4728-aabb-31663b22c8d3","401":"07e76cc4-e288-4c92-83f7-ffab740998ef","402":"9ddce435-4d2a-48a0-87df-4a1aeefcd2f7","404":"b8fc971f-73f1-4838-84e8-bb3820ab679d"},"method":"get","type":"path","servers":["1591f7e2-9090-46f5-b24c-fb26f7395e8c"],"security":["34c0a73b-a535-4ddf-b60a-383be390f088"],"path":"/index-funds","baseUrlOptions":["https://api.financialdatasets.ai/"],"title":"Get ETF / index-fund holdings","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"12e675f6-fd39-4ee7-8495-7d9f63c60e0c":{"name":"ticker","in":"query","description":"The fund's ticker symbol (e.g., `SPY`). Returns that fund's holdings. Mutually exclusive with `holding`.","schema":{"type":"string","description":"The fund's ticker symbol (e.g., `SPY`). Returns that fund's holdings. Mutually exclusive with `holding`.","uniqueKey":"","typeLabel":"string"}},"04486f96-7f80-4ecc-9a7c-d80ac79d9f5b":{"name":"holding","in":"query","description":"A held security's ticker symbol (e.g., `AAPL`). Returns the funds whose latest filing holds it. Mutually exclusive with `ticker`.","schema":{"type":"string","description":"A held security's ticker symbol (e.g., `AAPL`). Returns the funds whose latest filing holds it. Mutually exclusive with `ticker`.","uniqueKey":"","typeLabel":"string"}},"1ab1c665-ceb6-487a-8ed9-e6d7be99d5c4":{"name":"as_of","in":"query","description":"Only valid with `ticker`. Returns the fund composition in effect on or before this date (YYYY-MM-DD). Without it, the fund's latest filing is returned.","required":false,"schema":{"type":"string","format":"date","isRequired":false,"description":"Only valid with `ticker`. Returns the fund composition in effect on or before this date (YYYY-MM-DD). Without it, the fund's latest filing is returned.","uniqueKey":"","typeLabel":"string\u003cdate>"}},"ffc6a969-a2fd-49d0-8b1d-cee5a2abb753":{"name":"asset_class","in":"query","description":"Only valid with `ticker`. Filter constituents by instrument type: `equity` or `bond`. Omit for all holdings.","required":false,"schema":{"type":"string","enum":["equity","bond"],"isRequired":false,"description":"Only valid with `ticker`. Filter constituents by instrument type: `equity` or `bond`. Omit for all holdings.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"51333db7-4679-48ff-927f-b9ecfacf35db":{"name":"limit","in":"query","description":"The total number of rows to return (default: 50; no maximum). This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.","required":false,"schema":{"type":"integer","default":50,"isRequired":false,"description":"The total number of rows to return (default: 50; no maximum). This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.","uniqueKey":"","typeLabel":"integer"}},"64afb0d4-05f3-4165-b96c-42ddda2d60f5":{"name":"offset","in":"query","description":"The number of rows to skip, for pagination (default: 0).","required":false,"schema":{"type":"integer","default":0,"isRequired":false,"description":"The number of rows to skip, for pagination (default: 0).","uniqueKey":"","typeLabel":"integer"}},"0951c084-6e1d-478e-8916-b95a36f1e3b0":{"name":"cursor","in":"query","description":"Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.","required":false,"schema":{"type":"string","isRequired":false,"description":"Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.","uniqueKey":"","typeLabel":"string"}}},"responses":{"9ac85d9b-bf44-4aa6-9e63-a2e4f5eaa30e":{"description":"Index fund holdings response. The shape depends on the query direction: `ticker` returns a fund header + constituents; `holding` returns a security header + funds.","content":{"application/json":{"schema":{"oneOf":[{"type":"object","description":"Forward response (`?ticker=...`): a fund header plus its constituents, sorted by weight descending.","properties":{"ticker":{"type":"string","description":"The fund ticker echoed back from the request.","uniqueKey":"oneOf.0.ticker","typeLabel":"string"},"fund":{"type":"object","description":"Fund header: identity, the as-of period, and coverage counts for the full fund (not the returned page).","properties":{"name":{"type":"string","description":"Fund name.","uniqueKey":"oneOf.0.fund.name","typeLabel":"string"},"cik":{"type":"string","description":"The fund registrant's SEC CIK.","uniqueKey":"oneOf.0.fund.cik","typeLabel":"string"},"asset_class":{"type":"string","description":"Fund asset class (e.g., `equity`, `bond`).","uniqueKey":"oneOf.0.fund.asset_class","typeLabel":"string"},"as_of":{"type":"string","format":"date","description":"Reporting period of the filing the holdings are drawn from.","uniqueKey":"oneOf.0.fund.as_of","typeLabel":"string\u003cdate>"},"filing_date":{"oneOf":[{"type":"string","format":"date","description":"Date the filing was submitted to the SEC.","uniqueKey":"oneOf.0.fund.filing_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date the filing was submitted to the SEC.","uniqueKey":"oneOf.0.fund.filing_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.fund.filing_date","typeLabel":"string\u003cdate> | null"},"source":{"type":"string","description":"Provenance of the holdings.","uniqueKey":"oneOf.0.fund.source","typeLabel":"string"},"total_net_assets":{"oneOf":[{"type":"number","description":"The fund's total net assets in USD (the weight denominator).","uniqueKey":"oneOf.0.fund.total_net_assets.oneOf.0","typeLabel":"number"},{"type":"null","description":"The fund's total net assets in USD (the weight denominator).","uniqueKey":"oneOf.0.fund.total_net_assets.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.fund.total_net_assets","typeLabel":"number | null"},"total_holdings":{"type":"integer","description":"Total number of holdings in the fund for this period.","uniqueKey":"oneOf.0.fund.total_holdings","typeLabel":"integer"},"returned":{"type":"integer","description":"Number of holdings in this page.","uniqueKey":"oneOf.0.fund.returned","typeLabel":"integer"},"offset":{"type":"integer","description":"The pagination offset echoed back from the request.","uniqueKey":"oneOf.0.fund.offset","typeLabel":"integer"}},"uniqueKey":"oneOf.0.fund","typeLabel":"object"},"holdings":{"type":"array","items":{"type":"object","description":"A single constituent of a fund. Identifiers (`cusip`, `isin`, `name`) are included when available; `ticker` is null for securities without a US listing (e.g., many bonds and foreign holdings).","properties":{"ticker":{"oneOf":[{"type":"string","description":"Ticker of the held security, or null for securities without a US listing.","uniqueKey":"oneOf.0.holdings.items.[INDEX].ticker.oneOf.0","typeLabel":"string"},{"type":"null","description":"Ticker of the held security, or null for securities without a US listing.","uniqueKey":"oneOf.0.holdings.items.[INDEX].ticker.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.holdings.items.[INDEX].ticker","typeLabel":"string | null"},"name":{"oneOf":[{"type":"string","description":"Name of the held security.","uniqueKey":"oneOf.0.holdings.items.[INDEX].name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Name of the held security.","uniqueKey":"oneOf.0.holdings.items.[INDEX].name.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.holdings.items.[INDEX].name","typeLabel":"string | null"},"weight":{"oneOf":[{"type":"number","description":"The position as a percent of the fund's net assets.","uniqueKey":"oneOf.0.holdings.items.[INDEX].weight.oneOf.0","typeLabel":"number"},{"type":"null","description":"The position as a percent of the fund's net assets.","uniqueKey":"oneOf.0.holdings.items.[INDEX].weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.holdings.items.[INDEX].weight","typeLabel":"number | null"},"market_value":{"oneOf":[{"type":"number","description":"Position market value in USD.","uniqueKey":"oneOf.0.holdings.items.[INDEX].market_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"Position market value in USD.","uniqueKey":"oneOf.0.holdings.items.[INDEX].market_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.holdings.items.[INDEX].market_value","typeLabel":"number | null"},"shares":{"oneOf":[{"type":"number","description":"Number of shares or principal amount held.","uniqueKey":"oneOf.0.holdings.items.[INDEX].shares.oneOf.0","typeLabel":"number"},{"type":"null","description":"Number of shares or principal amount held.","uniqueKey":"oneOf.0.holdings.items.[INDEX].shares.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.0.holdings.items.[INDEX].shares","typeLabel":"number | null"},"asset_class":{"type":"string","description":"Friendly instrument type: `equity`, `bond`, or `other`.","uniqueKey":"oneOf.0.holdings.items.[INDEX].asset_class","typeLabel":"string"}},"uniqueKey":"oneOf.0.holdings.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.0.holdings","typeLabel":"object[]"},"next_page_url":{"type":"string","description":"Absolute URL of the next page of results. Present only when more results remain; request it as-is to continue. Each page holds up to 10 records.","uniqueKey":"oneOf.0.next_page_url","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Reverse response (`?holding=...`): a security header plus the funds whose latest filing holds it, sorted by weight descending.","properties":{"holding":{"type":"string","description":"The held-security ticker echoed back from the request.","uniqueKey":"oneOf.1.holding","typeLabel":"string"},"security":{"type":"object","description":"Security header: the queried security plus result counts.","properties":{"ticker":{"type":"string","description":"The queried security ticker.","uniqueKey":"oneOf.1.security.ticker","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"Security name (null when no fund holds it).","uniqueKey":"oneOf.1.security.name.oneOf.0","typeLabel":"string"},{"type":"null","description":"Security name (null when no fund holds it).","uniqueKey":"oneOf.1.security.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.security.name","typeLabel":"string | null"},"total_funds":{"type":"integer","description":"Total funds whose latest filing holds the security (not the returned page).","uniqueKey":"oneOf.1.security.total_funds","typeLabel":"integer"},"returned":{"type":"integer","description":"Number of funds in this page.","uniqueKey":"oneOf.1.security.returned","typeLabel":"integer"},"offset":{"type":"integer","description":"The pagination offset echoed back from the request.","uniqueKey":"oneOf.1.security.offset","typeLabel":"integer"}},"uniqueKey":"oneOf.1.security","typeLabel":"object"},"funds":{"type":"array","items":{"type":"object","description":"One fund's position in the queried security.","properties":{"ticker":{"oneOf":[{"type":"string","description":"The fund's ticker.","uniqueKey":"oneOf.1.funds.items.[INDEX].ticker.oneOf.0","typeLabel":"string"},{"type":"null","description":"The fund's ticker.","uniqueKey":"oneOf.1.funds.items.[INDEX].ticker.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.funds.items.[INDEX].ticker","typeLabel":"string | null"},"name":{"type":"string","description":"Fund name.","uniqueKey":"oneOf.1.funds.items.[INDEX].name","typeLabel":"string"},"cik":{"type":"string","description":"The fund registrant's SEC CIK.","uniqueKey":"oneOf.1.funds.items.[INDEX].cik","typeLabel":"string"},"asset_class":{"type":"string","description":"Fund asset class (e.g., `equity`, `bond`).","uniqueKey":"oneOf.1.funds.items.[INDEX].asset_class","typeLabel":"string"},"as_of":{"type":"string","format":"date","description":"Reporting period of the fund's latest filing.","uniqueKey":"oneOf.1.funds.items.[INDEX].as_of","typeLabel":"string\u003cdate>"},"filing_date":{"oneOf":[{"type":"string","format":"date","description":"Date the filing was submitted to the SEC.","uniqueKey":"oneOf.1.funds.items.[INDEX].filing_date.oneOf.0","typeLabel":"string\u003cdate>"},{"type":"null","format":"date","description":"Date the filing was submitted to the SEC.","uniqueKey":"oneOf.1.funds.items.[INDEX].filing_date.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.funds.items.[INDEX].filing_date","typeLabel":"string\u003cdate> | null"},"weight":{"oneOf":[{"type":"number","description":"The security as a percent of this fund's net assets.","uniqueKey":"oneOf.1.funds.items.[INDEX].weight.oneOf.0","typeLabel":"number"},{"type":"null","description":"The security as a percent of this fund's net assets.","uniqueKey":"oneOf.1.funds.items.[INDEX].weight.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.funds.items.[INDEX].weight","typeLabel":"number | null"},"market_value":{"oneOf":[{"type":"number","description":"The fund's position value in USD.","uniqueKey":"oneOf.1.funds.items.[INDEX].market_value.oneOf.0","typeLabel":"number"},{"type":"null","description":"The fund's position value in USD.","uniqueKey":"oneOf.1.funds.items.[INDEX].market_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.funds.items.[INDEX].market_value","typeLabel":"number | null"},"shares":{"oneOf":[{"type":"number","description":"Shares or principal amount the fund holds.","uniqueKey":"oneOf.1.funds.items.[INDEX].shares.oneOf.0","typeLabel":"number"},{"type":"null","description":"Shares or principal amount the fund holds.","uniqueKey":"oneOf.1.funds.items.[INDEX].shares.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.1.funds.items.[INDEX].shares","typeLabel":"number | null"}},"uniqueKey":"oneOf.1.funds.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.1.funds","typeLabel":"object[]"},"next_page_url":{"type":"string","description":"Absolute URL of the next page of results. Present only when more results remain; request it as-is to continue. Each page holds up to 10 records.","uniqueKey":"oneOf.1.next_page_url","typeLabel":"string"}},"uniqueKey":"oneOf.1","typeLabel":"object"}],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"ticker":"\u003cstring>","fund":{"name":"\u003cstring>","cik":"\u003cstring>","asset_class":"\u003cstring>","as_of":"2023-12-25","filing_date":"2023-12-25","source":"\u003cstring>","total_net_assets":123,"total_holdings":123,"returned":123,"offset":123},"holdings":[{"ticker":"\u003cstring>","name":"\u003cstring>","weight":123,"market_value":123,"shares":123,"asset_class":"\u003cstring>"}],"next_page_url":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"d0c9f185-f8cb-4728-aabb-31663b22c8d3":{"description":"Bad request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A short error message.","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"A more detailed error message.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Bad Request","message":"Invalid request parameters"},"examples":{"Example":{"title":"Example","value":{"error":"Bad Request","message":"Invalid request parameters"}}},"exampleType":"examples"}},"exampleType":"examples"},"07e76cc4-e288-4c92-83f7-ffab740998ef":{"description":"Unauthorized","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A short error message.","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"A more detailed error message.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Unauthorized","message":"Invalid API key provided"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized","message":"Invalid API key provided"}}},"exampleType":"examples"}},"exampleType":"examples"},"9ddce435-4d2a-48a0-87df-4a1aeefcd2f7":{"description":"The request requires a paid subscription","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A short error message.","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"A more detailed error message.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Payment Required","message":"This endpoint requires a paid subscription. Please upgrade your plan."},"examples":{"Example":{"title":"Example","value":{"error":"Payment Required","message":"This endpoint requires a paid subscription. Please upgrade your plan."}}},"exampleType":"examples"}},"exampleType":"examples"},"b8fc971f-73f1-4838-84e8-bb3820ab679d":{"description":"The specified resource was not found","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string","description":"A short error message.","uniqueKey":"error","typeLabel":"string"},"message":{"type":"string","description":"A more detailed error message.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Not Found","message":"Ticker XXXX not found"},"examples":{"Example":{"title":"Example","value":{"error":"Not Found","message":"Ticker XXXX not found"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"34c0a73b-a535-4ddf-b60a-383be390f088":{"X-API-KEY":{"type":"apiKey","name":"X-API-KEY","description":"API key for authentication.","in":"header","scopes":[],"schemeName":"X-API-KEY"}}},"servers":{"1591f7e2-9090-46f5-b24c-fb26f7395e8c":{"url":"https://api.financialdatasets.ai/","description":"Production server"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"X-API-KEY","description":"API key for authentication.","in":"header","scopes":[],"schemeName":"X-API-KEY"},"schema":{"title":"X-API-KEY","type":"string","description":"API key for authentication.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"X-API-KEY","name":"X-API-KEY"}],"title":"X-API-KEY"}]},"originalFileLocation":"api/openapi.json"},"subdomain":"financialdatasets","siteName":"Financial Datasets","title":"ETF Holdings API - Financial Datasets","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-04T19:05:04.577Z","originalFileLocation":"api/index-funds/ticker.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=\"system\"}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=\"The holdings of an ETF or index fund and each position\u0026#x27;s weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Financial Datasets\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_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/financialdatasets/MlxpJ4-p-NZaTTET/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"ETF Holdings API - Financial Datasets\">\u003cmeta data-mint-head property=\"og:description\" content=\"The holdings of an ETF or index fund and each position\u0026#x27;s weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Financial Datasets\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.financialdatasets.ai/api/index-funds/ticker\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://financialdatasets.mintlify.site/_mintlify/api/og/v2?division=Index+Funds\u0026amp;title=ETF+Holdings+API\u0026amp;description=The+holdings+of+an+ETF+or+index+fund+and+each+position%27s+weight%2C+from+SEC+fund+holdings+filings%3A+500%2B+funds%2C+5%2B+years+of+history%2C+updated+daily.\u0026amp;theme=13fe7de9ed8b92eba09122fd\u0026amp;signature=3b927e477342c52916bbb67511bb892b606da9595b0b2bdaccc00932f2e05916\">\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=\"ETF Holdings API - Financial Datasets\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The holdings of an ETF or index fund and each position\u0026#x27;s weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://financialdatasets.mintlify.site/_mintlify/api/og/v2?division=Index+Funds\u0026amp;title=ETF+Holdings+API\u0026amp;description=The+holdings+of+an+ETF+or+index+fund+and+each+position%27s+weight%2C+from+SEC+fund+holdings+filings%3A+500%2B+funds%2C+5%2B+years+of+history%2C+updated+daily.\u0026amp;theme=13fe7de9ed8b92eba09122fd\u0026amp;signature=3b927e477342c52916bbb67511bb892b606da9595b0b2bdaccc00932f2e05916\">\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/financialdatasets/MlxpJ4-p-NZaTTET/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Financial Datasets\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#26251E\">\u003cmeta data-mint-head name=\"image\" content=\"/images/new-docs.png\">\u003cmeta data-mint-head name=\"type\" content=\"website\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.financialdatasets.ai/api/index-funds/ticker\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/index-funds/ticker.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.financialdatasets.ai/#organization\",\"name\":\"Financial Datasets\",\"url\":\"https://docs.financialdatasets.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/financialdatasets/a_k2mvb6Uv1PgEyn/logo/light.svg?fit=max\u0026auto=format\u0026n=a_k2mvb6Uv1PgEyn\u0026q=85\u0026s=daeaecf8e650c693ec5950b51cbe29d2\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.financialdatasets.ai#website\",\"name\":\"Financial Datasets\",\"url\":\"https://docs.financialdatasets.ai\",\"publisher\":{\"@id\":\"https://docs.financialdatasets.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.financialdatasets.ai/api/index-funds/ticker#webpage\",\"url\":\"https://docs.financialdatasets.ai/api/index-funds/ticker\",\"name\":\"ETF Holdings API\",\"description\":\"The holdings of an ETF or index fund and each position's weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.\",\"dateModified\":\"2026-11-04T19:05:04.577Z\",\"isPartOf\":{\"@id\":\"https://docs.financialdatasets.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.financialdatasets.ai/api/index-funds/ticker#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.financialdatasets.ai/api/index-funds/ticker#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Datasets\",\"item\":\"https://docs.financialdatasets.ai/api/activist-ownership\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ETF Holdings API\",\"item\":\"https://docs.financialdatasets.ai/api/index-funds/ticker\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.financialdatasets.ai/api/index-funds/ticker#apireference\",\"headline\":\"ETF Holdings API\",\"name\":\"ETF Holdings API\",\"description\":\"The holdings of an ETF or index fund and each position's weight, from SEC fund holdings filings: 500+ funds, 5+ years of history, updated daily.\",\"url\":\"https://docs.financialdatasets.ai/api/index-funds/ticker\",\"mainEntityOfPage\":{\"@id\":\"https://docs.financialdatasets.ai/api/index-funds/ticker#webpage\"},\"dateModified\":\"2026-11-04T19:05:04.577Z\",\"publisher\":{\"@id\":\"https://docs.financialdatasets.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.financialdatasets.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Financial Datasets\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Financial Datasets\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api/index-funds/ticker.md","siteName":"Financial Datasets","nav":{"global":null,"groups":[{"group":"Overview","pages":[{"title":"Introduction","sidebarTitle":"Intro","href":"/introduction"},{"title":"Quick Start","sidebarTitle":"Quickstart","href":"/quickstart"},{"title":"Data Provenance","sidebarTitle":"Provenance","href":"/data-provenance"},{"title":"Market Coverage","sidebarTitle":"Coverage","href":"/market-coverage"}]},{"group":"Integrations","pages":[{"title":"Agent Onboarding","sidebarTitle":"Agent Onboarding","href":"/agents"},{"title":"Financial Data MCP Server","sidebarTitle":"MCP Server","href":"/mcp-server"},{"title":"OpenAPI Spec","href":"/openapi-spec"},{"group":"Webhooks","pages":[{"title":"Webhooks","sidebarTitle":"Overview","href":"/webhooks"},{"title":"Webhook Event Types","sidebarTitle":"Event Types","href":"/webhooks/events"}]},{"title":"x402","sidebarTitle":"x402","href":"/x402"}]},{"group":"Search","tag":"ALPHA","pages":[{"title":"Search","sidebarTitle":"Overview","openapi":"POST /search","hideApiMarker":true,"href":"/search/introduction"},{"title":"Best Practices","href":"/search/best-practices"}]},{"group":"Datasets","pages":[{"title":"Activist Investor API (SEC Schedule 13D)","sidebarTitle":"Activist Ownership","openapi":"GET /activist-ownership","hideApiMarker":true,"href":"/api/activist-ownership"},{"title":"Beneficial Ownership API (13D, 13G)","sidebarTitle":"Beneficial Ownership","openapi":"GET /beneficial-ownership","hideApiMarker":true,"href":"/api/beneficial-ownership"},{"group":"Company","pages":[{"title":"Company Profile API by CIK","sidebarTitle":"Facts (by CIK)","openapi":"GET /company/facts","href":"/api/company/facts/cik"},{"title":"Company Profile API (Sector, CIK)","sidebarTitle":"Facts (by ticker)","openapi":"GET /company/facts","href":"/api/company/facts/ticker"}]},{"group":"Earnings","pages":[{"title":"Earnings API","sidebarTitle":"Company Earnings","openapi":"GET /earnings","href":"/api/earnings"},{"title":"Earnings Feed API","sidebarTitle":"Earnings Feed","openapi":"GET /earnings","href":"/api/earnings/feed"}]},{"group":"Financial Metrics","pages":[{"title":"Financial Metrics API (Historical)","sidebarTitle":"Historical","openapi":"GET /financial-metrics","href":"/api/financial-metrics/historical"},{"title":"Financial Metrics API (Snapshot)","sidebarTitle":"Snapshot","openapi":"GET /financial-metrics/snapshot","href":"/api/financial-metrics/snapshot"}]},{"group":"Financial Statements","pages":[{"title":"Income Statement API","sidebarTitle":"Income Statements","openapi":"GET /financials/income-statements","href":"/api/financials/income-statements"},{"title":"Balance Sheet API","sidebarTitle":"Balance Sheets","openapi":"GET /financials/balance-sheets","href":"/api/financials/balance-sheets"},{"title":"Cash Flow Statement API","sidebarTitle":"Cash Flow Statements","openapi":"GET /financials/cash-flow-statements","href":"/api/financials/cash-flow-statements"},{"title":"Financial Statements API","sidebarTitle":"All Financial Statements","openapi":"GET /financials","href":"/api/financials/all-financial-statements"},{"title":"As-Reported Financial Statements API","sidebarTitle":"As-Reported Statements","openapi":"GET /financials/as-reported","href":"/api/financials/as-reported"},{"title":"Financial Line Items API","sidebarTitle":"Line Items","openapi":"POST /financials/search/line-items","href":"/api/financials/search-line-items"}]},{"group":"GDP","pages":[{"title":"GDP Data API","sidebarTitle":"Historical","openapi":"GET /macro/gdp","href":"/api/macro/gdp/historical"},{"title":"Latest GDP Report API","sidebarTitle":"Snapshot","openapi":"GET /macro/gdp/snapshot","href":"/api/macro/gdp/snapshot"}]},{"group":"GPU Prices","pages":[{"title":"GPU Rental Price API (H100, B200)","sidebarTitle":"Historical","openapi":"GET /macro/gpu-prices","href":"/api/macro/gpu-prices/historical"},{"title":"Latest GPU Rental Prices API","sidebarTitle":"Snapshot","description":"Today's rental price of H100, H200, B200, and B300 GPUs in US dollars per GPU hour, with the provider spread and the 1, 7, and 30 day changes, refreshed hourly.","openapi":"GET /macro/gpu-prices/snapshot","href":"/api/macro/gpu-prices/snapshot"}]},{"group":"Index Funds","pages":[{"title":"ETF Holdings API","sidebarTitle":"Holdings (by fund)","openapi":"GET /index-funds","href":"/api/index-funds/ticker"},{"title":"ETFs Holding a Stock API","sidebarTitle":"Funds (by holding)","description":"The ETFs and index funds whose latest filing holds a given stock, with each fund's weight in it, from SEC fund holdings filings: 4,500+ securities, updated daily.","openapi":"GET /index-funds","href":"/api/index-funds/holding"}]},{"group":"Inflation","pages":[{"title":"Inflation Data API (CPI, PCE)","sidebarTitle":"Historical","openapi":"GET /macro/inflation","href":"/api/macro/inflation/historical"},{"title":"Latest CPI and PCE Inflation API","sidebarTitle":"Snapshot","openapi":"GET /macro/inflation/snapshot","href":"/api/macro/inflation/snapshot"}]},{"title":"Insider Ownership API (Forms 3, 5)","sidebarTitle":"Insider Ownership","openapi":"GET /insider-ownership","hideApiMarker":true,"href":"/api/insider-ownership"},{"title":"Insider Trading API (SEC Form 4)","sidebarTitle":"Insider Trades","openapi":"GET /insider-trades","hideApiMarker":true,"href":"/api/insider-trades"},{"group":"Institutional Holdings","pages":[{"title":"13F Holdings API (by Investor)","sidebarTitle":"Holdings (by investor)","openapi":"GET /institutional-holdings","href":"/api/institutional-holdings/investor"},{"title":"Institutional Holdings API (SEC 13F)","sidebarTitle":"Owners (by ticker)","openapi":"GET /institutional-holdings","href":"/api/institutional-holdings/ticker"}]},{"group":"Interest Rates","pages":[{"title":"Central Bank Interest Rates API","sidebarTitle":"Historical","openapi":"GET /macro/interest-rates","href":"/api/macro/interest-rates/historical"},{"title":"Current Central Bank Interest Rates API","sidebarTitle":"Snapshot","openapi":"GET /macro/interest-rates/snapshot","href":"/api/macro/interest-rates/snapshot"}]},{"title":"IPO Data API (S-1 and F-1 Filings)","sidebarTitle":"IPOs","openapi":"GET /ipos","hideApiMarker":true,"href":"/api/ipos"},{"group":"Labor Market","pages":[{"title":"Labor Market Data API","sidebarTitle":"Historical","openapi":"GET /macro/labor","href":"/api/macro/labor/historical"},{"title":"Latest Jobs Report API","sidebarTitle":"Snapshot","openapi":"GET /macro/labor/snapshot","href":"/api/macro/labor/snapshot"}]},{"group":"News","pages":[{"title":"Stock News API (Company News)","sidebarTitle":"Company News","openapi":"api/news/openapi-company.json GET /news","href":"/api/news/company"},{"title":"Market News API","sidebarTitle":"Market News","openapi":"api/news/openapi-market.json GET /news","href":"/api/news/market"}]},{"group":"Operating KPIs","pages":[{"title":"Company KPI Data API","sidebarTitle":"Metrics","openapi":"GET /kpi/metrics","href":"/api/kpi/metrics"},{"title":"Earnings Guidance API","sidebarTitle":"Guidance","openapi":"GET /kpi/guidance","href":"/api/kpi/guidance"},{"title":"Non-GAAP Metrics API (Adjusted EPS)","sidebarTitle":"Non-GAAP Metrics","openapi":"GET /kpi/non-gaap","href":"/api/kpi/non-gaap"}]},{"group":"SEC Filings","pages":[{"title":"SEC Filings API (10-K, 10-Q, 8-K)","sidebarTitle":"Filings","openapi":"GET /filings","href":"/api/filings/ticker"},{"title":"SEC Filing Sections API (10-K Items)","sidebarTitle":"Items","openapi":"GET /filings/items","href":"/api/filings/items"}]},{"group":"Segmented Financials","pages":[{"title":"Segmented Revenue API","sidebarTitle":"Income Statement","openapi":"GET /financials/income-statements/segments","href":"/api/financials/income-statement-segments"},{"title":"Balance Sheet Segments API","sidebarTitle":"Balance Sheet","openapi":"GET /financials/balance-sheets/segments","href":"/api/financials/balance-sheet-segments"},{"title":"Cash Flow Segments API","sidebarTitle":"Cash Flow Statement","openapi":"GET /financials/cash-flow-statements/segments","href":"/api/financials/cash-flow-statement-segments"},{"title":"Segmented Financials API (All Segments)","sidebarTitle":"All Segmented Financials","openapi":"GET /financials/segments","href":"/api/financials/all-segments"}]},{"group":"Stock Prices","pages":[{"title":"Stock Price API (Historical OHLCV)","sidebarTitle":"Historical","openapi":"GET /prices","href":"/api/prices/historical"},{"title":"Real-Time Stock Price API","sidebarTitle":"Company Snapshot","openapi":"GET /prices/snapshot","href":"/api/prices/snapshot"},{"title":"US Market Snapshot API","sidebarTitle":"Market Snapshot","openapi":"GET /prices/snapshot/market","href":"/api/prices/market-snapshot"}]},{"title":"Stock Screener API","sidebarTitle":"Stock Screener","openapi":"POST /financials/search/screener","hideApiMarker":true,"href":"/api/financials/search-screener"},{"group":"Treasury Yields","pages":[{"title":"Treasury Yield Curve API","sidebarTitle":"Historical","openapi":"GET /macro/yield-curve","href":"/api/macro/yield-curve/historical"},{"title":"Latest Treasury Yield Curve API","sidebarTitle":"Snapshot","openapi":"GET /macro/yield-curve/snapshot","href":"/api/macro/yield-curve/snapshot"}]}]},{"group":"Guides","pages":[{"title":"Get US Fundamentals","href":"/guides/analyze-financial-statements-python"},{"title":"UK Fundamentals in Python","sidebarTitle":"Get UK Fundamentals","href":"/guides/get-uk-fundamentals-python"},{"title":"France Fundamentals in Python","sidebarTitle":"Get France Fundamentals","href":"/guides/get-france-fundamentals-python"},{"title":"Pull Stock Prices","href":"/guides/get-stock-prices-python"},{"title":"Search SEC Filings","href":"/guides/search-sec-filings-python"},{"title":"Set Up Webhooks","href":"/guides/setup-webhooks"},{"title":"Understanding Pagination","href":"/guides/pagination"}]}]},"basePath":"","title":"ETF Holdings API - Financial Datasets","buildId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","deploymentId":"dpl_DqYu5MPb49gWBBbUGgpHQUmCHY3P","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CybtLBIt.js","utils-BMLj2fvV.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-B6In562Y.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dr8Mfhp9.js","snippetPresets-2rmQvMVl.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","conditional-requirements-CFM0id0Q.js","ApiExamples-WMqJYdZj.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-CJ-MlPHu.js","shallow-dY3TMRCk.js","getApiPlaygroundDisplay-v-1B2bKm.js","CodeSnippet-BDhiTB7U.js","CodeSnippets-D9hnzQcS.js","Page-C4GwDT3_.js","getPastedJson-Th2V45jI.js","icon-BQXch1W9.js","MethodPill-BCqUneP3.js","DuplicateIcon-Q_-bhurZ.js","createIcon-DUjLHRqp.js","DynamicMarkdown-B-f2cqXQ.js","SectionHeading-Da5NsV4v.js","axios-vUo_bRtp.js","Markdown-D13FWkIM.js","clsx-D3Isdib3.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-C-XZBk9h.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink--qIqmmVG.js"]}