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 aspect is applying at this instant: the planets' relative motion (instantaneous speeds) is closing the orb toward exactness. False if separating or exact.
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
Invalid API key format.
API key is missing. Include it in the Authorization header as 'Bearer YOUR_KEY'.
The provided API key was not found. Verify the key in your Asterwise dashboard.
This API key has been revoked.
Too many requests per minute. Please slow down.
Something went wrong on our end. Please try again, or contact [email protected] if the problem persists. Include your request_id when contacting support.
Too many requests from this IP address. Please slow down.
Monthly API call limit reached. Upgrade your plan to continue.
Request body exceeds maximum allowed size of 64KB.
Your subscription has expired. Please renew at asterwise.com/dashboard to continue.
The request couldn't be processed. See the 'details' field for specific field-level issues.