/cpiGives you official United States inflation numbers from the government's BLS Consumer Price Index. Ask for the newest reading, a specific month in the past, or a whole range of months, and get back clear percentages for overall inflation and 'core' inflation (which ignores food and energy prices), plus a plain-English summary sentence.
{
"additionalProperties": false,
"properties": {
"end": {
"description": "The last month of a historical range, written as year-month, like 2024-12. Leave out to end at the newest available month.",
"type": "string"
},
"period": {
"description": "A single month to look up, written as year-month, like 2024-03. Leave this out if you want the newest data or a range instead.",
"type": "string"
},
"start": {
"description": "The first month of a historical range, written as year-month, like 2023-01. Leave out to start from the earliest available month.",
"type": "string"
}
},
"type": "object"
}{
"api_version": "1.0.0"
}