KP Astrology

type_id means the type of table for which you want data. For example:-

cuspal : For Cuspal Chart

cuspal-sub : For Cuspal Sub Table

planetary-sub : For Planetary Sub Table

planetary-cuspal-significator-table : For Planetary and Cuspal Significator Table

mbark on a journey through Krishnamurti Paddhati with our 'KP Astrology' API, offering a gateway to specialized astrological insights and methodologies within the rich landscape of Indian Astrology.

POST https://astroapi-3.divineapi.com/indian-api/v1/kp/:type_id

Returns KP Astrology Positions 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

gender*

String

gender, ex: male

place*

String

place, ex: New Delhi

lat*

Float

latitude, eg: 28.7041

lon*

Float

longitude, eg: 77.1025

tzone*

Float

timezone, eg: 5.5 Timezone List

lan

String

Language en/hi, default en

{
    "success": 1,
    "data": {
        "table": "table_data",        
    }
}

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/kp/:type_id' \
--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