# BEA GDP by Industry

> BEA GDP by Industry is a paid API for AI agents from x402-sand.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Retrieves US GDP by industry data from the Bureau of Economic Analysis (BEA) for a specified year, table, industry, and frequency.

## Facts

- Endpoint: GET https://x402-sand.vercel.app/api/bea/gdp-by-industry?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bea-gdp-by-industry-276ce7bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bs8zzsj65-iyWm8Xm2ig-

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-gdp-by-industry-276ce7bf
```

Example prompt: Pull the annual GDP by industry data from BEA for all industries in 2023 using table ID 1.

## When to prefer this

Use this endpoint when you need structured US GDP by industry data from the Bureau of Economic Analysis, particularly for macroeconomic research, sector analysis, investment context, or pairing with crypto/ETF data. Prefer this over general economic APIs when you need BEA-sourced, industry-level GDP granularity with flexible filtering by year, table, industry code, and frequency.

## Known failure modes

- Invalid or unsupported year returns empty data array
- Unrecognized industry code may return empty results
- Invalid table ID returns no data or an error
- Missing required query parameters may cause a failed or empty response
- BEA data not yet available for future years returns empty data

## How this service works

Crypto ETF flows, institutional fund data, and US macroeconomic events.

## Output

Returns a JSON object with a success flag and a data array containing GDP by industry figures from the BEA dataset, broken down by the requested year, table ID, industry, and frequency. The data array may include value-added output metrics per industry.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "year": {
       "type": "string",
       "description": "Example value: 2026"
      },
      "tableid": {
       "type": "string",
       "description": "Example value: 1"
      },
      "industry": {
       "type": "string",
       "description": "Example value: ALL"
      },
      "frequency": {
       "type": "string",
       "description": "Example value: A"
      }
     },
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {}
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [],
  "success": true,
  "endpoint": "/api/bea/gdp-by-industry"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bea-gdp-by-industry-276ce7bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-sand.vercel.app](https://www.zero.xyz/host/x402-sand.vercel.app/llms.txt)
