Zum Inhalt springen
GET /v1/pumpup

Pump-up time

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/compressor-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/compressor-api/v1/pumpup" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/compressor-api/v1/pumpup", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/compressor-api/v1/pumpup");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/compressor-api/v1/pumpup",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Pump-up time = receiver volume × the pressure rise ÷ (14.7 × compressor free-air CFM). The compressor delivers less CFM as tank pressure climbs, so the real time runs a bit longer near the top. Frequent short cycles mean the tank is too small or the duty too high for the pump.",
        "inputs": {
            "compressor_cfm": 15,
            "end_pressure_psi": 175,
            "receiver_gallons": 60,
            "start_pressure_psi": 100
        },
        "pumpup_minutes": 2.73,
        "pumpup_seconds": 164
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:00.732Z",
        "request_id": "89ddc279-67c1-45ec-96df-ffb57b74f812"
    },
    "status": "ok",
    "message": "Pump-up time",
    "success": true
}