Skip to content
GET /v1/meta

Spec

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/ohmslaw-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "name": "Ohm's Law & Circuits API",
        "notes": "SI base units (volts, amps, ohms, watts, farads, henries, hertz, seconds). Nothing is stored.",
        "version": "v1",
        "endpoints": [
            {
                "path": "/v1/ohms-law",
                "params": {
                    "power": "W (give any two)",
                    "current": "A",
                    "voltage": "V",
                    "resistance": "Ω"
                },
                "returns": "voltage, current, resistance and power"
            },
            {
                "path": "/v1/combine",
                "params": {
                    "mode": "series|parallel",
                    "type": "resistor|capacitor|inductor",
                    "values": "list of component values"
                },
                "returns": "the combined total"
            },
            {
                "path": "/v1/voltage-divider",
                "params": {
                    "r1": "top resistor",
                    "r2": "bottom resistor",
                    "vin": "input voltage"
                },
                "returns": "Vout and the current"
            },
            {
                "path": "/v1/reactance",
                "params": {
                    "frequency": "Hz",
                    "inductance": "H",
                    "resistance": "Ω",
                    "capacitance": "F"
                },
                "returns": "Xc, XL, resonant frequency, RC/RL time constant (per the pair given)"
            },
            {
                "path": "/v1/meta",
                "params": [],
                "returns": "this document"
            }
        ],
        "description": "Electronics circuit maths as an API. The ohms-law endpoint takes any two of voltage, current, resistance and power and returns all four (V = IR, P = VI = I²R = V²/R). The combine endpoint computes the total of resistors, capacitors or inductors wired in series or parallel (resistors and inductors add in series and combine reciprocally in parallel; capacitors do the opposite). The voltage-divider endpoint computes the output of a two-resistor divider and the current through it. The reactance endpoint computes capacitive reactance (Xc = 1/2πfC), inductive reactance (XL = 2πfL), the LC resonant frequency, and the RC or RL time constant. Everything is computed locally with exact formulas, so it is instant and private. Ideal for electronics design and education, embedded and hardware work, hobby and bench projects, and physics teaching. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. This is circuit maths; for resistor colour codes use a resistor API and for unit conversion use a unit API."
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:12.841Z",
        "request_id": "ba1ff7c0-b3fd-4428-bed9-afd703422819"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}