/v1/meta
Spec
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/complexnumber-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/complexnumber-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/complexnumber-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/complexnumber-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"notes": "Numbers entered as real/imaginary parts (a, b and c, d). Angles reported in radians and degrees. The imaginary part defaults to 0.",
"service": "complexnumber-api",
"formulae": {
"divide": "(a+bi)/(c+di) = ((ac+bd) + (bc−ad)i)/(c²+d²)",
"modulus": "|z| = √(a²+b²)",
"argument": "arg(z) = atan2(b, a)",
"multiply": "(a+bi)(c+di) = (ac−bd) + (ad+bc)i",
"de_moivre": "zⁿ = rⁿ(cos nθ + i sin nθ)"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/power": "zⁿ via De Moivre, plus the n-th roots when n is a positive integer.",
"GET /v1/arithmetic": "Add, subtract, multiply or divide two complex numbers.",
"GET /v1/properties": "Modulus, argument, conjugate, reciprocal and polar form of one number."
},
"description": "Complex-number calculator: arithmetic on two complex numbers, properties of one (modulus, argument, conjugate, reciprocal, polar form), and powers and roots via De Moivre's theorem."
},
"meta": {
"timestamp": "2026-06-04T18:38:04.622Z",
"request_id": "0ac6c90c-f8e8-4207-8bc3-fda5d6de401c"
},
"status": "ok",
"message": "Meta",
"success": true
}