Skip to main content
POST/v1/western/aspects

Western Aspect Grid

Calculate all active aspects between any set of planetary positions. Provide a dictionary of body names to tropical ecliptic longitudes. Uses standard modern Western orbs by default: major aspects 5°, sextile 3°, minor aspects 1.5°. Custom orbs can be provided per aspect type.

Request parameters

positionsrequired
object
Dictionary of body name to tropical ecliptic longitude (0-360). Example: {"Sun": 229.6, "Moon": 221.8, "Mars": 189.6}
orbsoptional
object | null
Custom orbs per aspect type. If omitted, uses standard modern Western orbs: major=5°, sextile=3°, minor=1.5°

Response fields

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.aspects
array[object]
All active aspects between the provided bodies
data.aspects[].planet_a
string
data.aspects[].planet_b
string
data.aspects[].type
string
Aspect type: conjunction | opposition | trine | square | sextile | semisextile | semisquare | sesquiquadrate | quincunx
data.aspects[].exact_angle
number
Actual angular distance between planets
data.aspects[].orb
number
Difference from exact aspect angle (always positive)
data.aspects[].is_applying
boolean
True if the faster planet is moving toward exact aspect (orb decreasing).
data.orbs_used
object
Orb values used for this calculation
data.body_count
integer
Number of bodies provided
data.aspect_count
integer
Number of aspects found

Errors

Missing or invalid API key.
Upstream ephemeris service error.
Reserved; product endpoints are not feature-gated by plan (quota differs by tier).
Unexpected server error.
Too many requests in a short window.
Request body exceeds the size limit.
Referenced resource was not found.
Request body failed schema validation.