Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaFinanceAvailable now

BLS labor statistics · Bls cpi

bls-gov/economic-statistics/bls_cpi

Get market and financial data with BLS labor statistics · Bls cpi from Alexandria through one Spiral API key. A direct inflation lookup by category; for other CPI items or percent changes use bls_series_search on survey cu and bls_series. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
Longest queue wait
1 hour
Run deadline
5 minutes
Longest run, end to end
225 minutes
Largest inline input
1 MB
Largest input file
2 GB
Largest output
5 GB

Input

FieldKindDefaultDescription
category requiredone of
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
—

CPI-U expenditure category.

end_yearnumber
1900 to 2100
—

end_year

area_codetext0000

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}$.

start_yearnumber
1900 to 2100
—

start_year

seasonally_adjustedtrue or false—

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

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "bls-gov/economic-statistics/bls_cpi",
    "input": {
      "category": "all_items"
    }
  }'

Frequently asked questions

How much does BLS labor statistics · Bls cpi cost?

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

How do I use BLS labor statistics · Bls cpi through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "bls-gov/economic-statistics/bls_cpi"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

Do I need an account with Alexandria to use BLS labor statistics · Bls cpi?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use BLS labor statistics · Bls cpi?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.