Skip to content

Transits

Bereken planetaire transits en hun aspecten naar een geboortehoroscoop over een opgegeven tijdsperiode.

Transits berekenen

Bereken transits voor een datumbereik:

bash
curl -X POST "https://api.astroapi.cloud/api/calc/transit" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "1990-06-15T14:30",
    "birthLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    },
    "transitDateStart": "2024-01-01T00:00",
    "transitDateEnd": "2024-01-31T23:59",
    "transitLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    }
  }'

Parameters

ParameterTypeVerplichtBeschrijving
birthDatestringJaGeboortedatum/-tijd in YYYY-MM-DDTHH:mm formaat
birthLocationobjectJaGeboortelocatie met latitude, longitude en timezone
transitDateStartstringJaStart transitperiode in YYYY-MM-DDTHH:mm formaat
transitDateEndstringJaEinde transitperiode in YYYY-MM-DDTHH:mm formaat
transitLocationobjectJaTransitlocatie met latitude, longitude en timezone
houseSystemstringNeeHuizensysteem (standaard: "placidus")
pointsarrayNeeHemellichamen om te berekenen
orbsobjectNeeAangepaste orbwaarden per aspecttype
languagestringNeeTaalcode voor tekstinhoud (standaard: "en")
includeTextbooleanNeeInterpretatietekst opnemen (standaard: false)
includeReadableEntitiesbooleanNeeLeesbare entiteitstitels opnemen (standaard: false)

Locatie-object

json
{
  "latitude": 51.5074,
  "longitude": -0.1278,
  "timezone": "Europe/London"
}

Response

De response bevat transitkruisingen (wanneer planeten tekens of huizen binnengaan/verlaten), transithuisposities, aspecten tussen transit- en natale planeten en horoscoop-URL's.

json
{
  "data": {
    "crossings": [...],
    "transitHouses": [...],
    "aspects": [
      {
        "point1": "saturn",
        "point2": "sun",
        "aspect": "conjunction",
        "orb": 1.2,
        "applying": true
      }
    ],
    "charts": {
      "transit": {
        "title": "Transit Chart (Bi-wheel)",
        "url": "..."
      },
      "natal": {
        "title": "Natal Chart",
        "url": "..."
      }
    },
    "natalPoints": [...],
    "natalHouses": [...],
    "transitPoints": [...]
  }
}

Aangepaste orbs

Specificeer aangepaste orbwaarden voor verschillende aspecttypes:

bash
curl -X POST "https://api.astroapi.cloud/api/calc/transit" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "1990-06-15T14:30",
    "birthLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    },
    "transitDateStart": "2024-01-01T00:00",
    "transitDateEnd": "2024-01-31T23:59",
    "transitLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    },
    "orbs": {
      "conjunction": 3,
      "opposition": 3,
      "trine": 2,
      "square": 2
    }
  }'

Met interpretatietekst

Voeg interpretatietekst toe aan uw transitberekeningen:

bash
curl -X POST "https://api.astroapi.cloud/api/calc/transit" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "1990-06-15T14:30",
    "birthLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    },
    "transitDateStart": "2024-01-15T00:00",
    "transitDateEnd": "2024-01-15T23:59",
    "transitLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    },
    "includeText": true,
    "language": "en"
  }'

iCal-export

Exporteer transitgebeurtenissen als een iCal (.ics) bestand dat kan worden geimporteerd in agendatoepassingen zoals Google Calendar, Apple Calendar of Outlook.

POST /api/calc/transit/ical

bash
curl -X POST "https://api.astroapi.cloud/api/calc/transit/ical" \
  -H "X-Api-Key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "birthDate": "1990-06-15T14:30",
    "birthLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    },
    "transitDateStart": "2024-01-01T00:00",
    "transitDateEnd": "2024-03-31T23:59",
    "transitLocation": {
      "latitude": 51.5074,
      "longitude": -0.1278,
      "timezone": "Europe/London"
    }
  }' --output transits.ics

De response is een text/calendar bestand met Content-Disposition: attachment; filename="transits.ics".

Parameters

De iCal-export accepteert dezelfde parameters als het standaard transit-endpoint, plus:

ParameterTypeVerplichtBeschrijving
aspectsarrayNeeFilteren op aspecttypes (bijv. ["conjunction", "trine"])

TIP

Importeer het gedownloade .ics-bestand in uw agenda-app om transitgebeurtenissen als agenda-items te zien met beschrijvingen van elk aspect.

AstroAPI Documentation