Ashtakoot Score

API Endpoint:

match-making/ashtakoot-score

Method:

POST

Full URL:

https://json.freeastrologyapi.com/match-making/ashtakoot-score

Supported Languages:

Telugu, English, Hindi


Request data
Parameter Data type Description
Female Object data
year Integer Year number, eg: 2023
month Integer Month number,with no leading zero eg: 7 or 8
date Integer Day number,with no leading zero eg: 5 or 6
hours Integer hours number,with no leading zero eg: 1 or 2
minutes Integer minutes number,with no leading zero eg: 0 or 1
seconds Integer seconds number,with no leading zero eg: 0 or 1
latitude float latitude number, in the range from -90 to 90
longitude float longitude number, in the range from -180 to 180
timezone float Timezone of birth location, eg: 5.5
Male Object data
year Integer Year number, eg: 2023
month Integer Month number,with no leading zero eg: 7 or 8
date Integer Day number,with no leading zero eg: 5 or 6
hours Integer hours number,with no leading zero eg: 1 or 2
minutes Integer minutes number,with no leading zero eg: 0 or 1
seconds Integer seconds number,with no leading zero eg: 0 or 1
latitude float latitude number, in the range from -90 to 90
longitude float longitude number, in the range from -180 to 180
timezone float Timezone of birth location, eg: 5.5
Configuration Options
observation_point String / Optional Either "topocentric" or "geocentric"
language String / Optional Either "te" or "hi" or "en"
ayanamsha String / Optional Either "sayana" or "lahiri"


Sample Code



$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://json.freeastrologyapi.com/match-making/ashtakoot-score',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS =>'{
    "female":{
            "year": 1984,
			"month": 7,
			"date": 17,
			"hours": 11,
			"minutes": 45,
			"seconds": 0,
			"latitude": 16.16667,
			"longitude": 81.1333,
			"timezone": 5.5
    },
    "male":{
			"year": 1984,
			"month": 4,
			"date": 3,
			"hours": 9,
			"minutes": 15,
			"seconds": 31,
			"latitude": 16.51667,
			"longitude": 80.61667,
			"timezone": 5.5
    },
     "config": {
        "observation_point": "topocentric",
        "language": "te",
        "ayanamsha": "lahiri"
    }
}',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json',
    'x-api-key: YOUR_API_KEY_HERE'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

  

import requests
import json

url = "https://json.freeastrologyapi.com/match-making/ashtakoot-score"

payload = json.dumps({
  "female": {
    "year": 1984,
    "month": 7,
    "date": 17,
    "hours": 11,
    "minutes": 45,
    "seconds": 0,
    "latitude": 16.16667,
    "longitude": 81.1333,
    "timezone": 5.5
  },
  "male": {
    "year": 1984,
    "month": 4,
    "date": 3,
    "hours": 9,
    "minutes": 15,
    "seconds": 31,
    "latitude": 16.51667,
    "longitude": 80.61667,
    "timezone": 5.5
  },
  "config": {
    "observation_point": "topocentric",
    "language": "te",
    "ayanamsha": "lahiri"
  }
})
headers = {
  'Content-Type': 'application/json',
  'x-api-key': 'YOUR_API_KEY_HERE'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)



var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://json.freeastrologyapi.com/match-making/ashtakoot-score',
  'headers': {
    'Content-Type': 'application/json',
    'x-api-key': 'YOUR_API_KEY_HERE'
  },
  body: JSON.stringify({
    "female": {
      "year": 1984,
      "month": 7,
      "date": 17,
      "hours": 11,
      "minutes": 45,
      "seconds": 0,
      "latitude": 16.16667,
      "longitude": 81.1333,
      "timezone": 5.5
    },
    "male": {
      "year": 1984,
      "month": 4,
      "date": 3,
      "hours": 9,
      "minutes": 15,
      "seconds": 31,
      "latitude": 16.51667,
      "longitude": 80.61667,
      "timezone": 5.5
    },
    "config": {
      "observation_point": "topocentric",
      "language": "te",
      "ayanamsha": "lahiri"
    }
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});




