Skip to main content
POST
Qcew list

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
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
code
string

The key: area_fips (30031, US000, C1074), industry_code (10, 236, 31-33 or 31_33), or size_code 1-9.

cursor
string

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.

include_titles
boolean

Join area/industry/ownership/agglevel/size titles onto every row (default true; false saves two upstream fetches).

limit
number

Rows per page, default 250.

Provider reference: minimum 1; maximum 1000.

qtr
string

1-4 for a quarter, a for annual averages. Size slices exist for qtr 1 only. Pattern: ^([1-4]|[aA])$.

slice
string

Which dimension the file is keyed on.

Provider reference: allowed values ["area", "industry", "size"].

titles
string

Alternative mode: list a title file instead of a slice. Exclusive with year/qtr/slice/code.

Provider reference: allowed values ["area", "industry", "ownership", "agglevel", "size"].

year
string

4-digit year (slices answer from 2014; BLS documents the latest five years). Pattern: ^[0-9]{4}$.

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.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.