ASTROLOGY API REFERENCE DOCUMENTATION

Western Numerology/Expression Number Report

Get Expression Number Report

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

Response Data

{
  "status_code": 200,
  "status": true,
  "data": {
    "name": "Sanjay Sharma",
    "birth_date": "1994-09-15",
    "expression_number": 4,
    "report": [
      "When it comes to stability, no one knows how to achieve it like a 4. You have a talent for handling people and projects. You are organized and deliberate in all your actions. You thrive when things have construction and you have a genuine distaste for anything that threatens your constancy or that shakes things at their foundations. You have a tendency to reject anything that you consider to be unconventional. “A place for everything and everything in its place” is a motto you are likely to champion.",
      "You are cautious and careful. You take few risks and you despise barriers. Before you let these barriers start drawing your focus away from the things that ARE within your reach, you want to recognize them for what they are. They are forces that are designed to test you and challenge you. They need to be broken through, not worked around.",
      "You are faithful and loyal in your relationships and the spirits you do express are sincere. You are good with children and admire the simplicity of their world, recollecting what it was like before life piled so much responsibility on your shoulders.",
      "You are also good with money. You don’t over-spend or live beyond your means. You know your boundaries and you don’t take any more risks with money than you do with anything else in your life. Be cautious to not become miserly or else your fixation on maintaining what you have could stand in the way of growing a much more sizable nest egg."
    ]
  }
}
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/expression_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 = "expression_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 = "expression_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 = "expression_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 = "expression_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