Übersicht Authentifizierung
Endpoints
GET/status GET/servers GET/ping GET/history GET/uptime GET/minecraft GET/dns

Server Ping

Pingt konfigurierte oder beliebige Server per TCP, ICMP oder HTTP(S).

GET /v1/ping ping
Authentifizierung

Berechtigung ping für konfigurierte Server.
Berechtigung ping.custom zusätzlich für ?host= (beliebige Hosts).

Parameter
ParameterTypPflichtBeschreibung
idinteger optional ID eines konfigurierten Servers
hoststring optional Beliebiger Host / IP (erfordert ping.custom)
portinteger optional Port (Standard: 80)
typestring optional tcp | icmp | http | https (Standard: tcp)

Ohne Parameter werden alle aktiven konfigurierten Server gepingt.

Beispiel-Requests
# Alle Server pingen curl -H "X-API-Key: apk_dein_key" \ https://api.ferrixx.de/v1/ping # Server per ID pingen curl -H "X-API-Key: apk_dein_key" \ "https://api.ferrixx.de/v1/ping?id=1" # Custom Host pingen (ping.custom) curl -H "X-API-Key: apk_dein_key" \ "https://api.ferrixx.de/v1/ping?host=example.com&port=443&type=https"
Beispiel-Antwort (alle Server)
{ "success": true, "message": "OK", "data": [ { "status": "online", "latency_ms": 3, "type": "tcp", "host": "192.168.1.10", "port": 80, "server": { "id": 1, "name": "Webserver 01", "host": "192.168.1.10", "port": 80, "type": "tcp" } }, { "status": "offline", "latency_ms": null, "type": "tcp", "host": "192.168.1.20", "port": 22, "message": "Connection refused", "server": { "id": 2, "name": "Backup Server", "host": "192.168.1.20", "port": 22, "type": "tcp" } } ], "timestamp": "2026-06-01T12:00:00+00:00" }
Ping-Typen
TypMethodeBeschreibung
tcpfsockopen()TCP-Verbindung aufbauen (Standard, schnell)
icmpping -c 1ICMP-Ping (klassisches Ping)
httpHTTP HEADHTTP-Erreichbarkeit prüfen
httpsHTTPS HEADHTTPS-Erreichbarkeit prüfen