Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/awg-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}