search

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

Prasthara Chakra

Embark on a yogic journey through time with our Prasthara Chakra API, providing structured Ashtakavarga-related calculations such as trinona reductions, ekadhipatya reductions, and shodaya pinda values within the framework of Indian Astrology.


API Overview

This endpoint returns the Prasthara Chakra calculations for a given birth chart input.

Endpoint

POST https://astroapi-3.divineapi.com/indian-api/v1/bhinnashtakvarga/prasthara-chakra

Purpose

Returns Prasthara Chakra data in a structured JSON format, including:

trinona_reduction

ekadhipatya_reductions

shodaya_pinda (rashi pinda, graha pinda, total)


Step-by-Step Integration Guide

Reference Documentation

Step by Step Prasthara Chakra API Postman Testing Integration

Use this article to test via Postman and understand authentication, headers, and sample payloads.


Supported Language Codes

Support Article

Translating an Indian Vedic API into a Different Language

CodeLanguage
enEnglish
hiHindi
bnBengali
maMarathi
tmTamil
tlTelugu
mlMalayalam
knKannada

Guide

These languages are supported by this API. Pass the lan field in the request body to get the response in that language. If not provided, the default is en.


Headers

NameTypeDescription
Authorization*StringYour API access token. Example: 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 of birth (24-hr), e.g. 14
min*IntegerMinute, e.g. 40
sec*IntegerSecond, e.g. 43
gender*StringGender, e.g. male
place*StringBirth place, 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)
lanStringOptional language code from the above table. Default: en

Timezone Reference:
Understanding Time Zones – Divine API


200: OK Prasthara Chakra Fetched Successfully

{
    "success": 1,
    "data": {
        "trinona_reduction": {
            "Sun": {
                "1": 0,
                "2": 2,
                "3": 1,
                "4": 0,
                "5": 4,
                "6": 1,
                "7": 0,
                "8": 2,
                "9": 5,
                "10": 0,
                "11": 4,
                "12": 2
            },
            "Moon": {
                "1": 3,
                "2": 0,
                "3": 0,
                "4": 2,
                "5": 0,
                "6": 1,
                "7": 1,
                "8": 1,
                "9": 2,
                "10": 1,
                "11": 2,
                "12": 0
            },
            "Mars": {
                "1": 0,
                "2": 1,
                "3": 0,
                "4": 1,
                "5": 1,
                "6": 3,
                "7": 1,
                "8": 1,
                "9": 0,
                "10": 0,
                "11": 4,
                "12": 0
            },
            "Mercury": {
                "1": 2,
                "2": 0,
                "3": 0,
                "4": 1,
                "5": 1,
                "6": 3,
                "7": 3,
                "8": 0,
                "9": 0,
                "10": 1,
                "11": 4,
                "12": 3
            },
            "Jupiter": {
                "1": 2,
                "2": 4,
                "3": 0,
                "4": 3,
                "5": 1,
                "6": 0,
                "7": 0,
                "8": 0,
                "9": 0,
                "10": 5,
                "11": 2,
                "12": 0
            },
            "Venus": {
                "1": 0,
                "2": 1,
                "3": 1,
                "4": 0,
                "5": 0,
                "6": 3,
                "7": 0,
                "8": 2,
                "9": 2,
                "10": 0,
                "11": 0,
                "12": 1
            },
            "Saturn": {
                "1": 1,
                "2": 3,
                "3": 4,
                "4": 0,
                "5": 0,
                "6": 4,
                "7": 0,
                "8": 3,
                "9": 4,
                "10": 0,
                "11": 4,
                "12": 1
            }
        },
        "ekadhipatya_reductions": {
            "Sun": {
                "1": 0,
                "2": 2,
                "3": 1,
                "4": 0,
                "5": 4,
                "6": 0,
                "7": 0,
                "8": 2,
                "9": 2,
                "10": 0,
                "11": 4,
                "12": 2
            },
            "Moon": {
                "1": 3,
                "2": 0,
                "3": 0,
                "4": 2,
                "5": 0,
                "6": 1,
                "7": 1,
                "8": 0,
                "9": 2,
                "10": 0,
                "11": 2,
                "12": 0
            },
            "Mars": {
                "1": 0,
                "2": 1,
                "3": 0,
                "4": 1,
                "5": 1,
                "6": 3,
                "7": 0,
                "8": 1,
                "9": 0,
                "10": 0,
                "11": 4,
                "12": 0
            },
            "Mercury": {
                "1": 2,
                "2": 0,
                "3": 0,
                "4": 1,
                "5": 1,
                "6": 3,
                "7": 3,
                "8": 0,
                "9": 0,
                "10": 0,
                "11": 4,
                "12": 3
            },
            "Jupiter": {
                "1": 2,
                "2": 4,
                "3": 0,
                "4": 3,
                "5": 1,
                "6": 0,
                "7": 0,
                "8": 0,
                "9": 0,
                "10": 2,
                "11": 2,
                "12": 0
            },
            "Venus": {
                "1": 0,
                "2": 1,
                "3": 1,
                "4": 0,
                "5": 0,
                "6": 1,
                "7": 0,
                "8": 2,
                "9": 1,
                "10": 0,
                "11": 0,
                "12": 1
            },
            "Saturn": {
                "1": 1,
                "2": 3,
                "3": 4,
                "4": 0,
                "5": 0,
                "6": 0,
                "7": 0,
                "8": 1,
                "9": 1,
                "10": 0,
                "11": 4,
                "12": 1
            }
        },
        "shodaya_pinda": {
            "rashi_pinda": {
                "Sun": 170,
                "Moon": 81,
                "Mars": 91,
                "Mercury": 144,
                "Jupiter": 108,
                "Venus": 60,
                "Saturn": 142
            },
            "graha_pinda": {
                "Sun": 37,
                "Moon": 81,
                "Mars": 38,
                "Mercury": 63,
                "Jupiter": 99,
                "Venus": 12,
                "Saturn": 78
            },
            "total": {
                "Sun": 207,
                "Moon": 162,
                "Mars": 129,
                "Mercury": 207,
                "Jupiter": 207,
                "Venus": 72,
                "Saturn": 220
            }
        }
    }
}

Code Examples

Below are ready-to-use examples for popular environments.

cURL

curl --location 'https://astroapi-3.divineapi.com/indian-api/v1/bhinnashtakvarga/prasthara-chakra' \
--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"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v1/bhinnashtakvarga/prasthara-chakra',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'full_name': 'Rahul kumar',
    '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);
});

JavaScript (jQuery AJAX)

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("full_name", "Rahul kumar");
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/bhinnashtakvarga/prasthara-chakra",
  "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

import requests

url = "https://astroapi-3.divineapi.com/indian-api/v1/bhinnashtakvarga/prasthara-chakra"

payload = {'api_key': '{Your API Key}',
'full_name': 'Rahul kumar',
'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)