🌍 Astrocartography API, 🔷 Human Design API and ✋ Palmistry API are now live. Ship them in your app today.

Horoscope Chart Image

Get horoscope chart in svg formate
POSThttps://json.astrologyapi.com/v1/horo_chart_image/:chartId

Authentication

x-astrologyapi-keystringrequired

API access token used to authenticate requests. Send your access token in this custom header.

Accept-Languagestring

Preferred language for the response content. Supported: English - en, Hindi - hi.

Path parameters

chartIdstringrequired

Chart ID, eg: MOON,SUN

  • chalitFor Chalit Chart
  • SUNFor Sun Chart
  • MOONFor Moon Chart
  • D1For Birth Chart
  • D2For Hora Chart
  • D3For Dreshkan Chart
  • D4For Chathurthamasha Chart
  • D5For Panchmansha Chart
  • D7For Saptamansha Chart
  • D8For Ashtamansha Chart
  • D9For Navamansha Chart
  • D10For Dashamansha Chart
  • D12For Dwadashamsha chart
  • D16For Shodashamsha Chart
  • D20For Vishamansha Chart
  • D24For Chaturvimshamsha Chart
  • D27For Bhamsha Chart
  • D30For Trishamansha Chart
  • D40For Khavedamsha Chart
  • D45For Akshvedansha Chart
  • D60For Shashtymsha Chart

Body parameters

dayintrequired

Date of birth, eg: 10

monthintrequired

Month of birth, eg: 5

yearintrequired

Year of birth, eg: 1990

hourintrequired

Hour of birth, eg: 19

minintrequired

Minute of birth, eg: 55

latfloatrequired

Latitude, eg: 19.2056

lonfloatrequired

Longitude, eg: 25.2056

tzonefloatrequired

Timezone, eg: 5.5

planetColorstring

Planet color, eg: 'ff0000'

signColorstring

Sign color, eg: 'ff0000'

lineColorstring

Line color, eg: 'ff0000'

chartTypestring

Chart type, eg: 'north'

image_typestring

Image type, eg: 'png'

curl --location 'https://json.astrologyapi.com/v1/horo_chart_image/chalit' \
  --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,
    "planetColor": "#ff0000",
    "signColor": "#ff0000",
    "lineColor": "#ff0000",
    "chartType": "north",
    "image_type": "png"
}'
Try it

Runs with sample data — no API key needed

"{svg:\"SVG CODE\"}"