Aller au contenu
GET /v1/cycles

Biorhythm cycles

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/biorhythm-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/biorhythm-api/v1/cycles" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/biorhythm-api/v1/cycles", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/biorhythm-api/v1/cycles");
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/biorhythm-api/v1/cycles",
    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": "Biorhythm (for entertainment): value = sin(2π·days/period) with physical 23-day, emotional 28-day and intellectual 33-day cycles. A 'critical' day is a zero crossing where the cycle changes sign.",
        "inputs": {
            "date": "2000-02-01",
            "birthdate": "2000-01-01"
        },
        "physical": {
            "phase": "falling",
            "percent": 81.7
        },
        "emotional": {
            "phase": "rising",
            "percent": 62.35
        },
        "days_alive": 31,
        "intellectual": {
            "phase": "rising",
            "percent": -37.17
        },
        "average_percent": 35.63
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:32.797Z",
        "request_id": "afa3aa7a-f0b8-4ee0-a0eb-d1597a05ad21"
    },
    "status": "ok",
    "message": "Biorhythm cycles",
    "success": true
}