curl --request POST \
--url https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "30031",
"limit": 3,
"qtr": "1",
"slice": "area",
"year": "2026"
}
'import requests
url = "https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list"
payload = {
"code": "30031",
"limit": 3,
"qtr": "1",
"slice": "area",
"year": "2026"
}
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({code: '30031', limit: 3, qtr: '1', slice: 'area', year: '2026'})
};
fetch('https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list', 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/bls/economic-statistics/qcew-list",
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([
'code' => '30031',
'limit' => 3,
'qtr' => '1',
'slice' => 'area',
'year' => '2026'
]),
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/bls/economic-statistics/qcew-list"
payload := strings.NewReader("{\n \"code\": \"30031\",\n \"limit\": 3,\n \"qtr\": \"1\",\n \"slice\": \"area\",\n \"year\": \"2026\"\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/bls/economic-statistics/qcew-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"code\": \"30031\",\n \"limit\": 3,\n \"qtr\": \"1\",\n \"slice\": \"area\",\n \"year\": \"2026\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list")
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 \"code\": \"30031\",\n \"limit\": 3,\n \"qtr\": \"1\",\n \"slice\": \"area\",\n \"year\": \"2026\"\n}"
response = http.request(request)
puts response.read_body{
"code": "30031",
"count": 3,
"etag": "47369-659905823f118",
"kind": "quarterly",
"last_modified": "Fri, 21 Aug 2026 15:32:29 GMT",
"mode": "slice",
"observed_at_ms": 1792342884014,
"offset": 0,
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"records": [
{
"agglvl_code": "70",
"agglvl_title": "County, Total Covered",
"area_fips": "30031",
"area_title": "Gallatin County, Montana",
"avg_wkly_wage": 1353,
"disclosure_code": null,
"industry_code": "10",
"industry_title": "10 Total, all industries",
"kind": "quarterly",
"lq_avg_wkly_wage": 1,
"lq_disclosure_code": null,
"lq_month1_emplvl": 1,
"lq_month2_emplvl": 1,
"lq_month3_emplvl": 1,
"lq_qtrly_contributions": 1,
"lq_qtrly_estabs": 1,
"lq_taxable_qtrly_wages": 1,
"lq_total_qtrly_wages": 1,
"month1_emplvl": 75523,
"month2_emplvl": 75571,
"month3_emplvl": 75151,
"oty_avg_wkly_wage_chg": 1,
"oty_avg_wkly_wage_pct_chg": 0.1,
"oty_disclosure_code": null,
"oty_month1_emplvl_chg": 2062,
"oty_month1_emplvl_pct_chg": 2.8,
"oty_month2_emplvl_chg": 2175,
"oty_month2_emplvl_pct_chg": 3,
"oty_month3_emplvl_chg": 1638,
"oty_month3_emplvl_pct_chg": 2.2,
"oty_qtrly_contributions_chg": -779715,
"oty_qtrly_contributions_pct_chg": -7.1,
"oty_qtrly_estabs_chg": 751,
"oty_qtrly_estabs_pct_chg": 8,
"oty_taxable_qtrly_wages_chg": 76186,
"oty_taxable_qtrly_wages_pct_chg": 0,
"oty_total_qtrly_wages_chg": 35384958,
"oty_total_qtrly_wages_pct_chg": 2.7,
"own_code": "0",
"own_title": "Total Covered",
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"qtrly_contributions": 10195289,
"qtrly_estabs": 10177,
"retrieved_at": "2026-10-18T17:01:22Z",
"size_code": "0",
"size_title": "All establishment sizes",
"source_record_id": "2026:1:30031:0:10:70:0",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"taxable_qtrly_wages": 961007567,
"total_qtrly_wages": 1326214085,
"year": "2026"
},
{
"agglvl_code": "71",
"agglvl_title": "County, Total -- by ownership sector",
"area_fips": "30031",
"area_title": "Gallatin County, Montana",
"avg_wkly_wage": 1973,
"disclosure_code": null,
"industry_code": "10",
"industry_title": "10 Total, all industries",
"kind": "quarterly",
"lq_avg_wkly_wage": 1.06,
"lq_disclosure_code": null,
"lq_month1_emplvl": 0.45,
"lq_month2_emplvl": 0.46,
"lq_month3_emplvl": 0.46,
"lq_qtrly_contributions": 0,
"lq_qtrly_estabs": 0.61,
"lq_taxable_qtrly_wages": 0,
"lq_total_qtrly_wages": 0.49,
"month1_emplvl": 596,
"month2_emplvl": 615,
"month3_emplvl": 612,
"oty_avg_wkly_wage_chg": 98,
"oty_avg_wkly_wage_pct_chg": 5.2,
"oty_disclosure_code": null,
"oty_month1_emplvl_chg": -50,
"oty_month1_emplvl_pct_chg": -7.7,
"oty_month2_emplvl_chg": -30,
"oty_month2_emplvl_pct_chg": -4.7,
"oty_month3_emplvl_chg": -45,
"oty_month3_emplvl_pct_chg": -6.8,
"oty_qtrly_contributions_chg": 0,
"oty_qtrly_contributions_pct_chg": 0,
"oty_qtrly_estabs_chg": 1,
"oty_qtrly_estabs_pct_chg": 3.4,
"oty_taxable_qtrly_wages_chg": 0,
"oty_taxable_qtrly_wages_pct_chg": 0,
"oty_total_qtrly_wages_chg": -244793,
"oty_total_qtrly_wages_pct_chg": -1.5,
"own_code": "1",
"own_title": "Federal Government",
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"qtrly_contributions": 0,
"qtrly_estabs": 30,
"retrieved_at": "2026-10-18T17:01:22Z",
"size_code": "0",
"size_title": "All establishment sizes",
"source_record_id": "2026:1:30031:1:10:71:0",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"taxable_qtrly_wages": 0,
"total_qtrly_wages": 15586180,
"year": "2026"
},
{
"agglvl_code": "72",
"agglvl_title": "County, by Domain -- by ownership sector",
"area_fips": "30031",
"area_title": "Gallatin County, Montana",
"avg_wkly_wage": 1973,
"disclosure_code": null,
"industry_code": "102",
"industry_title": "102 Service-providing",
"kind": "quarterly",
"lq_avg_wkly_wage": 1.06,
"lq_disclosure_code": null,
"lq_month1_emplvl": 0.45,
"lq_month2_emplvl": 0.47,
"lq_month3_emplvl": 0.47,
"lq_qtrly_contributions": 0,
"lq_qtrly_estabs": 0.61,
"lq_taxable_qtrly_wages": 0,
"lq_total_qtrly_wages": 0.5,
"month1_emplvl": 596,
"month2_emplvl": 615,
"month3_emplvl": 612,
"oty_avg_wkly_wage_chg": 98,
"oty_avg_wkly_wage_pct_chg": 5.2,
"oty_disclosure_code": null,
"oty_month1_emplvl_chg": -50,
"oty_month1_emplvl_pct_chg": -7.7,
"oty_month2_emplvl_chg": -30,
"oty_month2_emplvl_pct_chg": -4.7,
"oty_month3_emplvl_chg": -45,
"oty_month3_emplvl_pct_chg": -6.8,
"oty_qtrly_contributions_chg": 0,
"oty_qtrly_contributions_pct_chg": 0,
"oty_qtrly_estabs_chg": 1,
"oty_qtrly_estabs_pct_chg": 3.4,
"oty_taxable_qtrly_wages_chg": 0,
"oty_taxable_qtrly_wages_pct_chg": 0,
"oty_total_qtrly_wages_chg": -244793,
"oty_total_qtrly_wages_pct_chg": -1.5,
"own_code": "1",
"own_title": "Federal Government",
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"qtrly_contributions": 0,
"qtrly_estabs": 30,
"retrieved_at": "2026-10-18T17:01:22Z",
"size_code": "0",
"size_title": "All establishment sizes",
"source_record_id": "2026:1:30031:1:102:72:0",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"taxable_qtrly_wages": 0,
"total_qtrly_wages": 15586180,
"year": "2026"
}
],
"retrieved_at": "2026-10-18T17:01:22Z",
"size_bytes": 291689,
"slice": "area",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"total_rows": 1737,
"year": "2026"
}Qcew list
To collect a county, state, MSA or national employment and wage table (area slice), one industry across every area (industry slice), or size-class detail (size slice, Q1), or to fetch the code books for joins. Hyphenated NAICS (31-33) may be given with the hyphen or the URL underscore.
curl --request POST \
--url https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "30031",
"limit": 3,
"qtr": "1",
"slice": "area",
"year": "2026"
}
'import requests
url = "https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list"
payload = {
"code": "30031",
"limit": 3,
"qtr": "1",
"slice": "area",
"year": "2026"
}
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({code: '30031', limit: 3, qtr: '1', slice: 'area', year: '2026'})
};
fetch('https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list', 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/bls/economic-statistics/qcew-list",
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([
'code' => '30031',
'limit' => 3,
'qtr' => '1',
'slice' => 'area',
'year' => '2026'
]),
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/bls/economic-statistics/qcew-list"
payload := strings.NewReader("{\n \"code\": \"30031\",\n \"limit\": 3,\n \"qtr\": \"1\",\n \"slice\": \"area\",\n \"year\": \"2026\"\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/bls/economic-statistics/qcew-list")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"code\": \"30031\",\n \"limit\": 3,\n \"qtr\": \"1\",\n \"slice\": \"area\",\n \"year\": \"2026\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list")
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 \"code\": \"30031\",\n \"limit\": 3,\n \"qtr\": \"1\",\n \"slice\": \"area\",\n \"year\": \"2026\"\n}"
response = http.request(request)
puts response.read_body{
"code": "30031",
"count": 3,
"etag": "47369-659905823f118",
"kind": "quarterly",
"last_modified": "Fri, 21 Aug 2026 15:32:29 GMT",
"mode": "slice",
"observed_at_ms": 1792342884014,
"offset": 0,
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"records": [
{
"agglvl_code": "70",
"agglvl_title": "County, Total Covered",
"area_fips": "30031",
"area_title": "Gallatin County, Montana",
"avg_wkly_wage": 1353,
"disclosure_code": null,
"industry_code": "10",
"industry_title": "10 Total, all industries",
"kind": "quarterly",
"lq_avg_wkly_wage": 1,
"lq_disclosure_code": null,
"lq_month1_emplvl": 1,
"lq_month2_emplvl": 1,
"lq_month3_emplvl": 1,
"lq_qtrly_contributions": 1,
"lq_qtrly_estabs": 1,
"lq_taxable_qtrly_wages": 1,
"lq_total_qtrly_wages": 1,
"month1_emplvl": 75523,
"month2_emplvl": 75571,
"month3_emplvl": 75151,
"oty_avg_wkly_wage_chg": 1,
"oty_avg_wkly_wage_pct_chg": 0.1,
"oty_disclosure_code": null,
"oty_month1_emplvl_chg": 2062,
"oty_month1_emplvl_pct_chg": 2.8,
"oty_month2_emplvl_chg": 2175,
"oty_month2_emplvl_pct_chg": 3,
"oty_month3_emplvl_chg": 1638,
"oty_month3_emplvl_pct_chg": 2.2,
"oty_qtrly_contributions_chg": -779715,
"oty_qtrly_contributions_pct_chg": -7.1,
"oty_qtrly_estabs_chg": 751,
"oty_qtrly_estabs_pct_chg": 8,
"oty_taxable_qtrly_wages_chg": 76186,
"oty_taxable_qtrly_wages_pct_chg": 0,
"oty_total_qtrly_wages_chg": 35384958,
"oty_total_qtrly_wages_pct_chg": 2.7,
"own_code": "0",
"own_title": "Total Covered",
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"qtrly_contributions": 10195289,
"qtrly_estabs": 10177,
"retrieved_at": "2026-10-18T17:01:22Z",
"size_code": "0",
"size_title": "All establishment sizes",
"source_record_id": "2026:1:30031:0:10:70:0",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"taxable_qtrly_wages": 961007567,
"total_qtrly_wages": 1326214085,
"year": "2026"
},
{
"agglvl_code": "71",
"agglvl_title": "County, Total -- by ownership sector",
"area_fips": "30031",
"area_title": "Gallatin County, Montana",
"avg_wkly_wage": 1973,
"disclosure_code": null,
"industry_code": "10",
"industry_title": "10 Total, all industries",
"kind": "quarterly",
"lq_avg_wkly_wage": 1.06,
"lq_disclosure_code": null,
"lq_month1_emplvl": 0.45,
"lq_month2_emplvl": 0.46,
"lq_month3_emplvl": 0.46,
"lq_qtrly_contributions": 0,
"lq_qtrly_estabs": 0.61,
"lq_taxable_qtrly_wages": 0,
"lq_total_qtrly_wages": 0.49,
"month1_emplvl": 596,
"month2_emplvl": 615,
"month3_emplvl": 612,
"oty_avg_wkly_wage_chg": 98,
"oty_avg_wkly_wage_pct_chg": 5.2,
"oty_disclosure_code": null,
"oty_month1_emplvl_chg": -50,
"oty_month1_emplvl_pct_chg": -7.7,
"oty_month2_emplvl_chg": -30,
"oty_month2_emplvl_pct_chg": -4.7,
"oty_month3_emplvl_chg": -45,
"oty_month3_emplvl_pct_chg": -6.8,
"oty_qtrly_contributions_chg": 0,
"oty_qtrly_contributions_pct_chg": 0,
"oty_qtrly_estabs_chg": 1,
"oty_qtrly_estabs_pct_chg": 3.4,
"oty_taxable_qtrly_wages_chg": 0,
"oty_taxable_qtrly_wages_pct_chg": 0,
"oty_total_qtrly_wages_chg": -244793,
"oty_total_qtrly_wages_pct_chg": -1.5,
"own_code": "1",
"own_title": "Federal Government",
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"qtrly_contributions": 0,
"qtrly_estabs": 30,
"retrieved_at": "2026-10-18T17:01:22Z",
"size_code": "0",
"size_title": "All establishment sizes",
"source_record_id": "2026:1:30031:1:10:71:0",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"taxable_qtrly_wages": 0,
"total_qtrly_wages": 15586180,
"year": "2026"
},
{
"agglvl_code": "72",
"agglvl_title": "County, by Domain -- by ownership sector",
"area_fips": "30031",
"area_title": "Gallatin County, Montana",
"avg_wkly_wage": 1973,
"disclosure_code": null,
"industry_code": "102",
"industry_title": "102 Service-providing",
"kind": "quarterly",
"lq_avg_wkly_wage": 1.06,
"lq_disclosure_code": null,
"lq_month1_emplvl": 0.45,
"lq_month2_emplvl": 0.47,
"lq_month3_emplvl": 0.47,
"lq_qtrly_contributions": 0,
"lq_qtrly_estabs": 0.61,
"lq_taxable_qtrly_wages": 0,
"lq_total_qtrly_wages": 0.5,
"month1_emplvl": 596,
"month2_emplvl": 615,
"month3_emplvl": 612,
"oty_avg_wkly_wage_chg": 98,
"oty_avg_wkly_wage_pct_chg": 5.2,
"oty_disclosure_code": null,
"oty_month1_emplvl_chg": -50,
"oty_month1_emplvl_pct_chg": -7.7,
"oty_month2_emplvl_chg": -30,
"oty_month2_emplvl_pct_chg": -4.7,
"oty_month3_emplvl_chg": -45,
"oty_month3_emplvl_pct_chg": -6.8,
"oty_qtrly_contributions_chg": 0,
"oty_qtrly_contributions_pct_chg": 0,
"oty_qtrly_estabs_chg": 1,
"oty_qtrly_estabs_pct_chg": 3.4,
"oty_taxable_qtrly_wages_chg": 0,
"oty_taxable_qtrly_wages_pct_chg": 0,
"oty_total_qtrly_wages_chg": -244793,
"oty_total_qtrly_wages_pct_chg": -1.5,
"own_code": "1",
"own_title": "Federal Government",
"publication_id": "2026:1:47369-659905823f118",
"qtr": "1",
"qtrly_contributions": 0,
"qtrly_estabs": 30,
"retrieved_at": "2026-10-18T17:01:22Z",
"size_code": "0",
"size_title": "All establishment sizes",
"source_record_id": "2026:1:30031:1:102:72:0",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"taxable_qtrly_wages": 0,
"total_qtrly_wages": 15586180,
"year": "2026"
}
],
"retrieved_at": "2026-10-18T17:01:22Z",
"size_bytes": 291689,
"slice": "area",
"source_url": "https://data.bls.gov/cew/data/api/2026/1/area/30031.csv",
"total_rows": 1737,
"year": "2026"
}Request contract
- Method and path: POST /apis/v1/bls/economic-statistics/qcew-list
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-list
{
"operationId": "bls.economic-statistics.qcew-list",
"method": "POST",
"path": "/apis/v1/bls/economic-statistics/qcew-list",
"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": {
"code": "30031",
"limit": 3,
"qtr": "1",
"slice": "area",
"year": "2026"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"code": {
"description": "The key: area_fips (30031, US000, C1074), industry_code (10, 236, 31-33 or 31_33), or size_code 1-9.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"cursor": {
"description": "Opaque `next_cursor` from the previous page (`<offset>@<etag>`). Pass the same year/qtr/slice/code (or titles) with it. A cursor whose slice has since been re-published fails with invalid_input, issue code publication_changed: restart without a cursor.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"include_titles": {
"description": "Join area/industry/ownership/agglevel/size titles onto every row (default true; false saves two upstream fetches).",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"limit": {
"description": "Rows per page, default 250.\n\nProvider reference: minimum 1; maximum 1000.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"min": 1
}
},
"qtr": {
"description": "1-4 for a quarter, a for annual averages. Size slices exist for qtr 1 only. Pattern: ^([1-4]|[aA])$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"slice": {
"description": "Which dimension the file is keyed on.\n\nProvider reference: allowed values [\"area\", \"industry\", \"size\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"area",
"industry",
"size"
]
}
},
"titles": {
"description": "Alternative mode: list a title file instead of a slice. Exclusive with year/qtr/slice/code.\n\nProvider reference: allowed values [\"area\", \"industry\", \"ownership\", \"agglevel\", \"size\"].",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body",
"oneOf": [
"area",
"industry",
"ownership",
"agglevel",
"size"
]
}
},
"year": {
"description": "4-digit year (slices answer from 2014; BLS documents the latest five years). Pattern: ^[0-9]{4}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"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
Response
QCEW Open Data rows (records/list): one whole CSV slice per call, /cew/data/api/{year}/{qtr}/{area|industry|size}/{code}.csv (area slice: every ownership x industry x aggregation level for one area; industry slice: every area for one industry; size slice: Q1 only, private ownership by establishment size class), paged from memory with limit rows per page. The cursor pins the slice's ETag: a page whose slice was re-published since (BLS revises prior quarters) fails with invalid_input at /cursor and issue code publication_changed instead of mixing versions. Codes stay strings; disclosure_code N rows carry null employment and wage measures (never 0) while the establishment count stays. Titles from area_titles.csv and industry_titles.csv (fetched) and the ownership, aggregation-level and size code books (embedded) are joined unless include_titles is false. titles alone lists a code book instead (area 9,459 rows, industry 2,678).
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
code | string | Normalised key (hyphen form for NAICS ranges). |
count | number | |
etag | string | |
kind | string | Layout of the slice rows. |
last_modified | string | |
mode | string | |
observed_at_ms | number | |
offset | number | |
publication_id | string | |
qtr | string | URL form: 1-4 or a. |
records | object[] | |
retrieved_at | string | |
size_bytes | number | |
slice | string | |
source_url | string | |
titles | string | |
total_rows | number | Data rows in the whole file. |
year | string |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.