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

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

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest 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
}