Zum Inhalt springen
GET /v1/analyze

Analyze a matrix

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "rank": 2,
        "trace": 5,
        "square": true,
        "inverse": [
            [
                -2,
                1
            ],
            [
                1.5,
                -0.5
            ]
        ],
        "symmetric": false,
        "transpose": [
            [
                1,
                3
            ],
            [
                2,
                4
            ]
        ],
        "dimensions": {
            "cols": 2,
            "rows": 2
        },
        "invertible": true,
        "determinant": -2
    },
    "meta": {
        "timestamp": "2026-06-03T17:42:15.455Z",
        "request_id": "f23e9296-abe8-46c9-a78a-356bcf5aa975"
    },
    "status": "ok",
    "message": "Analyze matrix",
    "success": true
}