Aller au contenu
GET /v1/meta

Spec

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/conduit-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "notes": "THHN/THWN conductor and EMT areas (NEC Chapter 9); box-fill volumes (NEC 314.16(B)). Conductors as 'size:count' pairs (e.g. 12:3,10:2). Imperial: in² and in³. Verify against the current code; this is an estimating aid.",
        "service": "conduit-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/box-fill": "Required junction-box volume (NEC 314.16) from conductors, devices, clamps and grounds.",
            "GET /v1/conduit-fill": "Conduit fill % and pass/fail (NEC Chapter 9) for a set of conductors in EMT."
        },
        "description": "NEC conduit fill and box fill for electricians: conductor area vs conduit capacity, and junction-box volume requirements."
    },
    "meta": {
        "timestamp": "2026-06-05T21:48:46.011Z",
        "request_id": "d06f22fe-6213-428e-bf64-8d75f57f5f45"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}