Moody's Data Buffet API

Moody's Analytics Data Buffet application program interface enables you to retrieve economic, demographic and financial time series directly from the Data Buffet repository, including international and subnational economic and demographic time series data and forecasts.

Operations 19

GET /series Moody's Retrieve a Single Time Series #
POST /multi-series Moody's Retrieve Multiple Time Series #
GET /project/{projectId}/scenario/{scenarioId}/{variableId} Gets information about a specific series. #
PUT /project/{projectId}/scenario/{scenarioId}/series/{variableId}/equation Edits the equation of a series. #
PUT /project/{projectId}/scenario/{scenarioId}/series/{variableId}/historical/{lastHistorical} Changes the last historical end point for a series. #
GET /project/{projectId}/scenario/{scenarioId}/series/{variableId}/sharedown Gets sharedown information for a series. #
POST /project/{projectId}/scenario/{scenarioId}/series/{variableId}/sharedown Checks out all variables within a sharedown chain, and starts the sharedown calculation. #
POST /project/{projectId}/scenario/{scenarioId}/series/checkin Releases a series/unlocks a series without writing data to central. If releasing a custom series that has never been pushed to central, the custom series is deleted. #
POST /project/{projectId}/scenario/{scenarioId}/series/checkout Claim/check out series. #
POST /project/{projectId}/scenario/{scenarioId}/series/commit Push to central/commit a series- writes local data to central. #
PUT /project/{projectId}/scenario/{scenarioId}/series/custom Edits a custom series. #
POST /project/{projectId}/scenario/{scenarioId}/series/custom Creates new custom series. #
DELETE /project/{projectId}/scenario/{scenarioId}/series/custom Deletes custom series. #
PUT /project/{projectId}/scenario/{scenarioId}/series/endogenizeBulk Sets series' state to endogenous. #
PUT /project/{projectId}/scenario/{scenarioId}/series/exogenize Sets series' state to exogenous. #
PUT /project/{projectId}/scenario/{scenarioId}/series/exogenize-through Sets series to be partially exogenized. #
POST /project/{projectId}/scenario/{scenarioId}/series/info Gets series info for a list of series/expressions. #
POST /project/{projectId}/scenario/{scenarioId}/series/reendogenize Starts an add factor solve for one or more series. #
GET /project/{projectId}/scenario/{scenarioId}/variable/{variableId} Gets all meta information for a series. #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/data-buffet-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

moodys-series-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Moodys Series API
  version: '1.0'
  description: 'Operations tagged Series across 3 of this provider''s published API definitions: moodys-data-buffet-api-openapi.yml, moodys-data-buffet-api-swagger.json, moodys-scenario-studio-api-swagger.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.economy.com/data/v1
  description: Moody's Analytics Data Buffet production server
- url: https://api.economy.com/scenario-studio/v2
tags:
- name: Series
  description: Operations for retrieving individual and multi-series time series data
