AstrologyAPI

Match Manglik Report

POSThttps://json.astrologyapi.com/v1/match_manglik_report
Copy

The match_manglik_report API provides information about mangal dosha in a person's horoscope. The response includes details on the presence or absence of mangal dosha, the percentage of its impact, cancellation rules, and recommended remedies. The conclusion section provides a recommendation on whether the match is suitable based on the mangal dosha analysis.

POST/match_manglik_report
Copy
1import requests
2import json
3
4# Your API key
5api_key = "<YOUR_API_KEY>"
6
7# API endpoint URL
8api_url = "https://json.astrologyapi.com/v1/match_manglik_report"
9
10# Request data
11data = {
12        "m_day": 10,
13        "m_month": 5,
14        "m_year": 1990,
15        "m_hour": 11,
16        "m_min": 55,
17        "m_lat": 19.2056,
18        "m_lon": 25.2056,
19        "m_tzone": 5.5,
20        "f_day": 10,
21        "f_month": 5,
22        "f_year": 1990,
23        "f_hour": 11,
24        "f_min": 55,
25        "f_lat": 19.2056,
26        "f_lon": 25.2056,
27        "f_tzone": 5.5
28    }
29
30headers = {
31    'x-astrologyapi-key': api_key,
32    'Content-Type': 'application/json'
33    # Add 'Accept-Language': '<language_code>' if needed
34}
35
36try:
37    response = requests.post(api_url, headers=headers, json=data)
38    response.raise_for_status()  # Raise an exception for bad status codes (4xx or 5xx)
39
40    # Process the response
41    response_data = response.json()
42    print(json.dumps(response_data, indent=4))
43
44except requests.exceptions.RequestException as e:
45    print(f"Error making API request: {e}")
46    if hasattr(e, 'response') and e.response is not None:
47        try:
48            print(f"Error response: {e.response.json()}")
49        except json.JSONDecodeError:
50             print(f"Error response (non-JSON): {e.response.text}")
51
52
200Response
Copy
1{
2  "male": {
3    "manglik_present_rule": {
4      "based_on_aspect": [
5        "Fourth house of your birth chart is aspected by KETU",
6        "Twelfth house of your birth chart is aspected by KETU.",
7        "RAHU is aspecting eighth house of your birth chart.",
8        "MARS is aspecting second house of your birth chart.",
9        "KETU is aspecting second house of your birth chart.",
10        "Your first house in birth chart is aspected by planet SUN.",
11        "Your first house in birth chart is aspected by planet SATURN."
12      ],
13      "based_on_house": [
14        "Planet Rahu is situated in SECOND house in your birth chart.",
15        "Planet Saturn is in FOURTH house in your horoscope.",
16        "Planet Sun is situated in SEVENTH house in your birth chart.",
17        "EIGHTH house is occupied by planet Mars in your birth chart.",
18        "Planet Ketu is situated in EIGHTH house in your birth chart."
19      ]
20    },
21    "manglik_cancel_rule": [
22      "Mars mangalik dosha is get cancelled because Mars is situated in Eighth house with Pisces"
23    ],
24    "is_mars_manglik_cancelled": true,
25    "manglik_status": "LESS_EFFECTIVE",
26    "percentage_manglik_present": 23.5,
27    "percentage_manglik_after_cancellation": 18.5,
28    "manglik_report": "The manglik dosha is present in your horoscope, however it is less effective. With some remedies related to mangalik dosha this can be reduced further.",
29    "is_present": false
30  },
31  "female": {
32    "manglik_present_rule": {
33      "based_on_aspect": [
34        "Fourth house of your birth chart is aspected by KETU",
35        "Twelfth house of your birth chart is aspected by KETU.",
36        "RAHU is aspecting eighth house of your birth chart.",
37        "MARS is aspecting second house of your birth chart.",
38        "KETU is aspecting second house of your birth chart.",
39        "Your first house in birth chart is aspected by planet SUN.",
40        "Your first house in birth chart is aspected by planet SATURN."
41      ],
42      "based_on_house": [
43        "Planet Rahu is situated in SECOND house in your birth chart.",
44        "Planet Saturn is in FOURTH house in your horoscope.",
45        "Planet Sun is situated in SEVENTH house in your birth chart.",
46        "EIGHTH house is occupied by planet Mars in your birth chart.",
47        "Planet Ketu is situated in EIGHTH house in your birth chart."
48      ]
49    },
50    "manglik_cancel_rule": [
51      "Mars mangalik dosha is get cancelled because Mars is situated in Eighth house with Pisces"
52    ],
53    "is_mars_manglik_cancelled": true,
54    "manglik_status": "LESS_EFFECTIVE",
55    "percentage_manglik_present": 23.5,
56    "percentage_manglik_after_cancellation": 18.5,
57    "manglik_report": "The manglik dosha is present in your horoscope, however it is less effective. With some remedies related to mangalik dosha this can be reduced further.",
58    "is_present": false
59  },
60  "conclusion": {
61    "match": true,
62    "report": "The boy is not a Manglik; nor is the girl a Manglik. Mangal Dosha being absent in either horoscopes, there shall be no ill effect on their marriage. This match is recommended."
63  }
64}

Request Headers

Authorization

string

required

Basic Authorization via header

Accept-Language

string

Preferred language for the response content

Properties

English - enHindi - hiMarathi - maBengali - bnTamil - taTelugu - teMalayalam - mlKannada - kn

Request Parameters

m_day

int

required

Day of birth, eg: 10

m_month

int

required

Month of birth, eg: 5

m_year

int

required

Year of birth, eg: 1990

m_hour

int

required

Hour of birth, eg: 11

m_min

int

required

Minute of birth, eg: 55

m_lat

float

required

Latitude, eg: 19.2056

m_lon

float

required

Longitude, eg: 25.2056

m_tzone

float

required

Timezone, eg: 5.5

f_day

int

required

Day of birth, eg: 10

f_month

int

required

Month of birth, eg: 5

f_year

int

required

Year of birth, eg: 1990

f_hour

int

required

Hour of birth, eg: 11

f_min

int

required

Minute of birth, eg: 55

f_lat

float

required

Latitude, eg: 19.2056

f_lon

float

required

Longitude, eg: 25.2056

f_tzone

float

required

Timezone, eg: 5.5

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.