# BEA GDP by Industry

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

Returns US Bureau of Economic Analysis GDP by industry data for a specified year, table, industry, and frequency.

## Facts

- Endpoint: GET https://x402-etf-macro-intelligence.vercel.app/api/bea/gdp-by-industry?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bea-gdp-by-industry-9f45caed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__MhUPcrYnT6WNR_gq0FiX

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-9f45caed
```

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

## When to prefer this

Use this endpoint when you need official US Bureau of Economic Analysis GDP-by-industry statistics broken down by sector, year, and reporting frequency. Prefer it over general web search when you need structured, machine-readable BEA data for macro analysis, sector research, or as an economic context layer for financial or crypto ETF analysis.

## Known failure modes

- Invalid or future year returns empty data array
- Unsupported tableid value returns empty or error response
- Unrecognized industry code may return empty data
- Missing required query parameters may result in API error
- Rate limiting or payment failure returns 402 status

## How this service works

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

## Output

Returns a JSON object with a success flag, the endpoint path, and a data array containing GDP contribution figures broken down by industry, year, and frequency as reported by the US Bureau of Economic Analysis.

## 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-9f45caed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-etf-macro-intelligence.vercel.app](https://www.zero.xyz/host/x402-etf-macro-intelligence.vercel.app/llms.txt)
