U.S. Bureau of Economic Analysis

App · 3 actions

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

Actions

ActionWhat it does
Get BEA national accounts observationsRead one NIPA table for a selected year and frequency.
List BEA datasetsFind the names and descriptions of datasets available through the BEA API.
List BEA national accounts tablesLook up table codes and descriptions for the National Income and Product Accounts.

Get BEA national accounts observations

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

Inputs

Table codetable_codetextRequired
NIPA table code from the table list, such as T10101.
YearyearnumberRequired
Single reporting year.From 1929 to 2200.
FrequencyfrequencytextRequired
A for annual or Q for quarterly figures.One of: A, Q.

Outputs

dataobject
The response from U.S. Bureau of Economic Analysis.
Example output
{
  "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

dataobject
The response from U.S. Bureau of Economic Analysis.
Example output
{
  "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

dataobject
The response from U.S. Bureau of Economic Analysis.
Example output
{
  "data": {
    "ParamValue": [
      {
        "Description": "example",
        "TableName": "example"
      }
    ]
  }
}

On this page