Response data



{
    "statusCode": 200,
    "output": {
        "out_of": 36,
        "total_score": 15.0,
        "varna_kootam": {
            "bride": {
                "moon_sign_number": 11,
                "moon_sign": "Aquarius",
                "varnam": 4,
                "varnam_name": "Soodra"
            },
            "groom": {
                "moon_sign_number": 1,
                "moon_sign": "Aries",
                "varnam": 2,
                "varnam_name": "Kshatriya"
            },
            "out_of": 1,
            "score": 1
        },
        "vasya_kootam": {
            "bride": {
                "bride_kootam": 2,
                "bride_kootam_name": "Manava"
            },
            "groom": {
                "groom_kootam": 1,
                "groom_kootam_name": "Chatushpada"
            },
            "out_of": 2,
            "score": 1
        },
        "tara_kootam": {
            "bride": {
                "star_number": 24,
                "star_name": "Satabisha"
            },
            "groom": {
                "star_number": 1,
                "star_name": "Aswini"
            },
            "out_of": 3,
            "score": 1.5
        },
        "yoni_kootam": {
            "bride": {
                "star": 24,
                "yoni_number": 1,
                "yoni": "Horse"
            },
            "groom": {
                "star": 1,
                "yoni_number": 1,
                "yoni": "Horse"
            },
            "out_of": 4,
            "score": 4
        },
        "graha_maitri_kootam": {
            "bride": {
                "moon_sign_number": 11,
                "moon_sign": "Aquarius",
                "moon_sign_lord": 7,
                "moon_sign_lord_name": "Saturn"
            },
            "groom": {
                "moon_sign_number": 1,
                "moon_sign": "Aries",
                "moon_sign_lord": 3,
                "moon_sign_lord_name": "Mars"
            },
            "out_of": 5,
            "score": 0.5
        },
        "gana_kootam": {
            "bride": {
                "bride_nadi": 3,
                "bride_nadi_name": "Rakshasa"
            },
            "groom": {
                "groom_nadi": 1,
                "groom_nadi_name": "Deva"
            },
            "out_of": 6,
            "score": 0
        },
        "rasi_kootam": {
            "bride": {
                "moon_sign": 11,
                "moon_sign_name": "Aquarius"
            },
            "groom": {
                "moon_sign": 1,
                "moon_sign_name": "Aries"
            },
            "out_of": 7,
            "score": 7
        },
        "nadi_kootam": {
            "bride": {
                "nadi": 1,
                "nadi_name": "Adi"
            },
            "groom": {
                "nadi": 1,
                "nadi_name": "Adi"
            },
            "out_of": 8,
            "score": 0
        }
    }
}   
  

