POST/v1/western/chart
Western natal wheel — SVG
Draw a Western (tropical) natal chart wheel as SVG. It shows the sign ring, house cusps (placidus, koch, equal or whole_sign) with the AC/DC and MC/IC axes, the 10 planets, the lunar nodes, Chiron and Black Moon Lilith, and aspect lines. The Ascendant is at 9 o'clock and the zodiac runs counter-clockwise. Each body has a tick at its exact longitude; crowded glyphs are spread apart with a leader line. Positions, cusps and aspects are the ones POST /v1/western/natal returns. Without a birth time the wheel has no houses and puts 0° Aries on the left; positions are then for 06:00 local time, so the Moon can be several degrees off.
Request parameters
locationoptional
string | null
City name to resolve to lat/lon/tz automatically. Example: 'Mumbai' or 'New Delhi, India'. If provided, latitude, longitude and timezone are not required.
nameoptional
string
Person name associated with the birth record
daterequired
string
Birth date in YYYY-MM-DD format
timeoptional
string | null
Birth time in HH:MM 24-hour format. If omitted, the chart is cast for 06:00 local time (not a sunrise chart) and birth_time_provided is false: houses, the Ascendant, the sect and the Moon's exact degree are then approximate.
latitudeoptional
number | null
Latitude. Required if location not provided.
longitudeoptional
number | null
Longitude. Required if location not provided.
timezoneoptional
string | null
IANA timezone. Required if location not provided (unless utc_offset is given). For dates before the zone adopted a standard time, the birthplace's local mean time (longitude / 15 hours) is used.
utc_offsetoptional
string | null
Optional explicit UTC offset of the birth time, as ±HH:MM or ±HH:MM:SS (e.g. '+04:51:31' for Bombay mean time). Overrides the offset
timezone would give. Use it when the birth record states the offset, or for historical local times the IANA database cannot represent.ayanamsaoptional
string
Ignored on Western endpoints: positions are always tropical (no ayanamsa). Accepted so one birth object can be sent to Vedic and Western endpoints alike.
house_systemoptional
string
House system for Western natal chart. Placidus is the modern default. Koch is the second most popular. Equal and Whole Sign are sign-based systems.
nodeoptional
string
Which lunar nodes to draw: true (osculating) or mean.
show_pointsoptional
boolean
Draw the lunar nodes, Chiron and Black Moon Lilith (mean).
show_aspectsoptional
boolean
Draw aspect lines in the centre.
minor_aspectsoptional
boolean
Also draw semisextile, semisquare, sesquiquadrate and quincunx lines (dashed).
glyphsoptional
string
symbols (☉ ♈ …) or letters (Su, Ar …) for fonts without astrological symbols.
show_degreesoptional
boolean
Degree and minute under each glyph.
themeoptional
string
Colour preset.
colorsoptional
WesternChartColors | null
Override any colour of the chosen theme (hex #RRGGBB).
transparentoptional
boolean
No background or sign fills.
show_detailsoptional
boolean
Print the name (when sent), birth date, time and place under the title.
Response fields
success
boolean
True if the request succeeded
message
string
Human-readable status message
data
object
data.svg
string
The natal wheel as an SVG string
data.house_system
string | null
House system of the cusps drawn. Placidus above 66.5° latitude is drawn (and named) as Porphyry. Omitted when no birth time was sent.
data.node
string
Lunar nodes drawn: true or mean
data.birth_time_provided
boolean
False when no birth time was sent: the wheel then has no houses or angles and puts 0° Aries at the left.
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.