Consumer Prices (CPI)
Retrieve Pakistan's Consumer Price Index (CPI) data with multiple base years (2007-08 & 2015-16), including overall inflation, food inflation (urban, rural, and cumulative), and historical time-series.
Description
This endpoint retrieves comprehensive Consumer Price Index (CPI) data measuring inflation experienced by consumers across Pakistan. The CPI tracks price changes in goods and services that households purchase, serving as the primary measure of consumer price inflation. Data includes CPI values with multiple base years (2007-08 & 2015-16) for analytical flexibility, plus specialized food inflation indices for urban, rural, and cumulative segments. All CPI data is sourced from the Pakistan Bureau of Statistics (PBS), representing the most authoritative measure of consumer inflation for monetary policy, wage negotiations, and economic planning.
Request
Authentication
- Type: Bearer Token
- Required: Yes
Parameters
This endpoint does not accept any query parameters.
Response
Success Response (200)
{
"status": "ok",
"message": "",
"data": [
{
"period": "Nov 2025",
"yoy": 7.2,
"mom": 0.3,
}
]
}
Response Fields
| Field | Type | Description |
|---|---|---|
period | string | Period identifier (e.g., "Nov 2025") |
yoy | number | Year-over-year inflation rate (percentage) |
mom | number | Month-over-month inflation rate (percentage) |
Error Responses
For detailed Common Error responses, see the Error Handling.
Examples
Get Latest CPI Inflation
curl -X GET "https://csapis.com/3.0/economy/cpi-inflation" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Use Cases
- Monetary Policy: Central banks use CPI to set interest rates and inflation targets
- Investment Analysis: Incorporate inflation trends in investment decision-making
- Consumer Purchasing Power: Track purchasing power erosion over time
- Wage Negotiations: Use CPI data for salary adjustment discussions
- Economic Forecasting: Build inflation models and price forecasts
- Portfolio Adjustments: Adjust investment strategies based on inflation outlook