Shani Ashtam Shani API
Access Shani Ashtam Shani via the DivineAPI Kundli suite. Based on the tenets of Indian Astrology, this endpoint returns the Ashtama Shani (Saturn transiting the eighth house from the natal Moon) status and periods for the provided birth details.
API Endpoint
POST https://astroapi-3.divineapi.com/indian-api/v1/shani-ashtam-shani
Returns basic astrological details in the response.
Supported Language Codes
You can localize the API response by passing the lan parameter in the request body.
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| bn | Bengali |
| ma | Marathi |
| tm | Tamil |
| tl | Telugu |
| ml | Malayalam |
| kn | Kannada |
Support Article: Translating Vedic APIs into Different Languages
Headers
| Name | Type | Description |
|---|---|---|
| Authorization * | String | Your API Access Token, e.g. Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key * | String | Your API key |
| full_name * | String | Full name, e.g. Rahul Kumar |
| day * | Integer | Date of birth, e.g. 24 |
| month * | Integer | Month of birth, e.g. 05 |
| year * | Integer | Year of birth, e.g. 2023 |
| hour * | Integer | Hour (24-hour format), e.g. 14 |
| min * | Integer | Minute, e.g. 40 |
| sec * | Integer | Second, e.g. 43 |
| gender * | String | Gender, e.g. male |
| place * | String | Place of birth, e.g. New Delhi |
| lat * | Float | Latitude, e.g. 28.7041 |
| lon * | Float | Longitude, e.g. 77.1025 |
| tzone * | Float | Timezone, e.g. 5.5 — See Timezone List |
| lan | String | Language code as per the table above; default is en |
200: OK Shani Ashtam Shani Fetched Successfully
{
"success": 1,
"data": {
"natal_saturn": {
"sign_no": 10,
"sign_name": "Capricorn",
"degree": 271.3116,
"house": 5
},
"ashtam": {
"sign_no": 5,
"sign_name": "Leo",
"house": 12
},
"periods": [
{
"start_date": "2006-11-02",
"end_date": "2007-01-10"
},
{
"start_date": "2007-07-16",
"end_date": "2009-09-09"
},
{
"start_date": "2036-08-28",
"end_date": "2038-10-22"
},
{
"start_date": "2039-04-06",
"end_date": "2039-07-12"
},
{
"start_date": "2065-10-13",
"end_date": "2066-02-03"
},
{
"start_date": "2066-07-04",
"end_date": "2068-08-30"
}
],
"content": [
{
"min_age": 0,
"max_age": 20,
"content": {
"key_areas": [
{
"title": "Sleep and Dreams",
"content": "The 12th house governs sleep, and Saturn transit here can create significant sleep disturbances in the young native during this challenging period. Insomnia, nightmares, sleepwalking, excessive sleeping, or disturbed sleep patterns that affect daytime energy, concentration, and mood may dominate the child nightly experience. Dreams may be unusually vivid, intense, or frightening, featuring themes of loss, abandonment, confinement, or encounters with unknown and mysterious figures. Saturn demands that sleep disturbances be addressed practically through consistent bedtime routines, comfortable sleeping environments, limitation of stimulating activities before bed, and professional consultation when problems persist. Healthy sleep patterns established during this period significantly benefit the native overall development."
},
{
"title": "Isolation and Withdrawal",
"content": "A tendency toward social withdrawal, daydreaming, fantasy, or spending excessive time alone characterizes this transit through the house of isolation and inner retreat. The native may prefer imaginary worlds, books, solitary creative pursuits, or quiet contemplation over active social engagement with peers and group activities. While some solitude is healthy and developmentally appropriate, excessive withdrawal can indicate emotional distress, depression, anxiety, or difficulty processing experiences that feel overwhelming for a young psyche. Saturn does not intend permanent isolation but creates a period of necessary introversion during which the native develops rich inner resources, imagination, and self-sufficiency that become valuable assets throughout their entire lifetime."
},
{
"title": "Hidden Grief",
"content": "The 12th house governs hidden sorrows, and the young native may carry grief or sadness that they cannot articulate or that adults fail to recognize during this subtle transit. Losses that seem minor to adults, such as a pet dying, a friend moving away, a favorite teacher leaving, or changes in family routine, may affect the child deeply and persistently. More significant losses including parental divorce, family member death, or loss of familiar home create profound but often internalized grief. Saturn asks that adults pay careful attention to signs of hidden sadness in the child, creating safe spaces for emotional expression and validating feelings that the young native may lack vocabulary or confidence to communicate directly."
},
{
"title": "Spiritual Sensitivity",
"content": "An unusual sensitivity to spiritual, metaphysical, or invisible dimensions of experience may develop during this transit through the house of transcendence and higher consciousness. The child may show interest in prayer, feel connected to departed family members, display intuitive abilities that surprise adults, or ask profound questions about the nature of reality, consciousness, and existence that seem beyond their years. Some children experience what they perceive as spiritual encounters or heightened sensory awareness during this period. Saturn channels this sensitivity toward grounded spiritual development rather than uncontrolled psychic experience. Religious education, meditation practices appropriate for children, and respectful acknowledgment of the child spiritual perceptions help integrate these experiences constructively."
}
],
"summary": "Saturn transiting the 8th from natal Saturn through the 12th house during childhood creates unusual sensitivity to loss, isolation, and spiritual dimensions of experience. The young native may experience sleep disturbances, vivid imagination bordering on fantasy withdrawal, and a sense of being different or separate from the ordinary material concerns of their peers."
}
},
{
"min_age": 40,
"max_age": 60,
"content": {
"key_areas": [
{
"title": "Shadow Integration",
"content": "The psychological shadow, comprising all rejected, denied, and repressed aspects of the personality, demands acknowledgment and conscious integration during this profound transit through the house of the unconscious mind. Qualities the native judged harshly in others may reveal themselves as unacknowledged aspects of their own character and behavioral patterns. Anger, jealousy, greed, fear, sexual impulses, or desire for power that were suppressed beneath socially acceptable personas emerge with force that cannot be ignored. Saturn insists that the native face their complete psychological reality with honesty and courage rather than continuing to project unwanted qualities onto others. This shadow work, while uncomfortable, creates remarkable psychological wholeness and emotional authenticity."
},
{
"title": "Accumulated Losses",
"content": "The weight of all losses experienced throughout a lifetime, including deceased loved ones, failed relationships, abandoned dreams, lost health, missed opportunities, and faded youth, presses upon the native consciousness during this transit through the house of sorrows and dissolution. These accumulated losses may trigger grief episodes, depression, existential sadness, or a pervasive melancholy that colors the native experience of daily life. Saturn does not create suffering through this process but demands that accumulated grief be honestly acknowledged, fully experienced, and eventually integrated into a complete and honest narrative of the native life. Therapeutic support, spiritual practice, and compassionate self-dialogue help process this essential emotional work effectively."
},
{
"title": "Addiction and Escapism",
"content": "Tendencies toward escapism through substances, excessive entertainment, compulsive work, fantasy relationships, or other avoidance mechanisms face their most critical testing during this transit. The 12th house naturally gravitates toward dissolution of boundaries, and Saturn transit here can either strengthen escapist tendencies into serious addiction or force the native to confront and overcome them definitively. The native must honestly examine which behaviors serve genuine self-care and psychological restoration and which are merely sophisticated avoidance strategies designed to prevent confrontation with uncomfortable inner truths. Saturn rewards those who choose conscious engagement with difficult emotions over numbing escape through whatever substance or behavior they favor."
},
{
"title": "Preparation for Inner Life",
"content": "This transit marks the beginning of a gradual but profound shift from external achievement toward internal development and spiritual cultivation. The native may feel decreasing interest in social status, material accumulation, and competitive professional engagement while experiencing growing attraction to meditation, contemplation, nature immersion, creative expression for personal satisfaction, and spiritual community. Saturn in the 12th house during midlife initiates the soul preparation for life final chapters by redirecting attention from worldly conquest toward inner cultivation and authentic self-knowledge. Those who honor this shift create the foundation for a genuinely peaceful and spiritually rich old age rather than a frantic and unsatisfying pursuit of fading worldly relevance."
}
],
"summary": "Saturn transiting the 8th from natal Saturn through the 12th house during midlife brings the deepest confrontation with hidden fears, accumulated losses, and the call toward spiritual transcendence. The native must process the shadow material of their personality, address addictive or escapist patterns, and begin the inner work that prepares the soul for life final chapters."
}
},
{
"min_age": 60,
"max_age": 80,
"content": {
"key_areas": [
{
"title": "Spiritual Practice Deepening",
"content": "Spiritual practice reaches its most authentic and personally meaningful expression during this transit through the house of moksha and liberation from material attachment. Prayer, meditation, devotional singing, scripture study, or simple contemplative silence may occupy increasing portions of the native daily routine and inner attention. The practice is no longer about achieving spiritual milestones or demonstrating piety to others but about genuine inner communion with whatever the native understands as sacred and transcendent. Saturn in the 12th house during old age rewards sincere spiritual effort with experiences of peace, connection, and occasional transcendence that validate a lifetime of faith, seeking, and devotional practice."
},
{
"title": "Letting Go",
"content": "The process of letting go accelerates during this transit as the native releases attachments to possessions, relationships, activities, and self-concepts that no longer serve their evolving spiritual and psychological needs. Each act of voluntary release, whether giving away treasured possessions to family members, forgiving old grievances completely, or accepting physical limitations without resentment, lightens the native psychological burden and creates space for deeper inner peace. Saturn teaches that letting go is not loss but liberation, that every attachment released creates freedom and spaciousness within the soul. Those who practice conscious and deliberate letting go experience this transit as genuinely liberating rather than depressing and diminishing."
},
{
"title": "Hospital and Institutional Care",
"content": "The 12th house governs hospitals, institutions, and places of confinement, and during this transit the native may spend time in medical facilities, rehabilitation centers, or long-term care institutions that become their primary living environment. Adjusting to institutional life requires surrendering personal preferences, established routines, and domestic comfort in favor of standardized care schedules and shared living spaces. Saturn asks the native to find peace and dignity within institutional settings through internal resources rather than external circumstances and personal control over environment. Maintaining spiritual practice, family connection, and inner equanimity within institutional constraints represents a profound form of spiritual accomplishment and personal resilience."
},
{
"title": "Processing Life Story",
"content": "The native entire life story undergoes comprehensive review and integration during this reflective transit through the house of the subconscious and dissolution of the separate self. Memories from every life stage surface, asking to be acknowledged, understood, and ultimately released into the peaceful acceptance that this house ultimately offers. The narrative the native constructs about their life, whether primarily grateful, regretful, peaceful, or troubled, significantly affects their emotional wellbeing and the quality of their remaining days. Saturn encourages an honest and compassionate life narrative that includes both accomplishments and failures, joys and sorrows, wisdom gained and opportunities missed, held together by acceptance and self-forgiveness."
}
],
"summary": "Shani Ashtam through the 12th house during retirement years intensifies the movement toward inner life, spiritual practice, and gradual withdrawal from worldly engagement. The native processes a lifetime of experience through the lens of impermanence, releasing attachments one by one while cultivating the inner peace that sustains the soul through life final passage."
}
}
]
}
}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/shani-ashtam-shani' \
--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"' \
NodeJS Example
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-3.divineapi.com/indian-api/v1/shani-ashtam-shani',
'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);
});
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("lan", "en");
var settings = {
"url": "https://astroapi-3.divineapi.com/indian-api/v1/shani-ashtam-shani",
"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/shani-ashtam-shani"
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)
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.