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

Varshphal Tri Pataki Chakra API

The Varshphal Tri Pataki Chakra API is part of the Varshphal (annual horoscope) suite and returns the Tri Pataki Chakra of the annual chart as an SVG image, for the chosen year. Provide the birth details along with the varshphal_year.


API Endpoint

POST https://astroapi-3.divineapi.com/indian-api/v1/varshphal/tri-pataki-chakra

Returns the Tri Pataki Chakra of the annual chart as an SVG image 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
varshphal_year *IntegerThe year for which the annual (Varshphal) horoscope is calculated, e.g. 2024
lanStringLanguage code as per the table above; default is en

200: OK Tri Pataki Chakra Fetched Successfully

{
    "success": 1,
    "data": {
        "chart": {
            "svg": "<svg height=\"360\" width=\"360\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n    \n    \n    <rect x=\"0\" y=\"0\" width=\"360\" height=\"360\" fill=\"transparent\" stroke=\"#000\" stroke-width=\"4\"></rect>\n\t\n\n                                                            <line x1=\"60\" y1=\"120\" x2=\"300\" y2=\"120\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"120\" y1=\"45\" x2=\"120\" y2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n        <line x1=\"120\" y1=\"60\" y2=\"120\" x2=\"60\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"120\" y1=\"60\" y2=\"240\" x2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"240\" y1=\"300\" y2=\"120\" x2=\"60\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"120\" y1=\"300\" y2=\"120\" x2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n                    <line x1=\"60\" y1=\"180\" x2=\"300\" y2=\"180\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"180\" y1=\"45\" x2=\"180\" y2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n        <line x1=\"180\" y1=\"60\" y2=\"180\" x2=\"60\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"180\" y1=\"60\" y2=\"180\" x2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"180\" y1=\"300\" y2=\"180\" x2=\"60\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"180\" y1=\"300\" y2=\"180\" x2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n                    <line x1=\"60\" y1=\"240\" x2=\"300\" y2=\"240\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"240\" y1=\"45\" x2=\"240\" y2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n        <line x1=\"240\" y1=\"60\" y2=\"240\" x2=\"60\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"240\" y1=\"60\" y2=\"120\" x2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"120\" y1=\"300\" y2=\"240\" x2=\"60\" stroke=\"#000\" stroke-width=\"2\"></line>\n        <line x1=\"240\" y1=\"300\" y2=\"240\" x2=\"300\" stroke=\"#000\" stroke-width=\"2\"></line>\n\n                                            \n    <polygon points=\"121,35 100,55 121,55\" class=\"triangle\"></polygon>\n    <polygon points=\"181,35 160,55 181,55\" class=\"triangle\"></polygon>\n    <polygon points=\"241,35 220,55 241,55\" class=\"triangle\"></polygon>\n\n            \n        <text x=\"170\" y=\"35\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">9</text>\n                            \n        <text x=\"110\" y=\"35\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">10</text>\n                            \n        <text x=\"46\" y=\"120\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">11</text>\n                            \n        <text x=\"46\" y=\"180\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">12</text>\n                            <text x=\"46\" y=\"193\" style=\"fill:#000; font-size:10px;\" font=\"Tahoma\" font-family=\"sans-serif\">Sa Ra</text>\n                    \n        <text x=\"46\" y=\"240\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">1</text>\n                            \n        <text x=\"120\" y=\"310\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">2</text>\n                            <text x=\"120\" y=\"323\" style=\"fill:#000; font-size:10px;\" font=\"Tahoma\" font-family=\"sans-serif\">Me Ju</text>\n                    \n        <text x=\"180\" y=\"310\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">3</text>\n                            <text x=\"180\" y=\"323\" style=\"fill:#000; font-size:10px;\" font=\"Tahoma\" font-family=\"sans-serif\">Su</text>\n                    \n        <text x=\"240\" y=\"310\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">4</text>\n                            <text x=\"240\" y=\"323\" style=\"fill:#000; font-size:10px;\" font=\"Tahoma\" font-family=\"sans-serif\">Ve</text>\n                    \n        <text x=\"302\" y=\"240\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">5</text>\n                            <text x=\"302\" y=\"253\" style=\"fill:#000; font-size:10px;\" font=\"Tahoma\" font-family=\"sans-serif\">Mo Ma</text>\n                    \n        <text x=\"302\" y=\"180\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">6</text>\n                            <text x=\"302\" y=\"193\" style=\"fill:#000; font-size:10px;\" font=\"Tahoma\" font-family=\"sans-serif\">Ke</text>\n                    \n        <text x=\"302\" y=\"120\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">7</text>\n                            \n        <text x=\"228\" y=\"35\" style=\"fill:#000; font-size:12px; stroke:#000;\" font=\"Tahoma\" font-family=\"sans-serif\">8</text>\n                    \n    \n\n\n</svg>\n",
            "base64_image": "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjM2MCIgd2lkdGg9IjM2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICAKICAgIAogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjM2MCIgaGVpZ2h0PSIzNjAiIGZpbGw9InRyYW5zcGFyZW50IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iNCI+PC9yZWN0PgoJCgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bGluZSB4MT0iNjAiIHkxPSIxMjAiIHgyPSIzMDAiIHkyPSIxMjAiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIyIj48L2xpbmU+CiAgICAgICAgPGxpbmUgeDE9IjEyMCIgeTE9IjQ1IiB4Mj0iMTIwIiB5Mj0iMzAwIiBzdHJ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IGZvbnQtc2l6ZToxMnB4OyBzdHJva2U6IzAwMDsiIGZvbnQ9IlRhaG9tYSIgZm9udC1mYW1pbHk9InNhbnMtc2VyaWYiPjc8L3RleHQ+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICA8dGV4dCB4PSIyMjgiIHk9IjM1IiBzdHlsZT0iZmlsbDojMDAwOyBmb250LXNpemU6MTJweDsgc3Ryb2tlOiMwMDA7IiBmb250PSJUYWhvbWEiIGZvbnQtZmFtaWx5PSJzYW5zLXNlcmlmIj44PC90ZXh0PgogICAgICAgICAgICAgICAgICAgIAogICAgCgoKPC9zdmc+Cg=="
        },
        "chart_data": {
            "1": {
                "sign_no": 9,
                "planets": []
            },
            "2": {
                "sign_no": 10,
                "planets": []
            },
            "3": {
                "sign_no": 11,
                "planets": []
            },
            "4": {
                "sign_no": 12,
                "planets": [
                    {
                        "planet": "Saturn",
                        "symbol": "Sa"
                    },
                    {
                        "planet": "Rahu",
                        "symbol": "Ra"
                    }
                ]
            },
            "5": {
                "sign_no": 1,
                "planets": []
            },
            "6": {
                "sign_no": 2,
                "planets": [
                    {
                        "planet": "Mercury",
                        "symbol": "Me"
                    },
                    {
                        "planet": "Jupiter",
                        "symbol": "Ju"
                    }
                ]
            },
            "7": {
                "sign_no": 3,
                "planets": [
                    {
                        "planet": "Sun",
                        "symbol": "Su"
                    }
                ]
            },
            "8": {
                "sign_no": 4,
                "planets": [
                    {
                        "planet": "Venus",
                        "symbol": "Ve"
                    }
                ]
            },
            "9": {
                "sign_no": 5,
                "planets": [
                    {
                        "planet": "Moon",
                        "symbol": "Mo"
                    },
                    {
                        "planet": "Mars",
                        "symbol": "Ma"
                    }
                ]
            },
            "10": {
                "sign_no": 6,
                "planets": [
                    {
                        "planet": "Ketu",
                        "symbol": "Ke"
                    }
                ]
            },
            "11": {
                "sign_no": 7,
                "planets": []
            },
            "12": {
                "sign_no": 8,
                "planets": []
            }
        },
        "vedhas": {
            "Sun": [
                "Saturn",
                "Rahu",
                "Ketu"
            ],
            "Moon": [
                "Venus",
                "Mars"
            ],
            "Mars": [
                "Venus",
                "Moon"
            ],
            "Mercury": [
                "Jupiter"
            ],
            "Venus": [
                "Moon",
                "Mars"
            ],
            "Jupiter": [
                "Mercury"
            ],
            "Saturn": [
                "Sun",
                "Ketu",
                "Rahu"
            ],
            "Ascendant": [
                "Saturn",
                "Rahu",
                "Sun",
                "Ketu"
            ]
        },
        "content": {
            "moon_vedha_results": {
                "Venus": "Fulfilment of desires, acquisition of education, dominance over opponents, sensual pleasures, increase in income, fear from water, windy complaints.",
                "Mars": "Fear from enemies, quarrels, blood disorders, shortness of temper, pain and injury to the body, punishment, proneness to accidents."
            },
            "note": "When one malefic afflicts the Moon (or the lagna), the year produces troubles and obstacles of various sorts. When two malefics do so, there is likelihood of physical ailment. When three or more malefics cause the vedha, there may be intense trouble or even death. Benefic association or influence reduces the affliction correspondingly."
        }
    }
}

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/varshphal/tri-pataki-chakra' \
--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 'varshphal_year="2024"' \
--form 'lan="en"' \

NodeJS Example

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-3.divineapi.com/indian-api/v1/varshphal/tri-pataki-chakra',
  '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',
    'varshphal_year': '2024',
    '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("varshphal_year", "2024");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-3.divineapi.com/indian-api/v1/varshphal/tri-pataki-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 Example

import requests

url = "https://astroapi-3.divineapi.com/indian-api/v1/varshphal/tri-pataki-chakra"

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',
'varshphal_year': '2024',
'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.