Secondary Progressions
POST
/progressions
curl -X POST https://api.astroway.info/v1/progressions \ -H "X-Api-Key: aw_live_..." \ -H "Content-Type: application/json" \ -d '{ "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "targetDate": "2024-06-15", "targetTime": "12:00:00", "targetTzOffset": 3 }'const res = await fetch('https://api.astroway.info/v1/progressions', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY, 'Content-Type': 'application/json', }, body: JSON.stringify({ "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "targetDate": "2024-06-15", "targetTime": "12:00:00", "targetTzOffset": 3 }),});const { ok, data, error } = await res.json();if (!ok) throw new Error(error.message);console.log(data);import os, requests
r = requests.post( 'https://api.astroway.info/v1/progressions', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'date': "1990-05-15", 'time': "14:30:00", 'timezoneOffset': 3, 'latitude': 50.45, 'longitude': 30.52, 'targetDate': "2024-06-15", 'targetTime': "12:00:00", 'targetTzOffset': 3 },)result = r.json()if not result['ok']: raise RuntimeError(result['error']['message'])print(result['data'])<?phpuse GuzzleHttp\Client;
$client = new Client(['base_uri' => 'https://api.astroway.info/v1/']);$r = $client->post('progressions', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'date' => '1990-05-15', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.45, 'longitude' => 30.52, 'targetDate' => '2024-06-15', 'targetTime' => '12:00:00', 'targetTzOffset' => 3, ],]);$result = json_decode($r->getBody(), true);if (!$result['ok']) throw new \RuntimeException($result['error']['message']);print_r($result['data']);Calculate secondary progressed chart (day-for-a-year) for a target date. Returns progressed planets, angles, and aspects to natal.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
Natal chart plus a target date for time-based calculations: progressions, directions, profections, returns.
object
date required
string
time required
string
timezoneOffset
Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC.
number
latitude required
number
longitude required
number
houseSystem
string
name
string
city
string
zodiacType
string
ayanamsaId
number
ayanamsa
Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
string
cosmogram
boolean
targetDate required
string
targetTime
string
targetTzOffset
number
converse
boolean
Example
{ "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "targetDate": "2024-06-15", "targetTime": "12:00:00", "targetTzOffset": 3}Responses
Section titled “ Responses ”Successful calculation
Media type application/json
object
ok
boolean
data
object
input
object
name
string
date
string
time
string
timezoneOffset
number
latitude
number
longitude
number
houseSystem
string
city
string
cosmogram
boolean
julianDay
number
siderealTime
number
planets
Array<object>
object
id
number
name
string
longitude
number
latitude
number
distance
number
speedLong
number
speedLat
number
speedDist
number
isRetrograde
boolean
declination
number
rightAscension
number
houses
object
system
string
cusps
Array<number>
ascendant
number
mc
number
armc
number
vertex
number
equatorialAsc
number
coAscWK
number
coAscMunkasey
number
polarAsc
number
aspects
Array<object>
object
planet1
string
planet2
string
planet1Id
number
planet2Id
number
type
object
name
string
i18nKey
string
angle
number
orb
number
symbol
string
isMajor
boolean
color
string
exactAngle
number
orb
number
isApplying
boolean
parallelAspects
Array<object>
object
planet1
string
planet2
string
planet1Id
number
planet2Id
number
type
string
exactDiff
number
orb
number
antiscia
Array<object>
object
planetId
number
planetName
string
antiscion
number
contraAntiscion
number
antisciaAspects
Array<object>
object
planet1
string
planet1Id
number
planet2
string
planet2Id
number
type
string
orb
number
Example
{ "ok": true, "data": { "input": { "name": "Progressions → 2024-06-15", "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "houseSystem": "P", "city": "", "cosmogram": false }, "julianDay": 2448061.0651237736, "siderealTime": 7.331812272154528, "planets": [ { "id": 0, "name": "Sun", "longitude": 87.05669019255905, "latitude": 0.00017308938829032328, "distance": 1.016045515679932, "speedLong": 0.9548843683268312, "speedLat": -0.000013053321100739394, "speedDist": 0.00008373139986352549, "isRetrograde": false, "declination": 23.409415388350144, "rightAscension": 86.79243008221984 } ], "houses": { "system": "P", "cusps": [ 215.914385825456 ], "ascendant": 215.914385825456, "mc": 138.0576010888303, "armc": 140.49718408231791, "vertex": 71.70592713584179, "equatorialAsc": 232.8970860791957, "coAscWK": 262.4786170527793, "coAscMunkasey": 220.22856096274322, "polarAsc": 82.47861705277931 }, "aspects": [ { "planet1": "Sun", "planet2": "Moon", "planet1Id": 0, "planet2Id": 1, "type": { "name": "Sextile", "i18nKey": "aspect_sextile", "angle": 60, "orb": 6.5, "symbol": "⚹", "isMajor": true, "color": "#3366cc" }, "exactAngle": 58.964298423791675, "orb": 1.035701576208325, "isApplying": true } ], "parallelAspects": [ { "planet1": "Sun", "planet2": "Jupiter", "planet1Id": 0, "planet2Id": 5, "type": "parallel", "exactDiff": 0.8049579008274357, "orb": 0.8049579008274357 } ], "antiscia": [ { "planetId": 0, "planetName": "Sun", "antiscion": 92.94330980744098, "contraAntiscion": 272.943309807441 } ], "antisciaAspects": [ { "planet1": "Venus", "planet1Id": 3, "planet2": "true Node", "planet2Id": 11, "type": "contra-antiscia", "orb": 0.43944968928730077 } ] }}Validation error
Media type application/json
Example
{ "ok": false, "error": { "code": "INVALID_INPUT", "message": "Validation failed: date: Date must be YYYY-MM-DD", "details": [ { "path": "date", "message": "Date must be YYYY-MM-DD" } ] }}Missing or invalid API key
Media type application/json
Example
{ "ok": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }} Корисно?
Дякуємо за фідбек.