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

> For one establishment/employment/wage cell such as Gallatin County, private ownership, all industries, 2026 Q1, with its location quotients and over-the-year changes.

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

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "bls.economic-statistics.qcew-get",
  "method": "POST",
  "path": "/apis/v1/bls/economic-statistics/qcew-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": {
              "area_fips": "30031",
              "industry_code": "10",
              "own_code": "0",
              "qtr": "a",
              "year": "2025"
            }
          }
        },
        "schema": {
          "additionalProperties": true,
          "properties": {
            "agglvl_code": {
              "description": "Optional 2-digit aggregation level to disambiguate. Pattern: ^[0-9]{1,2}$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "area_fips": {
              "description": "5-character area code (30031, 30000, US000, C1074).",
              "type": "string"
            },
            "include_titles": {
              "description": "Join titles (default true).",
              "type": "boolean",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "industry_code": {
              "description": "10 (all industries), a NAICS code, or a range such as 31-33 / 31_33.",
              "type": "string"
            },
            "own_code": {
              "description": "0, 1, 2, 3, 5, 8 or 9. Pattern: ^[0-9]$.",
              "type": "string"
            },
            "qtr": {
              "description": "1-4 or a (annual averages). Pattern: ^([1-4]|[aA])$.",
              "type": "string"
            },
            "size_code": {
              "description": "Default 0 (all sizes; area slices carry no other class). Pattern: ^[0-9]$.",
              "type": "string",
              "x-alexandria-option-metadata": {
                "in": "body"
              }
            },
            "year": {
              "description": "Pattern: ^[0-9]{4}$.",
              "type": "string"
            }
          },
          "required": [
            "area_fips",
            "industry_code",
            "own_code",
            "qtr",
            "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.


## OpenAPI

````yaml openapi/bls.json POST /apis/v1/bls/economic-statistics/qcew-get
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-get:
    post:
      tags:
        - BLS labor statistics
      summary: Qcew get
      description: >-
        For one establishment/employment/wage cell such as Gallatin County,
        private ownership, all industries, 2026 Q1, with its location quotients
        and over-the-year changes.
      operationId: bls.economic-statistics.qcew-get
      requestBody:
        content:
          application/json:
            examples:
              provider:
                summary: >-
                  Official provider example; checked against AIsa request
                  constraints
                value:
                  area_fips: '30031'
                  industry_code: '10'
                  own_code: '0'
                  qtr: a
                  year: '2025'
            schema:
              additionalProperties: true
              properties:
                agglvl_code:
                  description: >-
                    Optional 2-digit aggregation level to disambiguate. Pattern:
                    ^[0-9]{1,2}$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                area_fips:
                  description: 5-character area code (30031, 30000, US000, C1074).
                  type: string
                include_titles:
                  description: Join titles (default true).
                  type: boolean
                  x-alexandria-option-metadata:
                    in: body
                industry_code:
                  description: >-
                    10 (all industries), a NAICS code, or a range such as 31-33
                    / 31_33.
                  type: string
                own_code:
                  description: '0, 1, 2, 3, 5, 8 or 9. Pattern: ^[0-9]$.'
                  type: string
                qtr:
                  description: '1-4 or a (annual averages). Pattern: ^([1-4]|[aA])$.'
                  type: string
                size_code:
                  description: >-
                    Default 0 (all sizes; area slices carry no other class).
                    Pattern: ^[0-9]$.
                  type: string
                  x-alexandria-option-metadata:
                    in: body
                year:
                  description: 'Pattern: ^[0-9]{4}$.'
                  type: string
              required:
                - area_fips
                - industry_code
                - own_code
                - qtr
                - year
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                provider:
                  description: Published by the provider on 2026-10-18.
                  summary: Official provider example
                  value:
                    etag: 42968-6598e1698dcb0
                    kind: annual
                    last_modified: Fri, 21 Aug 2026 12:50:59 GMT
                    observed_at_ms: 1792342898225
                    publication_id: 2025:a:42968-6598e1698dcb0
                    record:
                      agglvl_code: '70'
                      agglvl_title: County, Total Covered
                      annual_avg_emplvl: 74277
                      annual_avg_estabs: 9632
                      annual_avg_wkly_wage: 1356
                      annual_contributions: 31223804
                      area_fips: '30031'
                      area_title: Gallatin County, Montana
                      avg_annual_pay: 70519
                      disclosure_code: null
                      industry_code: '10'
                      industry_title: 10 Total, all industries
                      kind: annual
                      lq_annual_avg_emplvl: 1
                      lq_annual_avg_estabs: 1
                      lq_annual_avg_wkly_wage: 1
                      lq_annual_contributions: 1
                      lq_avg_annual_pay: 1
                      lq_disclosure_code: null
                      lq_taxable_annual_wages: 1
                      lq_total_annual_wages: 1
                      oty_annual_avg_emplvl_chg: 1060
                      oty_annual_avg_emplvl_pct_chg: 1.4
                      oty_annual_avg_estabs_chg: -155
                      oty_annual_avg_estabs_pct_chg: -1.6
                      oty_annual_avg_wkly_wage_chg: 83
                      oty_annual_avg_wkly_wage_pct_chg: 6.5
                      oty_annual_contributions_chg: 1374347
                      oty_annual_contributions_pct_chg: 4.6
                      oty_avg_annual_pay_chg: 4306
                      oty_avg_annual_pay_pct_chg: 6.5
                      oty_disclosure_code: null
                      oty_taxable_annual_wages_chg: 138144177
                      oty_taxable_annual_wages_pct_chg: 5.2
                      oty_total_annual_wages_chg: 390020328
                      oty_total_annual_wages_pct_chg: 8
                      own_code: '0'
                      own_title: Total Covered
                      publication_id: 2025:a:42968-6598e1698dcb0
                      qtr: A
                      retrieved_at: '2026-10-18T17:01:38Z'
                      size_code: '0'
                      size_title: All establishment sizes
                      source_record_id: 2025:a:30031:0:10:70:0
                      source_url: https://data.bls.gov/cew/data/api/2025/a/area/30031.csv
                      taxable_annual_wages: 2807842189
                      total_annual_wages: 5237920613
                      year: '2025'
                    retrieved_at: '2026-10-18T17:01:38Z'
                    source_url: https://data.bls.gov/cew/data/api/2025/a/area/30031.csv
              schema:
                not:
                  type: 'null'
                x-aisa-schema-completeness: documented-fields-only
          description: >-
            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.


            | Documented field | Provider type | Description |

            | --- | --- | --- |

            | `etag` | string |  |

            | `kind` | string |  |

            | `last_modified` | string |  |

            | `observed_at_ms` | number |  |

            | `publication_id` | string |  |

            | `record` | object | One QCEW cell. Quarterly rows carry the
            qtrly_/month_/avg_wkly_wage set, annual rows the annual_ set, each
            with lq_ and oty_ companions. Codes are strings exactly as the file
            writes them; suppressed measures are null, never 0. |

            | `retrieved_at` | string |  |

            | `source_url` | 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.