X

X402stock · PCE

by X402stock

GETBase

$0.02

per call · USD Coin on Base

US PCE (Personal Consumption Expenditures) price inflation — the Fed's preferred inflation gauge — with the latest headline and core (ex food and energy) index levels, each with year-over-year percent change, plus recent monthly history. No ticker needed. Complements the CPI endpoint with the measure the Fed actually targets. Sourced from the St. Louis Fed (FRED). From x402stock

Endpoint

GET https://x402stock.xyz/api/v1/pce

1

Calls / 30d

1

Unique payers / 30d

Aug 17

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402stock.xyz/api/v1/pce", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/pce" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of": "2026-04-01T00:00:00.000Z",
  "core": {
    "latest_index": 128.9,
    "latest_month": "2026-04-01",
    "series_id": "PCEPILFE",
    "yoy_percent": 2.6
  },
  "headline": {
    "latest_index": 127.4,
    "latest_month": "2026-04-01",
    "series_id": "PCEPI",
    "yoy_percent": 2.3
  },
  "history": [
    {
      "date": "2026-04-01",
      "value": 127.4
    }
  ],
  "series": "pce_price_index",
  "source": "fred",
  "unit": "index_2017=100"
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from X402stock & similar services