> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# 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.

## 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](https://aisa.one/docs/openapi/bls.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "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.


## OpenAPI

````yaml openapi/bls.json POST /apis/v1/bls/economic-statistics/qcew-list
openapi: 3.1.0
info:
  description: ''
  title: BLS labor statistics
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    bls:
      description: ''
      title: BLS labor statistics
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: fe25c705b199d529f0a64ab067200f73b9b5fd7030bb51ebde6df167f13d32e1
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/bls/economic-statistics/bls-cpi
    - /apis/v1/bls/economic-statistics/bls-series
    - /apis/v1/bls/economic-statistics/bls-series-detail
    - /apis/v1/bls/economic-statistics/bls-series-search
    - /apis/v1/bls/economic-statistics/bls-surveys
    - /apis/v1/bls/economic-statistics/bls-top-picks
    - /apis/v1/bls/economic-statistics/bls-unemployment-rate
    - /apis/v1/bls/economic-statistics/qcew-get
    - /apis/v1/bls/economic-statistics/qcew-list
    - /apis/v1/bls/economic-statistics/qcew-status
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:43903675d4772be976191d0fc17e65b169d9eef1bfc670c338d251f5d5160d3a
    facts_hash: fe25c705b199d529f0a64ab067200f73b9b5fd7030bb51ebde6df167f13d32e1
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: bls
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/bls/economic-statistics/qcew-list:
    post:
      tags:
        - BLS labor statistics
      summary: Qcew list
      description: >-
        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.
      operationId: bls.economic-statistics.qcew-list
      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.

                    Provider 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.


                    Provider 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.


                    Provider 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
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    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'
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.