Erste Schritte
AstroAPI stellt eine umfassende Sammlung von Endpunkten für Astrologieberechnungen, Horoskop-Erstellung und Interpretationen bereit.
Basis-URL
https://api.astroapi.cloudAuthentifizierung
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:00",
"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
- Authentifizierung – Erfahren Sie mehr über API-Schlüssel und Berechtigungen
- Ratenbegrenzungen – Verstehen Sie die Nutzungsgrenzen
- API-Referenz – Entdecken Sie alle verfügbaren Endpunkte