Numerology Horoscope
Introducing the Numerology Horoscope API (Numeroscope), your gateway to unlocking numerological insights and predictions. This API provides daily numerology-based guidance derived from an individual’s number, helping you deliver personalized experiences on your website, mobile app, or digital service.
Step by Step Numerology Horoscope API Postman Testing Integration
Step by Step Numerology Horoscope API Postman Testing Integration
API Endpoint for English
POST https://astroapi-5.divineapi.com/api/v2/numerology-horoscopeGuide: If you only need English, use this endpoint.
API Endpoint for other languages
POST https://astroapi-5-translator.divineapi.com/api/v2/numerology-horoscopeGuide: If you want the response in any other language use this translator endpoint.
Supported Language Codes
Use the lan field in the request body to specify the output language.
Supported Reference Article:
https://support.divineapi.com/general-api-support/translating-apis-into-a-different-language
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| zh | Chinese |
| ja | Japanese |
| ar | Arabic |
| ru | Russian |
| pt | Portuguese |
| es | Spanish |
| fr | French |
| de | German |
| it | Italian |
| nl | Dutch |
| pl | Polish |
| tr | Turkish |
| uk | Ukrainian |
| hu | Hungarian |
| gr | Greek |
| bn | Bengali |
| ma | Marathi |
| tm | Tamil |
| tl | Telugu |
| ml | Malayalam |
| kn | Kannada |
| ta | Filipino/Tagalog |
| bah | Indonesian |
Guide: For translations, ensure the translator is active via DivineAPI Translator.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your DivineAPI key from the dashboard. |
| number* | Number | A number between 1–9 representing the numerological root. |
| day* | Integer | Day (e.g., 10). Use today, tomorrow, or yesterday if dynamic. |
| month* | Integer | Month (e.g., 10). Use today, tomorrow, or yesterday if dynamic. |
| year* | Integer | Year (e.g., 2024). Use today, tomorrow, or yesterday if dynamic. |
| timezone* | Float | Timezone offset (e.g., 5.5). Refer to the Timezone Guide. |
| lan | String | Language code as per the table above (default: en). |
200: OK Successful
{
"success": 1,
"data": {
"number": 1,
"prediction": {
"result": "Oct 10, 2024 - The hours coming up will be decisive, notably in your work life where you should benefit from an opportunity for your career. Before getting your professional activity up and rolling, you will have to be a better listener and be more open. So, make some concessions and get rid of the little habits and preconceived ideas that you take with you systematically along your path. With a little more innovative spirit and imagination you should be successful more easily."
}
}
}Example Code Implementations
Below are example implementations in various programming environments.
cURL
curl --location 'https://astroapi-5.divineapi.com/api/v2/numerology-horoscope' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'number="01"' \
--form 'day="10"' \
--form 'month="10"' \
--form 'year="2024"' \
--form 'tzone="5.5"' \
--form 'lan="en"'
NodeJS
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-5.divineapi.com/api/v2/numerology-horoscope',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'number': '01',
'day': '10',
'month': '10',
'year': '2024',
'tzone': '5.5',
'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("number", "01");
form.append("day", "10");
form.append("month", "10");
form.append("year", "2024");
form.append("tzone", "5.5");
form.append("lan", "en");
var settings = {
"url": "https://astroapi-5.divineapi.com/api/v2/numerology-horoscope",
"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-5.divineapi.com/api/v2/numerology-horoscope"
payload = {'api_key': '{Your API Key}',
'number': '01',
'day': '10',
'month': '10',
'year': '2024',
'tzone': '5.5',
'lan': 'en'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)