# Financial Datasets — Get ETF / index-fund holdings

Look up ETF and index-fund holdings via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Financial Datasets, pass parameters such as ticker, limit, and retrieve structured data including fund composition reference date and holdings for fund composition view, and security exposure lookup, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/financial-datasets/financial-datasets-get-etf-index-fund-holdings/18cba857-6d04-4786-aacd-5a7867d6e902/
API ID: 18cba857-6d04-4786-aacd-5a7867d6e902
Provider: financialdatasets
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/financialdatasets/index-funds
Page update time: 2026-12-03T02:49:06.215Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.02 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:49:05.805Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "20000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Financial Datasets Fund Holdings API

Choose exactly one query direction: ticker for a fund's constituents or holding for funds holding a security. as\_of selects dated composition where supported; asset\_class accepts equity or bond. The two directions have different response headers and collections, so parse the selected mode explicitly.

## What You Can Build

- **Fund composition view**: Display a disclosed fund portfolio with its reference date.
- **Security exposure lookup**: Find funds whose disclosed holdings include a chosen security.

## Documented Response Fields

| Field | Meaning |
| --- | --- |
| `fund.name` | Fund name in a fund-ticker query |
| `fund.as_of` | Fund composition reference date |
| `holdings` | Constituent holdings in a fund-ticker query |
| `security.ticker` | Queried security in a reverse lookup |
| `funds` | Funds returned by a held-security query |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Financial Datasets — Get ETF / index-fund holdings request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "ticker": {
          "type": "string",
          "description": "The fund's ticker symbol (e.g., `SPY`). Returns that fund's holdings. Mutually exclusive with `holding`."
        },
        "holding": {
          "type": "string",
          "description": "A held security's ticker symbol (e.g., `AAPL`). Returns the funds whose latest filing holds it. Mutually exclusive with `ticker`."
        },
        "as_of": {
          "type": "string",
          "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.",
          "format": "date"
        },
        "asset_class": {
          "type": "string",
          "description": "Only valid with `ticker`. Filter constituents by instrument type: `equity` or `bond`. Omit for all holdings.",
          "enum": [
            "equity",
            "bond"
          ]
        },
        "limit": {
          "type": "integer",
          "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`."
        },
        "offset": {
          "type": "integer",
          "description": "The number of rows to skip, for pagination (default: 0)."
        },
        "cursor": {
          "type": "string",
          "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."
        }
      }
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Request example
Generated from input parameters. Replace placeholders before use.
```bash
curl \
  'https://api.openany.si/v1/agent-apis/financialdatasets/index-funds' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
No response example is configured.

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### Can ticker and holding be supplied together?
Choose exactly one. ticker requests a fund's holdings; holding requests funds associated with a security.

### Do both modes return the same JSON shape?
No. The fund mode has fund and holdings; the reverse mode has security and funds.

### What does as_of select?
It selects the composition in effect on or before the date for the fund query. Keep composition dates separate from retrieval time.

### How do I traverse a longer result?
Use the exposed cursor or offset controls according to the selected query mode. Continue on the same OpenAny route and preserve the original selection.

### Which API key should I use?
Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

### Where can I check the current request price?
Review the pricing area for the selected API implementation before calling. Follow its billing unit and terms; retrieving additional pages requires additional requests.

## Available implementations
- financialdatasets: https://openany.si/financial-datasets/financial-datasets-get-etf-index-fund-holdings/18cba857-6d04-4786-aacd-5a7867d6e902/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
