Records get
curl --request POST \
--url https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"geo_fips": "30109",
"line_code": "3",
"table": "CAINC1",
"year": "2024"
}
'import requests
url = "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get"
payload = {
"geo_fips": "30109",
"line_code": "3",
"table": "CAINC1",
"year": "2024"
}
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({geo_fips: '30109', line_code: '3', table: 'CAINC1', year: '2024'})
};
fetch('https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get', 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/records-get",
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([
'geo_fips' => '30109',
'line_code' => '3',
'table' => 'CAINC1',
'year' => '2024'
]),
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/records-get"
payload := strings.NewReader("{\n \"geo_fips\": \"30109\",\n \"line_code\": \"3\",\n \"table\": \"CAINC1\",\n \"year\": \"2024\"\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/records-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"geo_fips\": \"30109\",\n \"line_code\": \"3\",\n \"table\": \"CAINC1\",\n \"year\": \"2024\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get")
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 \"geo_fips\": \"30109\",\n \"line_code\": \"3\",\n \"table\": \"CAINC1\",\n \"year\": \"2024\"\n}"
response = http.request(request)
puts response.read_body{
"last_updated": "2026-02-05",
"last_updated_note": "Last updated: February 5, 2026-- new statistics for 2024; revised statistics for 2020-2023.",
"notes": [
{
"seq": "2",
"text": "2. Per capita personal income is total personal income divided by total midyear population."
},
{
"seq": "19",
"text": "Note. All dollar estimates are in thousands of current dollars (not adjusted for inflation). Statistics presented in thousands of dollars do not indicate more precision than statistics presented in millions of dollars."
},
{
"seq": "22",
"text": "Last updated: February 5, 2026-- new statistics for 2024; revised statistics for 2020-2023."
}
],
"observed_at_ms": 1792320194606,
"publication_id": "CAINC1:2026-02-05",
"record": {
"code": "CAINC1-3",
"data_value": "50865",
"flag": null,
"geo_fips": "30109",
"geo_name": "Wibaux, MT",
"line_code": "3",
"line_description": "Per capita personal income (Dollars)",
"note_refs": [
"2"
],
"publication_id": "CAINC1:2026-02-05",
"retrieved_at": "2026-10-18T10:43:14Z",
"source_record_id": "bea:CAINC1-3:30109:2024",
"source_url": "https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=30109&year=2024&tableid=20&state=30000&statistic=3&unit_of_measure=levels&yearbegin=-1&year_end=-1",
"table": "CAINC1",
"time_period": "2024",
"unit": "Dollars",
"value": 50865
},
"retrieved_at": "2026-10-18T10:43:14Z",
"source_url": "https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=30109&year=2024&tableid=20&state=30000&statistic=3&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"
}BEA Regional Economic Accounts (county personal income, employment, GDP)
Records get
To fetch or re-check a single value, e.g. CAINC1 line 3 (per capita personal income) for Wibaux County, MT (30109) in 2024, or the United States (00000) for the EDA distress ratio.
POST
https://api.aisa.one
/
apis
/
v1
/
apps-bea-gov
/
economic-statistics
/
records-get
Records get
curl --request POST \
--url https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"geo_fips": "30109",
"line_code": "3",
"table": "CAINC1",
"year": "2024"
}
'import requests
url = "https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get"
payload = {
"geo_fips": "30109",
"line_code": "3",
"table": "CAINC1",
"year": "2024"
}
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({geo_fips: '30109', line_code: '3', table: 'CAINC1', year: '2024'})
};
fetch('https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get', 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/records-get",
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([
'geo_fips' => '30109',
'line_code' => '3',
'table' => 'CAINC1',
'year' => '2024'
]),
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/records-get"
payload := strings.NewReader("{\n \"geo_fips\": \"30109\",\n \"line_code\": \"3\",\n \"table\": \"CAINC1\",\n \"year\": \"2024\"\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/records-get")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"geo_fips\": \"30109\",\n \"line_code\": \"3\",\n \"table\": \"CAINC1\",\n \"year\": \"2024\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get")
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 \"geo_fips\": \"30109\",\n \"line_code\": \"3\",\n \"table\": \"CAINC1\",\n \"year\": \"2024\"\n}"
response = http.request(request)
puts response.read_body{
"last_updated": "2026-02-05",
"last_updated_note": "Last updated: February 5, 2026-- new statistics for 2024; revised statistics for 2020-2023.",
"notes": [
{
"seq": "2",
"text": "2. Per capita personal income is total personal income divided by total midyear population."
},
{
"seq": "19",
"text": "Note. All dollar estimates are in thousands of current dollars (not adjusted for inflation). Statistics presented in thousands of dollars do not indicate more precision than statistics presented in millions of dollars."
},
{
"seq": "22",
"text": "Last updated: February 5, 2026-- new statistics for 2024; revised statistics for 2020-2023."
}
],
"observed_at_ms": 1792320194606,
"publication_id": "CAINC1:2026-02-05",
"record": {
"code": "CAINC1-3",
"data_value": "50865",
"flag": null,
"geo_fips": "30109",
"geo_name": "Wibaux, MT",
"line_code": "3",
"line_description": "Per capita personal income (Dollars)",
"note_refs": [
"2"
],
"publication_id": "CAINC1:2026-02-05",
"retrieved_at": "2026-10-18T10:43:14Z",
"source_record_id": "bea:CAINC1-3:30109:2024",
"source_url": "https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=30109&year=2024&tableid=20&state=30000&statistic=3&unit_of_measure=levels&yearbegin=-1&year_end=-1",
"table": "CAINC1",
"time_period": "2024",
"unit": "Dollars",
"value": 50865
},
"retrieved_at": "2026-10-18T10:43:14Z",
"source_url": "https://apps.bea.gov/itable/?ReqID=70&step=30&isuri=1&major_area=4&area=30109&year=2024&tableid=20&state=30000&statistic=3&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"
}Request contract
- Method and path: POST /apis/v1/apps-bea-gov/economic-statistics/records-get
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/apps-bea-gov/economic-statistics/records-get
{
"operationId": "apps-bea-gov.economic-statistics.records-get",
"method": "POST",
"path": "/apis/v1/apps-bea-gov/economic-statistics/records-get",
"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": {
"geo_fips": "30109",
"line_code": "3",
"table": "CAINC1",
"year": "2024"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"geo_fips": {
"description": "5-digit county FIPS (30109), state total SS000 (30000), 00000 United States, or a BEA region 91000-98000. Pattern: ^[0-9]{5}$.",
"type": "string"
},
"line_code": {
"description": "Pattern: ^[0-9]{1,4}$.",
"type": "string"
},
"table": {
"description": "table\n\nProvider reference: allowed values [\"CAINC1\", \"CAINC4\", \"CAINC5N\", \"CAINC6N\", \"CAINC30\", \"CAINC91\", \"CAGDP1\", \"CAGDP2\", \"CAGDP8\", \"CAGDP9\", \"CAGDP11\"].",
"type": "string"
},
"year": {
"description": "Pattern: ^[12][0-9]{3}$.",
"type": "string"
}
},
"required": [
"geo_fips",
"line_code",
"table",
"year"
],
"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
application/json
Response
One BEA county record by its own id: table, line code, GeoFips and year (source_record_id bea:-::). One request. not_found when BEA has no cell for the combination (unknown county, line or year: the backend answers 'Combination of selections returns no data').
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
last_updated | string | |
last_updated_note | string | |
notes | object[] | |
observed_at_ms | number | |
publication_id | string | |
record | object | |
retrieved_at | string | |
source_url | string | |
table | string | |
table_id | number | |
title | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.