Api Endpoint

Official Macro & FX Data

Use when an agent needs the official inflation rate (year-on-year consumer prices) for a country: Eurostat HICP for the euro area, EU and 36 European countries (incl. CH, NO, TR) and US CPI-U from the Bureau of Labor Statistics. Latest month plus up to 36 months of history, flash estimates flagged. Source named in every answer. Bad input: HTTP 400 before payment; outage is not charged.

Open interactive test console

Offering

Provider
x402-apis.pages.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-apis.pages.dev/v1/inflation
MIME type
application/json
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
inflation, cpi, hicp, eurostat, BLS, economy, europe, usa

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x896baBcda513322AF2218fe7346353846835f978"
  }
]

Observed health

Status
Healthy
Latest latency
252 ms
Average latency
638 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "description": "2-letter code: EA, EU, AT, BE, BG, CY, CZ, DE, DK, EE, EL, ES, FI, FR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, IS, NO, CH, TR, AL, ME, MK, RS, XK, US. EA = euro area, EU = European Union."
        },
        "months": {
          "type": "string",
          "description": "Number of months of history, 1-36. Default 12."
        }
      },
      "required": [
        "country"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "country": {
              "description": "2-letter code: EA, EU, AT, BE, BG, CY, CZ, DE, DK, EE, EL, ES, FI, FR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, IS, NO, CH, TR, AL, ME, MK, RS, XK, US. EA = euro area, EU = European Union.",
              "type": "string"
            },
            "months": {
              "description": "Number of months of history, 1-36. Default 12.",
              "type": "string"
            }
          },
          "required": [
            "country"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "country": {
              "type": "string"
            },
            "latest": {
              "type": "object"
            },
            "measure": {
              "type": "string"
            },
            "series": {
              "type": "array"
            }
          },
          "required": [
            "country",
            "latest",
            "series"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}