# Morningstar fund API

Retrieve Morningstar fund or ETF metadata by ticker via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, ticker, and retrieve structured data including source instrument ticker, requested instrument type, source share-class label, portfolio observation date, and holding share of assets for fund comparison, and portfolio display.

Documentation: https://openany.si/morningstar/morningstar-fund-api/5aa087b1-0560-4168-b3b6-85bef5ee45dd/
API ID: 5aa087b1-0560-4168-b3b6-85bef5ee45dd
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/morningstar/v1/fund
Page update time: 2026-12-03T02:46:18.514Z
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.002 / billing credit
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:46:17.151Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## Morningstar Fund Profile API

Use ticker with type=fund or etf, optionally exchange and details=true. Basic portfolio metadata, source notes and dated values have different availability from extended metrics or subscriber-only analysis.

## What You Can Build

- **Fund comparison**: Keep instrument type and share class with each record.
- **Portfolio display**: Show holding weights with their portfolio date.

## Returned Data

| Field | Meaning |
| --- | --- |
| `ticker` | Source instrument ticker |
| `type` | Requested instrument type |
| `share_class` | Source share-class label |
| `portfolio_date` | Portfolio observation date |
| `top_holdings[].weight_percent` | Holding share of assets |
| `note` | Source coverage note |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Morningstar fund API 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": "Fund or ETF ticker."
        },
        "type": {
          "type": "string",
          "description": "fund (default) or etf.",
          "enum": [
            "fund",
            "etf"
          ]
        },
        "exchange": {
          "type": "string",
          "description": "Morningstar market code. Default xnas for funds; arcx, xnas, then bats for ETFs."
        },
        "details": {
          "type": "boolean",
          "description": "true adds asset allocation, trailing returns, star rating, risk statistics and management (default false)."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "Native CSV/NDJSON record selector; it has no effect on this JSON-only product."
        }
      },
      "required": [
        "ticker"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "adjusted_expense_ratio": {
      "type": "number"
    },
    "analyst_summary": {
      "type": "string"
    },
    "analyst_summary_date": {
      "type": "string"
    },
    "cached": {
      "type": "boolean"
    },
    "category": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "exchange": {
      "type": "string"
    },
    "fee_level": {
      "type": "string"
    },
    "fund_size": {
      "type": "integer"
    },
    "minimum_initial_investment": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    },
    "nav": {
      "type": "number"
    },
    "nav_as_of": {
      "type": "string"
    },
    "net_expense_ratio": {
      "type": "number"
    },
    "note": {
      "type": "string"
    },
    "one_day_return_percent": {
      "type": "null"
    },
    "portfolio_date": {
      "type": "string"
    },
    "prospectus_expense_ratio": {
      "type": "null"
    },
    "share_class": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "style_box": {
      "type": "string"
    },
    "ticker": {
      "type": "string"
    },
    "top10_percent_assets": {
      "type": "number"
    },
    "top_holdings": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "market_value_usd": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "sector": {
                "type": "string"
              },
              "weight_percent": {
                "type": "number"
              }
            }
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "ttm_yield": {
      "type": "number"
    },
    "turnover_ratio": {
      "type": "integer"
    },
    "type": {
      "type": "string"
    },
    "url": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Official documentation response · Supplier-tr
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/morningstar/v1/fund?output=json&ticker=VFIAX' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "adjusted_expense_ratio": 0.04,
  "analyst_summary": "Vanguard S&P 500 accurately represents the large-cap US stock market, allowing its low fee and efficient portfolio to carve it a long-term e…",
  "analyst_summary_date": "Apr 27, 2026",
  "cached": false,
  "category": "Large Blend",
  "credits_used": 1,
  "exchange": "xnas",
  "fee_level": "Low",
  "fund_size": 1700000000000,
  "minimum_initial_investment": 3000,
  "name": "Vanguard 500 Index Fund Admiral Shares",
  "nav": 698.88,
  "nav_as_of": "Nov 4, 2026, 1:11:06 AM",
  "net_expense_ratio": 0.04,
  "note": "Morningstar's Medalist rating, star rating and full analysis are subscriber-only and not included.",
  "one_day_return_percent": null,
  "portfolio_date": "Sep 30, 2026",
  "prospectus_expense_ratio": null,
  "share_class": "Institutional",
  "status": "Open",
  "style_box": "Large Blend",
  "ticker": "VFIAX",
  "top10_percent_assets": 39.1,
  "top_holdings": [
    {
      "market_value_usd": 145000000000,
      "name": "NVIDIA Corp",
      "sector": "Technology",
      "weight_percent": 8.39
    },
    {
      "market_value_usd": 128000000000,
      "name": "Apple Inc",
      "sector": "Technology",
      "weight_percent": 7.38
    },
    "… 8 more"
  ],
  "ttm_yield": 1.06,
  "turnover_ratio": 2,
  "type": "fund",
  "url": "https://www.morningstar.com/funds/xnas/vfiax/quote"
}
```

## 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
### How do I select a fund versus an ETF?
type=fund is the default; set type=etf for an ETF. The exchange lookup defaults differ by type.

### What does details=true request?
It requests available extended allocation, returns, risk and management details. It does not unlock subscriber-only analysis.

### Are NAV and holdings necessarily dated together?
No. Keep nav_as_of and portfolio_date separately.

### Does a missing expense or return value mean zero?
No. Preserve unavailable values and the source note; do not infer a zero fee or flat return.

### How do I bypass cached results?
Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

### Can I request CSV or NDJSON?
This OpenAny implementation serves JSON only. Omit output or set output=json.

## Available implementations
- apish: https://openany.si/morningstar/morningstar-fund-api/5aa087b1-0560-4168-b3b6-85bef5ee45dd/

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