Zum Inhalt springen
GET /v1/compatibility

Compatibility

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "note": "Compatibility (defined heuristic, for fun): for each cycle, (1 + cos(2π·Δdays/period))/2 — 100 % when two people's cycles are perfectly in phase, 0 % when exactly opposite.",
        "inputs": {
            "birthdate1": "2000-01-01",
            "birthdate2": "1998-06-15"
        },
        "days_apart": 565,
        "overall_compatibility": 54.01,
        "physical_compatibility": 4.14,
        "emotional_compatibility": 71.69,
        "intellectual_compatibility": 86.19
    },
    "meta": {
        "timestamp": "2026-06-05T19:50:32.694Z",
        "request_id": "35a81e00-7c02-4f42-9152-d252079cf456"
    },
    "status": "ok",
    "message": "Compatibility",
    "success": true
}