---
title: "Network compliance trend"
method: GET
path: "/v1/stats/compliance/history"
tags: ["Compliance"]
---

# Network compliance trend

`GET /v1/stats/compliance/history`

## Request

- Base URL: `https://api.peppolstatus.com`
- URL: `https://api.peppolstatus.com/v1/stats/compliance/history`
- Auth: none required

The network compliance picture over time: one point per UTC day the rollup ran, carrying that day's participant denominator, affected participants, error rate and open findings by grade. The series starts the day the rollup first ran. Keyless-cacheable.

Pass `country` for one country's trend (issue #716) — the same series shape, restricted to that country and echoed back in `country`. The per-country series starts the day the country rollup first ran, which is later than the network one.

## Query parameters

- `country` string
- `from` string, date
- `to` string, date

## Response `200`

The compliance trend series.

- object
  - `from` string, date, required
  - `to` string, date, required
  - `country` string: The country the trend is scoped to; absent on the network trend (#716).
  - `series` object[], required
    - `day` string, date, required
    - `participants` integer, required
    - `affected_participants` integer, required
    - `error_rate` number, required
    - `open_findings` integer, required
    - `fatal` integer, required
    - `warning` integer, required
    - `notice` integer, required

## Other responses

- `400`: An invalid `from`, `to` or `country`, or a window over 366 days.

---

[API](https://skmtc.dev/peppolstatus/apis/peppolstatus-api.md) · [All operations](https://skmtc.dev/peppolstatus/apis/peppolstatus-api/llms.txt) · [OpenAPI document](https://skmtc.dev/peppolstatus/apis/peppolstatus-api/revisions/7e74fb32f23c?raw)
