From CPI to PCE: The Inflation Indicators FX Traders Track and Why They Matter banner image

Reference

Macro Education

From CPI to PCE: The Inflation Indicators FX Traders Track and Why They Matter

A comprehensive guide to the seven families of inflation indicators covered by the FXMacroData API — headline CPI, core CPI, trimmed mean, PCE, PPI, breakeven rates, and inflation-linked bond yields — and how each moves FX markets.

Inflation is not one number. It is a family of measures — each constructed differently, each capturing a distinct slice of price dynamics, and each watched by a different set of policymakers and traders. The Federal Reserve's preferred gauge is the PCE deflator, not the CPI headline that dominates news coverage. The Reserve Bank of Australia's board targets trimmed-mean inflation, not the headline quarterly print. Canada's Bank of Canada monitors three separate core measures simultaneously. Getting the right indicator wrong, or missing which version a central bank is responding to, is one of the most common and most costly errors in macro trading.

The FXMacroData API covers the full spectrum of inflation indicators: headline CPI, core CPI in multiple national variants, month-on-month changes, trimmed means, the PCE family, producer prices, and market-derived inflation expectations via breakeven rates and inflation-linked bond yields. This guide maps each type — what it measures, why central banks care about it, how it moves FX, and where to access it in the API.

Quick Reference — Inflation Indicator Families

The API covers seven distinct inflation families across 17 currencies: Headline CPI, Core CPI, Trimmed Mean / Weighted Median, Monthly CPI Indicator, PCE & Core PCE, PPI, and Market-Derived Inflation Expectations (breakeven rates and inflation-linked bond yields). Each family carries different policy weight depending on the currency.

1. Headline CPI — The Universal Benchmark

The Consumer Price Index (CPI) is the most widely reported inflation measure across all major economies. It tracks the change in the price of a fixed basket of goods and services consumed by households, expressed year-on-year or month-on-month. Every currency in the FXMacroData API carries a headline CPI series.

Despite its ubiquity, headline CPI has a structural quirk that makes it unreliable as a policy guide: it incorporates food and energy prices, which are highly volatile and supply-driven. A cold winter that spikes natural gas prices, or an OPEC production cut that lifts oil, can push headline CPI well above underlying demand trends. Central banks that reacted mechanically to every headline move would be lurching policy into the noise.

For FX traders, headline CPI remains the market's first reaction point. A CPI print 30–50 basis points above consensus reliably triggers an immediate currency spike (and sovereign yield move) because it shifts the market's short-run expectations of the next central bank decision. The bigger the surprise, the bigger the immediate move. But the sustaining effect — whether the currency holds the gain over the following days and weeks — depends on whether the core and services components confirm the headline.

Headline CPI Across Major Currencies — 12-Month Spread

Illustrative values representing the YoY spread across G10 and EM currencies. Each bar represents the most recent annual CPI reading. The range between the highest and lowest reflects divergence in monetary cycles — the key driver of cross-currency rate differentials.

Headline CPI for all 17 covered currencies is available via the inflation indicator key. For example, to retrieve US CPI history:

curl "https://fxmacrodata.com/api/v1/announcements/usd/inflation?api_key=YOUR_API_KEY&start=2022-01-01"

Each record in the response carries a val (the YoY rate), a date (reference period), and an announcement_datetime (the exact second the statistical agency released the number). That last field is what enables event-study backtests: you can align FX tick data against announcement timestamps to precisely measure how fast and how far the currency moved.

Full endpoint documentation: /api-data-docs/usd/inflation

2. Core Inflation — What Central Banks Actually Target

Strip out food and energy, and you get core inflation — the measure most central banks use when setting policy. The rationale is straightforward: food and energy are supply-determined in the short run, whereas core captures demand-driven price pressures that monetary policy can actually influence. A central bank that hiked rates every time oil spiked would be fighting the wrong fire.

