/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/pcb-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pcb-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pcb-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/pcb-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": "Current in A, temperature rise in °C, widths/lengths in mm, copper weight in oz (1 oz ≈ 34.7 µm) or thickness_mm. εr ≈ 4.5 for FR4.",
"service": "pcb-api",
"formulae": {
"microstrip": "Hammerstad Z₀ from W/h and εr",
"resistance": "R = ρ·L/(W·t)",
"trace_width": "A = (I/(k·ΔT^0.44))^(1/0.725), width = A/thickness"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/microstrip": "Characteristic impedance of a microstrip line (Hammerstad).",
"GET /v1/trace-width": "Minimum trace width (IPC-2221) for a current and temperature rise.",
"GET /v1/trace-resistance": "Trace resistance, voltage drop and power loss from its geometry."
},
"description": "PCB design calculator: IPC-2221 minimum trace width for a current, trace resistance and voltage drop, and microstrip characteristic impedance."
},
"meta": {
"timestamp": "2026-06-05T03:09:01.574Z",
"request_id": "14650259-4ecf-44ff-a859-a651f4e58df2"
},
"status": "ok",
"message": "Meta",
"success": true
}