data

Consumer price inflation, US (BLS) or EU (Eurostat HICP) — $0.007

Latest headline inflation: region "us" returns CPI-U index with year-on-year and month-on-month change (BLS); "eu" returns euro-area HICP annual rate (Eurostat); a two-letter EU country code returns that country's HICP annual rate. Source: BLS / Eurostat (public domain (BLS); free reuse with attribution (Eurostat)). Cadence: monthly; observed_at in the response is the upstream timestamp.

get/v1/data/macro/inflation/{region}

Request

  • Base URL: https://x402.asterpay.io
  • URL: https://x402.asterpay.io/v1/data/macro/inflation/{region}
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • HTTP payment

Path parameters

regionstring required
Example:us

us, eu, or EU country code

Response

Consumer price inflation, US (BLS) or EU (Eurostat HICP)

successboolean required
dataobject required

Door-specific payload; see the door description and GET /v1/data for an example URL

observed_atstring nullable required

Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time.

fetched_atstring required

When AsterPay last fetched from the upstream

cadence'live' | '5m' | '15m' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' required
next_expectedstring nullable

Earliest time a newer upstream value is expected

cache_expires_atstring
staleboolean required

true when the upstream failed and a cached copy under 24h old was served

timestampstring required

Changes

No recorded changes to this operation across all 1 revision of this API.