But "core" is not one concept uniformly applied. Different statistical agencies use different basket exclusions:

  • USD: Core CPI strips food and energy from the Bureau of Labor Statistics basket. This is separate from core PCE, which the Fed actually targets — both are covered in the API.
  • EUR: Eurostat's HICP ex food and energy — the ECB's primary internal compass for domestic price pressures. Covered as core_inflation for EUR.
  • GBP, JPY, NOK, CHF, NZD, CNY: Each national statistical office applies its own exclusion rule, but all follow the broad food-and-energy-stripped principle.
  • CAD: Three separate core measures are covered — CPI-Trim, CPI-Median, and the ex-eight-volatile-components measure. The Bank of Canada looks at all three simultaneously and focuses on the average of CPI-Trim and CPI-Median as its operating guide.
  • AUD: The RBA's preferred core measure is Trimmed Mean, which is a statistical trimming rather than a fixed basket exclusion — covered separately below.

Core inflation is the indicator that moves central bank dots (the longer-run rate projections) rather than meeting-to-meeting decisions. A sustained core above target signals the bank will need to keep rates higher for longer, which is bullish for that currency. A core that is falling toward or below target unlocks rate cut cycles — bearish for the currency relative to peers still holding.

Headline vs. Core Inflation — Typical Divergence Pattern

Headline CPI tracks the full energy-inclusive basket (blue); core removes food and energy (green). The gap between them reflects commodity price dynamics. When the lines converge, the signal for policy becomes cleaner. This illustrative chart uses USD-style spreads for reference.

To retrieve Canada's three core measures in a single workflow:

import requests

BASE = "https://fxmacrodata.com/api/v1"
KEY  = "YOUR_API_KEY"

cores = {}
for indicator in ["core_inflation", "core_inflation_trim", "core_inflation_median"]:
    resp = requests.get(
        f"{BASE}/announcements/cad/{indicator}",
        params={"api_key": KEY, "start": "2023-01-01"}
    ).json()
    latest = resp["data"][0]
    cores[indicator] = latest["val"]
    print(f"CAD {indicator}: {latest['val']}% as of {latest['date']}")

# The BoC average of Trim + Median:
boc_core = (cores["core_inflation_trim"] + cores["core_inflation_median"]) / 2
print(f"BoC preferred core (Trim/Median avg): {boc_core:.2f}%")

Explore the full CAD core suite at /api-data-docs/cad/core_inflation.

3. Trimmed Mean & Weighted Median — Australia's Statistical Approach

Rather than excluding predefined categories, Australia's Bureau of Statistics (ABS) takes a distributional approach: rank all CPI components by their quarterly price change, then trim the top and bottom 15% of the distribution (by weight). The average of what remains is the Trimmed Mean. The Weighted Median is the price change at the 50th percentile of the distribution.

This methodology is more robust than fixed-category exclusion because it adapts to which sectors are volatile in any given quarter — not just the ones that happened to be volatile historically. In a quarter where rents surge but energy falls, the trimming will capture both extremes without requiring any manual category decision.

The RBA targets CPI inflation in the 2–3% band and uses trimmed-mean inflation as its primary underlying measure. Because Australia reports CPI quarterly (not monthly), these series carry quarterly frequency — and major quarterly prints are treated as high-impact events by AUD traders. An RBA rate decision following a trimmed-mean print significantly above 3% is almost certain to retain a hawkish bias; a print comfortably inside the band opens the door to cuts.

AUD Inflation Data Points Covered by the API

  • inflation — Headline CPI (quarterly, %YoY)
  • trimmed_mean_inflation — RBA preferred underlying measure (quarterly)
  • core_inflation — Weighted Median CPI (quarterly)
  • monthly_cpi — ABS Monthly CPI Indicator (monthly, released between quarters)
  • inflation_expectations — Melbourne Institute survey (quarterly)
  • inflation_linked_bond — Market-implied break-even from linker yields (daily)
  • ppi — Producer prices (quarterly)

