search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Matching Manglik Dosha API

Harmonize cosmic forces for enduring relationships with the Matching Manglik Dosha API. This endpoint evaluates Manglik (Mangal) Dosha for both partners individually and presents a combined interpretation for marriage prospects within the framework of Indian Astrology’s Kundali Matching.

This is useful when you want to check:

Whether one or both partners are Manglik

Whether Manglik is partial, absent or doubtful

Whether cancellation (shanti) or remedies are needed

Whether the match is recommended despite Manglik influences


Step by Step Matching Manglik Dasha API Postman Testing Integration

Step by Step Matching Manglik Dasha API Postman Testing Integration


Supported Language Codes

Support Article URL
https://support.divineapi.com/general-api-support/translating-an-indian-vedic-apis-into-a-different-language

CodeLanguage
enEnglish
hiHindi
bnBengali
maMarathi
tmTamil
tlTelugu
mlMalayalam
knKannada

Guide: These languages are supported by this API. You can pass lan in the request body with one of the above codes. Default is en.


API Endpoint

POST https://astroapi-3.divineapi.com/indian-api/v2/matching/manglik-dosha

Returns Matching Manglik Dosha in response.


Headers

NameTypeDescription
Authorization*StringYour API Access Token, e.g. Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour API key
p1_full_name*StringPerson 1 full name, e.g. Rahul Kumar
p1_day*IntegerPerson 1 date of birth, e.g. 24
p1_month*IntegerPerson 1 month of birth, e.g. 05
p1_year*IntegerPerson 1 year of birth, e.g. 1998
p1_hour*IntegerPerson 1 hour of birth (24h), e.g. 14
p1_min*IntegerPerson 1 minute, e.g. 40
p1_sec*IntegerPerson 1 second, e.g. 43
p1_gender*StringPerson 1 gender, e.g. male
p1_place*StringPerson 1 birthplace, e.g. New Delhi
p1_lat*FloatPerson 1 latitude, e.g. 28.7041
p1_lon*FloatPerson 1 longitude, e.g. 77.1025
p1_tzone*FloatPerson 1 timezone, e.g. 5.5
p2_full_name*StringPerson 2 full name, e.g. Simran Kumari
p2_day*IntegerPerson 2 date of birth
p2_month*IntegerPerson 2 month of birth
p2_year*IntegerPerson 2 year of birth
p2_hour*IntegerPerson 2 hour of birth
p2_min*IntegerPerson 2 minute
p2_sec*IntegerPerson 2 second
p2_gender*StringPerson 2 gender, e.g. female
p2_place*StringPerson 2 birthplace
p2_lat*FloatPerson 2 latitude
p2_lon*FloatPerson 2 longitude
p2_tzone*FloatPerson 2 timezone
lanStringOptional language code from supported list, default en

Response

200: OK Matching Manglik Dosha fetched successfully

{
    "success": 1,
    "data": {
        "p1": {
            "manglik_dosha": "No",
            "strength": "No",
            "percentage": 0,
            "remedies": [],
            "comment": []
        },
        "p2": {
            "manglik_dosha": "No",
            "strength": "No",
            "percentage": 0,
            "remedies": [],
            "comment": []
        },
        "content": "Neither the boy nor the girl has Mangal Dosha in their horoscopes, which means there will be no adverse effects on their marriage. Based on this assessment, their match is recommended."
    }
}


// manglik_dosha can be Yes, No, Yes (May be)

Notes:

manglik_dosha can be "Yes", "No", or "Yes (May be)" depending on the placement and condition of Mars.

remedies will be populated when the dosha is present or partially present.

content gives a combined interpretation covering both P1 and P2.


Code Examples

cURL

