Consumer Price Index (Inflation) Actor avatar

Consumer Price Index (Inflation) Actor

Try for free

Pay $10.00 for 1,000 results

Go to Store
Consumer Price Index (Inflation) Actor

Consumer Price Index (Inflation) Actor

harvest/consumer-price-index-inflation-actor
Try for free

Pay $10.00 for 1,000 results

Consumer Price Index API / Inflation API, delivering current and historical CPI data for various consumer goods.

Developer
Maintained by Community

Actor Metrics

  • 3 Monthly users

  • No reviews yet

  • 1 bookmark

  • >99% runs succeeded

  • Created in Feb 2025

  • Modified 9 days ago

Consumer Price Index (CPI) and Inflation Data Actor

Provides a Consumer Price Index API / Inflation API, delivering current and historical CPI data for various consumer goods. With customizable input parameters, you can retrieve precise inflation trends and forecasts for specific items and date ranges. This API is perfect for economic analysis, business planning, and academic research.


Key Features

  • Consumer Price Index API: Retrieve detailed CPI data for specific consumer goods.
  • Inflation API: Access inflation forecasts and historical trends.
  • Customizable Inputs: Define date ranges and search for specific items.
  • Structured Output: Get clean, JSON-formatted data for easy integration.

Input Configuration

The API accepts the following input parameters:

Properties

  • startDate:

    • Select the start date in the format YYYY-MM-DD.
  • endDate:

    • Select the end date in the format YYYY-MM-DD.
  • search:

    • The item type to return CPI for (e.g., "eggs").

Required Fields

None of the fields are required. If no input is provided, the API will return data for all items within a default date range.


Sample Output

The API returns data in a structured JSON format, ideal for integration into applications or analysis tools:

1[
2    {
3        "consumerPriceIndexItem": "Poultry",
4        "yearOfForecast": 2002,
5        "monthOfForecast": 7,
6        "yearBeingForecast": "2003",
7        "forecastData": {
8            "lowerBound": -7.2,
9            "midPoint": -0.6,
10            "upperBound": 6.7
11        }
12    },
13    {
14        "consumerPriceIndexItem": "Fish and seafood",
15        "yearOfForecast": 2002,
16        "monthOfForecast": 7,
17        "yearBeingForecast": "2003",
18        "forecastData": {
19            "lowerBound": -2.1,
20            "midPoint": 1.5,
21            "upperBound": 5
22        }
23    },
24    {
25        "consumerPriceIndexItem": "Eggs",
26        "yearOfForecast": 2002,
27        "monthOfForecast": 7,
28        "yearBeingForecast": "2003",
29        "forecastData": {
30            "lowerBound": -26.9,
31            "midPoint": -6.4,
32            "upperBound": 20.6
33        }
34    },
35    {
36        "consumerPriceIndexItem": "Dairy products",
37        "yearOfForecast": 2002,
38        "monthOfForecast": 7,
39        "yearBeingForecast": "2003",
40        "forecastData": {
41            "lowerBound": -9.7,
42            "midPoint": -1.2,
43            "upperBound": 8.1
44        }
45    }
46]

Output Fields

  • consumerPriceIndexItem: The name of the consumer good (e.g., "Poultry", "Fish and seafood").
  • yearOfForecast: The year in which the forecast was made.
  • monthOfForecast: The month in which the forecast was made.
  • yearBeingForecast: The year for which the forecast is being made.
  • forecastData: An object containing the forecast data:
    • lowerBound: The lower bound of the forecast.
    • midPoint: The midpoint of the forecast.
    • upperBound: The upper bound of the forecast.

Why Use This API?

  • Accurate Inflation Data: Get reliable CPI and inflation data for informed decision-making.
  • Easy Integration: JSON output makes it simple to integrate with your applications.
  • Customizable Queries: Filter data by specific items and date ranges.
  • Versatile Use Cases: Suitable for economic analysis, business planning, and academic research.

Use Cases

1. Economic Analysis

  • Track inflation trends over time.
  • Compare CPI data across different consumer goods.

2. Business Planning

  • Use CPI data to adjust pricing strategies.
  • Analyze market trends for specific products.

3. Academic Research

  • Incorporate inflation data into economic studies.
  • Validate hypotheses with historical CPI trends.

4. Financial Forecasting

  • Predict future inflation rates using historical data.
  • Assess the impact of inflation on investments.

How to Use

  1. Set Input Parameters:

    • Define startDate and endDate to specify the date range.
    • Use the search parameter to filter results by a specific item (e.g., "eggs").
  2. Run the API:

    • Execute the API on the Apify platform.
  3. Retrieve Results:

    • Access the structured JSON output for analysis or integration.
  4. Analyze and Integrate:

    • Use the data for economic analysis, business planning, or academic research.

Support

For assistance or questions about this actor, please raise an issue.


Note: This API is designed for flexibility and ease of use. If no input parameters are provided, it will return data for all items within a default date range. Customize the API to suit your specific needs on the Apify platform.