# Moody's

> Search Moody’s Data Buffet economic series, retrieve observations and manage baskets and export orders.

App · 18 actions. Web page: https://docs.lodol.com/docs/integrations/moodys

## Actions

### Add series to basket

Add a list of series to existing basket

**Inputs**

- ID (`id`, text, required): BasketId
- Series (`series`, list, required): Series.

**Outputs**: Value.

- `data` (object): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Cancel queued export order

Delete an order that is in the queue. Once an order starts it can no longer be deleted.

**Inputs**

- OrderId (`orderId`, text, required): Order to delete

**Outputs**: Value.

- `data` (object): Order status information
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "basketId": "example",
    "dateFinished": "2026-10-01T12:00:00Z",
    "dateOrdered": "2026-10-01T12:00:00Z",
    "dateStarted": "2026-10-01T12:00:00Z",
    "enteredQueue": "2026-10-01T12:00:00Z",
    "failedAttempts": 1,
    "orderId": "example",
    "orderType": 1,
    "processing": false,
    "queueStatus": 1,
    "updatedQueue": "2026-10-01T12:00:00Z"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Check service health

Check health.

**Inputs**: None.

**Outputs**: Value.

- `data` (object): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Create basket

Create a basket.

**Inputs**

- Title (`title`, text, required): Basket title
- DateStart (`dateStart`, date and time): Date basket starts
- DateEnd (`dateEnd`, date and time): Date basket ends
- DateFormat (`dateFormat`, number): Date format of output basket. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `10`, `11`, `12`, `13`.
- DatePeriod (`datePeriod`, number): Date period of output basket
- FileName (`fileName`, text): Down loadable file name
- FileTypeId (`fileTypeId`, number): Output file's type id
- Options (`options`, object): Basket delivery options
- Frequency (`frequency`, number): Basket level frequency, null if not set at the basket level. One of: `0`, `16`, `49`, `50`, `65`, `66`, `67`, `68`, `69`, `70`, and 41 more.
- Transformation (`transformation`, number): Basket level transformation, null if not set at the basket level. One of: `0`, `1`, `2`, `3`, `4`, `8`, `-1`.
- Decimal (`decimal`, number): Basket level decimal precision, null if not set at the basket level
- Series (`series`, list): Series.

**Outputs**: Value.

- `data` (object): The basket saved.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "basketId": "example",
    "basketName": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Create export order

Places the order to generate a data file.

**Inputs**

- ID (`id`, text, required): guid
- Type (`type`, text, required): Type of Order requested: baskets. One of: `baskets`.
- Operation (`operation`, text, required): Type of Action requested: run. One of: `run`.

**Outputs**: Value.

- `data` (object): Order status information
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "basketId": "example",
    "dateFinished": "2026-10-01T12:00:00Z",
    "dateOrdered": "2026-10-01T12:00:00Z",
    "dateStarted": "2026-10-01T12:00:00Z",
    "enteredQueue": "2026-10-01T12:00:00Z",
    "failedAttempts": 1,
    "orderId": "example",
    "orderType": 1,
    "processing": false,
    "queueStatus": 1,
    "updatedQueue": "2026-10-01T12:00:00Z"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Delete baskets

Delete a list of baskets identified by basketid

**Inputs**

- BasketIds (`basketIds`, list, required): Basketids.

**Outputs**: Value.

