# U.S. Bureau of Economic Analysis

> Find BEA economic datasets and retrieve national income and product accounts, including GDP time series.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/bea

## Actions

### Get BEA national accounts observations

Read one NIPA table for a selected year and frequency. Results include values, units and series codes.

**Inputs**

- Table code (`table_code`, text, required): NIPA table code from the table list, such as T10101.
- Year (`year`, number, required): Single reporting year. From 1929 to 2200.
- Frequency (`frequency`, text, required): A for annual or Q for quarterly figures. One of: `A`, `Q`.

**Outputs**

- `data` (object): The response from U.S. Bureau of Economic Analysis.

**Example output**

```json
{
  "data": {
    "Data": [
      {
        "CL_UNIT": "example",
        "DataValue": "example",
        "LineDescription": "example",
        "LineNumber": "example",
        "NoteRef": "example",
        "SeriesCode": "example",
        "TableName": "example",
        "TimePeriod": "example",
        "UNIT_MULT": "example"
      }
    ],
    "Notes": [
      {}
    ]
  }
}
```

### List BEA datasets

Find the names and descriptions of datasets available through the BEA API.

**Inputs**: None.

**Outputs**

- `data` (object): The response from U.S. Bureau of Economic Analysis.

**Example output**

```json
{
  "data": {
    "Dataset": [
      {
        "DatasetDescription": "example",
        "DatasetName": "example"
      }
    ]
  }
}
```

### List BEA national accounts tables

Look up table codes and descriptions for the National Income and Product Accounts.

**Inputs**: None.

**Outputs**

- `data` (object): The response from U.S. Bureau of Economic Analysis.

**Example output**

```json
{
  "data": {
    "ParamValue": [
      {
        "Description": "example",
        "TableName": "example"
      }
    ]
  }
}
```
