curl --request POST \
--url https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"table": "CAINC1"
}
'import requests
url = "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status"
payload = { "table": "CAINC1" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({table: 'CAINC1'})
};
fetch('https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'table' => 'CAINC1'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status"
payload := strings.NewReader("{\n \"table\": \"CAINC1\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"table\": \"CAINC1\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"table\": \"CAINC1\"\n}"
response = http.request(request)
puts response.read_body{
"first_year": "1969",
"last_updated": "2026-02-05",
"last_updated_note": "Last updated: February 5, 2026-- new statistics for 2024; revised statistics for 2020-2023.",
"latest_year": "2024",
"line_codes": [
{
"description": "Personal income (thousands of dollars)",
"line_code": "1"
},
{
"description": "Population (persons)",
"line_code": "2"
},
{
"description": "Per capita personal income (dollars)",
"line_code": "3"
}
],
"national_record_count": 168,
"national_records_sha256": "f2ed0b14d8ad81f5db0ba7de2d55d46d79535abbdf661067bf513e0d0190a559",
"observed_at_ms": 1792320187354,
"publication_id": "CAINC1:2026-02-05",
"retrieved_at": "2026-10-18T10:43:07Z",
"source_url": "https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=00000&year=-1&tableid=20&state=0&statistic=-1&unit_of_measure=levels&yearbegin=-1&year_end=-1",
"table": "CAINC1",
"table_id": 20,
"title": "CAINC1 County personal income summary: personal income, population, per capita personal income",
"years": [
"2024",
"2023",
"2022",
"2021",
"2020",
"2019",
"2018",
"2017",
"2016",
"2015",
"2014",
"2013",
"2012",
"2011",
"2010",
"2009",
"2008",
"2007",
"2006",
"2005",
"2004",
"2003",
"2002",
"2001",
"2000",
"1999",
"1998",
"1997",
"1996",
"1995",
"1994",
"1993",
"1992",
"1991",
"1990",
"1989",
"1988",
"1987",
"1986",
"1985",
"1984",
"1983",
"1982",
"1981",
"1980",
"1979",
"1978",
"1977",
"1976",
"1975",
"1974",
"1973",
"1972",
"1971",
"1970",
"1969"
]
}Source status
Before a full records_list sweep, to learn whether a table has a new vintage (BEA releases county personal income and GDP once a year, with revisions landing in place), what the latest data year is, and which line codes a table offers.
curl --request POST \
--url https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"table": "CAINC1"
}
'import requests
url = "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status"
payload = { "table": "CAINC1" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({table: 'CAINC1'})
};
fetch('https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'table' => 'CAINC1'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status"
payload := strings.NewReader("{\n \"table\": \"CAINC1\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"table\": \"CAINC1\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"table\": \"CAINC1\"\n}"
response = http.request(request)
puts response.read_body{
"first_year": "1969",
"last_updated": "2026-02-05",
"last_updated_note": "Last updated: February 5, 2026-- new statistics for 2024; revised statistics for 2020-2023.",
"latest_year": "2024",
"line_codes": [
{
"description": "Personal income (thousands of dollars)",
"line_code": "1"
},
{
"description": "Population (persons)",
"line_code": "2"
},
{
"description": "Per capita personal income (dollars)",
"line_code": "3"
}
],
"national_record_count": 168,
"national_records_sha256": "f2ed0b14d8ad81f5db0ba7de2d55d46d79535abbdf661067bf513e0d0190a559",
"observed_at_ms": 1792320187354,
"publication_id": "CAINC1:2026-02-05",
"retrieved_at": "2026-10-18T10:43:07Z",
"source_url": "https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=00000&year=-1&tableid=20&state=0&statistic=-1&unit_of_measure=levels&yearbegin=-1&year_end=-1",
"table": "CAINC1",
"table_id": 20,
"title": "CAINC1 County personal income summary: personal income, population, per capita personal income",
"years": [
"2024",
"2023",
"2022",
"2021",
"2020",
"2019",
"2018",
"2017",
"2016",
"2015",
"2014",
"2013",
"2012",
"2011",
"2010",
"2009",
"2008",
"2007",
"2006",
"2005",
"2004",
"2003",
"2002",
"2001",
"2000",
"1999",
"1998",
"1997",
"1996",
"1995",
"1994",
"1993",
"1992",
"1991",
"1990",
"1989",
"1988",
"1987",
"1986",
"1985",
"1984",
"1983",
"1982",
"1981",
"1980",
"1979",
"1978",
"1977",
"1976",
"1975",
"1974",
"1973",
"1972",
"1971",
"1970",
"1969"
]
}Request contract
- Method and path: POST /apis/v1/apps-bea-gov/economic-statistics/source-status
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/source-status
{
"operationId": "apps-bea-gov.economic-statistics.source-status",
"method": "POST",
"path": "/apis/v1/apps-bea-gov/economic-statistics/source-status",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"table": "CAINC1"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"table": {
"description": "BEA Regional county table name. CAINC1 personal income summary (lines 1 personal income, 2 population, 3 per capita personal income); CAINC4 income by major component; CAINC5N earnings by NAICS industry; CAINC6N compensation by industry; CAINC30 economic profile (total employment incl. proprietors); CAINC91 gross flow of earnings; CAGDP1 GDP summary; CAGDP2 GDP by industry (current dollars); CAGDP8 chain-type quantity indexes; CAGDP9 real GDP by industry; CAGDP11 contributions to percent change in real GDP.\n\nProvider reference: allowed values [\"CAINC1\", \"CAINC4\", \"CAINC5N\", \"CAINC6N\", \"CAINC30\", \"CAINC91\", \"CAGDP1\", \"CAGDP2\", \"CAGDP8\", \"CAGDP9\", \"CAGDP11\"].",
"type": "string"
}
},
"required": [
"table"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
BEA Regional county table name. CAINC1 personal income summary (lines 1 personal income, 2 population, 3 per capita personal income); CAINC4 income by major component; CAINC5N earnings by NAICS industry; CAINC6N compensation by industry; CAINC30 economic profile (total employment incl. proprietors); CAINC91 gross flow of earnings; CAGDP1 GDP summary; CAGDP2 GDP by industry (current dollars); CAGDP8 chain-type quantity indexes; CAGDP9 real GDP by industry; CAGDP11 contributions to percent change in real GDP.
Provider reference: allowed values ["CAINC1", "CAINC4", "CAINC5N", "CAINC6N", "CAINC30", "CAINC91", "CAGDP1", "CAGDP2", "CAGDP8", "CAGDP9", "CAGDP11"].
Response
Cheap version check for one BEA county table: the current vintage (publication_id = :, from the table's 'Last updated' note), the latest and first data year, the list of years and line codes the table serves, and a SHA-256 over the canonical United States (GeoFips 00000) records as a drift signal. One request (the national rows, all years). No file URL or publisher hash exists: the data is only served through the interactive backend.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
first_year | string | |
last_updated | string | |
last_updated_note | string | The full 'Last updated: ...' note, e.g. which years are new and which are revised. |
latest_year | string | |
line_codes | object[] | Line codes (statistics) the table offers, in table order. |
national_record_count | number | Number of United States (GeoFips 00000) records across all lines and years, as fetched for the hash. |
national_records_sha256 | string | SHA-256 over the canonical national records (code|geo_fips|time_period|data_value, one per line, newline-terminated). Changes when BEA revises or extends the table. |
observed_at_ms | number | |
publication_id | string | :<YYYY-MM-DD of the 'Last updated' note>; the version every record and cursor is pinned to. |
retrieved_at | string | |
source_url | string | |
table | string | |
table_id | number | iTable TableId behind the table name (CAINC1 = 20, CAGDP2 = 501, ...). |
title | string | Table title as published (footnote marks stripped). |
years | string[] | Every data year the table serves, newest first. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.