Μετάβαση στο περιεχόμενο
GET /v1/cycles

Biorhythm cycles

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/biorhythm-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "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
}