
Consumer Price Index (Inflation) Actor
Pay $10.00 for 1,000 results

Consumer Price Index (Inflation) Actor
Pay $10.00 for 1,000 results
Consumer Price Index API / Inflation API, delivering current and historical CPI data for various consumer goods.
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
.
- Select the start date in the format
-
endDate
:- Select the end date in the format
YYYY-MM-DD
.
- Select the end date in the format
-
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
-
Set Input Parameters:
- Define
startDate
andendDate
to specify the date range. - Use the
search
parameter to filter results by a specific item (e.g., "eggs").
- Define
-
Run the API:
- Execute the API on the Apify platform.
-
Retrieve Results:
- Access the structured JSON output for analysis or integration.
-
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.