Comment on page


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 Data Update Frequency: Monthly Price Feed Source: Data Providers:

Manual Price Calculation

To determine the monthly price for USCPI for the given month of a request timestamp, voters must do the following:
  1. 1.
    Get the request timestamp.
  2. 2.
    Convert the timestamp to UTC time.
  3. 3.
    Get the exact date/month/year.
  4. 5.
    Acquire an API key.
  5. 6.
    Using the following URL, enter the required values for 'api_key=' and 'observation_start=':
  6. 7.
    Paste the configured URL into your browser's search bar.
  7. 8.
    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