Moody’s Analytics provides a robust set of APIs that enable users to interact with our economic and credit solutions. These services include tools to retrieve economic, credit, demographic and financial time series, retrieve the output from an economic model simulation, calculate expected credit lending and residual value losses, and score municipal credit.
This web page provides a summary of our APIs and includes links to user guides, code examples in a variety of languages (via GitHub https://github.com/about), and a website where you can test and play with the API without writing any code (via Swagger https://swagger.io/docs/specification/2-0/what-is-swagger/).
To use our APIs, you need a valid set of license keys to authenticate your requests. You can obtain your license keys here.
Code samples and documentation for each of our APIs are available below. The table below lists our available APIs:
Economic Data & Forecasts (Data Buffet)
Retrieves economic and demographic time series data and forecasts from the Data Buffet repository.
Consumer Credit Loss Forecasts (ECCL)
Retrieves expected consumer credit loss forecasts under baseline and stress scenarios.
Municipal Probability of Default & Loss Forecasts
Retrieves probability of default and loss rates for the municipal market under baseline and stress scenarios.
Municipal Expected & Average Loss Rates (QRate)
Retrieves a Q-Rating, a quantitative estimate of how changes in a municipalities financials might impact its Moody's Investors Service credit ratings.
Residual Auto Value Forecasts (AutoCycle)
Retrieves forecasts of vehicle prices from AutoCycle models.
Retrieves custom scenarios generated in the Scenario Studio platform.