SEARCH ASTROLOGY API DOCS

Basic Astro/vedic_horoscope

API Endpoint
vedic_horoscope
MethodPOST
Full URL
https://json.astrologyapi.com/v1/vedic_horoscope

Request Data

ParamsData typeDescriptions

day required

month required

year required

hour required

min required

lat required

lon required

tzone required

int

int

int

int

int

float

float

float

date of birth, eg: 10

month of birth, eg: 5

year of birth, eg: 1990

hour, eg: 19

minute, eg: 55

latitude, eg: 19.2056

longitude, eg: 25.2056

timezone, eg: 5.5

Response Data

{
    "astro_details": {
        "ascendant": "Scorpio",
        "moon_sign": "Aquarius",
        "moon_sign_lord": "Saturn",
        "naksahtra": "Shatbhisha-2",
        "naksahtra_lord": "Rahu",
        "varna": "Shoodra",
        "vashya": "Maanav",
        "yoni": "Ashwa",
        "gan": "Rakshasa",
        "nadi": "Adi",
        "tithi": "Krishna Navami",
        "yog": "Endra",
        "karan": "Gara",
        "yunja": "Parbhaag",
        "tatva": "Air",
        "name_alphabet": "Saa",
        "paya": "Copper"
    },
    "planets_position": [
        {
            "id": 0,
            "name": "Sun",
            "full_degree": 30.0375,
            "sign_degree": "00:02:15",
            "speed": 0.9646,
            "is_retro": "false",
            "sign": "Taurus",
            "sign_lord": "Venus",
            "nakshatra": "Krittika-2",
            "nakshatra_lord": "Sun",
            "house": 7,
            "is_combust": false,
            "planet_awastha": "Mrit"
        },
        {
            "id": 1,
            "name": "Moon",
            "full_degree": 312.152,
            "sign_degree": "12:09:07",
            "speed": 11.9092,
            "is_retro": "false",
            "sign": "Aquarius",
            "sign_lord": "Saturn",
            "nakshatra": "Shatbhisha-2",
            "nakshatra_lord": "Rahu",
            "house": 4,
            "is_combust": false,
            "planet_awastha": "Yuva"
        },
        {
            "id": 2,
            "name": "Mars",
            "full_degree": 104.4781,
            "sign_degree": "14:28:41",
            "speed": 0.5143,
            "is_retro": "false",
            "sign": "Cancer",
            "sign_lord": "Moon",
            "nakshatra": "Pushya-4",
            "nakshatra_lord": "Saturn",
            "house": 9,
            "is_combust": false,
            "planet_awastha": "Yuva"
        },
        {
            "id": 3,
            "name": "Mercury",
            "full_degree": 28.2135,
            "sign_degree": "28:12:48",
            "speed": 2.169,
            "is_retro": "false",
            "sign": "Aries",
            "sign_lord": "Mars",
            "nakshatra": "Krittika-1",
            "nakshatra_lord": "Sun",
            "house": 6,
            "is_combust": true,
            "planet_awastha": "Mrit"
        },
        {
            "id": 4,
            "name": "Jupiter",
            "full_degree": 161.4466,
            "sign_degree": "11:26:48",
            "speed": -0.0521,
            "is_retro": "true",
            "sign": "Virgo",
            "sign_lord": "Mercury",
            "nakshatra": "Hast-1",
            "nakshatra_lord": "Moon",
            "house": 11,
            "is_combust": false,
            "planet_awastha": "Vridha"
        },
        {
            "id": 5,
            "name": "Venus",
            "full_degree": 347.8846,
            "sign_degree": "17:53:04",
            "speed": 0.6415,
            "is_retro": "false",
            "sign": "Pisces",
            "sign_lord": "Jupiter",
            "nakshatra": "Revati-1",
            "nakshatra_lord": "Mercury",
            "house": 5,
            "is_combust": false,
            "planet_awastha": "Yuva"
        },
        {
            "id": 6,
            "name": "Saturn",
            "full_degree": 305.9826,
            "sign_degree": "05:58:57",
            "speed": 0.0428,
            "is_retro": "false",
            "sign": "Aquarius",
            "sign_lord": "Saturn",
            "nakshatra": "Dhanishtha-4",
            "nakshatra_lord": "Mars",
            "house": 4,
            "is_combust": false,
            "planet_awastha": "Bala"
        },
        {
            "id": 7,
            "name": "Rahu",
            "full_degree": 229.581,
            "sign_degree": "19:34:51",
            "speed": -0.0529,
            "is_retro": "true",
            "sign": "Scorpio",
            "sign_lord": "Mars",
            "nakshatra": "Jyeshtha-1",
            "nakshatra_lord": "Mercury",
            "house": 1,
            "is_combust": false,
            "planet_awastha": "Kumara"
        },
        {
            "id": 8,
            "name": "Ketu",
            "full_degree": 49.581,
            "sign_degree": "19:34:51",
            "speed": -0.0529,
            "is_retro": "true",
            "sign": "Taurus",
            "sign_lord": "Venus",
            "nakshatra": "Rohini-3",
            "nakshatra_lord": "Moon",
            "house": 7,
            "is_combust": false,
            "planet_awastha": "Kumara"
        },
        {
            "id": 9,
            "name": "Ascendant",
            "full_degree": 226.0473,
            "sign_degree": "16:02:50",
            "speed": "-",
            "is_retro": false,
            "sign": "Scorpio",
            "sign_lord": "Mars",
            "nakshatra": "Anuradha-4",
            "nakshatra_lord": "Saturn",
            "house": 1,
            "is_combust": false,
            "planet_awastha": "--"
        }
    ],
    "manglik_dosha": {
        "from_ascendant": {
            "is_manglik": false,
            "mars_house": 9,
            "conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
        },
        "from_moon": {
            "is_manglik": false,
            "mars_house": 6,
            "conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
        },
        "from_venus": {
            "is_manglik": false,
            "mars_house": 5,
            "conclusion": "You do not have any effect of manglik dosha in your horoscope. You are not manglik."
        }
    },
    "current_vimshottari_dasha": {
        "major": {
            "dasha_period": [
                {
                    "planet": "Rahu",
                    "planet_id": 7,
                    "start": "18-12-1985  2:11",
                    "end": "18-12-2003  14:11"
                },
                {
                    "planet": "Jupiter",
                    "planet_id": 4,
                    "start": "18-12-2003  14:11",
                    "end": "18-12-2019  14:11"
                },
                {
                    "planet": "Saturn",
                    "planet_id": 6,
                    "start": "18-12-2019  14:11",
                    "end": "18-12-2038  8:11"
                },
                {
                    "planet": "Mercury",
                    "planet_id": 3,
                    "start": "18-12-2038  8:11",
                    "end": "18-12-2055  14:11"
                },
                {
                    "planet": "Ketu",
                    "planet_id": 8,
                    "start": "18-12-2055  14:11",
                    "end": "18-12-2062  8:11"
                },
                {
                    "planet": "Venus",
                    "planet_id": 5,
                    "start": "18-12-2062  8:11",
                    "end": "18-12-2082  8:11"
                },
                {
                    "planet": "Sun",
                    "planet_id": 0,
                    "start": "18-12-2082  8:11",
                    "end": "17-12-2088  20:11"
                },
                {
                    "planet": "Moon",
                    "planet_id": 1,
                    "start": "17-12-2088  20:11",
                    "end": "18-12-2098  8:11"
                },
                {
                    "planet": "Mars",
                    "planet_id": 2,
                    "start": "18-12-2098  8:11",
                    "end": "19-12-2105  2:11"
                }
            ]
        },
        "minor": {
            "planet": {
                "major": "Jupiter"
            },
            "dasha_period": [
                {
                    "planet": "Jupiter",
                    "planet_id": 4,
                    "start": "18-12-2003  14:11",
                    "end": "4-2-2006  18:59"
                },
                {
                    "planet": "Saturn",
                    "planet_id": 6,
                    "start": "4-2-2006  18:59",
                    "end": "18-8-2008  2:11"
                },
                {
                    "planet": "Mercury",
                    "planet_id": 3,
                    "start": "18-8-2008  2:11",
                    "end": "23-11-2010  23:47"
                },
                {
                    "planet": "Ketu",
                    "planet_id": 8,
                    "start": "23-11-2010  23:47",
                    "end": "30-10-2011  21:23"
                },
                {
                    "planet": "Venus",
                    "planet_id": 5,
                    "start": "30-10-2011  21:23",
                    "end": "30-6-2014  21:23"
                },
                {
                    "planet": "Sun",
                    "planet_id": 0,
                    "start": "30-6-2014  21:23",
                    "end": "19-4-2015  2:11"
                },
                {
                    "planet": "Moon",
                    "planet_id": 1,
                    "start": "19-4-2015  2:11",
                    "end": "18-8-2016  2:11"
                },
                {
                    "planet": "Mars",
                    "planet_id": 2,
                    "start": "18-8-2016  2:11",
                    "end": "24-7-2017  23:47"
                },
                {
                    "planet": "Rahu",
                    "planet_id": 7,
                    "start": "24-7-2017  23:47",
                    "end": "18-12-2019  14:11"
                }
            ]
        },
        "sub_minor": {
            "planet": {
                "major": "Jupiter",
                "minor": "Rahu"
            },
            "dasha_period": [
                {
                    "planet": "Rahu",
                    "planet_id": 7,
                    "start": "24-7-2017  23:47",
                    "end": "3-12-2017  11:33"
                },
                {
                    "planet": "Jupiter",
                    "planet_id": 4,
                    "start": "3-12-2017  11:33",
                    "end": "30-3-2018  8:40"
                },
                {
                    "planet": "Saturn",
                    "planet_id": 6,
                    "start": "30-3-2018  8:40",
                    "end": "16-8-2018  3:45"
                },
                {
                    "planet": "Mercury",
                    "planet_id": 3,
                    "start": "16-8-2018  3:45",
                    "end": "18-12-2018  8:11"
                },
                {
                    "planet": "Ketu",
                    "planet_id": 8,
                    "start": "18-12-2018  8:11",
                    "end": "7-2-2019  11:26"
                },
                {
                    "planet": "Venus",
                    "planet_id": 5,
                    "start": "7-2-2019  11:26",
                    "end": "3-7-2019  13:50"
                },
                {
                    "planet": "Sun",
                    "planet_id": 0,
                    "start": "3-7-2019  13:50",
                    "end": "16-8-2019  9:45"
                },
                {
                    "planet": "Moon",
                    "planet_id": 1,
                    "start": "16-8-2019  9:45",
                    "end": "28-10-2019  10:57"
                },
                {
                    "planet": "Mars",
                    "planet_id": 2,
                    "start": "28-10-2019  10:57",
                    "end": "18-12-2019  14:11"
                }
            ]
        },
        "sub_sub_minor": {
            "planet": {
                "major": "Jupiter",
                "minor": "Rahu",
                "sub_minor": "Mercury"
            },
            "dasha_period": [
                {
                    "planet": "Mercury",
                    "planet_id": 3,
                    "start": "16-8-2018  3:45",
                    "end": "2-9-2018  17:59"
                },
                {
                    "planet": "Ketu",
                    "planet_id": 8,
                    "start": "2-9-2018  17:59",
                    "end": "9-9-2018  23:50"
                },
                {
                    "planet": "Venus",
                    "planet_id": 5,
                    "start": "9-9-2018  23:50",
                    "end": "30-9-2018  16:35"
                },
                {
                    "planet": "Sun",
                    "planet_id": 0,
                    "start": "30-9-2018  16:35",
                    "end": "6-10-2018  21:36"
                },
                {
                    "planet": "Moon",
                    "planet_id": 1,
                    "start": "6-10-2018  21:36",
                    "end": "17-10-2018  5:58"
                },
                {
                    "planet": "Mars",
                    "planet_id": 2,
                    "start": "17-10-2018  5:58",
                    "end": "24-10-2018  11:50"
                },
                {
                    "planet": "Rahu",
                    "planet_id": 7,
                    "start": "24-10-2018  11:50",
                    "end": "12-11-2018  2:54"
                },
                {
                    "planet": "Jupiter",
                    "planet_id": 4,
                    "start": "12-11-2018  2:54",
                    "end": "28-11-2018  16:17"
                },
                {
                    "planet": "Saturn",
                    "planet_id": 6,
                    "start": "28-11-2018  16:17",
                    "end": "18-12-2018  8:11"
                }
            ]
        },
        "sub_sub_sub_minor": {
            "planet": {
                "major": "Jupiter",
                "minor": "Rahu",
                "sub_minor": "Mercury",
                "sub_sub_minor": "Mercury"
            },
            "dasha_period": [
                {
                    "planet": "Mercury",
                    "planet_id": 3,
                    "start": "16-8-2018  3:45",
                    "end": "18-8-2018  15:34"
                },
                {
                    "planet": "Ketu",
                    "planet_id": 8,
                    "start": "18-8-2018  15:34",
                    "end": "19-8-2018  16:12"
                },
                {
                    "planet": "Venus",
                    "planet_id": 5,
                    "start": "19-8-2018  16:12",
                    "end": "22-8-2018  14:34"
                },
                {
                    "planet": "Sun",
                    "planet_id": 0,
                    "start": "22-8-2018  14:34",
                    "end": "23-8-2018  11:41"
                },
                {
                    "planet": "Moon",
                    "planet_id": 1,
                    "start": "23-8-2018  11:41",
                    "end": "24-8-2018  22:52"
                },
                {
                    "planet": "Mars",
                    "planet_id": 2,
                    "start": "24-8-2018  22:52",
                    "end": "25-8-2018  23:30"
                },
                {
                    "planet": "Rahu",
                    "planet_id": 7,
                    "start": "25-8-2018  23:30",
                    "end": "28-8-2018  14:50"
                },
                {
                    "planet": "Jupiter",
                    "planet_id": 4,
                    "start": "28-8-2018  14:50",
                    "end": "30-8-2018  23:7"
                },
                {
                    "planet": "Saturn",
                    "planet_id": 6,
                    "start": "30-8-2018  23:7",
                    "end": "2-9-2018  17:59"
                }
            ]
        }
    }
}
POST
var api = 'vedic_horoscope';
var userId = '<Your User Id>';
var apiKey = '<Your Api Key>';
var data = {
  day: 6,
  month: 1,
  year: 2000,
  hour: 7,
  min: 45,
  lat: 19.132,
  lon: 72.342,
  tzone: 5.5,
};
var request = $.ajax({
url: "https://json.astrologyapi.com/v1/"+api,
method: "POST",
dataType:'json',
headers: {
    "authorization": "Basic " + btoa(userId+":"+apiKey),
    "Content-Type":'application/json'
},
    data:JSON.stringify(data)
});

request.then( function(resp){
    console.log(resp);
}, function(err){
    console.log(err);
});