- `data` (list): IDs of the deleted baskets.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": [
    "example"
  ],
  "has_more": false,
  "next_cursor": null
}
```

### Get basket

Get a single basket by id.

**Inputs**

- ID (`id`, text, required): BasketId guid

**Outputs**: Value.

- `data` (object): A single basket's information
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "basketId": "example",
    "dateCreated": "2026-10-01T12:00:00Z",
    "dateEnd": "2026-10-01T12:00:00Z",
    "dateExecuted": "2026-10-01T12:00:00Z",
    "dateFormat": 0,
    "datePeriod": 1,
    "dateStart": "2026-10-01T12:00:00Z",
    "dateUpdated": "2026-10-01T12:00:00Z",
    "decimal": 1,
    "fileName": "example",
    "fileTypeId": 1,
    "frequency": 0,
    "name": "example",
    "options": {
      "conversionType": 0,
      "dateOption": 0,
      "ignoreMissing": false,
      "layoutAcross": false,
      "offset": false,
      "showConcept": false,
      "showConversion": false,
      "showDatabankName": false,
      "showDateColumn": false,
      "showDescription": false,
      "showDownloadDate": false,
      "showEndDate": false,
      "showFrequency": false,
      "showGeoFip": false,
      "showGeoTitle": false,
      "showLastHistory": false,
      "showMaGeocode": false,
      "showMnemonic": false,
      "showSeriesDates": false,
      "showSource": false,
      "showStartDate": false,
      "showTransformation": false,
      "showUpdateDate": false,
      "showXls": false,
      "sortDescription": false
    },
    "title": "example",
    "transformation": 0
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get basket contents

Get the contents of the requested basket by id.

**Inputs**

- ID (`id`, text, required): BasketId guid
- Page (`page`, number): Optional pagination page number. At least 1.
- Size (`size`, number): Optional pagination page size. At least 1.

**Outputs**: Value.

- `data` (object): data.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "concept": "example",
    "decimalFormat": 1,
    "description": "example",
    "freq": 0,
    "geo": "example",
    "geoTitle": "example",
    "id": "example",
    "line": 1,
    "trans": 0,
    "userDefined": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get economic series

Return series data formatted in JSON

**Inputs**

- M (`m`, text, required): The data series code (mnemonic) that is being requested.
- Freq (`freq`, number): Converts the data series to another frequency. One of: `0`, `16`, `49`, `50`, `65`, `66`, `67`, `68`, `69`, `70`, and 41 more.
- Trans (`trans`, number): Performs a mathematical transformation on the data. One of: `0`, `1`, `2`, `3`, `4`, `8`, `-1`.
- Conv (`conv`, number): Conversion technique to use when performing frequency conversion. One of: `0`, `1`, `2`, `3`.
- StartDate (`startDate`, date): Start of data series. YYYY-MM-DD format.
- EndDate (`endDate`, date): End of data series. YYYY-MM-DD format.
- Vintage (`vintage`, text): Vintage of data series. YYYYMM or YYYYQ# or YYYY format.
- VintageVersion (`vintageVersion`, number): Vintage Version data series. Integer 1, 2, 3, etc.

**Outputs**: Value.

- `data` (object): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "concept": "example",
    "data": {
      "data": [
        1
      ],
      "freq": "example",
      "freqCode": 1,
      "periods": 1,
      "start": 1,
      "startDate": "example"
    },
    "databank": "example",
    "dateCreated": "example",
    "dateExecuted": "example",
    "dateUpdated": "example",
    "description": "example",
    "endDate": "example",
    "error": "example",
    "fipCode": "example",
    "freqCode": "example",
    "geoCode": "example",
    "geoTitle": "example",
    "lastHistory": "example",
    "mnemonic": "example",
    "observedAttribute": "example",
    "source": "example",
    "startDate": "example",
    "status": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get export order

Get the status of the given order.

**Inputs**

- OrderId (`orderId`, text, required): Order guid

**Outputs**: Value.

- `data` (object): Order status information
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "basketId": "example",
    "dateFinished": "2026-10-01T12:00:00Z",
    "dateOrdered": "2026-10-01T12:00:00Z",
    "dateStarted": "2026-10-01T12:00:00Z",
    "enteredQueue": "2026-10-01T12:00:00Z",
    "failedAttempts": 1,
    "orderId": "example",
    "orderType": 1,
    "processing": false,
    "queueStatus": 1,
    "updatedQueue": "2026-10-01T12:00:00Z"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Get multiple series

Return array of series data formatted in JSON.

**Inputs**

- M (`m`, text, required): Semi colon delimeted list of data series codes (mnemonics)
- Freq (`freq`, number): Converts the data series to another frequency. One of: `0`, `16`, `49`, `50`, `65`, `66`, `67`, `68`, `69`, `70`, and 41 more.
- Trans (`trans`, number): Performs a mathematical transformation on the data. One of: `0`, `1`, `2`, `3`, `4`, `8`, `-1`.
- Conv (`conv`, number): Conversion technique to use when performing frequency conversion. One of: `0`, `1`, `2`, `3`.
- StartDate (`startDate`, date): Start of data series. YYYY-MM-DD format.
- EndDate (`endDate`, date): End of data series. YYYY-MM-DD format.
- Vintage (`vintage`, text): Vintage of data series. YYYYMM or YYYYQ# or YYYY format.
- VintageVersion (`vintageVersion`, number): Vintage Version data series. Integer 1, 2, 3, etc.

**Outputs**: Value.

- `data` (object): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "data": [
      {
        "appliedFreq": 1,
        "appliedTransformation": 1,
        "data": [
          {
            "date": "example",
            "value": 1
          }
        ],
        "databank": "example",
        "description": "example",
        "error": "example",
        "freqCode": "example",
        "geoTitle": "example",
        "lastHistory": "example",
        "mnemonic": "example",
        "observedAttribute": "example",
        "source": "example"
      }
    ],
    "error": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### List baskets

Get a JSON list of baskets that are available for execution. (optionally paginated)

**Inputs**

- Filetype (`filetype`, number): Optional argument for only returning baskets of a given file type
- Page (`page`, number): Optional argument for pagination, page number (1 indexed). At least 1.
- Size (`size`, number): Optional argument for pagination, page size. At least 1.

**Outputs**: Value.

- `data` (list): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": [
    {
      "basketId": "example",
      "dateCreated": "2026-10-01T12:00:00Z",
      "dateEnd": "2026-10-01T12:00:00Z",
      "dateExecuted": "2026-10-01T12:00:00Z",
      "dateFormat": 0,
      "datePeriod": 1,
      "dateStart": "2026-10-01T12:00:00Z",
      "dateUpdated": "2026-10-01T12:00:00Z",
      "decimal": 1,
      "fileName": "example",
      "fileTypeId": 1,
      "frequency": 0,
      "name": "example",
      "options": {
        "conversionType": 0,
        "dateOption": 0,
        "ignoreMissing": false,
        "layoutAcross": false,
        "offset": false,
        "showConcept": false,
        "showConversion": false,
        "showDatabankName": false,
        "showDateColumn": false,
        "showDescription": false,
        "showDownloadDate": false,
        "showEndDate": false,
        "showFrequency": false,
        "showGeoFip": false,
        "showGeoTitle": false,
        "showLastHistory": false,
        "showMaGeocode": false,
        "showMnemonic": false,
        "showSeriesDates": false,
        "showSource": false,
        "showStartDate": false,
        "showTransformation": false,
        "showUpdateDate": false,
        "showXls": false,
        "sortDescription": false
      },
      "title": "example",
      "transformation": 0
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### List export orders

Get a JSON list of the user's orders.

**Inputs**: None.

**Outputs**: Value.

- `data` (list): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": [
    {
      "basketId": "example",
      "dateFinished": "2026-10-01T12:00:00Z",
      "dateOrdered": "2026-10-01T12:00:00Z",
      "dateStarted": "2026-10-01T12:00:00Z",
      "enteredQueue": "2026-10-01T12:00:00Z",
      "failedAttempts": 1,
      "orderId": "example",
      "orderType": 1,
      "processing": false,
      "queueStatus": 1,
      "updatedQueue": "2026-10-01T12:00:00Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### List file types

Get a JSON list of available file types for a given object type.

**Inputs**

- Type (`type`, text, required): Supported object types: baskets. One of: `baskets`.

**Outputs**: Value.

- `data` (list): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": [
    {
      "app": "example",
      "extension": "example",
      "fileTypeId": 1
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### List frequencies

Get a JSON list of frequencies

**Inputs**: None.

**Outputs**: Value.

- `data` (list): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": [
    {
      "frequencyId": 1,
      "frequencyName": "example"
    }
  ],
  "has_more": false,
  "next_cursor": null
}
```

