Divine API
  • Welcome to Divine API Documentation
  • Horoscope and Tarot v2 API
    • Daily Horoscope Prediction
    • Weekly Horoscope Prediction
    • Monthly Horoscope Prediction
    • Yearly Horoscope Prediction
    • Chinese Horoscope
    • Numerology Horoscope
    • Yes or No Tarot
    • Daily Tarot
    • Fortune Cookie
    • Coffee Cup Reading
    • Career Daily Reading
    • Divine Angel Reading
    • Divine Magic Reading
    • Dream Come True Reading
    • Egyptian Prediction
    • Erotic Love Reading
    • Ex-Flame Reading
    • Flirt Love Reading
    • Heartbreak Reading
    • In-Depth Love Reading
    • Know Your Friend Reading
    • Love Compatibility
    • Love Triangle Reading
    • Made For Each Other Or Not
    • Power Life Reading
    • Past Lives Connection Reading
    • Past-Present-Future Reading
    • Which Animal Are You Reading
    • Wisdom Reading
  • Indian API
    • Daily Panchang API
      • Find Sun And Moon
      • Find Panchang
      • Find Nakshatra
      • Find Surya Nakshatra
      • Find Tithi
      • Find Yoga
      • Find Karana
      • Find Ritu And Ayana API
      • Find Samvat API
      • Find Nivas And Shool
      • Find Choghadiya
      • Find Chandrabalam And Tarabalam
      • Find Other Calendars And Epoch
      • Find Auspicious Timings
      • Find Inauspicious Timings
      • Find Panchak Rahita
      • Find Uday Lagna
      • Find Chandramasa
      • Grah Gochar (Planet Transit API)
    • Festival API
      • Find Margashirsha Festivals
      • Find Ashwin Festivals
      • Find Magha Festivals
      • Find Phalguna Festivals
      • Find Chaitra Festivals
      • Find Vaishakha Festivals
      • Find Jyeshtha Festivals
      • Find Ashadha Festivals
      • Find Shravana Festivals
      • Find Bhadrapada Festivals
      • Find Kartik Festivals
      • Find Paush Festivals
    • Kundli API
      • Basic Astrological Details
      • Planetary Positions
      • Sub Planet Positions
      • Sub Planet Chart
      • KP Planetary Positions
      • KP Astrology
      • Composite Friendship
      • Horoscope Charts
      • Bhava Kundli
      • Vimshottari Dasha
      • Dasha Analysis
        • Maha Dasha Analysis
        • Antar Dasha Analysis
        • Pratyantar Dasha Analysis
      • Sadhe Sati
      • Kaal Sarpa Dosha
      • Manglik Dosha
      • Shadbala
      • Gemstone Suggestions
      • Ascendant Report
      • Yogini Dasha
      • Yogas
      • Kaal Chakra Dasha
      • Sudarshana Chakra
      • Planet Analysis
      • Ghata Chakra API
      • Jaimini Astrology
        • Planetary Positions
        • Padas
        • Karakamsha Lagna
        • Chara Dasha
      • Bhinnashtakvarga
        • Ashtakvarga
        • Sarvashtakavarga
        • Prasthara Chakra
      • Kundali transit
        • Ascendant Sign Transit
        • Moon Sign Transit
    • Match Making API
      • Ashtakoot Milan
      • Dashakoot Milan
      • Nav Pancham Yoga
      • Matching Basic Astro Details
      • Matching Planetary Positions
      • Matching Vimshottari Dasha
      • Matching Manglik Dosha
      • Matching Horoscope Chart
  • Western API
    • Natal Astrology
      • Planetary Positions
      • House Cusps
      • Aspect Table
      • Natal Wheel Chart
      • General Sign Report
      • General House Report
      • Moon Phases
      • Ascendant Report
      • Moon Phase Calendar
    • Synastry
      • Planetary Positions
      • House Cusps
      • Natal Wheel Chart
      • Aspect Table
      • Harmonious Aspect Reading
      • Conflicting Aspect Reading
      • Contrasting Aspect Reading
      • Intense Aspect Reading
      • Physical Compatibility
      • Emotional Compatibility
      • Sexual Compatibility
      • Spiritual Compatibility
      • Financial Compatibility
    • Transit
      • Basic Transit
      • Daily Transit
      • Weekly Transit
      • Monthly Transit
      • Custom Transit
  • PDF Report API
    • Vedic Reports
      • Kundali PDF - Sampoorna
      • Kundali PDF - Ananta
      • Kundali PDF - Prakash
      • Match Making PDF
      • Government Job Report
      • Foreign Travel and Settlement
      • Vedic Yearly Prediction 5 Year
      • Vedic Yearly Prediction 10 Year
      • Vedic Yearly Prediction 15 Year
    • Natal Report
    • Natal Couple Report
    • Prediction Report
    • Numerology Report
  • Horoscope and Tarot v1 API
    • Daily Horoscope Prediction
    • Weekly Horoscope Prediction
    • Monthly Horoscope Prediction
    • Yearly Horoscope Prediction
    • Chinese Horoscope
    • Numerology Horoscope
    • Yes or No Tarot
    • Daily Tarot
    • Fortune Cookie
    • Coffee Cup Reading
    • Career Daily Reading
    • Divine Angel Reading
    • Divine Magic Reading
    • Dream Come True Reading
    • Egyptian Prediction
    • Erotic Love Reading
    • Ex-Flame Reading
    • Flirt Love Reading
    • Heartbreak Reading
    • In-Depth Love Reading
    • Know Your Friend Reading
    • Love Compatibility
    • Love Triangle Reading
    • Made For Each Other Or Not
    • Power Life Reading
    • Past Lives Connection Reading
    • Past-Present-Future Reading
    • Which Animal Are You Reading
    • Wisdom Reading
    • Understanding Time Zones: A Comprehensive Guide
  • Lifestyle APIs
    • Zodiac Gift Guru
    • Beauty by the Stars
    • Astro Chic Picks
  • Numerology APIs
    • Core Numbers
    • Chaldean Numerology
      • Loshu Grid API
      • Zodiac Planet Number
      • Luck Numerology
      • Name Number
      • Birthday Number
      • Missing Numbers
      • Driver and Conductor Number
      • Two Number Arrow
      • Three Number Arrow
      • Repeating Numbers
      • Yearly Prediction
      • Gemstone Suggestion
  • Understanding Time Zones: A Comprehensive Guide
