Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Lal Kitab Planet Analysis API

Access Lal Kitab Planet Analysis from the DivineAPI Lal Kitab suite. Based on the principles of Lal Kitab (the Red Book of Vedic astrology), this endpoint returns a detailed Lal Kitab analysis for a chosen planet for the provided birth details.


API Endpoint

POST https://astroapi-3.divineapi.com/indian-api/v1/lal-kitab/planet-analysis

Returns the requested Lal Kitab data in the response.


Supported Language Codes

You can localize the API response by passing the lan parameter in the request body.

CodeLanguage
enEnglish
hiHindi
bnBengali
maMarathi
tmTamil
tlTelugu
mlMalayalam
knKannada

Support Article: Translating Vedic APIs into Different Languages


Headers

NameTypeDescription
Authorization *StringYour API Access Token, e.g. Bearer {token}

Request Body

NameTypeDescription
api_key *StringYour API key
full_name *StringFull name, e.g. Rahul Kumar
day *IntegerDate of birth, e.g. 24
month *IntegerMonth of birth, e.g. 05
year *IntegerYear of birth, e.g. 2023
hour *IntegerHour (24-hour format), e.g. 14
min *IntegerMinute, e.g. 40
sec *IntegerSecond, e.g. 43
gender *StringGender, e.g. male
place *StringPlace of birth, e.g. New Delhi
lat *FloatLatitude, e.g. 28.7041
lon *FloatLongitude, e.g. 77.1025
tzone *FloatTimezone, e.g. 5.5 — See Timezone List
lanStringLanguage code as per the table above; default is en
analysis_planet *StringThe planet to analyse, e.g. Sun, Moon, Mars.

200: OK Lal Kitab Planet Analysis Fetched Successfully

