Group Synastry
curl -X POST https://api.astroway.info/v1/group-synastry \ -H "X-Api-Key: aw_live_..." \ -H "Content-Type: application/json" \ -d '{ "inputs": [ { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "name": "Person A" }, { "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04, "name": "Person B" } ] }'const res = await fetch('https://api.astroway.info/v1/group-synastry', { method: 'POST', headers: { 'X-Api-Key': process.env.ASTROWAY_API_KEY, 'Content-Type': 'application/json', }, body: JSON.stringify({ "inputs": [ { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "name": "Person A" }, { "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04, "name": "Person B" } ] }),});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/group-synastry', headers={'X-Api-Key': os.environ['ASTROWAY_API_KEY'], 'Content-Type': 'application/json'}, json={ 'inputs': [ { 'date': "1990-05-15", 'time': "14:30:00", 'timezoneOffset': 3, 'latitude': 50.45, 'longitude': 30.52, 'name': "Person A" }, { 'date': "1985-11-03", 'time': "08:15:00", 'timezoneOffset': 2, 'latitude': 48.46, 'longitude': 35.04, 'name': "Person B" } ] },)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('group-synastry', [ 'headers' => ['X-Api-Key' => getenv('ASTROWAY_API_KEY')], 'json' => [ 'inputs' => [[ 'date' => '1990-05-15', 'time' => '14:30:00', 'timezoneOffset' => 3, 'latitude' => 50.45, 'longitude' => 30.52, 'name' => 'Person A', ], [ 'date' => '1985-11-03', 'time' => '08:15:00', 'timezoneOffset' => 2, 'latitude' => 48.46, 'longitude' => 35.04, 'name' => 'Person B', ]], ],]);$result = json_decode($r->getBody(), true);if (!$result['ok']) throw new \RuntimeException($result['error']['message']);print_r($result['data']);Calculate synastry aspects among 2–8 charts simultaneously, returning all pairwise cross-chart aspect matrices.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Group of 2-10 natal charts for collective calculations: group synastry, penta-chart, etc.
object
Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss), latitude and longitude in decimal degrees. The short forms lat, lon, lng and tz are rejected with 400 INVALID_FIELD; pass the full names. timezoneOffset is hours from UTC and defaults to 0, meaning UTC. city is a display label only: nothing here geocodes it, so it never stands in for coordinates.
object
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.
Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either.
Example
{ "inputs": [ { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "name": "Person A" }, { "date": "1985-11-03", "time": "08:15:00", "timezoneOffset": 2, "latitude": 48.46, "longitude": 35.04, "name": "Person B" } ]}Responses
Section titled “ Responses ”Successful calculation
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "ok": true, "data": { "charts": [ { "input": { "name": "Person A", "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52, "houseSystem": "P", "city": "", "cosmogram": false }, "julianDay": 2448026.9791666665, "siderealTime": 3.029043551629416, "planets": [ { "id": 0, "name": "Sun", "longitude": 54.37601980167181, "latitude": -0.000020054940759470553, "distance": 1.0108955908980104, "speedLong": 0.9642248003676466, "speedLat": 0.00003805311526169511, "speedDist": 0.00022039347866615117, "isRetrograde": false, "declination": 18.867035147029778, "rightAscension": 52.00919841916813 } ], "houses": { "system": "P", "cusps": [ 169.9679500481848 ], "ascendant": 169.9679500481848, "mc": 77.07426201523143, "armc": 75.95565327444125, "vertex": 336.6271586045666, "equatorialAsc": 164.74875654391414, "coAscWK": 149.27468505332592, "coAscMunkasey": 168.73706704232438, "polarAsc": 329.2746850533259 }, "aspects": [ { "planet1": "Sun", "planet2": "Moon", "planet1Id": 0, "planet2Id": 1, "type": { "name": "Trine", "i18nKey": "aspect_trine", "angle": 120, "orb": 12, "symbol": "△", "isMajor": true, "color": "#3366cc" }, "exactAngle": 117.47133202515602, "orb": 2.5286679748439838, "isApplying": false } ], "houseAspects": [ { "planetName": "Sun", "planetId": 0, "houseIndex": 0, "cuspLongitude": 169.9679500481848, "type": { "name": "Trine", "i18nKey": "aspect_trine", "angle": 120, "orb": 12, "symbol": "△", "isMajor": true, "color": "#3366cc" }, "exactAngle": 115.59193024651299, "orb": 4.408069753487013, "isApplying": false } ], "parallelAspects": [ { "planet1": "Moon", "planet2": "Saturn", "planet1Id": 1, "planet2Id": 6, "type": "parallel", "exactDiff": 0.9889902750346735, "orb": 0.9889902750346735 } ], "antiscia": [ { "planetId": 0, "planetName": "Sun", "antiscion": 125.62398019832818, "contraAntiscion": 305.6239801983282 } ], "antisciaAspects": [], "chartSect": "diurnal", "meta": { "engineVersion": "2.10.03", "calculatedAt": "2026-08-23T22:10:18.946Z" } } ], "pairs": [ { "i": 0, "j": 1, "crossAspects": [ { "planet1": "Sun", "planet1Id": 0, "planet2": "Saturn", "planet2Id": 6, "type": { "name": "Opposition", "i18nKey": "aspect_opposition", "angle": 180, "orb": 12, "symbol": "☍", "isMajor": true, "color": "#cc3333" }, "exactAngle": 175.99902688473145, "orb": 4.00097311526855, "isApplying": true } ], "compatibility": { "score": 55, "label": "balanced", "harmony": 23.1, "tension": 18.7 } } ], "matrix": [ [ 100 ] ], "averageScore": 55 }}Validation error
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
Example
{ "ok": false, "error": { "code": "INVALID_API_KEY", "message": "Invalid API key" }}