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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "notes": "AWG number (40 thin … 0 thick; use −1/−2/−3 for 1/0, 2/0, 3/0). Diameter in mm, length in m. Fusing current is the wire's melt point (Preece), not a safe operating ampacity.",
        "service": "wiregauge-api",
        "formulae": {
            "area": "A = π/4·d²",
            "diameter": "d = 0.127·92^((36−n)/39) mm",
            "awg_from_d": "n = 36 − 39·log₉₂(d/0.127)",
            "resistance": "R = ρ·L/A"
        },
        "endpoints": {
            "GET /v1/awg": "Diameter, area, resistance per km and fusing current for an AWG gauge.",
            "GET /v1/meta": "This document.",
            "GET /v1/resistance": "Resistance of a wire run from AWG, length and material.",
            "GET /v1/fromdiameter": "Nearest AWG from a diameter (mm) or cross-section area (mm²)."
        },
        "description": "AWG wire-gauge calculator: gauge properties, AWG from a diameter/area, and wire resistance for a run."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:13.338Z",
        "request_id": "ce102b37-6564-4574-9da5-4b0889164c3d"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}