v1inflation
Retrieve current monthly and annual inflation percentages using CPI or HICP indicators.
Instructions
API Ninjas Inflation API endpoint. Returns current monthly and annual inflation percentages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "v1inflation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | inflation indicator type. Can be either CPI (Consumer Price Index) or HICP (Harmonized Index of Consumer Prices). If not provided, the CPI will be used by default. |