paths:
  /series:
    get:
      operationId: getSeries
      summary: Moody's Retrieve a Single Time Series
      description: Returns data for a single economic, demographic, or financial time series identified by its mnemonic. Supports frequency conversion, mathematical transformations, date range filtering, and vintage selection.
      tags:
      - Series
      parameters:
      - $ref: '#/components/parameters/mnemonic'
      - $ref: '#/components/parameters/freq'
      - $ref: '#/components/parameters/trans'
      - $ref: '#/components/parameters/startDate'
      - $ref: '#/components/parameters/endDate'
      - $ref: '#/components/parameters/vintage'
      responses:
        '200':
          description: Successfully retrieved time series data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeriesResponse'
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - invalid or expired token
        '404':
          description: Series mnemonic not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - oauth2: []
    servers:
    - url: https://api.economy.com/data/v1
      description: Moody's Analytics Data Buffet production server
  /multi-series:
    post:
      operationId: getMultiSeries
      summary: Moody's Retrieve Multiple Time Series
      description: Returns data for up to 25 time series in a single request. Each series can have individual frequency, transformation, date range, and vintage parameters. Useful for efficiently fetching related economic indicators together.
      tags:
      - Series
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MultiSeriesRequest'
      responses:
        '200':
          description: Successfully retrieved multiple time series
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MultiSeriesResponse'
        '400':
          description: Invalid request or exceeded 25 series limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized - invalid or expired token
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
      security:
      - oauth2: []
    servers:
    - url: https://api.economy.com/data/v1
      description: Moody's Analytics Data Buffet production server
  /project/{projectId}/scenario/{scenarioId}/{variableId}:
    get:
      tags:
      - Series
      summary: Gets information about a specific series.
      operationId: Series_GetSeriesAsync
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: variableId
        in: path
        description: The Id of the variable.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/{variableId}/equation:
    put:
      tags:
      - Series
      summary: Edits the equation of a series.
      operationId: Series_EditEquation
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: variableId
        in: path
        description: The Id of the variable.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/json:
            schema:
              type: string
          application/x-www-form-urlencoded:
            schema:
              type: string
        description: The new equation.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/{variableId}/historical/{lastHistorical}:
    put:
      tags:
      - Series
      summary: Changes the last historical end point for a series.
      operationId: Series_ChangeLastHistorical
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: variableId
        in: path
        description: The Id of the variable.
        required: true
        schema:
          type: string
      - name: lastHistorical
        in: path
        description: The new last historical point.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/{variableId}/sharedown:
    get:
      tags:
      - Series
      summary: Gets sharedown information for a series.
      operationId: Series_GetSharedownInfoAsync
      parameters:
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: variableId
        in: path
        description: The Id of the series.
        required: true
        schema:
          type: string
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
    post:
      tags:
      - Series
      summary: Checks out all variables within a sharedown chain, and starts the sharedown calculation.
      operationId: Series_CheckoutSharedownAsync
      parameters:
      - name: projectId
        in: path
        description: The project Id.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The scenario Id.
        required: true
        schema:
          type: string
      - name: variableId
        in: path
        description: The variable to sharedown.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/checkin:
    post:
      tags:
      - Series
      summary: 'Releases a series/unlocks a series without writing data to central.

        If releasing a custom series that has never been pushed to central,

        the custom series is deleted.'
      operationId: Series_CheckIn
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of variables to push.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/checkout:
    post:
      tags:
      - Series
      summary: Claim/check out series.
      operationId: Series_CheckOut
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: exogenize
        in: query
        description: When true, sets series to be exogenous; else series default to the current central state.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of variables to claim.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/commit:
    post:
      tags:
      - Series
      summary: Push to central/commit a series- writes local data to central.
      operationId: Series_Commit
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CommitPayload'
          text/json:
            schema:
              $ref: '#/components/schemas/CommitPayload'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CommitPayload'
        description: The list of series to push, and a note describing the changes.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/custom:
    put:
      tags:
      - Series
      summary: Edits a custom series.
      operationId: Series_EditCustomSeries
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomSeries'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomSeries'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomSeries'
        description: The series meta to change.
        required: true
    post:
      tags:
      - Series
      summary: Creates new custom series.
      operationId: Series_CreateCustomSeries
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: skipDependencyCheck
        in: query
        description: ''
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CustomSeries'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CustomSeries'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CustomSeries'
        description: The list of series to create.
        required: true
    delete:
      tags:
      - Series
      summary: Deletes custom series.
      operationId: Series_DeleteCustomSeries
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of series to delete.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/endogenizeBulk:
    put:
      tags:
      - Series
      summary: Sets series' state to endogenous.
      operationId: Series_EndogenizeBulk
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of variables to set to endogenous.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/exogenize:
    put:
      tags:
      - Series
      summary: Sets series' state to exogenous.
      operationId: Series_ExogenizeBulk
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of variables to set to exogenous.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/exogenize-through:
    put:
      tags:
      - Series
      summary: Sets series to be partially exogenized.
      operationId: Series_ExogenizeThroughBulk
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExogenizeThroughBulkRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/ExogenizeThroughBulkRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ExogenizeThroughBulkRequest'
        description: The list of series along with the exogenize through value.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/info:
    post:
      tags:
      - Series
      summary: Gets series info for a list of series/expressions.
      operationId: Series_GetSeriesAsync
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of variables/expressions.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/series/reendogenize:
    post:
      tags:
      - Series
      summary: Starts an add factor solve for one or more series.
      operationId: Series_Reendogenize
      parameters:
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
          text/json:
            schema:
              type: array
              items:
                type: string
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                type: string
        description: The list of series to perform the add factor solve on.
        required: true
    servers:
    - url: https://api.economy.com/scenario-studio/v2
  /project/{projectId}/scenario/{scenarioId}/variable/{variableId}:
    get:
      tags:
      - Series
      summary: Gets all meta information for a series.
      operationId: Series_GetSpecVariableAsync
      parameters:
      - name: projectId
        in: path
        description: The Id of the project.
        required: true
        schema:
          type: string
      - name: scenarioId
        in: path
        description: The Id of the scenario.
        required: true
        schema:
          type: string
      - name: variableId
        in: path
        description: The Id of the series.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      security:
      - oauth2: []
    servers:
    - url: https://api.economy.com/scenario-studio/v2
