ASTROLOGY API REFERENCE DOCUMENTATION

Western Numerology/Life Path Number Report

Get Life Path Number Report

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

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "name": "Sanjay Sharma",
    "birth_date": "1994-09-15",
    "life_path_number": 2,
    "report": [
      "Your Life Path Number is 2, this suggests that you have a desire in your spirit not just for peace, but to be a peacemaker. You are interested in solving glitches whether they be interpersonal, societal, emotional or spiritual. You have a sharp ability to listen and to take in details, especially in the capacity of a mediator, transporting balance to every argument, empathizing with both sides and seeking friendly solutions. You see things that are broken and you need to fix them. You champion mediation and are skilled at the art of persuasion, but not for self-centered gain. When you tell someone, “If there is anything, I can do for you, just ask,” you really mean it and hope to be taken up on it.",
      "Negative aspects of the number 2 include a profusion of nervous energy and a breakdown in rationalization over issues that are personal to you. This may cause people to view you as an extremist or a radical in your expressions of likes and dislikes. You are easily and affectionately outraged by things you consider to be prejudices. Twos are often indecisive, especially when it comes to things that touch them straight because they are too busy looking out for the other guy. Be watchful of this tendency as your family and close relationships could suffer from your lack of care toward them."
    ]
  }
}
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/life_path_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 = "life_path_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 = "life_path_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 = "life_path_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 = "life_path_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