Read the newest inflation observations
curl --request GET \
--url https://api.darvas.app/v1/macro/inflation/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/macro/inflation/snapshot"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/macro/inflation/snapshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"inflation": [
{
"series": "cpi_all_sa",
"date": "2026-10-01",
"value": 331.2,
"change_1m_pct": 0.2,
"change_12m_pct": 2.9,
"first_published_value": 331.2
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Inflation
Latest US CPI & PCE Inflation Snapshot API
Read the latest headline CPI, core CPI, PCE, core PCE and major component readings from official BLS and BEA releases in one JSON snapshot call.
Read the newest inflation observations
curl --request GET \
--url https://api.darvas.app/v1/macro/inflation/snapshot \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/macro/inflation/snapshot"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/macro/inflation/snapshot', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"inflation": [
{
"series": "cpi_all_sa",
"date": "2026-10-01",
"value": 331.2,
"change_1m_pct": 0.2,
"change_12m_pct": 2.9,
"first_published_value": 331.2
}
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
The latest release of all 14 series in one call, with their changes. Passseries for one.
| Coverage | Details |
|---|---|
| Series | Latest monthly reading for all 14 BLS CPI and BEA PCE series in one call, or one series via series |
| Changes | Includes change_1m_pct and change_12m_pct alongside index level |
| History | Monthly time series live at CPI & PCE Inflation; IDs at Inflation Series |
| MCP tool | get_inflation_snapshot on the data API MCP server |
Example
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/macro/inflation/snapshot"
Authorizations
apiKeybearerKey