/v1/astrology
Moon zodiac sign (beta)
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/moon-api/v1/astrology" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/moon-api/v1/astrology", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/moon-api/v1/astrology");
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/moon-api/v1/astrology",
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": {
"date": "2026-01-03T00:00:00.000Z",
"note": "Tropical zodiac, geocentric mean longitude (beta, ~1° precision)",
"emoji": "🌕",
"phase": "Full Moon",
"moon_sign": "Cancer",
"degree_in_sign": 6.75,
"ecliptic_longitude": 96.75,
"illumination_percent": 99.2
},
"meta": {
"timestamp": "2026-05-30T18:17:11.288Z",
"request_id": "78c9b461-92c2-47bf-8f52-18057fed7df4"
},
"status": "ok",
"message": "OK",
"success": true
}