Aller au contenu
GET /v1/meta

Usage notes

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/math-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "note": "A math engine. /v1/evaluate = evaluate any expression — arithmetic, functions (sqrt, sin, log, gcd, factorial, …), constants (pi, e), complex numbers, unit conversions (e.g. 12.7 cm to inch), matrices and number theory; optional precision=1..64. /v1/derivative = the symbolic derivative of an expression with respect to a variable (e.g. expr=x^2+3x, variable=x → 2*x+3). /v1/simplify = simplify algebra (e.g. 2x+3x → 5*x). Expressions are math-only (no quotes).",
        "source": "mathjs (api.mathjs.org)",
        "endpoints": [
            "/v1/evaluate",
            "/v1/derivative",
            "/v1/simplify",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:30.270Z",
        "request_id": "2963b340-8a03-42c8-adf9-fe171e4ea231"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}