USCPI
U.S. Consumer Price Index
Synthetic Asset Description
A synthetic asset that tracks the latest price for the U.S. Consumer Price index for All Urban Consumers: All Items in U.S. City Average.
Display Name: U.S. Consumer Price Index for All Urban Consumers: All Items in U.S. City Average Symbol: USCPI EMP Price Identifier: Numerical Market: Published by https://www.bls.gov/ Data Update Frequency: Monthly Price Feed Source: https://fred.stlouisfed.org/docs/api/fred/ Data Providers:
Real-time or latest price: Use the chart provided by this link https://fred.stlouisfed.org/series/CPIAUCSL
Historical data: Configure the following URL by inputting values for 'api_key=' and 'observation_start=':
Manual Price Calculation
To determine the monthly price for USCPI for the given month of a request timestamp, voters must do the following:
Get the request timestamp.
Convert the timestamp to UTC time.
Get the exact date/month/year.
Acquire an API key.
Using the following URL, enter the required values for 'api_key=' and 'observation_start=':
Paste the configured URL into your browser's search bar.
Retrieve the CPI Price from the response JSON. The correct CPI price for a given date will be located beside the “value” keyword within the response JSON.
Example response object
Last updated