ASTROLOGY API REFERENCE DOCUMENTATION

Western Numerology/Destiny Number Report

Get Destiny Number Report

API Endpoint
destiny_number
Method & Url
MethodFull Url
POSThttps://json.apireports.com/v1/destiny_number

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "name": "Sanjay Sharma",
    "birth_date": "1994-09-15",
    "destiny_number": 2,
    "report": [
      "People with Number 2 as the destiny number have political capabilities. They make good peacemakers. For such a competence, one will be found to be tactful and persuasive. He should train himself to be peaceful, loving, kind, considerate, patient, gentle and sympathetic. He should not be very subtle or easily carried away by other’s emotions, talks or behaviour.",
      "He must take charge over sulkiness and indefiniteness in himself He must know how to help out others by resolving their squabbles and differences even if he really does not wish to do so. This is the right path of self-fulfillment."
    ]
  }
}
JSON
Params Data Type Description Example
name string Full Name Sanjay Sharma
day int Date of Birth 15
month int Month of Birth 9
year int Year of Birth 1994
# cURL Request Example

curl --location --request POST 'https://json.apireports.com/v1/destiny_number' \
-u '{YourUserID}:{YourApiKey}'\
--header 'Accept-Language: en' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Sanjay Sharma",
    "day": 15,
    "month": 9,
    "year": 1994
}'

# END
cURL
/* JavaScript Request Example */

var apiEndPoint = "destiny_number";
var userId = "{YourUserID}";
var apiKey = "{YourApiKey}";
var language = "en";
var data = {
    "name": "Sanjay Sharma",
    "day": 15,
    "month": 9,
    "year": 1994
};
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 = "destiny_number";
$userId = "{YourUserID}";
$apiKey = "{YourApiKey}";
$url = "https://json.apireports.com/v1/";
$data = array(
	"name" => "Sanjay Sharma",
	"day" => 15,
	"month" => 9,
	"year" => 1994
);
$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 = "destiny_number";
userId = "{YourUserID}";
apiKey = "{YourApiKey}";
url = "https://json.apireports.com/v1/"+apiEndPoint

data = json.dumps({
    "name": "Sanjay Sharma",
    "day": 15,
    "month": 9,
    "year": 1994
})

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 = "destiny_number";
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({
    "name": "Sanjay Sharma",
    "day": 15,
    "month": 9,
    "year": 1994
})
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});

/* END */
NodeJS

Astrology API Reports in News