POST · WESTERN

Synastry

Endpoint POST https://starsapi.com/api/v3/western/compatibility/synastry

Overview

Computes full synastry analysis between two natal charts. Returns inter-chart aspects (Person 1’s planets aspecting Person 2’s planets), key highlighted aspects, aspect groupings (harmonious/challenging), a compatibility score, and house overlays in both directions (Person 1’s planets in Person 2’s houses and vice versa).

This is the raw calculation version. For synastry with prewritten text interpretations, use predictions/synastry-aspects and predictions/synastry-houses.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx

Request body

Uses nested person1/person2 objects, each containing standard birth data:

FieldTypeRequiredDescription
person1.yearperson1.minuteYesPerson 1 birth data.
person1.latitude, person1.longitudenumberYesPerson 1 birth location.
person1.timezonestringYesPerson 1 IANA timezone.
person2.*YesSame fields for Person 2.
house_systemstringNoDefault placidus. Applied to both charts.
node_typestringNoDefault true.
include_minor_aspectsbooleanNoInclude minor aspects. Default false.

Response shape

FieldDescription
person1_planetsPerson 1 natal positions.
person2_planetsPerson 2 natal positions.
synastry_aspects.inter_aspectsAll cross-chart aspects with planets, signs, degrees, orbs.
synastry_aspects.key_aspectsHighlighted important aspects.
synastry_aspects.aspect_groupsGrouped by harmonious/challenging.
synastry_aspects.compatibilityCompatibility scoring.
synastry_aspects.house_overlaysHouse overlays with synastry meanings per house.
house_overlaysa_in_b_houses + b_in_a_houses — which planets land in which houses.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent in person1 or person2.
400INVALID_DATEInvalid date in either person.
500EPHEMERIS_ERRORComputation failed.

See also