Skip to main content
POST
Qcew get

Request contract

  • Method and path: POST /apis/v1/bls/economic-statistics/qcew-get
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/bls/economic-statistics/qcew-get
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
area_fips
string
required

5-character area code (30031, 30000, US000, C1074).

industry_code
string
required

10 (all industries), a NAICS code, or a range such as 31-33 / 31_33.

own_code
string
required

0, 1, 2, 3, 5, 8 or 9. Pattern: ^[0-9]$.

qtr
string
required

1-4 or a (annual averages). Pattern: ^([1-4]|[aA])$.

year
string
required

Pattern: ^[0-9]{4}$.

agglvl_code
string

Optional 2-digit aggregation level to disambiguate. Pattern: ^[0-9]{1,2}$.

include_titles
boolean

Join titles (default true).

size_code
string

Default 0 (all sizes; area slices carry no other class). Pattern: ^[0-9]$.

Response

One QCEW cell (records/get): fetches the area slice /cew/data/api/{year}/{qtr}/area/{area_fips}.csv and selects the row by own_code, industry_code and size_code (default 0; add agglvl_code if the tuple is ever ambiguous). Suppressed measures are null; titles are joined. Missing row or unknown area is not_found; an unpublished period is not_found with issue code not_published.

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.