Australia offers a richer inflation data set than almost any other currency in the API, partly because the ABS introduced the monthly CPI indicator in 2022 to provide more timely reads between quarterly prints. That monthly series now gives traders an early warning of where the quarterly Trimmed Mean is tracking, reducing the binary risk around quarterly release dates.

import requests

BASE = "https://fxmacrodata.com/api/v1"
KEY  = "YOUR_API_KEY"

# Quarterly trimmed mean
tm = requests.get(
    f"{BASE}/announcements/aud/trimmed_mean_inflation",
    params={"api_key": KEY, "start": "2023-01-01"}
).json()["data"]

# Monthly indicator for early reads
monthly = requests.get(
    f"{BASE}/announcements/aud/monthly_cpi",
    params={"api_key": KEY, "start": "2023-01-01"}
).json()["data"]

print(f"Latest Trimmed Mean: {tm[0]['val']}% (Q period: {tm[0]['date']})")
print(f"Latest Monthly CPI:  {monthly[0]['val']}% (period: {monthly[0]['date']})")

See the full documentation at /api-data-docs/aud/trimmed_mean_inflation.

4. Month-on-Month CPI — The Short-Run Signal

Year-on-year inflation measures are useful for identifying regime trends, but they contain a statistical artefact: base effects. If inflation was extraordinarily high twelve months ago, the year-on-year rate will look low now even if prices are still rising meaningfully each month. Conversely, a sharp monthly disinflation can be masked by a low base twelve months earlier.

Month-on-month CPI cuts through base effects and shows the raw monthly price change. Fed watchers, in particular, pay close attention to "annualised three-month momentum" — the MoM rate compounded over three months — as a real-time read on where year-on-year inflation is heading in the next two to three prints.

The API covers MoM inflation for: USD, EUR, CAD, GBP, BRL, DKK, KRW, and PLN. Each inflation_mom record aligns to the same announcement datetime as the corresponding YoY release, so traders can cross-reference both dimensions of the same print without separate data pulls.

MoM vs. YoY CPI — Base Effects in Action

This illustrative chart shows how a string of high monthly prints (amber) can be temporarily masked in the year-on-year rate (blue) by an elevated base period from the prior year. The MoM signal often leads the YoY turning point by 3–4 months.

# EUR: both YoY and MoM in a single call each — useful for surprise modelling
curl "https://fxmacrodata.com/api/v1/announcements/eur/inflation?api_key=YOUR_API_KEY&start=2024-01-01"
curl "https://fxmacrodata.com/api/v1/announcements/eur/inflation_mom?api_key=YOUR_API_KEY&start=2024-01-01"

Explore the EUR HICP documentation at /api-data-docs/eur/inflation.

5. PCE and Core PCE — The Federal Reserve's Preferred Gauge

One of the most consistent sources of confusion in USD macro analysis is the gap between CPI and PCE. Both measure consumer prices, but they differ in three important ways:

  1. Basket weights: PCE uses chain-weighted spending shares that update as consumers substitute between goods. CPI uses a fixed Laspeyres basket updated every two years. When the price of beef spikes and consumers switch to chicken, PCE captures the substitution; CPI does not.
  2. Scope: PCE covers a broader range of consumer spending, including third-party payments like employer-sponsored health insurance. This makes PCE healthcare weighting significantly higher than in CPI.
  3. Level: PCE typically runs 30–50 basis points below CPI on a year-on-year basis due to these methodological differences.

The Federal Reserve's 2% inflation target is explicitly defined in terms of the PCE deflator — specifically core PCE (PCE ex food and energy). This matters enormously for USD positioning: a CPI print can move markets in the short run, but it is the PCE print three weeks later that either confirms or contradicts the CPI signal, and it is PCE that the Fed's models and dot-plot projections are based on.

Fed Target Clarification