### List series vintages

Get vintages/versions (and other vintage metadata) available for a series

**Inputs**

- M (`m`, text, required): The data series code (mnemonic) that is being requested.

**Outputs**: Value.

- `data` (object): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "datePublishedUtc": "2026-10-01T12:00:00Z",
    "dbName": "example",
    "note": "example",
    "version": 1,
    "vintage": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```

### Search economic series

Search series.

**Inputs**

- Q (`q`, text, required): Q.
- Start (`start`, number): Start. At least 0.
- Rows (`rows`, number): Rows. At least 1.
- Sort (`sort`, text): Leave blank to sort by score

**Outputs**: Value.

- `data` (object): The API response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Update basket

Update existing basket settings and series

**Inputs**

- ID (`id`, text, required): BasketId
- Title (`title`, text): Basket title
- DateStart (`dateStart`, date and time): Date basket starts
- DateEnd (`dateEnd`, date and time): Date basket ends
- DateFormat (`dateFormat`, number): Date format of output basket. One of: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `10`, `11`, `12`, `13`.
- DatePeriod (`datePeriod`, number): Date period of output basket
- FileName (`fileName`, text): Down loadable file name
- FileTypeId (`fileTypeId`, number): Output file's type id
- Options (`options`, object): Basket delivery options
- Frequency (`frequency`, number): Basket level frequency, null if not set at the basket level. One of: `0`, `16`, `49`, `50`, `65`, `66`, `67`, `68`, `69`, `70`, and 41 more.
- Transformation (`transformation`, number): Basket level transformation, null if not set at the basket level. One of: `0`, `1`, `2`, `3`, `4`, `8`, `-1`.
- Decimal (`decimal`, number): Basket level decimal precision, null if not set at the basket level
- Series (`series`, list): Series.

**Outputs**: Value.

- `data` (object): The basket saved.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Continuation value, or empty at the end.

**Example output**

```json
{
  "data": {
    "basketId": "example",
    "basketName": "example"
  },
  "has_more": false,
  "next_cursor": null
}
```
