Transits
Calculate planetary transits and their aspects to a natal chart over a specified time period.
Calculate Transits
Calculate transits for a date range:
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
| Parameter | Type | Required | Description |
|---|---|---|---|
birthDate | string | Yes | Birth date/time in YYYY-MM-DDTHH:mm format |
birthLocation | object | Yes | Birth location with latitude, longitude, and timezone |
transitDateStart | string | Yes | Transit period start in YYYY-MM-DDTHH:mm format |
transitDateEnd | string | Yes | Transit period end in YYYY-MM-DDTHH:mm format |
transitLocation | object | Yes | Transit location with latitude, longitude, and timezone |
houseSystem | string | No | House system (default: "placidus") |
points | array | No | Celestial points to calculate |
orbs | object | No | Custom orb values per aspect type |
language | string | No | Language code for text content (default: "en") |
includeText | boolean | No | Include interpretation text (default: false) |
includeReadableEntities | boolean | No | Include human-readable entity titles (default: false) |
Location Object
json
{
"latitude": 51.5074,
"longitude": -0.1278,
"timezone": "Europe/London"
}Response
The response includes transit crossings (when planets enter/exit signs or houses), transit house positions, aspects between transit and natal planets, and chart URLs.
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": [...]
}
}Custom Orbs
Specify custom orb values for different aspect types:
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
}
}'With Interpretation Text
Include interpretation text with your transit calculations:
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"
}'