US :  +1 (888) 261-8481    |    INDIA :  +91 (22) 2635-9680

Astrology API Reference Documentation

Jaimini API/jaimini_details

API Endpoint

jaimini_details

Method & URL
Method Full URL
POST https://json.astrologyapi.com/v1/jaimini_details

Response Data

			
				{
   "janma_lagna":"Capricorn",
   "pad_lagna":"Virgo",
   "up_pad_lagna":"Aries",
   "kakamsha_lagna":"Pisces",
   "jaimini_karaka":{
      "atma_karaka":{
         "planet_name":"Mars",
         "planet_id":2,
         "full_degree":319.95675193116966,
         "speed":-0.041031457805587986,
         "sign":"Aquarius"
      },
      "amatya_karaka":{
         "planet_name":"Saturn",
         "planet_id":6,
         "full_degree":216.43163044545065,
         "speed":0.09437697708580582,
         "sign":"Scorpio"
      },
      "bhatri_karaka":{
         "planet_name":"Moon",
         "planet_id":1,
         "full_degree":211.10574188254813,
         "speed":12.951209421176381,
         "sign":"Scorpio"
      },
      "matri_karaka":{
         "planet_name":"Sun",
         "planet_id":0,
         "full_degree":170.82306366615978,
         "speed":0.9874994319841177,
         "sign":"Virgo"
      },
      "putra_karaka":{
         "planet_name":"Mercury",
         "planet_id":3,
         "full_degree":154.29911876932766,
         "speed":0.31217421973878345,
         "sign":"Virgo"
      },
      "gnati_karaka":{
         "planet_name":"Jupiter",
         "planet_id":4,
         "full_degree":145.80496373760482,
         "speed":0.20599459731132685,
         "sign":"Leo"
      },
      "dara_karaka":{
         "planet_name":"Venus",
         "planet_id":5,
         "full_degree":128.1662074953859,
         "speed":1.138729885665596,
         "sign":"Leo"
      }
   }
}			
		
Params Data type Descriptions

day

month

year

hour

min

lat

lon

tzone

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

            
                var userId = '';
var apiKey = '';
var data = 'JSON Request Data';
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)
});
// Returns A promiss
return( request.then( function(resp){
    return resp;
}, function(err){
    return err;
}));
}
            
		
                
                    require_once 'VedicRishiClient.php';
$userId = "";
$apiKey = "";
$data = array(
    'date' => 25,
    'month' => 12,
    'year' => 1988,
    'hour' => 4,
    'minute' => 0,
    'latitude' => 25.123,
    'longitude' => 82.34,
    'timezone' => 5.5
);
$resourceName = "astro_details";
$vedicRishi = new VedicRishiClient($userId, $apiKey);
$responseData = $vedicRishi->call($resourceName, $data['date'], $data['month'], $data['year'], $data['hour'], $data['minute'], $data['latitude'], $data['longitude'], $data['timezone']);
echo $responseData;


                

             
Download PHP Client