curl --location 'https://astroapi-3.divineapi.com/indian-api/v2/matching/manglik-dosha' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'p1_full_name="Rahul Kumar"' \
--form 'p1_day="24"' \
--form 'p1_month="05"' \
--form 'p1_year="1998"' \
--form 'p1_hour="14"' \
--form 'p1_min="40"' \
--form 'p1_sec="43"' \
--form 'p1_gender="male"' \
--form 'p1_place="New Delhi"' \
--form 'p1_lat="28.7041"' \
--form 'p1_lon="77.1025"' \
--form 'p1_tzone="5.5"' \
--form 'p2_full_name="Simran Kumari"' \
--form 'p2_day="24"' \
--form 'p2_month="05"' \
--form 'p2_year="1998"' \
--form 'p2_hour="14"' \
--form 'p2_min="40"' \
--form 'p2_sec="43"' \
--form 'p2_gender="female"' \
--form 'p2_place="New Delhi"' \
--form 'p2_lat="28.7041"' \
--form 'p2_lon="77.1025"' \
--form 'p2_tzone="5.5"' \
--form 'lan="en"'

NodeJS

var request = require("request");

var options = { method: 'POST',
  url: 'https://astroapi-3.divineapi.com/indian-api/v2/matching/manglik-dosha',
  headers: 
   { 'cache-control': 'no-cache',
     authorization: 'Bearer {Your API Access Token}',
     'content-type': 'application/json' },
  formData: 
   { 
     api_key: '{Your API Key}',
     p1_full_name: 'Rahul Kumar',
     p1_place: 'New Delhi, India',
     p1_gender: 'male',
     p1_day: '24',
     p1_month: '05',
     p1_year: '2023',
     p1_hour: '14',
     p1_min: '40',
     p1_sec: '43',
     p1_lon: '77.1025',
     p1_lat: '28.7041',
     p1_tzone: '5.5',
     p2_full_name: 'Simran Kumari',
     p2_place: 'New Delhi, India',
     p2_gender: 'female',
     p2_day: '24',
     p2_month: '05',
     p2_year: '2023',
     p2_hour: '14',
     p2_min: '40',
     p2_sec: '43',
     p2_lon: '77.1025',
     p2_lat: '28.7041',
     p2_tzone: '5.5',
   } 
 };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});

JavaScript jQuery AJAX

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("p1_full_name", "Rahul Kumar");
form.append("p1_gender", "male");
form.append("p1_place", "New Delhi, India");
form.append("p1_day", "24");
form.append("p1_month", "05");
form.append("p1_year", "2023");
form.append("p1_hour", "14");
form.append("p1_min", "40");
form.append("p1_sec", "43");
form.append("p1_lon", "77.1025");
form.append("p1_lat", "28.7041");
form.append("p1_tzone", "5.5");
form.append("p2_full_name", "Simran Kumari");
form.append("p2_gender", "female");
form.append("p2_place", "New Delhi, India");
form.append("p2_day", "24");
form.append("p2_month", "05");
form.append("p2_year", "2023");
form.append("p2_hour", "14");
form.append("p2_min", "40");
form.append("p2_sec", "43");
form.append("p2_lon", "77.1025");
form.append("p2_lat", "28.7041");
form.append("p2_tzone", "5.5");

var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://astroapi-3.divineapi.com/indian-api/v2/matching/manglik-dosha",
  "method": "POST",
  "headers": {
    "authorization": "Bearer {Your API Access Token}",
    "cache-control": "no-cache"
  },
  "processData": false,
  "contentType": false,
  "mimeType": "application/json",
  "data": form
}

$.ajax(settings).done(function (response) {
  console.log(response);
});

Python

import requests

url = "https://astroapi-3.divineapi.com/indian-api/v2/matching/manglik-dosha"

payload = {'api_key': '{Your API Key}',
'p1_full_name': 'Rahul Kumar',
'p1_day': '24',
'p1_month': '05',
'p1_year': '1998',
'p1_hour': '14',
'p1_min': '40',
'p1_sec': '43',
'p1_gender': 'male',
'p1_place': 'New Delhi',
'p1_lat': '28.7041',
'p1_lon': '77.1025',
'p1_tzone': '5.5',
'p2_full_name': 'Simran Kumari',
'p2_day': '24',
'p2_month': '05',
'p2_year': '1998',
'p2_hour': '14',
'p2_min': '40',
'p2_sec': '43',
'p2_gender': 'female',
'p2_place': 'New Delhi',
'p2_lat': '28.7041',
'p2_lon': '77.1025',
'p2_tzone': '5.5',
'lan': 'en'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

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

print(response.text)