ASTROLOGY API REFERENCE DOCUMENTATION

Match Making/Match Zodiac Compatibility Report

Match Zodiac Compatibility Report

API Endpoint
zodiac_compatibility/:yourSignName/:partnerSignName
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/zodiac_compatibility/:yourSignName/:partnerSignName

signName

signName means the name of the Zodiac Sign for which you want data.

For example:-

  • aries : Aries
  • taurus : Taurus
  • gemini : Gemini
  • cancer : Cancer
  • leo : Leo
  • virgo : Virgo
  • libra : Libra
  • scorpio : Scorpio
  • sagittarius : Sagittarius
  • capricorn : Capricorn
  • aquarius : Aquarius
  • pisces : Pisces

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "your_sign": "Aries",
    "your_partner_sign": "Gemini",
    "report": [
      "Aries and Gemini are both very excited and active people. They both remain high at enthusiastic energy but Gemini being intellectually stronger can make things boring for an Aries. Also living in the moment certainly infuses a sense of playfulness and fun into the relationship they share, but their relationship may not always feel reliable.",
      "Bursting with much creative energy, delightful smile and fervent ideas, Aries are very attention clutching at any of the social gatherings that they attend. This seems to play into their capacity to live with little or no stress. Coupled with a short-term memory and the propensity to overlook negative consequences, Aries tend to find themselves in trouble, especially monetarily.",
      "The Gemini people are cool and collected bunch of intelligent beings who love fun and eagerness. They need their space and fear anything that limits their spirit. This helps them continue free of obligations and responsibilities. They love to travel and try new idea.",
      "An Aries and a Gemini love aggressive for a cause and Nothing holds the interest of either of these zodiac signs for longer than an instant. They look younger and act younger, which makes them often behave like children.",
      "Nevertheless, they realize that their own best course is to avoid becoming expressively entangled, whenever possible. Aries and Gemini are essentially good friends and typically remain friends in any relationship they are certain formally. Even though these two have a scale of compatibility, it would be a good idea for them to stand apart at a far distance to take a look at one another.",
      "Every relationship cherished by an Aries and a Gemini has a flatness of friendship and power of understanding. They have so much in common and so much more stimulating to share in their changes. Business ventures can be similarly as good as well as bad idea for them as together they can instate even the impossible and sometimes nothing at all.",
      "They both react to each other very unwarily, and neither of them is given to setting goals for their relationship and takes the responsibility. Also, Gemini finds Aries sometimes being selfish or too arrogant about them and this disturbs them as they feel themselves to be greater. Their conversations are typically easy flowing but they may even become boring for the Aries if they find it out of their area of interest."
    ]
  }
}
JSON
Params Data Type Description Example
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/zodiac_compatibility/:yourSignName/:partnerSignName' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '[]'

# END
cURL
/* JavaScript Request Example */

var apiEndPoint = "zodiac_compatibility/:yourSignName/:partnerSignName";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = [];
var url = 'https://json.apireports.com/v1/'+apiEndPoint;

var request = $.ajax({
	url: url,
	method: "POST",
	dataType:'json',
	headers: {
		"Authorization": "Basic " + btoa(userId+":"+apiKey),
		"Accept-Language": "en",
		"Content-Type":'application/json'
	},
	data:JSON.stringify(data)
});

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

/* END */
JavaScript
<?php
/* PHP Request Example */

$apiEndPoint = "zodiac_compatibility/:yourSignName/:partnerSignName";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
);
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL, $url.$apiEndPoint);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
$header[] = 'Authorization: Basic '. base64_encode($userId.":".$apiKey);
$header[] = 'Accept-Language: en';
$header[] = 'Content-Type: application/json';
curl_setopt($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
$response = curl_exec($ch);
$error = curl_error($ch);
$http_code = curl_getinfo($ch ,CURLINFO_HTTP_CODE);
curl_close($ch);
echo $response;

/* END */
PHP
# Python Request Example

import requests
import json

apiEndPoint = "zodiac_compatibility/:yourSignName/:partnerSignName";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint

data = json.dumps([])

headers = {
  'Accept-Language': 'en',
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, auth=(userId, apiKey),data=data)

print(response.text)

# END
Python
/* NodeJS Request Example */

var request = require('request');
var apiEndPoint = "zodiac_compatibility/:yourSignName/:partnerSignName";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var url = 'https://json.apireports.com/v1/'+apiEndPoint;
var options = {
  'method': 'POST',
  'url': url,
  'auth': {
    'user': userId,
    'password': apiKey
  },
  'headers': {
    'Accept-Language': 'en',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify([])
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */
NodeJS

Astrology API Reports in News