Horoscope Charts

Access horoscope charts with Divine API's Kundli API. Provide users with detailed birth charts, including planetary positions and astrological insights based on Vedic astrology.

Visualize cosmic influences with our 'Horoscope Charts' API, generating detailed astrological charts that reveal planetary positions and configurations within the framework of Indian Astrology.

chart_id means the type of chart for which you want data. For example:-

chalit : For Chalit Chart,

SUN : For Sun Chart,

MOON : For Moon Chart,

D1 : For Brith Chart,

D2 : For Hora Chart,

D3 : For Dreshkan Chart,

D4 : For Chathurthamasha Chart,

D7 : For Saptamansha Chart,

D9 : For Navamsha Chart,

D10 : For Dashamansha Chart,

D12 : For Dwadashamsha chart,

D16 : For Shodashamsha Chart,

D20 : For Vishamansha Chart,

D24 : For Chaturvimshamsha Chart,

D27 : For Bhamsha Chart,

D30 : For Trishamansha Chart,

D40 : For Khavedamsha Chart,

D45 : For Akshvedansha Chart,

D60 : For Shashtymsha Chart,

cuspal : For Cuspal Chart,

Visualize cosmic influences with our 'Horoscope Charts' API, generating detailed astrological charts that reveal planetary positions and configurations within the framework of Indian Astrology.

Supported Language Codes:

Support Article URL - https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language

en For English

hi For Hindi

bn For Bengali

ma For Marathi

tm For Tamil

tl For Telugu

ml For Malayalam

kn For Kannada

Guide: These languages are supported by this API. You can use by passing "lan" in body with a value of the language.

POST  https://astroapi-3.divineapi.com/indian-api/v1/horoscope-chart/:chart_id

Returns Horoscope Charts in response

Headers

Name
Type
Description

Authorization*

String

your API Access Token

eg: Bearer {token}

Request Body

Name
Type
Description

api_key*

String

your API key

full_name*

String

full name, ex: Rahul kumar

day*

Integer

date of birth, eg: 24

month*

Integer

month of birth, eg: 05

year*

Integer

year of birth, eg: 2023

hour*

Integer

hour, eg: 14

min *

Integer

minute, eg: 40

sec*

Integer

second, eg 43

place*

String

place, ex: New Delhi

gender*

String

gender, ex: male

lat*

Float

latitude, eg: 28.7041

lon*

Float

longitude, eg: 77.1025

tzone*

Float

timezone, eg: 5.5 Timezone List

lan

String

Language code as per the table above, default is 'en'.

show_planet_degree

Integer

0 or 1 default 0 - Only work for (D1 Chart)

show_planet_retro

Integer

0 or 1 default 0 - Only work for (D1 Chart)

planet_color

String

Planets color, eg : "#333333" OR "black"

sign_color

String

Sign color, eg : "#333333" OR "black"

line_color

String

lines color, eg : "#333333" OR "black"

chart_color

String

Chart background color, eg : "#333333" OR "black"

chart_type

String

Chart type, eg: south/north

{
    "success": 1,
    "data": {
        "svg": "SVG CODE",  
        "data": "raw_data", 
        "base64_image": "base64_svg_image",     
    }
}

Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :

curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/horoscope-chart/D1' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Rahul kumar"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'hour="14"' \
--form 'min="40"' \
--form 'sec="43"' \
--form 'gender="male"' \
--form 'place="New Delhi"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"' \
--form 'lan="en"'

Last updated