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/pool-api

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Dosing depends on actual product strength and your test readings — follow the label and re-test before adding more.",
        "service": "pool",
        "chemicals": [
            "calhypo",
            "calciumhypochlorite",
            "dichlor",
            "trichlor",
            "liquidchlorine",
            "bleach",
            "sodiumhypochlorite"
        ],
        "endpoints": {
            "/v1/dose": "Grams/ounces of a chemical to raise a level by a target ppm, by product strength or preset.",
            "/v1/salt": "Salt (kg/lb) to reach a target salinity in a saltwater pool.",
            "/v1/volume": "Pool water volume (litres, US gallons, m³) for a rectangle, round or oval pool."
        },
        "description": "Swimming-pool maths: water volume by shape, chemical dosing to a target ppm, and salt for saltwater pools."
    },
    "meta": {
        "timestamp": "2026-06-03T17:41:58.604Z",
        "request_id": "b7811ea5-c935-4f4a-a8cb-4863b964675b"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}