Skip to main content
POST/v1/western/moon/void-of-course

Void-of-course Moon

Void-of-course Moon periods in a date range (UTC). Rule used: the traditional one — the Moon is void from its last exact Ptolemaic aspect (conjunction, sextile, square, trine, opposition) to the Sun, Mercury, Venus, Mars, Jupiter or Saturn until it enters the next sign (William Lilly, Christian Astrology, 1647, p. 112). Outer planets are not counted. Each period gives start and end in UTC, the last aspect, the sign the Moon is in and the sign it enters next. Range limit 92 days.

GET works too

GET /v1/western/moon/void-of-course: Same answer as the POST route with the same fields as query parameters; cacheable (public, 10 minutes). Current-moment flags such as is_current may lag by up to the cache age.

Request parameters​

from_daterequired
string
First day of the range (YYYY-MM-DD, UTC).
to_daterequired
string
Last day of the range (YYYY-MM-DD, UTC, inclusive). At most 92 days after from_date.

Response fields​

success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.from_date
string
data.to_date
string
data.definition
string
Plain-English statement of the rule used.
data.periods
array[object]
Void-of-course periods that overlap the range, in time order.
data.periods[].start_utc
string
When the void-of-course period starts (last exact aspect), UTC.
data.periods[].end_utc
string
When it ends: the Moon enters the next sign, UTC.
data.periods[].duration_hours
number
Length of the void period in hours.
data.periods[].moon_sign
string
Sign the Moon is in while void.
data.periods[].moon_sign_id
string | null
Fixed id of moon_sign (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.periods[].moon_sign_label
string | null
moon_sign in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
data.periods[].moon_sign_index
integer
data.periods[].next_sign
string
Sign the Moon enters at end_utc.
data.periods[].next_sign_id
string | null
Fixed id of next_sign (see https://docs.asterwise.com/reference/names-and-ids/). Stays the same in every language; store and compare this, not the name.
data.periods[].next_sign_label
string | null
next_sign in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; show it to people, never store or compare it.
data.periods[].next_sign_index
integer
data.periods[].last_aspect
VoidOfCourseLastAspect | null
The Moon's last exact aspect before leaving the sign. Null when the Moon made no exact aspect in that sign.
data.periods[].whole_sign_void
boolean
True when the Moon made no exact aspect at all while in the sign, so it was void for the whole passage.
key_labels
object | null
Labels of the names and ids this answer uses as map keys ({"Sun": ...} -> {"Sun": "सूर्य"}, {"varna": ...} -> {"varna": "वर्ण"}), in the answer's language (see https://docs.asterwise.com/reference/names-and-ids/). Only in answers asked for in a language other than English; the keys themselves never change.

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.
Confirm your email first. Open the link we emailed you, or sign in at asterwise.com/dashboard to send a new one.
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.