PeppolStatus Doctypes API
Free document-type landscape: per-family participant share, one family's concrete doctypes, and the per-family participant trend.
Free document-type landscape: per-family participant share, one family's concrete doctypes, and the per-family participant trend.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/peppolstatus-com:peppolstatus-com-doctypes-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PeppolStatus Doctypes API
version: 1.0.0
description: 'Public, read-only REST API for the PeppolStatus.com open-data monitoring of the Peppol e-invoicing network: host liveness, incidents, participants, providers, seats, change events, anomalies, SML/SMK zone status and network rollups.
All responses are JSON. Errors use RFC 9457 `application/problem+json`. List endpoints are cursor-paginated (`{ items, next_cursor }`). The API is rate limited to 60 requests / 60s per client identity; `RateLimit-*` headers are returned on every response.
Authentication & tiers: most endpoints require an API key, sent as `Authorization: Bearer ` or `X-API-Key: `. Access follows the subscription tier of the key''s owner — `free` is keyless and covers network health (`GET /v1/network`), participant statistics (`GET /v1/stats/participants`), the dashboard summary (`GET /v1/summary`), SML zone status (`GET /v1/sml`) and a single participant record lookup (`GET /v1/participants/{id}`) plus these docs; `network` adds operational infrastructure data (hosts, uptime, incidents, SMPs, seats, access points, change events, anomalies, certificates); `market` adds everything commercial (providers, participant records, adoption, churn). A request below an endpoint''s required tier returns `403 application/problem+json`; every operation is annotated with `x-required-tier`.
API & MCP access add-on: the Network and Market plans cover the console. Reaching a paid (non-free) endpoint with an API key, directly or through the MCP server, also needs the API & MCP access add-on (EUR 299 per month, billed monthly; see https://peppolstatus.com/pricing/). A key without it gets `403 application/problem+json` naming the add-on. Free endpoints need no add-on. Every paid operation is annotated with `x-requires-addon: api`.
Versioning: the API is versioned in the URL path (`/v1`). Backwards-incompatible changes only ship under a new version prefix; existing versions keep their contract. Any endpoint scheduled for removal will be announced in this documentation and will send `Deprecation` and `Sunset` headers before it goes away. The one exception is security: an endpoint may be removed without a deprecation window when keeping it would expose hosts to security risk.'
termsOfService: https://peppolstatus.com/terms/
contact:
name: PeppolStatus
url: https://peppolstatus.com
license:
name: PeppolStatus Data Licensing Terms
url: https://peppolstatus.com/data-licensing/
servers:
- url: https://api.peppolstatus.com
description: Production
security:
- bearerApiKey: []
- apiKeyHeader: []
tags:
- name: Doctypes
description: 'Free document-type landscape: per-family participant share, one family''s concrete doctypes, and the per-family participant trend.'
paths:
/v1/stats/doctypes:
get:
tags:
- Doctypes
summary: Document-type landscape
operationId: get_doctype_stats
description: 'The free document-type landscape (issue #647): per-family participant share (Invoice, Order, Credit Note, …), the wildcard-doctype bucket, and the participant denominator. Read from the pre-computed doctype rollup tables and edge-cached. Keyless-cacheable.'
responses:
'200':
description: The document-type landscape aggregates.
content:
application/json:
schema:
type: object
required:
- families
- wildcard
- total_participants
- generated_at
properties:
families:
type: array
description: Per-family cells, sorted by participants desc.
items:
type: object
required:
- family
- doctypes
- participants
- share
properties:
family:
type: string
doctypes:
type: integer
participants:
type: integer
share:
type: number
wildcard:
type: object
description: The wildcard-doctype bucket (participants + distinct doctype count).
required:
- participants
- count
properties:
participants:
type: integer
count:
type: integer
total_participants:
type: integer
generated_at:
type: string
format: date-time
x-required-tier: free
security:
- {}
/v1/stats/doctypes/history:
get:
tags:
- Doctypes
summary: Document-type landscape history
operationId: get_doctype_stats_history
description: 'The document-type landscape over time: per UTC day, the participant count for each family, from the doctype history rollup. Keyless-cacheable.'
parameters:
- name: from
in: query
required: false
description: Inclusive lower bound (YYYY-MM-DD UTC). Defaults to 90 days ago.
schema:
type: string
format: date
- name: to
in: query
required: false
description: Inclusive upper bound (YYYY-MM-DD UTC). Defaults to today.
schema:
type: string
format: date
responses:
'200':
description: The document-type landscape time series.
content:
application/json:
schema:
type: object
required:
- from
- to
- series
properties:
from:
type: string
format: date
to:
type: string
format: date
series:
type: array
items:
type: object
required:
- day
- families
properties:
day:
type: string
format: date
families:
type: array
items:
type: object
required:
- family
- participants
properties:
family:
type: string
participants:
type: integer
'400':
description: An invalid `from` or `to`, or a window over 366 days.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
x-required-tier: free
security:
- {}
/v1/stats/doctypes/{family}:
get:
tags:
- Doctypes
summary: Doctypes within a family
operationId: get_doctype_family
description: 'The concrete document types within one family (issue #647): each doctype''s local name, version, participant count, and share of the family. An unknown family returns an empty `doctypes` array. Keyless-cacheable.'
parameters:
- name: family
in: path
required: true
description: The doctype family name (e.g. `Invoice`, `Order`, `Credit Note`).
schema:
type: string
responses:
'200':
description: The concrete doctypes within the family.
content:
application/json:
schema:
type: object
required:
- family
- doctypes
- generated_at
properties:
family:
type: string
doctypes:
type: array
description: The family's doctypes, sorted by participants desc.
items:
type: object
required:
- doctype
- local_name
- version
- participants
- share
properties:
doctype:
type: string
local_name:
type: string
version:
type:
- string
- 'null'
participants:
type: integer
share:
type: number
generated_at:
type: string
format: date-time
x-required-tier: free
security:
- {}
/v1/stats/doctypes/{family}/countries:
get:
tags:
- Doctypes
summary: A family's receivers by country
operationId: get_doctype_family_countries
description: 'One document family''s receiving participants sliced by ISO-3166 alpha-2 country (issue #652), each with its share of the family total. The country is derived from the participant identifier''s ICD; unresolved identifiers bucket as `ZZ`. An unknown family returns an empty `countries` array. Keyless-cacheable.'
parameters:
- name: family
in: path
required: true
description: The doctype family name (e.g. `Invoice`, `Order`, `Credit Note`).
schema:
type: string
responses:
'200':
description: The family's participants by country.
content:
application/json:
schema:
type: object
required:
- family
- countries
- generated_at
properties:
family:
type: string
countries:
type: array
description: Per-country cells, sorted by participants desc.
items:
type: object
required:
- country
- participants
- share
properties:
country:
type: string
participants:
type: integer
share:
type: number
generated_at:
type: string
format: date-time
x-required-tier: free
security:
- {}
/v1/stats/doctypes/{family}/providers:
get:
tags:
- Doctypes
summary: A family's receivers by provider
operationId: get_doctype_family_providers
description: 'One document family''s receiving participants sliced by hosting provider (issue #652), attributed via the SMP-hosted footprint (the participant''s current SMP host mapped to a provider), each with its share of the family total. Participants whose SMP host maps to no known provider are omitted. An unknown family returns an empty `providers` array. Keyless-cacheable.'
parameters:
- name: family
in: path
required: true
description: The doctype family name (e.g. `Invoice`, `Order`, `Credit Note`).
schema:
type: string
responses:
'200':
description: The family's participants by provider.
content:
application/json:
schema:
type: object
required:
- family
- providers
- generated_at
properties:
family:
type: string
providers:
type: array
description: Per-provider cells, sorted by participants desc.
items:
type: object
required:
- provider_key
- provider_label
- participants
- share
properties:
provider_key:
type: string
provider_label:
type: string
participants:
type: integer
share:
type: number
generated_at:
type: string
format: date-time
x-required-tier: free
security:
- {}
components:
schemas:
Problem:
type: object
description: RFC 9457 problem detail (`application/problem+json`).
required:
- type
- title
- status
properties:
type:
type: string
default: about:blank
title:
type: string
status:
type: integer
detail:
type: string
instance:
type: string
securitySchemes:
bearerApiKey:
type: http
scheme: bearer
description: 'Console-issued API key (pps_…), sent as `Authorization: Bearer <key>`.'
apiKeyHeader:
type: apiKey
in: header
name: X-API-Key
description: Console-issued API key (pps_…), sent as the `X-API-Key` header.