Economy

Economic Data API

Hundreds of time series that track AI in the economy: GDP and AI investment, business AI adoption, data center construction, chip sales, company facts from SEC filings, and AI usage.

Overview

The series behind our indices and reporting, each as its publisher releases it: US GDP and private investment in information processing equipment and software, and their contributions to growth (BEA); the share of US businesses using AI and data center construction spending (Census Bureau); semiconductor production (Federal Reserve) and worldwide chip sales (SIA); the share of job postings that mention AI (Indeed); the 10-year real Treasury yield; and figures companies report in their XBRL filings, such as contractual obligations.

The list endpoint names every series with its unit, frequency, publisher and the dates on file; read one by the id it gives.

CoverageSourceUpdated
Every series the list namesBEA, Census Bureau, Federal Reserve, SIA, Indeed Hiring Lab, US Treasury, SEC XBRL, and moreAs each publisher releases

Authenticate with a data key in the x-inference-key header (get one).

Series

Every series, with its unit, frequency, publisher and the dates on file.

GET/v1/data/series

Response

FieldTypeDescription
series[]object[]id, label, unit, frequency, publisher, first, last, points.

Errors

StatusWhen
401No data key, or a revoked or unknown one, or its account has no payment method on file.
429The key is over its requests a minute. Wait and retry.
Series
curl "https://api.theinference.org/v1/data/series" \
  -H "x-inference-key: tik_your_key"
Response
{
  "series": [
    {
      "id": "bea/A191RC",
      "label": "US gross domestic product",
      "unit": "usd_millions_saar",
      "frequency": "quarterly",
      "publisher": "Bureau of Economic Analysis (NIPA 1.1.5)",
      "first": "1947-03-31",
      "last": "2026-09-30",
      "points": 319
    },
    {
      "id": "bea/B985RC",
      "label": "US private investment in software",
      "unit": "usd_millions_saar",
      "frequency": "quarterly",
      "publisher": "Bureau of Economic Analysis (NIPA 5.3.5)",
      "first": "1959-03-31",
      "last": "2026-09-30",
      "points": 271
    },
    "… 573 more"
  ]
}

200 is a real response to the request above, trimmed.

Series data

One series' observations.

GET/v1/data/series/{source}/{series}

Path parameters

NameTypeDescription
sourcerequiredstringThe part of its id before the slash: bea, census, sec_xbrl…
seriesrequiredstringThe rest of its id, as the list gives it: A191RC, ContractualObligation:amazon…

Query parameters

NameTypeDescription
fromdateFirst date, YYYY-MM-DD.

Response

FieldTypeDescription
idstringThe series id.
labelstringWhat it measures.
unitstringIts unit.
frequencystringdaily, biweekly, monthly or quarterly.
publisherstringWho publishes it.
firstdateFirst observation.
lastdateLatest observation.
pointsintegerObservations on file.
rows[]object[]date, value, and period where the publisher names one.

Errors

StatusWhen
400A parameter is missing or malformed; the message names it and says what would work.
401No data key, or a revoked or unknown one, or its account has no payment method on file.
404No series has the id.
429The key is over its requests a minute. Wait and retry.
Series data
curl "https://api.theinference.org/v1/data/series/bea/A191RC" \
  -H "x-inference-key: tik_your_key"
Response
{
  "id": "bea/A191RC",
  "label": "US gross domestic product",
  "unit": "usd_millions_saar",
  "frequency": "quarterly",
  "publisher": "Bureau of Economic Analysis (NIPA 1.1.5)",
  "first": "1947-03-31",
  "last": "2026-09-30",
  "points": 319,
  "rows": [
    {
      "date": "1947-03-31",
      "value": 243164
    },
    {
      "date": "1947-06-30",
      "value": 245968
    },
    "… 317 more"
  ]
}

200 is a real response to the request above, trimmed.

Subscribe to TheInference for free