Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/awg-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "note": "Resistances at 20°C (copper 1.724e-8, aluminum 2.65e-8 Ω·m). Ampacity is typical guidance — follow NEC/IEC for real installs.",
        "service": "awg",
        "endpoints": {
            "/v1/awg": "Diameter, area (mm²/kcmil/cmil), resistance and typical ampacity for an AWG number.",
            "/v1/convert": "Nearest AWG for a cross-section area, diameter or kcmil.",
            "/v1/voltage-drop": "Circuit voltage drop and power loss for a run (AWG/area, length, current, material)."
        },
        "description": "American Wire Gauge maths: diameter, cross-section area, resistance per length, typical ampacity, and circuit voltage drop."
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:21.195Z",
        "request_id": "13c48822-a30e-4fbe-a4d5-455f1a225996"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}