components:
  parameters:
    startDate:
      name: startDate
      in: query
      description: The start date for the data range in YYYY-MM-DD format. If omitted, returns data from the beginning of the series.
      required: false
      schema:
        type: string
        format: date
    vintage:
      name: vintage
      in: query
      description: The vintage date for accessing historical data revisions in YYYY-MM-DD format. If omitted, returns the latest vintage.
      required: false
      schema:
        type: string
        format: date
    mnemonic:
      name: mnemonic
      in: query
      description: The unique series mnemonic identifier. Mnemonics follow the Data Buffet naming convention, e.g., FGDP_US for US GDP or EMPLPAY.IUSA for US total nonfarm payrolls.
      required: true
      schema:
        type: string
      examples:
        usGdp:
          summary: US Gross Domestic Product
          value: FGDP_US
        usPayrolls:
          summary: US Total Nonfarm Payrolls
          value: EMPLPAY.IUSA
    freq:
      name: freq
      in: query
      description: The desired output frequency for the series. When specified, frequency conversion is applied. For example, converting quarterly GDP to annual.
      required: false
      schema:
        type: string
        enum:
        - A
        - Q
        - M
        - W
        - D
    endDate:
      name: endDate
      in: query
      description: The end date for the data range in YYYY-MM-DD format. If omitted, returns data through the latest available observation or forecast.
      required: false
      schema:
        type: string
        format: date
    trans:
      name: trans
      in: query
      description: The mathematical transformation to apply to the series values. Supports common economic transformations.
      required: false
      schema:
        type: string
        enum:
        - Level
        - SimpleDifference
        - PercentChange
        - AnnualizedGrowth
        - YearOverYearPercentChange
        - CompoundAnnualGrowthRate
  schemas:
    SeriesResponse:
      type: object
      description: Response containing a single time series with metadata and observations.
      required:
      - mnemonic
      - description
      - frequency
      - data
      properties:
        mnemonic:
          type: string
          description: The unique series mnemonic identifier.
          example: example_value
        description:
          type: string
          description: Human-readable description of the series.
          example: A sample description.
        frequency:
          type: string
          description: The frequency of the returned data.
          enum:
          - Annual
          - Quarterly
          - Monthly
          - Weekly
          - Daily
          example: Annual
        source:
          type: string
          description: The original data source (e.g., BLS, BEA, IMF).
          example: example_value
        geography:
          type: string
          description: The geographic area the series covers.
          example: example_value
        units:
          type: string
          description: The unit of measurement for the series values (e.g., Billions of Chained 2017 Dollars, Thousands of Persons, Index).
          example: example_value
        transformation:
          type: string
          description: The transformation applied to the data, if any.
          example: example_value
        startDate:
          type: string
          format: date
          description: The start date of the returned data range.
          example: '2026-01-15'
        endDate:
          type: string
          format: date
          description: The end date of the returned data range.
          example: '2026-01-15'
        vintage:
          type: string
          format: date
          description: The vintage date of the returned data.
          example: '2026-01-15'
        lastUpdated:
          type: string
          format: date-time
          description: When the series was last updated in the repository.
          example: '2026-01-15T10:30:00Z'
        isForecast:
          type: boolean
          description: Whether the series contains forecast data from Moody's Analytics models.
          example: true
        data:
          type: array
          description: Array of date-value pairs representing the time series observations and/or forecasts.
          items:
            $ref: '#/components/schemas/Observation'
          example: []
    Observation:
      type: object
      description: A single time series observation or forecast data point.
      required:
      - date
      - value
      properties:
        date:
          type: string
          format: date
          description: The observation date in YYYY-MM-DD format. For frequencies coarser than daily, represents the period start date.
          example: '2026-01-15'
        value:
          type:
          - number
          - 'null'
          description: The observation value. Null indicates missing or unavailable data for this period.
          example: example_value
        status:
          type: string
          description: Status indicator for the data point.
          enum:
          - History
          - Forecast
          - Preliminary
          example: History
    MultiSeriesRequest:
      type: object
      description: Request body for retrieving multiple series simultaneously.
      required:
      - series
      properties:
        series:
          type: array
          description: Array of series requests. Maximum 25 series per request.
          maxItems: 25
          items:
            $ref: '#/components/schemas/SeriesRequest'
          example: []
    MultiSeriesResponse:
      type: object
      description: Response containing multiple time series.
      required:
      - series
      properties:
        series:
          type: array
          description: Array of time series responses.
          items:
            $ref: '#/components/schemas/SeriesResponse'
          example: []
    SeriesRequest:
      type: object
      description: A single series request within a multi-series call.
      required:
      - mnemonic
      properties:
        mnemonic:
          type: string
          description: The unique series mnemonic identifier.
          example: example_value
        freq:
          type: string
          description: Desired output frequency.
          enum:
          - A
          - Q
          - M
          - W
          - D
          example: A
        trans:
          type: string
          description: Mathematical transformation to apply.
          enum:
          - Level
          - SimpleDifference
          - PercentChange
          - AnnualizedGrowth
          - YearOverYearPercentChange
          - CompoundAnnualGrowthRate
          example: Level
        startDate:
          type: string
          format: date
          description: Start date for the data range.
          example: '2026-01-15'
        endDate:
          type: string
          format: date
          description: End date for the data range.
          example: '2026-01-15'
        vintage:
          type: string
          format: date
          description: Vintage date for historical data revisions.
          example: '2026-01-15'
    Error:
      type: object
      description: Standard error response.
      required:
      - code
      - message
      properties:
        code:
          type: string
          description: Machine-readable error code.
          example: example_value
        message:
          type: string
          description: Human-readable error message.
          example: example_value
        details:
          type: string
          description: Additional details about the error.
          example: 

# --- truncated at 32 KB (36 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moodys/refs/heads/main/openapi/moodys-series-api-openapi.yml