{
    "success": 1,
    "data": {
        "planet": "Sun",
        "house": 9,
        "sign": "Sagittarius",
        "position": "Friendly Sign",
        "benefic_malefic": "Benefic",
        "analysis": {
            "planet_in_house": {
                "key_areas": [
                    {
                        "content": "Sun radiates powerful fortunate energy from the ninth house, creating opportunities that seem divinely orchestrated. The native experiences lucky breaks in career and personal life, particularly through government channels and administrative connections. Lal Kitab notes that fortune activates most strongly after the father's blessings align with the native's own righteous conduct. When Jupiter, a friend planet, aspects this house, the combination produces extraordinary luck in competitive examinations and government appointments. Fortune grows steadily rather than arriving in sudden windfalls.",
                        "title": "Fortune and Luck"
                    },
                    {
                        "content": "The ninth house Sun creates a profoundly influential father figure whose guidance shapes the native's entire life trajectory. The father often holds an authoritative position in government or public service. Paternal inheritance includes not just material wealth but valuable social connections and institutional knowledge. Lal Kitab emphasizes that respecting the father activates Sun's most beneficial results in this house. When enemy planets Saturn or Venus afflict this position, the father's health or social standing may decline, creating emotional challenges for the native.",
                        "title": "Father and Paternal Legacy"
                    },
                    {
                        "content": "This placement strongly supports advanced education in law, philosophy, political science, and administrative studies. The native develops a comprehensive worldview that integrates traditional wisdom with practical governance principles. Foreign universities and prestigious institutions recognize the native's academic potential. Lal Kitab's philosophical framework naturally appeals to individuals with this placement, who seek systematic understanding of cosmic order. Mars as a friend planet supporting from the third house enhances the native's intellectual courage to challenge established theories.",
                        "title": "Higher Education and Philosophy"
                    },
                    {
                        "content": "Long-distance travel for spiritual, educational, or governmental purposes yields exceptional results under this placement. Pilgrimages to holy sites rejuvenate the native's energy and clarify life direction during confusing periods. Government-sponsored foreign tours bring both professional advancement and personal growth. Lal Kitab recommends eastward travel during Sun's favorable transits for maximum benefit. The native develops deep respect for diverse cultural traditions through meaningful travel experiences that broaden perspective and strengthen the philosophical foundation.",
                        "title": "Pilgrimage and Long Journeys"
                    }
                ],
                "summary": "Sun in the ninth house illuminates the domain of fortune, dharma, and higher learning with its radiant energy. Lal Kitab considers this a favorable placement where Sun blesses the native with paternal support, spiritual inclination, and long-distance travel for noble purposes. The father plays a pivotal role in shaping destiny."
            },
            "planet_in_sign": {
                "key_areas": [
                    {
                        "content": "Lal Kitab regards Sun in Sagittarius as producing natural scholars, philosophers, and seekers of truth. The native possesses insatiable curiosity about life's deeper meanings and gravitates toward religious studies, philosophy, law, and higher education. University teaching, legal practice, and religious leadership suit this placement exceptionally well. The individual approaches knowledge with reverence and sees education as a sacred duty rather than mere career advancement. Long distance travel for educational purposes proves transformative and often leads to significant life changes that reshape the native's worldview and professional direction permanently.",
                        "title": "Higher Learning and Philosophy"
                    },
                    {
                        "content": "According to Lal Kitab principles, Sun in Sagittarius creates individuals with strong moral compass and natural ethical authority. The native instinctively distinguishes right from wrong and feels compelled to uphold justice in personal and professional spheres. This placement favors careers in judiciary, religious institutions, and ethical oversight bodies. The individual commands respect through principled behavior rather than positional authority. However, excessive moral certainty can create rigidity and judgmental attitudes toward those who hold different values. Learning tolerance and accepting moral complexity without compromising core principles becomes an essential life lesson for personal growth.",
                        "title": "Moral Authority and Ethics"
                    },
                    {
                        "content": "Sun in Sagittarius in Lal Kitab tradition brings natural good fortune and opportunities for expansion in multiple life areas. The native benefits from the combined power of solar authority and Jupiterian blessings, creating fortunate circumstances that support ambitious goals. Foreign connections, international business, and cross cultural collaborations prove especially beneficial. The individual attracts mentors and benefactors who facilitate upward mobility. Financial prosperity grows through ethical business practices and knowledge based ventures. Publishing, media, and educational enterprises become significant wealth generators that also fulfill the native's desire for meaningful contribution to society.",
                        "title": "Fortune and Expansion"
                    },
                    {
                        "content": "Lal Kitab associates Sun in Sagittarius with the thigh region, liver function, and arterial circulation. The native may experience issues related to sciatic nerve, hip joint problems, and liver conditions, particularly from overindulgence in rich foods and alcohol. The naturally optimistic temperament may lead to neglecting early health warning signs. Regular physical activity, especially outdoor sports like horseback riding, hiking, and archery, supports overall vitality. The native should maintain moderate dietary habits and periodic liver cleansing to ensure sustained energy levels and prevent the accumulation of toxins that impair physical performance.",
                        "title": "Thigh and Liver Health"
                    }
                ],
                "summary": "Sun in Sagittarius creates an optimistic, philosophical, and expansive personality in Lal Kitab. The native possesses strong moral convictions, natural teaching abilities, and love for higher learning. This placement channels solar authority through Jupiterian wisdom, producing individuals who inspire others through knowledge, ethical leadership, and unwavering commitment to truth and righteousness."
            }
        }
    }
}

Code Integration Examples

Below are examples for using this API in different programming environments.


cURL Example

curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/lal-kitab/planet-analysis' \
--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 'analysis_planet="Sun"' \
--form 'lan="en"' \

NodeJS Example

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v1/lal-kitab/planet-analysis',
  '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',
    'analysis_planet': 'Sun',
    'lan': 'en'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

JavaScript (jQuery AJAX) Example

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("analysis_planet", "Sun");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-3.divineapi.com/indian-api/v1/lal-kitab/planet-analysis",
  "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);
});

Python Example

import requests

url = "https://astroapi-3.divineapi.com/indian-api/v1/lal-kitab/planet-analysis"

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',
'analysis_planet': 'Sun',
    'lan': 'en'}

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

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

print(response.text)


This API serves as a foundation for further astrological computations, including Kundli generation, planetary charts, yogas, and personalized reports. It provides all key birth-time astrological parameters such as tithi, nakshatra, rashi, yoga, karana, varna, gana, and planetary influences, essential for deeper Vedic analysis.