REST-API-v1-Endpunkte

Method Endpoint Beschreibung
GET /api/v1/status Aktuelle Übersicht des Clearing- und Website-Status aller überwachten Rails.
GET /api/v1/payment/services Liste der Dienste mit optionalen Filtern ?region=CH|EU|CH/EU und ?status=.
GET /api/v1/payment/services/{id}/status Detailansicht eines Rails inkl. Quellenherkunft, Störungen, Wartung und letzter Prüfungen.
GET /api/v1/payment/incidents Offizielle Störungshistorie mit optionalen Filtern ?service_id= und ?status=.
GET /api/v1/payment/maintenance Offizielle geplante Wartungsfenster mit optionalem Filter ?service_id=.
GET /api/v1/payment/sources Vollständiges Quellenverzeichnis mit Parser-Versionen, Abrufintervallen und Lizenzen.
GET /api/v1/payment/export?format=csv Download der aktuellen Rail-Status-Snapshots als CSV, JSON (?format=json) oder NDJSON (?format=ndjson).
GET /api/v1/status
curl -sS "https://payment-monitor.zerolog.ch/api/v1/status"
GET /api/v1/payment/services/sic-instant/status
curl -sS "https://payment-monitor.zerolog.ch/api/v1/payment/services/sic-instant/status"

Model Context Protocol (Streamable HTTP)

MCP-kompatible Clients können sich direkt per JSON-RPC-2.0-POST-Anfragen mit dem schreibgeschützten Streamable-HTTP-Endpunkt verbinden.

MCP tools/list
curl -sS -X POST "https://payment-monitor.zerolog.ch/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
MCP tools/call
curl -sS -X POST "https://payment-monitor.zerolog.ch/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_payment_status","arguments":{"region":"CH"}}}'

Maschinenlesbare Feeds & Exporte

Standard-Antwortformat (Envelope)

ApiEnvelope<T>
{
  "data": { "...": "..." },
  "meta": {
    "schema_version": "1.0",
    "source_url": "https://payment-monitor.zerolog.ch/api/v1/status",
    "last_verified_at": "2026-12-02T12:00:00.000Z",
    "verification_status": "verified",
    "license": "CC0 1.0 for ZeroLog metadata; upstream notices owned by operators",
    "generated_at": "2026-12-02T12:02:15.000Z",
    "data_age_seconds": 135
  }
}

Rate-Limits & Nutzungshinweise

Öffentliche Endpunkte sind auf 180 Anfragen pro Minute und Client-IP begrenzt. Es ist kein API-Schlüssel erforderlich. Bitte beachten Sie Cache-Control-Header und verwenden Sie einen aussagekräftigen User-Agent.