Aller au contenu
GET /v1/meta

Spec

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/centripetal-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/centripetal-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/centripetal-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/centripetal-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/centripetal-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": {
        "notes": "Mass in kg, radius in m (mm for the centrifuge), velocity in m/s, angular velocity in rad/s, forces in N. g = 9.80665 m/s².",
        "service": "centripetal-api",
        "formulae": {
            "rcf": "RCF = ω²·r / g, ω = 2π·rpm/60",
            "angular": "ω = 2π·f = 2π/T = v/r",
            "centripetal": "a = v²/r = ω²·r ; F = m·a"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/angular": "Convert between angular velocity, rpm, frequency, period and linear velocity.",
            "GET /v1/centrifuge": "Relative centrifugal force (g) from rpm & rotor radius, or the rpm for a target RCF.",
            "GET /v1/centripetal-force": "Centripetal acceleration and force from mass, radius and velocity (or angular velocity)."
        },
        "description": "Uniform circular-motion calculator: centripetal force and acceleration, angular-kinematics conversions (rad/s, rpm, frequency, period, linear velocity) and centrifuge relative centrifugal force (RCF)."
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:38.486Z",
        "request_id": "bd434f62-5c88-4e27-b5b6-14626f3f9880"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}