# 2s.io HICP EU Inflation Rate API

> 2s.io HICP EU Inflation Rate API is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-13).

Returns the latest Eurostat HICP annual inflation rate for EU, euro area, and/or individual member states

## Facts

- Endpoint: GET https://2s.io/api/inflation/hicp
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-hicp-eu-inflation-rate-api-fb74d696
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UOedmGmZTT9-UEwPHVaJH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-hicp-eu-inflation-rate-api-fb74d696
```

Example prompt: What's the latest HICP harmonized inflation rate for Germany right now — the official Eurostat annual rate of change?

## When to prefer this

Use this endpoint when you need official, cross-country-comparable EU inflation data sourced directly from Eurostat HICP methodology. Prefer this over national CPI endpoints when harmonized comparability across EU member states is required. Use the companion US inflation endpoint for American CPI data instead.

## Known failure modes

- Invalid or unrecognized Eurostat geo code returns an error or empty result
- Eurostat upstream data unavailable causes fetch failure
- Data may lag by one to two months behind current calendar month
- EA20 or EU27_2020 aggregate codes may not be supported if passed incorrectly
- Payment failure (insufficient USDC balance) results in HTTP 402 before data is returned

## How this service works

EU harmonized inflation — the latest HICP annual rate of change (the official, cross-country-comparable inflation rate) for the EU, euro area, and each member state. Pass country as a Eurostat geo code (DE, FR, EL for Greece, EA20 = euro area, EU27_2020 = EU) for one, or omit for all (sorted highest inflation first). All-items index (COICOP CP00). Source: Eurostat (free, no key). For US inflation use inflation.rates.

## Output

Returns the latest HICP (Harmonized Index of Consumer Prices) annual rate of change as reported by Eurostat. If a country code is provided, returns the single country's figure; if omitted, returns all EU member states plus euro area and EU aggregates sorted from highest to lowest inflation. Fields include geo code, country name, inflation rate, and reference period.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "country": "DE"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "country": {
       "type": "string",
       "description": "Eurostat geo code (DE, FR, EL, EA20, EU27_2020). Omit for all."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-hicp-eu-inflation-rate-api-fb74d696/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
