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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

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