If you advise clients on their money, or build software for people who do, two questions come up constantly. Is this investment suitable for this particular client, given how much risk they can stomach? And how has this portfolio actually performed, and why? Answering both by hand means questionnaires on paper, spreadsheets, and a lot of copying numbers between systems. Morningstar, the investment research company, offers APIs for both. An API is a way for your own software, or an AI assistant working for you, to ask Morningstar for an answer directly and get it back in seconds. I keep a profile of Morningstar on APIs.io, and this is what it lets you get done.
What Morningstar does
Morningstar is a Chicago-based investment research and financial market data company. It sells fund and equity data, analyst research, ratings, indexes, and portfolio analytics to financial advisors, asset managers, and fintech companies. Its developer portal documents two large families of APIs, Direct Web Services and Dynamic Services, along with market data for real-time, delayed, and end-of-day prices, a streaming feed for live market data, account aggregation through ByAllAccounts, and a newer surface built for AI agents. You can read more on the Morningstar website.
What you can get done
Suitability and appropriateness management
Regulators expect advisors to show that what they recommend fits the client. “Risk tolerance” is how much ups and downs a client can live with, and a “suitability score” measures how well a proposed investment matches it. Morningstar lets your planning software run the questionnaire, record the result, and score a recommendation, all with a record you can show later.
POST /v2/clients/generate-idcreates an identifier for a new client.POST /v2/clients/risks/questionnairessubmits a client’s risk tolerance questionnaire answers.GET /v2/clients/risks/questionnairesreturns the history of a client’s questionnaire responses.PATCH /v1/clients/risks/questionnaires/{id}/agreed-scorerecords the risk score the advisor and client agreed on.POST /v2/clients/solutions/calculate-suitability-scorecalculates how suitable a proposed solution is for that client.
Performance measurement management
Clients want to know not just how a portfolio did, but why. “Performance attribution” breaks the return down into what came from which decisions, and a “hypothetical” shows how a portfolio would have performed if you had held it.
POST /attribution/calculatecalculates performance attribution for a portfolio over a chosen period.POST /portfolioanalysis/v1/hypocalculates hypothetical performance for a portfolio.
AI model services
Morningstar also exposes an agent, software that takes a question and works out an answer using Morningstar’s data, that your own applications can call.
POST /morningstar-agent/v1/runsends the agent a request and gets the result.POST /morningstar-agent/v1/run/streamdoes the same, streaming the answer back as it is produced.GET /morningstar-agent/v1/statuschecks whether the agent is available.
Getting started
Morningstar’s documentation and API descriptions are public, but credentials come through Morningstar’s onboarding process rather than a self-serve signup, so expect to talk to their team. The market data overview is a good place to start, along with the guides to price quotes and time and sales. Morningstar also publishes a streaming client and a snapshot client on GitHub.
On APIs.io you can browse the Morningstar profile and individual APIs such as the Risk Profiler API, the Portfolio Analysis APIs, the Financial Planning APIs and the AI Insights API.
If your advisors still run risk questionnaires on paper, start with the questionnaire and suitability calls and put the answers where your planning software can see them.
