AstrologyAPI

Use access token to call astrology api.

Learn More

Pran Vimshottari Dasha

POSThttps://json.astrologyapi.com/v1/sub_sub_sub_sub_vdasha/:md/:ad/:pd/:sd
Copy

Get Pran dasha by major, antar, pratyanta and sookshma dasha

POST/sub_sub_sub_sub_vdasha/:md/:ad/:pd/:sd
Copy
1curl --location 'https://json.astrologyapi.com/v1/sub_sub_sub_sub_vdasha/:md/:ad/:pd/:sd' \
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    "planet": "Mercury",
4    "planet_id": 3,
5    "start": "30-11-2036  9:21",
6    "end": "30-11-2036  14:29"
7  },
8  {
9    "planet": "Ketu",
10    "planet_id": 8,
11    "start": "30-11-2036  14:29",
12    "end": "30-11-2036  16:36"
13  },
14  {
15    "planet": "Venus",
16    "planet_id": 5,
17    "start": "30-11-2036  16:36",
18    "end": "30-11-2036  22:38"
19  },
20  {
21    "planet": "Sun",
22    "planet_id": 0,
23    "start": "30-11-2036  22:38",
24    "end": "1-12-2036  0:27"
25  },
26  {
27    "planet": "Moon",
28    "planet_id": 1,
29    "start": "1-12-2036  0:27",
30    "end": "1-12-2036  3:28"
31  },
32  {
33    "planet": "Mars",
34    "planet_id": 2,
35    "start": "1-12-2036  3:28",
36    "end": "1-12-2036  5:34"
37  },
38  {
39    "planet": "Rahu",
40    "planet_id": 7,
41    "start": "1-12-2036  5:34",
42    "end": "1-12-2036  11:0"
43  },
44  {
45    "planet": "Jupiter",
46    "planet_id": 4,
47    "start": "1-12-2036  11:0",
48    "end": "1-12-2036  15:50"
49  },
50  {
51    "planet": "Saturn",
52    "planet_id": 6,
53    "start": "1-12-2036  15:50",
54    "end": "1-12-2036  21:34"
55  }
56]

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 - en

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

md

string

required

Major Dasha, eg: sun,moon

Properties

sunmoonmarsmercuryjupitervenussaturnrahuketu
ad

string

required

Antar Dasha, eg: sun,moon

Properties

sunmoonmarsmercuryjupitervenussaturnrahuketu
pd

string

required

Pratyantar Dasha, eg: sun,moon

Properties

sunmoonmarsmercuryjupitervenussaturnrahuketu
sd

string

required

Sookshma Dasha, eg: sun,moon

Properties

sunmoonmarsmercuryjupitervenussaturnrahuketu

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.