Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology
POST Vedic API v1

Lal Kitab Planets

The Lal Kitab Planets API returns planetary information and interpretations according to Lal Kitab principles. It is useful for astrology reports and remedial analysis.

https://json.astroinsightapi.com/api/v1/lalkitab/planets
Credit Cost
1 Credit
Avg Latency
~39ms
Auth Type
Basic Auth
Format
JSON / UTF-8

Available Response Languages

🇬🇧 English en
🇮🇳 Hindi hi
🇮🇳 Marathi ma

API Overview & Calculation Details

Methodology and astrological context for Lal Kitab Planets.

Lal Kitab Planets

The Lal Kitab Planets API computes and returns the planetary positions for a given birth date, time, and geographic location according to the Lal Kitab system — a distinct branch of Vedic astrology rooted in ancient Persian and Hindu traditions. Unlike classical Jyotish, Lal Kitab uses a fixed-sign house system and its own set of interpretive rules, making the planetary placement data it produces unique to this tradition.

What This API Does

Given a person's birth details (date, time, and coordinates), this endpoint calculates where each of the nine Vedic planets (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn, Rahu, and Ketu) falls within the twelve houses of the Lal Kitab chart. It also renders a visual chart image of the planetary layout, with full control over the chart's appearance.

What Data It Returns

The response includes:

  • Planetary house positions — the house number each planet occupies in the Lal Kitab chart
  • Sign placements — the zodiac sign each planet is placed in, expressed either as a symbol or a number depending on configuration
  • Planet labels — rendered as either symbolic glyphs or full planet names based on the request configuration
  • A rendered chart image — a visual representation of the Lal Kitab birth chart, customisable in style (North Indian, South Indian, or East Indian), size, colours, line weights, and font sizes

The Ayanamsha (sidereal zodiac correction method) used for the calculation is specified via a request header, allowing the same birth data to be interpreted under different ayanamsha systems (e.g. Lahiri, Raman, KP).

Main Use Cases

  • Lal Kitab horoscope generation — building personalised birth charts for users based on the Lal Kitab system
  • Astrology applications and platforms — powering the planetary data layer for apps that offer Lal Kitab readings, remedies, or predictions
  • Chart visualisation — embedding a fully rendered, styled Lal Kitab chart image directly into a web or mobile interface
  • Multi-ayanamsha comparison — generating the same chart under different ayanamsha settings to compare planetary placements across systems
  • Localisation — serving chart data in multiple languages via the Accept-Language header

Request Parameters

Payload specifications for JSON request body.

application/json
Parameter Type Description & Example
day
Required
integer
Day of birth (1–31).
Example: 15
month
Required
integer
Month of birth (1–12).
Example: 9
year
Required
integer
Year of birth (e.g., 1994).
Example: 1994
hour
Required
integer
Hour of birth in 24-hour format (0–23).
Example: 12
min
Required
integer
Minute of birth (0–59).
Example: 30
sec
Optional
integer
Second of birth (0–59). Optional. If not provided, it is considered as 0.
Example: 30
lat
Required
float
Latitude of the birth location.
Example: 28.6139
lon
Required
float
Longitude of the birth location.
Example: 77.1025
tzone
Optional
float
Timezone offset from UTC. Optional. If not provided, it is considered as 5.5 (IST).
Example: 5.5

Required & Optional Headers

Header Key Value / Format Description
Authorization
Required
Basic {base64} Base64 encoded string of CLIENT_ID:CLIENT_SECRET.
Content-Type
Required
application/json Specifies JSON payload format in request body.
Accept-Language
Optional
en, hi, ta, te... Returns localized astrology output. Default: en
X-Ayanamsha
Optional
lahiri, raman, krishnamurti... Ayanamsha system: lahiri, raman, fagan_bradley, usha_shashi, krishnamurti, djwhal_khul, yukteshwar, jn_bhasin, suryasiddhanta, aryabhata. Default: lahiri

Frequently Asked Questions

Comprehensive developer guidance for Lal Kitab Planets.

What is the Lal Kitab Planets API and what data does it provide?

The Lal Kitab Planets API provides authentic Lal Kitab calculations based on Vedic astrology algorithms. It returns structured JSON data containing detailed planetary positions, house calculations, and astrological parameters suitable for Kundli apps, astrology websites, and developer applications.

What input parameters are required to call Lal Kitab Planets?

The Lal Kitab Planets API requires standard Vedic birth details: day, month, year, hour, min, sec, latitude (lat), longitude (lon), and timezone (tzone). All parameters can be passed in the JSON request body.

How many credits does the Lal Kitab Planets endpoint consume?

Each calculation request to Lal Kitab Planets consumes 1 API credit. The endpoint delivers high performance with an average response time of ~39ms.

How do I authenticate with the Lal Kitab Planets API?

Authenticate using HTTP Basic Authentication by including your Base64 encoded client_id:client_secret credentials in the Authorization header (Authorization: Basic BASE64(client_id:client_secret)).

Can I get Lal Kitab Planets responses in regional Indian languages?

Yes! The API supports multiple languages including English, Hindi, Marathi. Pass your desired language code (e.g. 'hi' for Hindi, 'ta' for Tamil, 'en' for English) in the Accept-Language request header.

Which Ayanamsha systems can be calculated with Lal Kitab Planets?

Supported Ayanamshas include NC Lahiri (Default), BV Raman, Krishnamurti (KP), Fagan Bradley, Usha Shashi, Djwhal Khul, Sri Yukteshwar, JN Bhasin, Surya Siddhanta, and Aryabhata. Specify your choice using the X-Ayanamsha header.

What response format and HTTP codes does this API return?

The API returns clean JSON UTF-8 output. Successful requests return HTTP 200 OK with the computed data payload. Parameter validation errors return HTTP 422 with actionable error messages.

POST lalkitab/planets
Presets:
Live Output
Click Send above to execute calculation.
Sample Output

API Categories