Finance
BEA national accounts data API
Fetch a U.S. Bureau of Economic Analysis data table (NIPA, Fixed Assets, etc.) for a given frequency and year via the official BEA API.
Price$0.01per request
MethodGET
Route/v1/finance/bea-data
StatusLive
MIME typeapplication/json
Rate limit40/minute
Cache3600s public
financemacrobeanipagdp
API URL
Integration docshttps://x402.hexl.dev/v1/finance/bea-dataExample request
{
"dataset": "NIPA",
"table": "T10101",
"frequency": "Q",
"year": "2024"
}Example response
{
"feed": "BEA",
"dataset": "NIPA",
"table": "T10101",
"frequency": "Q",
"year": "2024",
"obs": 1,
"data": [
{
"lineNumber": "1",
"lineDescription": "Gross domestic product",
"timePeriod": "2024Q1",
"value": 1.6,
"rawValue": "1.6",
"unit": "Percent"
}
],
"sourceUrl": "https://apps.bea.gov/iTable/"
}Input schema
{
"type": "object",
"required": [
"dataset",
"table",
"frequency",
"year"
],
"properties": {
"dataset": {
"type": "string",
"examples": [
"NIPA"
]
},
"table": {
"type": "string",
"examples": [
"T10101"
]
},
"frequency": {
"type": "string",
"enum": [
"A",
"Q",
"M"
],
"examples": [
"Q"
]
},
"year": {
"type": "string",
"examples": [
"2024",
"X"
]
}
}
}Output schema
{
"type": "object",
"required": [
"feed",
"dataset",
"table",
"data",
"obs"
],
"properties": {
"feed": {
"type": "string"
},
"dataset": {
"type": "string"
},
"table": {
"type": "string"
},
"frequency": {
"type": "string"
},
"year": {
"type": "string"
},
"obs": {
"type": "number"
},
"data": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
"sourceUrl": {
"type": "string"
}
}
}