Naar de inhoud
GET /v1/western

Western sun sign from a date

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/zodiac-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "sign": "Cancer",
        "input": {
            "day": 15,
            "month": 7
        },
        "symbol": "♋",
        "traits": [
            "nurturing",
            "loyal",
            "emotional",
            "protective"
        ],
        "element": "Water",
        "quality": "Cardinal",
        "polarity": "Negative",
        "date_range": "21 Jun – 22 Jul",
        "ruling_planet": "Moon",
        "compatible_with": [
            "Capricorn",
            "Pisces",
            "Taurus",
            "Virgo",
            "Scorpio"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:25.561Z",
        "request_id": "f93bdfb8-9384-4a82-bcc1-869b867d32a7"
    },
    "status": "ok",
    "message": "Western sign retrieved",
    "success": true
}