AstrologyAPI

Use access token to call astrology api.

Learn More

Sub Yogini Dasha By Dasha Cycle

POSThttps://json.astrologyapi.com/v1/sub_yogini_dasha/:dashaCycle/:dashaName
Copy

The API sub_yogini_dasha/:dashaCycle/:dashaName returns the sub-dasha cycle and its duration for the given major dasha cycle and dasha name. The response includes a list of sub-dashas along with their start and end dates.

POST/sub_yogini_dasha/:dashaCycle/:dashaName
Copy
1curl --location 'https://json.astrologyapi.com/v1/sub_yogini_dasha/:dashaCycle/:dashaName' \
2  --header 'Content-Type: application/json' \
3  --header 'x-astrologyapi-key: <YOUR_ACCESS_TOKEN>' \
4  --data '{
5    "day": 10,
6    "month": 5,
7    "year": 1990,
8    "hour": 19,
9    "min": 55,
10    "lat": 19.2056,
11    "lon": 25.2056,
12    "tzone": 5.5
13}'
14
200Response
Copy
1{
2  "major_dasha": {
3    "dasha_id": 0,
4    "dasha_name": "Mangla",
5    "duration": "1 Years",
6    "start_date": "23-8-2014 20:26",
7    "end_date": "23-8-2015 20:26"
8  },
9  "sub_dasha": [
10    {
11      "dasha_id": 0,
12      "dasha_name": "Mangla",
13      "start_date": "23-8-2014 20:26",
14      "end_date": "2-9-2014 23:56"
15    },
16    {
17      "dasha_id": 1,
18      "dasha_name": "Pingla",
19      "start_date": "2-9-2014 23:56",
20      "end_date": "23-9-2014 6:56"
21    },
22    {
23      "dasha_id": 2,
24      "dasha_name": "Dhanya",
25      "start_date": "23-9-2014 6:56",
26      "end_date": "23-10-2014 17:26"
27    },
28    {
29      "dasha_id": 3,
30      "dasha_name": "Bhramari",
31      "start_date": "23-10-2014 17:26",
32      "end_date": "3-12-2014 7:26"
33    },
34    {
35      "dasha_id": 4,
36      "dasha_name": "Bhadrika",
37      "start_date": "3-12-2014 7:26",
38      "end_date": "23-1-2015 0:56"
39    },
40    {
41      "dasha_id": 5,
42      "dasha_name": "Ulka",
43      "start_date": "23-1-2015 0:56",
44      "end_date": "24-3-2015 21:56"
45    },
46    {
47      "dasha_id": 6,
48      "dasha_name": "Siddha",
49      "start_date": "24-3-2015 21:56",
50      "end_date": "3-6-2015 22:26"
51    },
52    {
53      "dasha_id": 7,
54      "dasha_name": "Sankata",
55      "start_date": "3-6-2015 22:26",
56      "end_date": "23-8-2015 20:26"
57    }
58  ]
59}

Request Headers

x-astrologyapi-key

string

required

API Access Token to authenticate requests. Send your access token in this custom header.

Accept-Language

string

Preferred language for the response content

Properties

English - enHindi - hiMarathi - maBengali - bnTamil - taTelugu - teMalayalam - mlKannada - kn

Request Body (JSON)

day

int

required

Date of birth, eg: 10

month

int

required

Month of birth, eg: 5

year

int

required

Year of birth, eg: 1990

hour

int

required

Hour of birth, eg: 19

min

int

required

Minute of birth, eg: 55

lat

float

required

Latitude, eg: 19.2056

lon

float

required

Longitude, eg: 25.2056

tzone

float

required

Timezone, eg: 5.5

Path Parameters

dashaCycle

string

required

Dasha Cycle, eg: 1, 2

Properties

12
dashaName

string

required

Dasha Name, eg: Mangala, Pingala

Properties

MangalaPingalaDhanyaBhramariBhadrikaUlkaSiddhaSankata

Errors

400
Bad Request

Something is wrong with your request format or parameters.

401
Unauthorized

Your API key is missing or invalid.

403
Forbidden

You don't have permission to access this specific resource.

404
Not Found

The API endpoint you're trying to reach doesn't exist.

500
Internal Server Error

Our server is having a temporary glitch.