Skip to content

Erste Schritte

AstroAPI stellt eine umfassende Sammlung von Endpunkten für Astrologieberechnungen, Horoskop-Erstellung und Interpretationen bereit.

Basis-URL

https://api.astroapi.cloud

Authentifizierung

API-Schlüssel-Authentifizierung

Fügen Sie Ihren API-Schlüssel im X-Api-Key-Header ein:

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

Schnellbeispiel

Berechnen Sie ein Geburtshoroskop:

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",
    "location": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    }
  }'

Antwortformat

Alle Antworten folgen der JSON:API-Spezifikation mit dem Content-Type application/vnd.api+json.

Nächste Schritte

AstroAPI Documentation