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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "Inches; ring gauge in 64ths (50 = Toro). Capacity = interior × packing ÷ cigar volume; ~1 pack per 25 cigars; season ~2 weeks at 84 % RH. Estimates — measure RH with a calibrated hygrometer. For room humidity/dew point use a psychrometric API.",
        "service": "humidor-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/media": "Humidification packs to maintain a capacity at RH, and replacement interval.",
            "GET /v1/capacity": "Cigars an interior holds from its dimensions and a cigar size.",
            "GET /v1/seasoning": "Seasoning packs and days for a new humidor."
        },
        "description": "Cigar-humidor maths: cigar capacity from interior volume, humidification packs to hold RH, and seasoning a new humidor."
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:45.171Z",
        "request_id": "512a8199-0bea-4754-ba9e-aad20e738072"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}