Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/peppolstatus-com:peppolstatus-com-hosts-api"
All apis
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.
Get an API 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 Hosts 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: Hosts
description: 'Monitored SMP/AP hosts: current state, uptime and latency.'
paths:
/v1/hosts:
get:
tags:
- Hosts
summary: List monitored hosts
operationId: list_hosts
description: Every monitored host with its current verdict, latest hourly all-locations latency and 24h uptime, worst-first, plus a network-wide rollup.
responses:
'200':
description: The monitored fleet.
content:
application/json:
schema:
$ref: '#/components/schemas/HostsResponse'
x-required-tier: network
security:
- bearerApiKey: []
- apiKeyHeader: []
x-requires-addon: api
/v1/hosts/{hostname}:
get:
tags:
- Hosts
summary: Get a host's current state
operationId: get_host
description: Current role, verdict, network attribution (IPs/PTR), TLS certificate and operating provider for a host. `?at=` returns point-in-time state. `profile` carries the crawled software identity of the host's registrable domain when one is publishable (curated, or extraction confidence 0.8+ — then unverified).
parameters:
- name: hostname
in: path
required: true
schema:
type: string
description: The host's fully-qualified hostname.
- name: at
in: query
required: false
description: Point-in-time ISO 8601 instant; omitted returns current state.
schema:
type: string
format: date-time
responses:
'200':
description: The host's state.
content:
application/json:
schema:
$ref: '#/components/schemas/HostView'
'400':
description: '`at` is not a valid ISO 8601 timestamp.'
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
'404':
description: No such host is known.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
x-required-tier: network
security:
- bearerApiKey: []
- apiKeyHeader: []
x-requires-addon: api
/v1/hosts/{hostname}/uptime:
get:
tags:
- Hosts
summary: Get a host's uptime aggregates
operationId: get_host_uptime
description: The aggregate ladder for a host at a chosen resolution, per-location plus the `__all__` rollup, optionally windowed by `[from, to)`, cursor-paginated.
parameters:
- name: hostname
in: path
required: true
schema:
type: string
description: The host's fully-qualified hostname.
- name: resolution
in: query
required: false
description: Aggregate tier. Defaults to hourly.
schema:
type: string
enum:
- hourly
- daily
- monthly
default: hourly
- name: from
in: query
required: false
description: Inclusive lower bound (ISO 8601). Must not be after `to`.
schema:
type: string
format: date-time
- name: to
in: query
required: false
description: Exclusive upper bound (ISO 8601).
schema:
type: string
format: date-time
- name: location
in: query
required: false
description: Restrict to one probe location, or `__all__` for the rollup.
schema:
type: string
- name: limit
in: query
required: false
description: Page size, clamped to [1, 200]. Defaults to 50.
schema:
type: integer
minimum: 1
maximum: 200
default: 50
- name: cursor
in: query
required: false
description: Opaque pagination cursor returned as `next_cursor` by the previous page.
schema:
type: string
responses:
'200':
description: A page of uptime buckets.
content:
application/json:
schema:
$ref: '#/components/schemas/UptimePage'
'400':
description: An invalid `resolution`, range, `limit` or `cursor`.
content:
application/problem+json:
schema:
$ref: '#/components/schemas/Problem'
x-required-tier: network
security:
- bearerApiKey: []
- apiKeyHeader: []
x-requires-addon: api
components:
schemas:
HostView:
type: object
description: A host's current (or point-in-time) state.
required:
- hostname
- role
- verdict
- network
- cert
properties:
hostname:
type: string
role:
type:
- string
- 'null'
enum:
- SMP
- AP
- null
verdict:
$ref: '#/components/schemas/HostState'
network:
oneOf:
- $ref: '#/components/schemas/HostNetwork'
- type: 'null'
cert:
$ref: '#/components/schemas/HostCert'
provider:
$ref: '#/components/schemas/HostProviderInfo'
profile:
oneOf:
- $ref: '#/components/schemas/HostProfileView'
- type: 'null'
seats:
type: array
description: The Seat(s) this host currently operates (from seat sightings). Each seat's `seat_id` is the participant.ap_seat_id value linking the host to the participants it serves.
items:
$ref: '#/components/schemas/HostSeat'
HostState:
type:
- string
- 'null'
enum:
- up
- degraded
- down
- unresolvable
- null
description: 'Rolled-up host state (issue #310): a per-location `Verdict` (`up`/`degraded`/`down`) plus the derived `unresolvable` — a hostname that has NEVER resolved in DNS. `unresolvable` is neutral/informational, NOT an outage. null when unknown.'
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
UptimePhasePercentiles:
type: object
required:
- dns
- tcp
- tls
- http
- total
properties:
dns:
$ref: '#/components/schemas/UptimePercentiles'
tcp:
$ref: '#/components/schemas/UptimePercentiles'
tls:
$ref: '#/components/schemas/UptimePercentiles'
http:
$ref: '#/components/schemas/UptimePercentiles'
total:
$ref: '#/components/schemas/UptimePercentiles'
HostProfileView:
type: object
description: 'Crawled software identity of the host''s registrable domain (eTLD+1), so every `smp.acme.com` / `ap.acme.com` shares one profile. Only rows that pass the surfacing rule appear: a curator confirmed the identity (`curated: true`), or extraction confidence reached 0.8 — then the row is AUTO-GENERATED and UNVERIFIED and must be labelled as such.'
required:
- domain
- status
- company_name
- product_name
- tagline
- category
- confidence
- curated
- screenshot_url
- crawled_at
properties:
domain:
type: string
description: The registrable domain the profile describes.
status:
type: string
enum:
- identified
- infrastructure
description: '`identified` — the domain''s own company/product. `infrastructure` — a multi-tenant platform the host RUNS ON (read it as "runs on X", never "is X").'
company_name:
type:
- string
- 'null'
product_name:
type:
- string
- 'null'
tagline:
type:
- string
- 'null'
category:
type:
- string
- 'null'
confidence:
type:
- number
- 'null'
description: Extraction confidence 0..1; null for a curated row with no stored score.
curated:
type: boolean
description: True when a curator confirmed the identity. False means auto-generated and unverified — annotate, never assert.
screenshot_url:
type:
- string
- 'null'
description: Same-origin path to the homepage screenshot (`/v1/hosts/asset/{domain}/screenshot.jpg`, free tier); null when none captured.
crawled_at:
type:
- string
- 'null'
format: date-time
HostNetwork:
type: object
required:
- ips
- ptr
properties:
ips:
type: array
items:
type: string
ptr:
type:
- string
- 'null'
HostSeat:
type: object
description: A Seat a host currently operates, with its embedded provider.
required:
- seat_id
- role
- provider
properties:
seat_id:
type: string
role:
$ref: '#/components/schemas/HostRole'
provider:
$ref: '#/components/schemas/SeatProvider'
HostsResponse:
type: object
required:
- items
- rollup
- generated_at
properties:
items:
type: array
items:
$ref: '#/components/schemas/HostSummary'
rollup:
$ref: '#/components/schemas/HostsRollup'
generated_at:
type: string
format: date-time
UptimePercentiles:
type: object
description: Latency percentiles for one phase, whole milliseconds.
required:
- p50
- p95
- p99
properties:
p50:
type: number
p95:
type: number
p99:
type: number
HostLatency:
type: object
description: Latest total-latency percentiles, whole ms.
required:
- p50
- p95
properties:
p50:
type: number
p95:
type: number
HostCert:
type:
- object
- 'null'
required:
- fingerprint
- subject
- issuer
- not_before
- not_after
properties:
fingerprint:
type: string
subject:
type: string
issuer:
type: string
not_before:
type: string
format: date-time
not_after:
type: string
format: date-time
days_to_expiry:
type: integer
description: 'Whole days from the response instant to `not_after`, floored; negative once the certificate has expired (issue #519). Derived server-side.'
expiry_status:
type: string
enum:
- ok
- expiring
- expired
description: 'Derived TLS-expiry state (issue #519): `expired` once `not_after` is past, `expiring` within 30 days of now, else `ok`. A tighter near-term window additionally raises a `host_tls_cert_expiring`/`host_tls_cert_expired` anomaly.'
SeatProvider:
type: object
description: Embedded provider for a seat, verified mapping or unverified CN fallback.
required:
- slug
- name
- country
- verified
properties:
slug:
type:
- string
- 'null'
name:
type:
- string
- 'null'
country:
type:
- string
- 'null'
verified:
type: boolean
key:
type:
- string
- 'null'
description: 'The curated provider''s OpenPeppol registry natural key, when the mapping carries one. It decides whether the seat''s operator and a host''s owner are the same party; it is not a /v1/aps route key and not the slug. Optional: absent on a cached response minted before the field shipped.'
HostRole:
type: string
enum:
- SMP
- AP
HostsRollup:
type: object
required:
- hosts
- avg_uptime_24h
- avg_latency_p50
properties:
hosts:
type: integer
avg_uptime_24h:
type:
- number
- 'null'
avg_latency_p50:
type:
- number
- 'null'
UptimePage:
type: object
description: A page of uptime aggregate buckets.
required:
- items
- next_cursor
properties:
items:
type: array
items:
$ref: '#/components/schemas/UptimeBucket'
next_cursor:
type:
- string
- 'null'
description: Opaque cursor for the next page, or null on the last page.
HostSummary:
type: object
required:
- hostname
- role
- verdict
- latency
- uptime_24h
- last_bucket
properties:
hostname:
type: string
role:
type:
- string
- 'null'
verdict:
$ref: '#/components/schemas/HostState'
latency:
oneOf:
- $ref: '#/components/schemas/HostLatency'
- type: 'null'
uptime_24h:
type:
- number
- 'null'
description: Mean uptime_pct over the last 24h, percent.
last_bucket:
type:
- string
- 'null'
format: date-time
cert:
$ref: '#/components/schemas/HostCert'
provider:
$ref: '#/components/schemas/HostProviderInfo'
network:
oneOf:
- $ref: '#/components/schemas/HostNetwork'
- type: 'null'
description: Reverse-DNS attribution — `ips` (last observed resolved IPs) and `ptr` (reverse-DNS name of the first resolved IP, null when none resolves); null when the host has no current network row. Same shape as GET /v1/hosts/{hostname}.
UptimeBucket:
type: object
required:
- resolution
- hostname
- role
- location
- bucket_start
- checks_total
- up
- degraded
- down
- uptime_pct
- phases
properties:
resolution:
type: string
enum:
- hourly
- daily
- monthly
hostname:
type: string
role:
$ref: '#/components/schemas/HostRole'
location:
type: string
bucket_start:
type: string
format: date-time
checks_total:
type: integer
up:
type: integer
degraded:
type: integer
down:
type: integer
uptime_pct:
type: number
phases:
$ref: '#/components/schemas/UptimePhasePercentiles'
HostProviderInfo:
type:
- object
- 'null'
required:
- key
- trade_name
- legal_name
- country
properties:
key:
type: string
trade_name:
type: string
legal_name:
type:
- string
- 'null'
country:
type:
- string
- 'null'
ap_key:
type:
- string
- 'null'
description: 'The provider''s access-point directory key for the console''s /providers/{key} link (the `key` field above is the natural key, which that route does not resolve); null when no seat of the provider is a member of any directory entry. Optional: an edge-cached /v1/hosts response minted before this field existed omits it.'
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.