Skip to main content
POST
Bls cpi

Request contract

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

CPI-U expenditure category.

Provider reference: allowed values ["all_items", "core", "food", "food_at_home", "food_away_from_home", "energy", "gasoline", "electricity", "utility_gas", "housing", "shelter", "rent", "owners_equivalent_rent", "apparel", "transportation", "new_vehicles", "used_cars_and_trucks", "airline_fares", "medical_care", "medical_care_services", "recreation", "education_and_communication", "other_goods_and_services", "services", "commodities"].

area_code
string
default:0000

BLS CPI area code: 0000 U.S. city average, 0100 Northeast, 0200 Midwest, 0300 South, 0400 West, S49A Los Angeles, S12A New York, S23A Chicago, S37B Houston, S49B San Francisco. Pattern: ^[A-Za-z0-9]{4}$.

Provider reference: default "0000".

end_year
number

end_year

Provider reference: minimum 1900; maximum 2100.

seasonally_adjusted
boolean

Seasonally adjusted (CUSR) instead of unadjusted (CUUR). Only available for area_code 0000.

start_year
number

start_year

Provider reference: minimum 1900; maximum 2100.

Response

Consumer Price Index for All Urban Consumers (CPI-U) for one expenditure category (all_items, core, food, energy, gasoline, shelter, rent, apparel, medical_care, ...) and area (U.S. city average by default), over an optional year window of at most 10 years (the latest 3 years when omitted). Returns the index observations with the resolved BLS series id (CUUR/CUSR + area + item).

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.