# Moldova Inflation & CPI API
> Official consumer-price inflation for the Republic of Moldova — sourced live from the National Bureau of Statistics of Moldova via its public PxWeb statbank (tables PRE012600, PRE012200 and PRE012800). The cpi endpoint returns the latest reported month with headline year-on-year inflation and the month-on-month price change. The series endpoint returns the monthly history of year-on-year and month-on-month inflation, parameterised by the number of months. The groups endpoint breaks the latest month down across the major divisions — food goods, non-food goods and services — each with its year-on-year rate, showing where price pressure sits. The core endpoint returns Moldova's core-inflation measures, computed by excluding volatile components such as food, energy and regulated prices, each with year-on-year and month-on-month change — the gauges central banks watch for underlying trend. All figures are published directly by the statistics bureau, not modelled, and refreshed from source behind a short server-side cache with keep-warm. Ideal for macro and emerging-market dashboards, CIS and EU-candidate economics trackers, cost-of-living and monetary-policy tools, and fintech needing a clean structured inflation feed for a market the big aggregators rarely cover at monthly resolution. Live keyless upstream. 5 endpoints.

## Authentication
All requests require your oanor API key in the `x-oanor-key` header. Get one at https://www.oanor.com/developer/keys.

```bash
curl -H "x-oanor-key: oanor_live_…" "https://api.oanor.com/moldova-cpi-api/..."
```

## Pricing
- **Free** (Free) — 260 calls/Mo, 2 req/s
- **Starter** ($12/Mo) — 13,100 calls/Mo, 6 req/s
- **Pro** ($36/Mo) — 68,000 calls/Mo, 13 req/s
- **Mega** ($86/Mo) — 255,000 calls/Mo, 34 req/s

## Endpoints

### Inflation

#### `GET /v1/cpi` — Headline inflation (latest)

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/moldova-cpi-api/v1/cpi"
```

**Response:**
```json
{
    "data": {
        "period": "2026-05",
        "region": "Moldova",
        "source": "National Bureau of Statistics of Moldova (statbank.statistica.md, tables PRE012600/PRE012200)",
        "indicator": "Consumer Price Index — headline inflation (latest month)",
        "month_name": "May",
        "change_mom_pct": 0.36,
        "inflation_yoy_pct": 6.76
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:26.578Z",
        "request_id": "121d0ac4-0085-4649-bf26-db958725c0ef"
    },
    "status": "ok",
    "message": "Moldova CPI retrieved",
    "success": true
}
```

#### `GET /v1/cpi/core` — Core inflation measures

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/moldova-cpi-api/v1/cpi/core"
```

**Response:**
```json
{
    "data": {
        "count": 4,
        "period": "2026-05",
        "region": "Moldova",
        "source": "NBS Moldova PRE012800",
        "measures": [
            {
                "measure": "Total CPI excluding food and beverages, energy products, products and services with regulated prices",
                "change_mom_pct": 0.39,
                "inflation_yoy_pct": 4.97
            },
            {
                "measure": "Total CPI excludin food and beverages",
                "change_mom_pct": 0.33,
                "inflation_yoy_pct": 7.35
            },
            {
                "measure": "Total CPI excluding products and services with regulated prices",
                "change_mom_pct": 0.31,
                "inflation_yoy_pct": 6.85
            },
            {
                "measure": "Total CPI excluding fuels",
                "change_mom_pct": 0.44,
                "inflation_yoy_pct": 5.43
            }
        ],
        "indicator": "Core inflation indices (latest month)",
        "month_name": "May"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:26.670Z",
        "request_id": "19d52172-9c22-4a65-8be8-544e73021d91"
    },
    "status": "ok",
    "message": "Moldova core inflation retrieved",
    "success": true
}
```

#### `GET /v1/cpi/groups` — Inflation by major group

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/moldova-cpi-api/v1/cpi/groups"
```

**Response:**
```json
{
    "data": {
        "count": 4,
        "groups": [
            {
                "code": "0",
                "group": "TOTAL",
                "inflation_yoy_pct": 6.76
            },
            {
                "code": "69",
                "group": "SERVICES",
                "inflation_yoy_pct": 7.51
            },
            {
                "code": "45",
                "group": "NON - FOOD GOODS",
                "inflation_yoy_pct": 7.21
            },
            {
                "code": "1",
                "group": "FOOD GOODS",
                "inflation_yoy_pct": 5.67
            }
        ],
        "period": "2026-05",
        "region": "Moldova",
        "source": "NBS Moldova PRE012600",
        "indicator": "CPI inflation by major group (latest month, YoY)",
        "month_name": "May"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:26.773Z",
        "request_id": "597a7704-ba85-4d69-b17c-839aaf2c68b1"
    },
    "status": "ok",
    "message": "Moldova CPI by group retrieved",
    "success": true
}
```

#### `GET /v1/cpi/series` — Inflation monthly series

**Parameters:**
- `months` (query, optional, string) — Number of most recent months to return Example: `36`

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/moldova-cpi-api/v1/cpi/series?months=36"
```

**Response:**
```json
{
    "data": {
        "count": 36,
        "region": "Moldova",
        "series": [
            {
                "period": "2023-06",
                "month_name": "June",
                "change_mom_pct": -0.53,
                "inflation_yoy_pct": 13.15
            },
            {
                "period": "2023-07",
                "month_name": "July",
                "change_mom_pct": -0.76,
                "inflation_yoy_pct": 10.76
            },
            {
                "period": "2023-08",
                "month_name": "August",
                "change_mom_pct": -0.08,
                "inflation_yoy_pct": 9.69
            },
            {
                "period": "2023-09",
                "month_name": "September",
                "change_mom_pct": 0.46,
                "inflation_yoy_pct": 8.63
            },
            {
                "period": "2023-10",
                "month_name": "October",
                "change_mom_pct": 0.46,
                "inflation_yoy_pct": 6.34
            },
            {
                "period": "2023-11",
                "month_name": "November",
                "change_mom_pct": 0.18,
                "inflation_yoy_pct": 5.45
            },
            {
                "period": "2023-12",
                "month_name": "December",
                "change_mom_pct": -0.44,
                "inflation_yoy_pct": 4.2
            },
            {
                "period": "2024-01",
                "month_name": "January
…(truncated, see openapi.json for full schema)
```

### Meta

#### `GET /v1/meta` — Spec

**Example:**
```bash
curl -H "x-oanor-key: $KEY" \
  "https://api.oanor.com/moldova-cpi-api/v1/meta"
```

**Response:**
```json
{
    "data": {
        "api": "Moldova Inflation / CPI API",
        "region": "Republic of Moldova",
        "source": "National Bureau of Statistics of Moldova — PxWeb statbank (statbank.statistica.md), tables PRE012600 (YoY), PRE012200 (MoM), PRE012800 (core inflation)",
        "endpoints": [
            "/v1/cpi",
            "/v1/cpi/series",
            "/v1/cpi/groups",
            "/v1/cpi/core",
            "/v1/meta"
        ],
        "indicator": "Consumer price inflation — headline year-on-year and month-on-month, by major group, plus core-inflation measures",
        "documentation": "https://moldova-cpi-api.oanor.dev"
    },
    "meta": {
        "timestamp": "2026-06-15T20:40:26.939Z",
        "request_id": "abba8600-c2d4-45ae-bd9a-cc633e93110e"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}
```


---
Marketplace page: https://www.oanor.com/api/moldova-cpi-api
OpenAPI spec: https://www.oanor.com/api/moldova-cpi-api/openapi.json
