search

Copy page

Copy page as Markdown for LLMs

View as Markdown

View this page as plain text


Open in ChatGPT

Ask ChatGPT about this page

Open in Claude

Ask Claude about this page

Name Number

The Name Number API provides insightful numerological analysis by decoding both single and double-digit name numbers. It helps users understand their personality traits, challenges, and life opportunities based on their name. Ideal for astrology and numerology platforms to offer personalized name-based insights.


Step by Step Name Number API Postman Testing Integration

Step by Step Name Number API Postman Testing Integration


API Endpoint

POST https://astroapi-7.divineapi.com/numerology/v1/name-number

Headers

NameTypeDescription
Authorization*StringYour API Access Token. Example: Bearer {token}

Request Body

NameTypeDescription
api_key*StringYour DivineAPI Key (available in your dashboard).
day*IntegerDate of birth. Example: 24.
month*IntegerMonth of birth. Example: 05.
year*IntegerYear of birth. Example: 2023.
fname*StringFirst name. Example: Rahul.
lnameStringLast name. Example: Kumar.
lanStringResponse language. Default: en. Supported: en or hi.

200: OK – Numbers Fetched Successfully

{
    "success": 1,
    "data": {
        "single_digit": {
            "number": 8,
            "result": "Name number 8 represents struggle. It represents obstacles and difficulties in your life. You are more likely to be depressed and stressed than people with other name numbers. If given the option, avoid this number at all costs. It brings pessimism and sadness in life. A lot of suicidal people are governed by this name number. You are not close to your family and friends. You lack people with whom you can share your feelings. \n\n You feel lonely and discriminated against. You often fall into scandals and scams. Due to this, your financial condition is not good. You always face a shortage of money because your plans tend to go haywire. You are not able to enjoy life in the way you thought you would. There will be lots of ups and downs in your life. No matter how hard you work, success will not come easily. After failing seemingly millions of times, you will finally succeed in the last few years of your life."
        },
        "double_digit": {
            "number": 17,
            "result": "The number 17 is associated with feelings of love and pleasure. Things may start slowly, and you may feel as if you are trapped in one spot for a short period of time. These gradual or delayed beginnings, on the other hand, will almost always end in good and long-lasting pleasure for you. You are a riot of color in the outdoors, and you delight in making people happy. You have the greatest chance of becoming well-known in areas such as politics, acting, and so on. You are a fun-loving person with a keen interest in politics and real estate as well."
        }
    }
}

Example Code Implementations

Below are example implementations in multiple programming environments.


cURL

curl --location 'https://astroapi-7.divineapi.com/numerology/v1/name-number' \
--header 'Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'fname="Rahul"' \
--form 'lname="Kumar"' \
--form 'lan="en"'

NodeJS

var request = require('request');
var options = {
  'method': 'POST',
  'url': 'https://astroapi-7.divineapi.com/numerology/v1/name-number',
  'headers': {
    'Authorization': 'Bearer {Your Auth Token}'
  },
  formData: {
    'api_key': '{Your API Key}',
    'day': '24',
    'month': '05',
    'year': '2023',
    'fname': 'Rahul',
    'lname': 'Kumar',
    'lan': 'en'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
);

JavaScript jQuery AJAX

var form = new FormData();
form.append("api_key", "{Your API Key}");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("fname", "Rahul");
form.append("lname", "Kumar");
form.append("lan", "en");

var settings = {
  "url": "https://astroapi-7.divineapi.com/numerology/v1/name-number",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Authorization": "Bearer {Your Auth Token}"
  },
  "processData": false,
  "mimeType": "multipart/form-data",
  "contentType": false,
  "data": form
};

$.ajax(settings).done(function (response) {
  console.log(response);
});

Python

import requests

url = "https://astroapi-7.divineapi.com/numerology/v1/name-number"

payload = {'api_key': '{Your API Key}',
'day': '24',
'month': '05',
'year': '2023',
'fname': 'Rahul',
'lname': 'Kumar',
'lan': 'en'}

headers = {
  'Authorization': 'Bearer {Your Auth Token}'
}

response = requests.request("POST", url, headers=headers, data=payload,)

print(response.text)

Implementation Notes

Authentication:
Each request must include a valid Bearer token for authorization. Without this, the API will return an authentication error.

Name-based Accuracy:
The accuracy of the analysis depends on correct name input. Always ensure both fname and lname are provided for precise numerological evaluation.

Dual-Level Insights:
The API provides both single-digit and double-digit results, offering a deeper layer of personality interpretation.