Powered by GitBook
On this page
  1. Indian API
  2. Kundli API

Sub Planet Positions

Get sub-planet positions with Divine API's Kundli API. Provide users with detailed information on the placement of sub-planets in their birth chart according to Vedic astrology.

PreviousPlanetary PositionsNext Sub Planet Chart

Last updated 1 month ago

Explore the dynamic dance of planets through our 'Sub Planet Positions' API, providing real-time insights into the cosmic placements that influence astrological interpretations within the Indian tradition.

Supported Language Codes:

Support Article URL -

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

Returns Sub Planet 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

lan

String

{
    "success": 1,
    "data": {
        "date": "2023-05-24",
        "time": "14:40:43",
        "latitude": "28.7041",
        "longitude": "77.1025",
        "timezone": "5.5",
        "planets": [
            {
                "name": "Dhuma",
                "name_lan": "Dhuma",
                "full_degree": "172.11964",
                "longitude": "22:7:10",
                "sign": "vi",
                "sign_no": 6,
                "sign_name": "Virgo",
                "house": 1,
                "nakshatra": "Hasta",
                "nakshatra_pada": 4,
                "nakshatra_no": 13,
                "nakshatra_lord": "Moon",
                "rashi_lord": "Virgo",
                "sub_lord": "Venus",
                "sub_sub_lord": "Saturn"
            },
            {
                "name": "Vyatripata",
                "name_lan": "Vyatripata",
                "full_degree": "187.88036",
                "longitude": "7:52:49",
                "sign": "li",
                "sign_no": 7,
                "sign_name": "Libra",
                "house": 2,
                "nakshatra": "Swati",
                "nakshatra_pada": 1,
                "nakshatra_no": 15,
                "nakshatra_lord": "Rahu",
                "rashi_lord": "Libra",
                "sub_lord": "Rahu",
                "sub_sub_lord": "Ketu"
            },
            {
                "name": "Parivesh",
                "name_lan": "Parivesh",
                "full_degree": "7",
                "longitude": "7:0:0",
                "sign": "ar",
                "sign_no": 1,
                "sign_name": "Aries",
                "house": 8,
                "nakshatra": "Aswini",
                "nakshatra_pada": 3,
                "nakshatra_no": 1,
                "nakshatra_lord": "Ketu",
                "rashi_lord": "Aries",
                "sub_lord": "Rahu",
                "sub_sub_lord": "Venus"
            },
            {
                "name": "Indrachapa",
                "name_lan": "Indrachapa",
                "full_degree": "353",
                "longitude": "23:0:0",
                "sign": "pi",
                "sign_no": 12,
                "sign_name": "Pisces",
                "house": 7,
                "nakshatra": "Revati",
                "nakshatra_pada": 2,
                "nakshatra_no": 27,
                "nakshatra_lord": "Mercury",
                "rashi_lord": "Pisces",
                "sub_lord": "Moon",
                "sub_sub_lord": "Mercury"
            },
            {
                "name": "Upaketu",
                "name_lan": "Upaketu",
                "full_degree": "9",
                "longitude": "9:0:0",
                "sign": "ar",
                "sign_no": 1,
                "sign_name": "Aries",
                "house": 8,
                "nakshatra": "Aswini",
                "nakshatra_pada": 3,
                "nakshatra_no": 1,
                "nakshatra_lord": "Ketu",
                "rashi_lord": "Aries",
                "sub_lord": "Jupiter",
                "sub_sub_lord": "Mars"
            },
            {
                "name": "Gulika",
                "name_lan": "Gulika",
                "full_degree": "130.19779",
                "longitude": "10:11:52",
                "sign": "le",
                "sign_no": 5,
                "sign_name": "Leo",
                "house": 12,
                "nakshatra": "Magha",
                "nakshatra_pada": 4,
                "nakshatra_no": 10,
                "nakshatra_lord": "Ketu",
                "rashi_lord": "Leo",
                "sub_lord": "Saturn",
                "sub_sub_lord": "Venus"
            },
            {
                "name": "Yamaghantaka",
                "name_lan": "Yamaghantaka",
                "full_degree": "86.0191",
                "longitude": "26:1:9",
                "sign": "ge",
                "sign_no": 3,
                "sign_name": "Gemini",
                "house": 10,
                "nakshatra": "Punarvasu",
                "nakshatra_pada": 2,
                "nakshatra_no": 7,
                "nakshatra_lord": "Jupiter",
                "rashi_lord": "Gemini",
                "sub_lord": "Ketu",
                "sub_sub_lord": "Moon"
            },
            {
                "name": "Kaala",
                "name_lan": "Kaala",
                "full_degree": "152.81073",
                "longitude": "2:48:39",
                "sign": "vi",
                "sign_no": 6,
                "sign_name": "Virgo",
                "house": 1,
                "nakshatra": "Uttara Phalguni",
                "nakshatra_pada": 2,
                "nakshatra_no": 12,
                "nakshatra_lord": "Sun",
                "rashi_lord": "Virgo",
                "sub_lord": "Jupiter",
                "sub_sub_lord": "Rahu"
            },
            {
                "name": "Mrityu",
                "name_lan": "Mrityu",
                "full_degree": "197.79242",
                "longitude": "17:47:33",
                "sign": "li",
                "sign_no": 7,
                "sign_name": "Libra",
                "house": 2,
                "nakshatra": "Swati",
                "nakshatra_pada": 4,
                "nakshatra_no": 15,
                "nakshatra_lord": "Rahu",
                "rashi_lord": "Libra",
                "sub_lord": "Sun",
                "sub_sub_lord": "Saturn"
            },
            {
                "name": "Ardhaprahara",
                "name_lan": "Ardhaprahara",
                "full_degree": "63.08098",
                "longitude": "3:4:52",
                "sign": "ge",
                "sign_no": 3,
                "sign_name": "Gemini",
                "house": 10,
                "nakshatra": "Mrigashira",
                "nakshatra_pada": 3,
                "nakshatra_no": 5,
                "nakshatra_lord": "Mars",
                "rashi_lord": "Gemini",
                "sub_lord": "Venus",
                "sub_sub_lord": "Sun"
            }
        ]
    }
}

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/sub-planet-positions' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Test"' \
--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"'
var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v1/sub-planet-positions',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'full_name': 'Test',
    'day': '24',
    'month': '05',
    'year': '2023',
    'hour': '14',
    'min': '40',
    'sec': '43',
    'gender': 'male',
    'place': 'New Delhi',
    'lat': '28.7041',
    'lon': '77.1025',
    'tzone': '5.5',
    'lan': 'en'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("full_name", "Test");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-3.divineapi.com/indian-api/v1/sub-planet-positions",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {Your Auth Token}"
  },
  "processData": false,
  "mimeType": "multipart/form-data",
  "contentType": false,
  "data": form
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
import requests

url = "https://astroapi-3.divineapi.com/indian-api/v1/sub-planet-positions"

payload = {'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

timezone, eg: 5.5

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

Step by Step Sub Planet Positions API Postman Testing Integration
https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language
https://astroapi-3.divineapi.com/indian-api/v1/sub-planet-positions
Timezone List
table