The Federal Reserve's 2% inflation objective is defined as 2% on the PCE price index, not CPI. Core PCE (PCE ex food and energy) is the Fed's operating focus because it strips short-run supply shocks and better represents demand-driven price pressures. CPI and PCE typically move together but diverge by 20–60bps year-on-year, with CPI consistently the higher reading.

PCE vs. CPI vs. Core CPI — USD Inflation Comparison

CPI (blue) consistently reads above PCE (amber). Core PCE (green) is the Federal Reserve's 2% target metric. Note how core PCE peaked later and fell more gradually than headline CPI — reflecting the stickier services component that drove the post-pandemic inflation episode.

import requests

BASE = "https://fxmacrodata.com/api/v1"
KEY  = "YOUR_API_KEY"

cpi      = requests.get(f"{BASE}/announcements/usd/inflation",      params={"api_key": KEY}).json()["data"][0]
core_cpi = requests.get(f"{BASE}/announcements/usd/core_inflation",  params={"api_key": KEY}).json()["data"][0]
pce      = requests.get(f"{BASE}/announcements/usd/pce",             params={"api_key": KEY}).json()["data"][0]
pce_mom  = requests.get(f"{BASE}/announcements/usd/pce_mom",         params={"api_key": KEY}).json()["data"][0]

print(f"CPI YoY:       {cpi['val']}%  ({cpi['date']})")
print(f"Core CPI YoY:  {core_cpi['val']}%  ({core_cpi['date']})")
print(f"PCE YoY:       {pce['val']}%  ({pce['date']})")
print(f"PCE MoM:       {pce_mom['val']}%  ({pce_mom['date']})")
print(f"Gap CPI-PCE:   {cpi['val'] - pce['val']:.2f}%")

Endpoint documentation: /api-data-docs/usd/pce | /api-data-docs/usd/pce_mom

6. Producer Price Index — The Inflation Pipeline Indicator

PPI measures price changes at the producer level — what manufacturers, farms, and service producers receive for their output, before prices reach the retail consumer. Because producer costs typically flow through to consumer prices with a lag of one to six months, PPI is often treated as a leading indicator of future CPI movements.

In practice, the PPI-to-CPI transmission is imperfect. Companies can absorb margin compression when demand is weak; they pass through cost increases more readily when demand is strong and pricing power is high. This is why PPI divergences from CPI are informative signals: when PPI rises sharply but CPI does not follow, it often reflects margin compression and softer consumer demand — a growth warning. When both rise together, demand is pulling through and monetary tightening risk is elevated.

PPI is particularly relevant for manufacturing-oriented economies. Japan's Corporate Goods Price Index (CGPI) — the Japanese PPI equivalent — is closely watched for its relationship with JPY and the BoJ's import-cost-driven inflation narrative. Germany's PPI has historically been the first signal of HICP inflation turning in the eurozone. China's PPI is a global deflation/inflation relay signal: when it falls persistently, it exports disinflationary pressure to the rest of the world through manufactured goods prices.

PPI vs. CPI — The Pipeline Relationship

PPI (amber, dashed) typically leads CPI (blue) by one to four months. The 2021–2022 PPI surge in most major economies presaged the peak CPI wave in 2022–2023. When PPI normalises faster than CPI, it signals disinflation ahead. Illustrative G10 composite.

PPI is available for 13 currencies in the API: AUD, CAD, CHF, CNY, DKK, EUR, GBP, JPY, KRW, NOK, NZD, PLN, and USD. Each follows the national statistical agency's primary output price index.

# CNY PPI — the global deflationary relay signal
curl "https://fxmacrodata.com/api/v1/announcements/cny/ppi?api_key=YOUR_API_KEY&start=2023-01-01"

# JPY CGPI — used by BoJ to assess import-cost-driven inflation
curl "https://fxmacrodata.com/api/v1/announcements/jpy/ppi?api_key=YOUR_API_KEY&start=2023-01-01"

