GETHealth-Check
Eine günstige Anfrage für Uptime-Monitore: Sie leistet keine Base64-Arbeit und liefert die Version der API.
GET
https://api.base64hub.com/v1/healthAnfrage
curl -s https://api.base64hub.com/v1/health
const res = await fetch("https://api.base64hub.com/v1/health");
console.log(await res.json()); // { status: 'ok', version: '1.0.0' }
import json
import urllib.request
with urllib.request.urlopen("https://api.base64hub.com/v1/health") as res:
print(json.load(res)) # {'status': 'ok', 'version': '1.0.0'}
b64 --version
# b64 1.0.0
Keine Parameter und kein Body. HEAD funktioniert ebenfalls und liefert nur die Header.
Antwort
200 OK · application/json
{
"status": "ok",
"version": "1.0.0"
}
| Feld | Typ | Beschreibung |
|---|---|---|
status | string | Immer ok, wenn die API antwortet. |
version | string | Die bereitgestellte Version der API. |
Das CLI hat keinen Health-Check; der nächstliegende lokale Befehl gibt die Version Ihres b64 aus.
Monitoring
Der Health-Check unterliegt wie jeder Pfad unter /v1/ dem Rate-Limit: 20 Anfragen pro 10 Sekunden und IP. Eine Prüfung pro Minute liegt weit darunter. Werten Sie ein 429 als „Sie prüfen zu oft“, nicht als Ausfall der API.
| Status | Code | Ursache |
|---|---|---|
| 405 | method_not_allowed | Eine andere Methode als GET, HEAD oder OPTIONS. |
| 429 | keiner | Rate-Limit erreicht. |
Aktualisiert 22.11.2026