Skip to content

Aan de slag

AstroAPI biedt een uitgebreide set endpoints voor astrologische berekeningen, horoscoopgeneratie en interpretaties.

Basis-URL

https://api.astroapi.cloud

Authenticatie

API Key-authenticatie

Voeg uw API key toe in de X-Api-Key header:

bash
curl -X GET "https://api.astroapi.cloud/api/calc/natal" \
  -H "X-Api-Key: your-api-key"

Snel voorbeeld

Bereken een geboortehoroscoop:

bash
curl -X POST "https://api.astroapi.cloud/api/calc/natal" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "datetime": "1990-06-15T14:30:00",
    "latitude": 51.5074,
    "longitude": -0.1278,
    "timezone": "Europe/London"
  }'

Responsformaat

Alle responses volgen de JSON:API-specificatie met het application/vnd.api+json content type.

Volgende stappen

AstroAPI Documentation