# 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/market/apis/financial-datasets/financial-datasets-get-etf-index-fund-holdings/?offering=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. Price update time: not supplied.
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
}
```

## 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.

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

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