See the full PPI documentation at /api-data-docs/usd/ppi.

7. Market-Derived Inflation Expectations — Breakevens and Linker Yields

Survey-based and official CPI data are backward-looking by definition: they tell you what prices did. Inflation breakeven rates and inflation-linked bond yields tell you what the market expects prices to do over the next 5–10 years — in real time, continuously priced by the bond market.

Breakeven Inflation Rates

A breakeven inflation rate is the spread between a nominal government bond yield and the yield on an inflation-linked bond of equal maturity. If the 10-year US Treasury yields 4.5% and the 10-year TIPS yields 2.0%, the 10-year breakeven is 2.5% — meaning the bond market is pricing in 2.5% average annual inflation over the next decade. If actual inflation comes in above 2.5%, TIPS holders win; below 2.5%, nominal bond holders win.

Breakeven rates are high-frequency, liquid, and continuously updated, making them the professional standard for gauging whether monetary policy is credibly anchored near its target. The Fed, ECB, and most G10 central banks track 5-year, 5-year forward breakevens (the market's expectation for inflation in years 5 through 10) as a key anchor indicator.

The API provides daily breakeven series for USD (breakeven_inflation_rate) and EUR. The USD series is derived from TIPS; the EUR series from index-linked OATs and Bunds.

Inflation-Linked Bond Yields

Inflation-linked bond yields (TIPS yield for USD, real gilt yield for GBP, etc.) are the after-inflation return demanded by bond investors. When real yields rise, borrowing becomes genuinely more expensive in inflation-adjusted terms — this is tight monetary policy in its truest sense, and a strong upward driver of the currency. When real yields turn negative, the cost of holding the currency falls in real terms and capital tends to rotate toward higher real-return alternatives.

Real yield series are available daily for AUD, CAD, EUR, GBP, NZD, and USD under the inflation_linked_bond indicator key.

Breakeven Inflation vs. Real Yield vs. Nominal Yield — USD 10Y

Illustrative decomposition of the 10-year nominal Treasury yield (blue) into real yield (green, TIPS) and breakeven inflation (amber). The real yield is what matters for FX — it is the return an investor earns after compensating for expected inflation. Higher real yields attract capital inflows and drive currency appreciation.

import requests

BASE = "https://fxmacrodata.com/api/v1"
KEY  = "YOUR_API_KEY"

# USD 10Y nominal vs real
nominal_10y = requests.get(
    f"{BASE}/announcements/usd/gov_bond_10y",
    params={"api_key": KEY}
).json()["data"][0]["val"]

real_yield = requests.get(
    f"{BASE}/announcements/usd/inflation_linked_bond",
    params={"api_key": KEY}
).json()["data"][0]["val"]

breakeven = requests.get(
    f"{BASE}/announcements/usd/breakeven_inflation_rate",
    params={"api_key": KEY}
).json()["data"][0]["val"]

print(f"USD 10Y Nominal:   {nominal_10y:.2f}%")
print(f"USD TIPS 10Y Real: {real_yield:.2f}%")
print(f"USD Breakeven:     {breakeven:.2f}%")
print(f"Implied: {nominal_10y:.2f} - {real_yield:.2f} = {nominal_10y - real_yield:.2f}% (should ≈ breakeven)")

Documentation: /api-data-docs/usd/breakeven_inflation_rate | /api-data-docs/usd/inflation_linked_bond

8. Inflation Expectations — Survey-Based Forward Signals

Alongside market-derived breakevens, several central banks track survey-based inflation expectations. These differ from bond market signals because they capture the expectations of households and businesses — the agents whose behaviour actually drives wages and prices — rather than the expectations of professional investors optimising a portfolio.

Two key survey series are available in the API:

  • AUD — Melbourne Institute: Quarterly survey asking households about expected CPI over the next year. Closely watched by the RBA as a measure of whether inflation expectations are "anchored" — if households expect persistently high inflation, wages and price-setting behaviour follow. Accessible as inflation_expectations for AUD.
  • CHF — SNB survey: The Swiss National Bank publishes quarterly expectations data. Switzerland's inflation history has been markedly more stable than other G10 economies, and the SNB treats anchoring of expectations as critical to maintaining its strong franc corridor.

When survey-based expectations rise above target persistently, central banks face a second-round effects risk: workers demand higher wages to compensate for expected inflation, businesses raise prices pre-emptively, and inflation becomes self-fulfilling. This is the scenario central banks fear most, and it is the primary reason they lean against loosening prematurely even after headline CPI has started falling.

Connecting the Inflation Signals into a Trading Framework

No single inflation indicator is sufficient on its own. Professional macro traders and systematic models work across the inflation stack simultaneously — using each indicator for the specific signal it best carries:

Indicator Primary Use FX Impact Horizon API Key
Headline CPI YoY Market reaction at release; consensus surprise scoring Minutes to hours inflation
Headline CPI MoM Short-run momentum; base effect filtering Days inflation_mom
Core Inflation Policy anchor; central bank dots/forward guidance Weeks to months core_inflation
Trimmed Mean / Median AUD underlying inflation; RBA decisions Weeks to months trimmed_mean_inflation
PCE & Core PCE Fed target; USD rate path modelling Days to weeks pce / pce_mom
PPI Pipeline indicator; CPI leading signal 1–3 months lead ppi / ppi_mom
Breakeven Inflation Rate Market credibility of central bank anchor; real rate decomposition Continuous (daily) breakeven_inflation_rate
Inflation-Linked Bond Yield Real yield; capital flow driver; gold inverse relationship Continuous (daily) inflation_linked_bond
Inflation Expectations (survey) Second-round effects risk; wage/price spiral early warning Months to quarters inflation_expectations

A complete inflation picture across the USD stack — the most data-rich currency in the API — can be pulled in a few lines:

import requests

BASE = "https://fxmacrodata.com/api/v1"
KEY  = "YOUR_API_KEY"

usd_inflation_suite = [
    "inflation", "inflation_mom",
    "core_inflation", "core_inflation_mom",
    "pce", "pce_mom",
    "ppi", "ppi_mom",
    "breakeven_inflation_rate",
    "inflation_linked_bond",
]

results = {}
for indicator in usd_inflation_suite:
    data = requests.get(
        f"{BASE}/announcements/usd/{indicator}",
        params={"api_key": KEY}
    ).json().get("data", [])
    if data:
        results[indicator] = {"val": data[0]["val"], "date": data[0]["date"]}

for k, v in results.items():
    print(f"{k:<35} {v['val']:>6.2f}%   ({v['date']})")

The FXMacroData FX Dashboard also surfaces the inflation stack alongside policy rates, allowing visual inspection of where each currency sits in its disinflation/reflation cycle before drilling into the API data.

Key Takeaways for FX Traders

  • Match the indicator to the central bank: The RBA responds to Trimmed Mean; the Fed to core PCE; the Bank of Canada to the Trim/Median average. Monitoring the wrong measure leads to misreading policy bias.
  • Use MoM data to cut through base effects: In turning-point environments, the annualised three-month MoM trend gives you a 2–3 month lead on where YoY is heading.
  • Watch PPI as a CPI pipeline signal: A PPI that has peaked but a CPI that has not yet rolled over is a classic signal that disinflation is coming — a reason to position for rate cuts ahead of consensus.
  • Use breakevens to assess policy credibility: If breakeven inflation rates are rising while a central bank is cutting, the market is signalling it does not believe the bank can sustain the cut cycle — a currency headwind.
  • Real yields drive cross-currency capital flows: TIPS yields and real gilt yields are the true cost of capital in each economy. The currency with the highest and rising real yield typically attracts the most durable inflows.