Zum Inhalt springen
GET /v1/properties

Properties

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/complexnumber-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "|z| = √(a²+b²), arg = atan2(b,a). Conjugate flips the imaginary sign; reciprocal = conjugate/|z|².",
        "real": 3,
        "inputs": {
            "z": "3 + 4i"
        },
        "modulus": 5,
        "negation": "-3 - 4i",
        "conjugate": "3 - 4i",
        "imaginary": 4,
        "polar_form": "5 ∠ 53.130102°",
        "reciprocal": "0.12 - 0.16i",
        "rectangular": "3 + 4i",
        "argument_deg": 53.130102354,
        "argument_rad": 0.927295218
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:04.519Z",
        "request_id": "10f2d9b8-2c67-4929-9ea1-e4752c597244"
    },
    "status": "ok",
    "message": "Properties",
    "success": true
}