POST · WESTERN

Chart Patterns

Endpoint POST https://starsapi.com/api/v3/western/natal/chart-patterns

Overview

Detects 7 major geometric aspect patterns in the natal chart. These configurations are formed when specific aspect combinations link three or more planets into a recognizable shape. Pattern detection is one of the most commercially valuable features in Western astrology apps — it gives users immediate insight into the chart’s core dynamics.

Supports custom orbs per aspect type, so users can tighten or widen pattern detection sensitivity.

Authentication

MethodExample
Header (recommended)X-Api-Key: am_live_xxxxxxxxxxxx
BearerAuthorization: Bearer am_live_xxxxxxxxxxxx
Query?api_key=am_live_xxxxxxxxxxxx

Request body

FieldTypeRequiredDescription
yearintegerYesBirth year (1800–2400).
monthintegerYesBirth month (1–12).
dayintegerYesBirth day.
hourintegerYesBirth hour (0–23).
minuteintegerYesBirth minute (0–59).
secondintegerNoDefault 0.
latitudenumberYesDecimal degrees.
longitudenumberYesDecimal degrees.
timezonestringYesIANA timezone.
house_systemstringNoDefault placidus. Affects stellium-by-house detection.
node_typestringNotrue, mean, or both. Default true.
custom_orbsobjectNoOverride default orbs per aspect type (0–15°). See below.

Custom orbs

Same format as natal/aspects custom orbs. Tightening orbs reduces pattern detection sensitivity; widening orbs may reveal additional patterns.

{ "custom_orbs": { "trine": 5, "opposition": 6, "square": 5, "sextile": 4, "quincunx": 2 } }

Response shape

data.patterns[]

Array of detected patterns. Each includes:

FieldTypeDescription
patternstringPattern name.
planetsarray|objectPlanets involved. For T-Square and Yod, structured with apex.
elementstringElement (Grand Trine only).
modalitystringModality (T-Square, Grand Cross only).
apex_planetstringFocal planet (T-Square, Yod, Kite).
typestringStellium type: sign or house.
descriptionstringBrief interpretation.

data.summary

Count per pattern type — useful for quick display (e.g. badges, icons).

Pattern types

PatternPlanetsAspects involvedMeaning
Grand Trine33 mutual trines (120°)Natural talent, ease, flow. Identified by element (Fire/Earth/Air/Water).
T-Square31 opposition + 2 squaresDynamic tension with focal release through the apex planet.
Grand Cross42 oppositions + 4 squaresMaximum tension from four corners. Immense drive and resilience.
Yod (Finger of God)31 sextile + 2 quincunxesFated pattern. The apex planet carries a special mission or crisis.
Kite4Grand Trine + opposition + 2 sextilesGrand Trine given productive direction through the kite point.
Mystic Rectangle42 oppositions + 2 sextiles + 2 trinesBalanced tension with practical outlets.
Stellium3+Sign or house clusterIntense concentration — 3+ planets in one sign or house.

Errors

HTTPCodeCause
400MISSING_FIELDRequired field absent.
400INVALID_DATEInvalid date.
400INVALID_TIMETime outside range.
400INVALID_TIMEZONENot valid IANA.
400INVALID_COORDINATEOut of range.
400INVALID_PARAMInvalid house_system or custom_orbs.
500EPHEMERIS_ERRORComputation failed.

See also