# BEA National Accounts NIPA Data

> BEA National Accounts NIPA Data is a paid API for AI agents from api.shopsocial-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-30).

Fetches any NIPA table from the US Bureau of Economic Analysis official API, returning rows of macroeconomic data (GDP, personal income, etc.) at annual, quarterly, or monthly frequency.

## Facts

- Endpoint: GET https://api.shopsocial-api.workers.dev/api/social/bea-national-accounts?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bea-national-accounts-nipa-data-80e8864f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SWcFJAhRlMPA3Zn44etLE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability bea-national-accounts-nipa-data-80e8864f
```

Example prompt: Pull the BEA NIPA table T10101 — real GDP percent change — at quarterly frequency for 2023 and 2024, so I can see how growth trended over those two years.

## When to prefer this

Use this endpoint when you need official, authoritative US macroeconomic data directly from the Bureau of Economic Analysis — especially NIPA tables covering GDP, personal income, or other national accounts metrics. Prefer this over scraped or third-party economic data sources when accuracy, official sourcing, and BEA's specific table/series structure matter. Best suited for structured economic research, policy analysis, or financial reporting that requires BEA-published figures with proper series codes and units.

## Known failure modes

- Missing or invalid BEA API UserID causes authentication rejection
- Unknown or misspelled NIPA table name (e.g. 'T9999') returns empty or error response
- Requested years not yet available (future periods) return no data rows
- Invalid frequency code (not A, Q, or M) may cause malformed request
- BEA API rate limits or downtime can cause timeout or upstream errors
- Comma-separated years parameter malformed returns parsing errors

## How this service works

Pay-per-call e-commerce, product, price and social media data tools for AI agents, from public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

Returns a JSON object with a 'data' array where each element represents one row of the requested NIPA table — including line number, line description, series code, time period, data value, unit multiplier, and metric name. Also includes a 'notes' array with table metadata (last revision date, table title), plus confirmation fields for table name, years, frequency, source URL, and the timestamp of the data check.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "table"
     ],
     "properties": {
      "table": {
       "type": "string",
       "description": "NIPA table name, e.g. T10101"
      },
      "years": {
       "type": "string",
       "description": "Comma-separated years or X for all, e.g. 2025,2026"
      },
      "frequency": {
       "type": "string",
       "description": "A (annual), Q (quarterly) or M (monthly)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "CL_UNIT": "Percent change, annual rate",
    "NoteRef": "T10101",
    "DataValue": "0.1",
    "TableName": "T10101",
    "UNIT_MULT": "0",
    "LineNumber": "1",
    "SeriesCode": "A191RL",
    "TimePeriod": "2025Q1",
    "METRIC_NAME": "Fisher Quantity Index",
    "LineDescription": "Gross domestic product"
   },
   {
    "CL_UNIT": "Percent change, annual rate",
    "NoteRef": "T10101",
    "DataValue": "4.0",
    "TableName": "T10101",
    "UNIT_MULT": "0",
    "LineNumber": "1",
    "SeriesCode": "A191RL",
    "TimePeriod": "2025Q2",
    "METRIC_NAME": "Fisher Quantity Index",
    "LineDescription": "Gross domestic product"
   }
  ],
  "notes": [
   {
    "NoteRef": "T10101",
    "NoteText": "Table 1.1.1. Percent Change From Preceding Period in Real Gross Domestic Product [Percent] - LastRevised: September 30, 2026"
   }
  ],
  "table": "T10101",
  "years": "2025,2026",
  "source": "https://apps.bea.gov/api/data?method=GetData&DataSetName=NIPA&TableName=T10101",
  "checkedAt": "2026-10-23T09:37:50.734Z",
  "frequency": "Q"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bea-national-accounts-nipa-data-80e8864f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.shopsocial-api.workers.dev](https://www.zero.xyz/host/api.shopsocial-api.workers.dev/llms.txt)
