APIs / Finance / Morningstar

1 credit per call9 endpoints6 datapointsChecked working 6 Dec 2026

Morningstar API

Morningstar API for stock and fund search, stock valuation and ratings, and fund fees, holdings, returns and risk as JSON. 1 credit per successful call.

Morningstar
GET/v1/morningstar/search?q=Vanguard+500
{
  "total": 8,
  "page": 1,
  "pageSize": 20,
  "rows": [
    {
      "performanceId": "0P00002YHQ",
      "secId": "FOUSA00L8W",
      "fundId": "FSUSA002QH",
      "ticker": "VFIAX",
      "name": "Vanguard 500 Index Admiral",
      "closePrice": 674.46
    },
    {
      "performanceId": "0P00002SZH",
      "secId": "FOUSA00FS1",
      "fundId": "FSUSA002QH",
      "ticker": "VFINX",
      "name": "Vanguard 500 Index Investor",
      "closePrice": 674.5
    },
    {
      "performanceId": "0P00017END",
      "secId": "F00000WTNP",
      "fundId": "FSUSA002QH",
      "ticker": "VFFSX",
      "name": "Vanguard 500 Index Institutional Select",
      "closePrice": 357.62
    }
  ],
  "source": "morningstar",
  "meta": {
    "request_id": "req_594f052c942741b3a1c83f839290d712",
    "credits_charged": 1,
    "credits_remaining": 4833
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#performanceIdstringsecIdstringfundIdstringtickerstringnamestringclosePricenumber
10P00002YHQFOUSA00L8WFSUSA002QHVFIAXVanguard 500 Index Admiral674.46
20P00002SZHFOUSA00FS1FSUSA002QHVFINXVanguard 500 Index Investor674.5
30P00017ENDF00000WTNPFSUSA002QHVFFSXVanguard 500 Index Institutional Select357.62

Recorded from our API · 3 items shown · 6 datapoints per itemGET /v1/morningstar/search?q=Vanguard+500

6 datapoints

Identity

  • performanceIdstring
  • secIdstring
  • fundIdstring
  • namestring

Price

  • closePricenumber

Other

  • tickerstring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/morningstar/search?q=Vanguard+500" \
  -H "X-API-Key: $API_KEY"

Morningstar · 9 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/morningstar/fund-fees
id
performanceIdassetprospectusExpenseRatioadjustedProspectusExpenseRatiomorningstarFeeLevel
1 credit
GET/v1/morningstar/fund-holdings
id
performanceIdassetnumberOfHoldingholdings
1 credit
GET/v1/morningstar/fund-performance
id
performanceIdassetcategoryindexasOfDateperiods
1 credit
GET/v1/morningstar/fund-quote
id
tickercategorybenchmarkperformanceIdasset
1 credit
GET/v1/morningstar/fund-ratings
id
performanceIdassetratingsratingSourceratingDistribution
1 credit
GET/v1/morningstar/fund-risk
id
performanceIdassetriskScoreriskLevelasOfDate
1 credit
GET/v1/morningstar/price
id
performanceIdpricechange
1 credit
GET/v1/morningstar/search
q+3 optional
performanceIdsecIdfundIdtickernameclosePrice
1 credit
GET/v1/morningstar/stock
id
nametickersectorindustryperformanceIdstarRating+20 more
1 credit

Overview

About the Morningstar API

What you can get

The Morningstar API returns Morningstar stock and fund data as JSON through 9 endpoints.

  • Search: search takes a query q, with page, pageSize and universe (all, nasdaq, nyse, funds or etfs).
  • Stocks: stock takes an id and returns the stock's profile, valuation ratios and star rating. price takes an id and returns the latest price and change.
  • Funds: fund-quote, fund-fees, fund-holdings, fund-performance, fund-risk and fund-ratings each take a fund id.

The recorded search for "Vanguard 500" returns total (8), page, pageSize and rows, each with performanceId, secId, fundId, ticker, name and closePrice; the first was Vanguard 500 Index Admiral (VFIAX) at 674.46. The recorded stock for Apple returns name, ticker, sector, industry, starRating (2), marketCap, priceEarnings (39.93), priceBook, priceSale, dividendYield, day and year ranges, volume, avgVolume, lastClose (358.54 USD) and lastCloseDate.

How a call works

Search, then look up: GET /v1/morningstar/search?q=Vanguard%20500 with your key in the X-API-Key header returns each match's ids. Stocks use a performanceId such as 0P000000GY (Apple): GET /v1/morningstar/stock?id=0P000000GY. Fund endpoints take a fund id such as FOUSA00E5P: GET /v1/morningstar/fund-holdings?id=FOUSA00E5P. Page a search with page and pageSize. Every successful call costs 1 credit; failed calls cost nothing.

FinanceJSONRESTMCP

More finance APIs

Use cases

Resolve a fund or stock name to its ticker and Morningstar ids

Use the Morningstar API to resolve a fund or stock name to its ticker and Morningstar ids

Compare fund expense ratios and fee levels with `fund-fees`

Use the Morningstar API to compare fund expense ratios and fee levels with `fund-fees`

List a fund's top holdings with weightings, sectors and economic moat

Use the Morningstar API to list a fund's top holdings with weightings, sectors and economic moat

Chart a fund's calendar-year returns since 2016 with `fund-performance`

Use the Morningstar API to chart a fund's calendar-year returns since 2016 with `fund-performance`

FAQ

Questions

How much does the Morningstar API cost?

Each successful call costs one credit, whichever endpoint you call. New accounts get free credits to start, and credit packs bring the price down as you scale.

What do the fund endpoints return?

For the recorded fund (ANEFX, Global Large-Stock Growth): `fund-fees` returned a `prospectusExpenseRatio` of 0.72 and a `morningstarFeeLevel`; `fund-holdings` 185 holdings, each with `name`, `ticker`, `sector`, `isin`, `stockRating`, `economicMoat`, `weighting` and `marketValue`; `fund-performance` yearly returns from 2016 plus YTD against its index; `fund-risk` a `riskScore` of 78 and `riskLevel` Aggressive; `fund-ratings` the star rating distribution. `fund-quote` is short: `ticker`, `category` and `benchmark`.

Which id does each endpoint take?

`stock` and `price` take a stock's `performanceId` (for example `0P000000GY`). The fund endpoints take a fund id in the `FOUSA00E5P` form. `search` returns `performanceId`, `secId` and `fundId` for each match.

Do I need a Morningstar account?

No. You call this Morningstar API with your Perceptlayer key in the `X-API-Key` header, with no Morningstar login.

Is this the official Morningstar API?

No. Perceptlayer is an independent service and is not affiliated with Morningstar. It returns Morningstar data as JSON with a Perceptlayer key, so there is no Morningstar developer account, app review or partner approval to get first. It only reads data: if Morningstar has an official API and you need to act on your own Morningstar account, such as posting, managing orders or reading private data, use that one.

Should I build a Morningstar scraper instead?

You can, but a Morningstar scraper is code you maintain: page changes break it, requests get blocked, and Morningstar's terms govern how you collect data. The Morningstar API gives you 9 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Morningstar API with 100 free credits

No credit card. Failed calls are never billed.