https://json.astrologyapi.com/v1/natal_wheel_chartx-astrologyapi-keystringrequiredAPI access token used to authenticate requests. Send your access token in this custom header.
Accept-LanguagestringPreferred language for the response content. Supported: English - en.
dayintrequiredDate of birth, eg: 10
monthintrequiredMonth of birth, eg: 5
yearintrequiredYear of birth, eg: 1990
hourintrequiredHour of birth, eg: 19
minintrequiredMinute of birth, eg: 55
latfloatrequiredLatitude, eg: 19.2056
lonfloatrequiredLongitude, eg: 25.2056
tzonefloatrequiredTimezone, eg: 5.5
planet_icon_colorstringrequiredColor of the planet icon, eg: #F57C00
inner_circle_backgroundstringrequiredBackground color of the inner circle, eg: #FFF8E1
sign_icon_colorstringrequiredColor of the sign icon, eg: red
sign_backgroundstringrequiredBackground color of the sign, eg: #ffffff
chart_sizeintrequiredSize of the chart, eg: 500
image_typestringrequiredType of image format, eg: png
house_typestringrequiredDefault : placidus // koch/topocentric/poryphry/equal_house/whole_sign
curl --location 'https://json.astrologyapi.com/v1/natal_wheel_chart' \
--header 'Content-Type: application/json' \
--header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
--data '{
"day": 10,
"month": 5,
"year": 1990,
"hour": 19,
"min": 55,
"lat": 19.2056,
"lon": 25.2056,
"tzone": 5.5,
"planet_icon_color": "#F57C00",
"inner_circle_background": "#FFF8E1",
"sign_icon_color": "red",
"sign_background": "#ffffff",
"chart_size": 500,
"image_type": "png",
"house_type": "placidus"
}'
Runs with sample data — no API key needed
{
"status": true,
"chart_url": "https://s3.ap-south-1.amazonaws.com/western-chart/65a7ab90-df91-11e9-9ab4-a70005bb269b.svg",
"msg": "Chart created successfully!"
}