AstrologyAPI

Use access token to call astrology api.

Learn More

Major Yogini Dasha

POSThttps://json.astrologyapi.com/v1/major_yogini_dasha
Copy

The major_yogini_dasha API appears to provide information on the timing and duration of different yoginis or periods of time in Vedic astrology. The response of the API includes details such as the dasha name, start and end dates, duration, and start and end times in milliseconds for each period.

POST/major_yogini_dasha
Copy
1curl --location 'https://json.astrologyapi.com/v1/major_yogini_dasha' \
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  {
3    "dasha_id": 1,
4    "dasha_name": "Pingla",
5    "start_date": "9-11-2000 5:9",
6    "end_date": "9-11-2002 5:9",
7    "start_ms": 973726740000,
8    "end_ms": 1036798740000,
9    "duration": 2
10  },
11  {
12    "dasha_id": 2,
13    "dasha_name": "Dhanya",
14    "start_date": "9-11-2002 5:9",
15    "end_date": "9-11-2005 5:9",
16    "start_ms": 1036798740000,
17    "end_ms": 1131493140000,
18    "duration": 3
19  },
20  {
21    "dasha_id": 3,
22    "dasha_name": "Bhramari",
23    "start_date": "9-11-2005 5:9",
24    "end_date": "9-11-2009 5:9",
25    "start_ms": 1131493140000,
26    "end_ms": 1257723540000,
27    "duration": 4
28  },
29  {
30    "dasha_id": 4,
31    "dasha_name": "Bhadrika",
32    "start_date": "9-11-2009 5:9",
33    "end_date": "9-11-2014 5:9",
34    "start_ms": 1257723540000,
35    "end_ms": 1415489940000,
36    "duration": 5
37  },
38  {
39    "dasha_id": 5,
40    "dasha_name": "Ulka",
41    "start_date": "9-11-2014 5:9",
42    "end_date": "9-11-2020 5:9",
43    "start_ms": 1415489940000,
44    "end_ms": 1604878740000,
45    "duration": 6
46  },
47  {
48    "dasha_id": 6,
49    "dasha_name": "Siddha",
50    "start_date": "9-11-2020 5:9",
51    "end_date": "9-11-2027 5:9",
52    "start_ms": 1604878740000,
53    "end_ms": 1825717140000,
54    "duration": 7
55  },
56  {
57    "dasha_id": 7,
58    "dasha_name": "Sankata",
59    "start_date": "9-11-2027 5:9",
60    "end_date": "9-11-2035 5:9",
61    "start_ms": 1825717140000,
62    "end_ms": 2078177940000,
63    "duration": 8
64  },
65  {
66    "dasha_id": 0,
67    "dasha_name": "Mangla",
68    "start_date": "9-11-2035 5:9",
69    "end_date": "9-11-2036 5:9",
70    "start_ms": 2078177940000,
71    "end_ms": 2109800340000,
72    "duration": 1
73  },
74  {
75    "dasha_id": 1,
76    "dasha_name": "Pingla",
77    "start_date": "9-11-2036 5:9",
78    "end_date": "9-11-2038 5:9",
79    "start_ms": 2109800340000,
80    "end_ms": 2172872340000,
81    "duration": 2
82  },
83  {
84    "dasha_id": 2,
85    "dasha_name": "Dhanya",
86    "start_date": "9-11-2038 5:9",
87    "end_date": "9-11-2041 5:9",
88    "start_ms": 2172872340000,
89    "end_ms": 2267566740000,
90    "duration": 3
91  },
92  {
93    "dasha_id": 3,
94    "dasha_name": "Bhramari",
95    "start_date": "9-11-2041 5:9",
96    "end_date": "9-11-2045 5:9",
97    "start_ms": 2267566740000,
98    "end_ms": 2393797140000,
99    "duration": 4
100  },
101  {
102    "dasha_id": 4,
103    "dasha_name": "Bhadrika",
104    "start_date": "9-11-2045 5:9",
105    "end_date": "9-11-2050 5:9",
106    "start_ms": 2393797140000,
107    "end_ms": 2551563540000,
108    "duration": 5
109  },
110  {
111    "dasha_id": 5,
112    "dasha_name": "Ulka",
113    "start_date": "9-11-2050 5:9",
114    "end_date": "9-11-2056 5:9",
115    "start_ms": 2551563540000,
116    "end_ms": 2740952340000,
117    "duration": 6
118  },
119  {
120    "dasha_id": 6,
121    "dasha_name": "Siddha",
122    "start_date": "9-11-2056 5:9",
123    "end_date": "9-11-2063 5:9",
124    "start_ms": 2740952340000,
125    "end_ms": 2961790740000,
126    "duration": 7
127  },
128  {
129    "dasha_id": 7,
130    "dasha_name": "Sankata",
131    "start_date": "9-11-2063 5:9",
132    "end_date": "9-11-2071 5:9",
133    "start_ms": 2961790740000,
134    "end_ms": 3214251540000,
135    "duration": 8
136  },
137  {
138    "dasha_id": 0,
139    "dasha_name": "Mangla",
140    "start_date": "9-11-2071 5:9",
141    "end_date": "9-11-2072 5:9",
142    "start_ms": 3214251540000,
143    "end_ms": 3245873940000,
144    "duration": 1
145  }
146]

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

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.