{
    "statusCode": 200,
    "output": {
        "out_of": 36,
        "total_score": 15.0,
        "varna_kootam": {
            "bride": {
                "moon_sign_number": 11,
                "moon_sign": "కుంభము",
                "varnam": 4,
                "varnam_name": "శూద్ర"
            },
            "groom": {
                "moon_sign_number": 1,
                "moon_sign": "మేషం",
                "varnam": 2,
                "varnam_name": "క్షత్రియ"
            },
            "out_of": 1,
            "score": 1
        },
        "vasya_kootam": {
            "bride": {
                "bride_kootam": 2,
                "bride_kootam_name": "మానవ"
            },
            "groom": {
                "groom_kootam": 1,
                "groom_kootam_name": "చతుష్పాద"
            },
            "out_of": 2,
            "score": 1
        },
        "tara_kootam": {
            "bride": {
                "star_number": 24,
                "star_name": "శతభిష"
            },
            "groom": {
                "star_number": 1,
                "star_name": "అశ్విని"
            },
            "out_of": 3,
            "score": 1.5
        },
        "yoni_kootam": {
            "bride": {
                "star": 24,
                "yoni_number": 1,
                "yoni": "గుఱ్ఱం"
            },
            "groom": {
                "star": 1,
                "yoni_number": 1,
                "yoni": "గుఱ్ఱం"
            },
            "out_of": 4,
            "score": 4
        },
        "graha_maitri_kootam": {
            "bride": {
                "moon_sign_number": 11,
                "moon_sign": "కుంభము",
                "moon_sign_lord": 7,
                "moon_sign_lord_name": "శని"
            },
            "groom": {
                "moon_sign_number": 1,
                "moon_sign": "మేషం",
                "moon_sign_lord": 3,
                "moon_sign_lord_name": "కుజ"
            },
            "out_of": 5,
            "score": 0.5
        },
        "gana_kootam": {
            "bride": {
                "bride_nadi": 3,
                "bride_nadi_name": "రాక్షస"
            },
            "groom": {
                "groom_nadi": 1,
                "groom_nadi_name": "దేవ"
            },
            "out_of": 6,
            "score": 0
        },
        "rasi_kootam": {
            "bride": {
                "moon_sign": 11,
                "moon_sign_name": "కుంభము"
            },
            "groom": {
                "moon_sign": 1,
                "moon_sign_name": "మేషం"
            },
            "out_of": 7,
            "score": 7
        },
        "nadi_kootam": {
            "bride": {
                "nadi": 1,
                "nadi_name": "ఆది"
            },
            "groom": {
                "nadi": 1,
                "nadi_name": "ఆది"
            },
            "out_of": 8,
            "score": 0
        }
    }
}


{
    "statusCode": 200,
    "output": {
        "out_of": 36,
        "total_score": 15.0,
        "varna_kootam": {
            "bride": {
                "moon_sign_number": 11,
                "moon_sign": "कुंभ",
                "varnam": 4,
                "varnam_name": "शूद्र"
            },
            "groom": {
                "moon_sign_number": 1,
                "moon_sign": "मेष",
                "varnam": 2,
                "varnam_name": "क्षत्रिय"
            },
            "out_of": 1,
            "score": 1
        },
        "vasya_kootam": {
            "bride": {
                "bride_kootam": 2,
                "bride_kootam_name": "मानव"
            },
            "groom": {
                "groom_kootam": 1,
                "groom_kootam_name": "चतुष्पाद"
            },
            "out_of": 2,
            "score": 1
        },
        "tara_kootam": {
            "bride": {
                "star_number": 24,
                "star_name": "शतभिषा"
            },
            "groom": {
                "star_number": 1,
                "star_name": "अश्विनि"
            },
            "out_of": 3,
            "score": 1.5
        },
        "yoni_kootam": {
            "bride": {
                "star": 24,
                "yoni_number": 1,
                "yoni": "घोड़ा"
            },
            "groom": {
                "star": 1,
                "yoni_number": 1,
                "yoni": "घोड़ा"
            },
            "out_of": 4,
            "score": 4
        },
        "graha_maitri_kootam": {
            "bride": {
                "moon_sign_number": 11,
                "moon_sign": "कुंभ",
                "moon_sign_lord": 7,
                "moon_sign_lord_name": "शनि"
            },
            "groom": {
                "moon_sign_number": 1,
                "moon_sign": "मेष",
                "moon_sign_lord": 3,
                "moon_sign_lord_name": "मंगल"
            },
            "out_of": 5,
            "score": 0.5
        },
        "gana_kootam": {
            "bride": {
                "bride_nadi": 3,
                "bride_nadi_name": "राक्षस"
            },
            "groom": {
                "groom_nadi": 1,
                "groom_nadi_name": "देव"
            },
            "out_of": 6,
            "score": 0
        },
        "rasi_kootam": {
            "bride": {
                "moon_sign": 11,
                "moon_sign_name": "कुंभ"
            },
            "groom": {
                "moon_sign": 1,
                "moon_sign_name": "मेष"
            },
            "out_of": 7,
            "score": 7
        },
        "nadi_kootam": {
            "bride": {
                "nadi": 1,
                "nadi_name": "प्रथम"
            },
            "groom": {
                "nadi": 1,
                "nadi_name": "प्रथम"
            },
            "out_of": 8,
            "score": 0
        }
    }
}