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. These services include tools to search and 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.
Consumer Credit Loss Forecasts (ECCL)
Retrieves expected consumer credit loss forecasts under baseline and stress scenarios.
Swagger | https://api.economy.com/eccl/v1/swagger |
Municipal Probability of Default & Loss Forecasts
Retrieves probability of default and loss rates for the municipal market under baseline and stress scenarios.
User Guide | https://www.economy.com/getlocal?q=C44F3FB6-7675-4B50-94D4-A09548204190&app=download |
Swagger | https://api.economy.com/muni/v1/swagger |
Residual Auto Value Forecasts (AutoCycle)
Retrieves forecasts of vehicle prices from AutoCycle models.
User Guide | https://www.economy.com/getlocal?q=E32861B6-9D9D-4EBE-BF8B-91A189EC02BB&app=download |
Swagger | https://api.economy.com/autocycle/v1/swagger |
Scenario Studio
Retrieves custom scenarios generated in the Scenario Studio platform.
Swagger | https://api.economy.com/scenario-studio/v2/swagger |
GitHub | https://github.com/moodysanalytics/scenario-studio-api-codesamples |