Zum Inhalt springen
GET /v1/meta

Spec

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/compressor-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/compressor-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

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

{
    "data": {
        "notes": "US units (gallons, ft³, CFM, psi). Receiver ft³ = CFM × min × 14.7 ÷ ΔP; pump-up = V × ΔP ÷ (14.7 × CFM); SCFM = ACFM × (P/14.696) × (528/Rankine). 1 ft³ = 7.48 gal. Estimates — duty cycle and pump curve vary.",
        "service": "compressor-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/scfm": "Convert actual CFM at the inlet to standard CFM.",
            "GET /v1/pumpup": "Time for a compressor to raise a receiver from one pressure to another.",
            "GET /v1/receiver-size": "Receiver volume to supply a demand for a time over a pressure window."
        },
        "description": "Compressed-air maths: receiver size for a demand burst, pump-up time, and the ACFM→SCFM correction for inlet conditions."
    },
    "meta": {
        "timestamp": "2026-06-06T23:54:00.955Z",
        "request_id": "e154943e-91fb-43dd-9a92-348e7c966002"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}