Arabic Lots
The Arabic Lots API returns calculated Arabic Parts (also known as Lots) for a natal chart, such as the Lot of Fortune, Spirit, Eros, Necessity, and others. Each lot is returned with its zodiac sign, exact longitude, house placement, and basic classification, enabling deeper traditional/hellenistic-style interpretation.
Supported Language Codes
Support Article URL:
https://support.divineapi.com/general-api-support/translating-a-natal-apis-into-a-different-language
| Code | Language |
|---|---|
| en | English |
| hi | Hindi |
| pt | Portuguese |
| fr | French |
| de | German |
| ja | Japanese |
| tr | Turkish |
| ru | Russian |
| it | Italian |
| es | Spanish |
| nl | Dutch |
| pl | Polish |
Guide: These languages are supported by this API. Pass lan in the body with one of the above codes to get the response in that language. Default is en.
House System Codes
House System Codes Support Article URL:
https://support.divineapi.com/western-astrology-apis/how-to-change-the-house-system-code-in-natal-astrology
| Code | House System Name |
|---|---|
| P | Placidus |
| K | Koch |
| R | Regiomontanus |
| C | Campanus |
| A | Equal |
| W | Equal, Whole Sign |
| N | Whole Sign, Aries = 1st House |
| X | Axial Rotation System / Meridian Houses |
| T | Polich/Page (“Topocentric”) |
| M | Morinus |
| O | Porphyry |
| B | Alcabitius |
| D | Equal / MC |
| E | Equal = A |
| F | Carter Poli-Equatorial |
| G | 36 Gauquelin Sectors |
| H | Horizon / Azimuth |
| I | Sunshine |
| i | Sunshine (Alternative) |
| L | Pullen S-Delta |
| Q | Pullen S-Ratio |
| S | Sripati |
| U | Krusinski-Pisa-Goelzer |
| V | Equal Vehlow |
| Y | APC Houses |
Note: The default house system used is P – Placidus.
API Endpoint
POST https://astroapi-8.divineapi.com/western-api/v1/arabic-lots
Returns Arabic Lots in response.
Headers
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token, e.g. Bearer {token} |
Request Body
| Name | Type | Description |
|---|---|---|
| api_key* | String | Your API key |
| full_name* | String | Full name, e.g. Rahul Kumar |
| day* | Integer | Date of birth, e.g. 24 |
| month* | Integer | Month of birth, e.g. 05 |
| year* | Integer | Year of birth, e.g. 2023 |
| hour* | Integer | Hour, e.g. 14 |
| min* | Integer | Minute, e.g. 40 |
| sec* | Integer | Second, e.g. 43 |
| gender* | String | Gender, e.g. male |
| place* | String | Place, e.g. New Delhi |
| lat* | Float | Latitude, e.g. 28.7041 |
| lon* | Float | Longitude, e.g. 77.1025 |
| tzone* | Float | Timezone, e.g. 5.5 (see Timezone List) |
| lan | String | Language code, default: en |
| house_system | String | House system code, default: P (Placidus) |
200: OK Arabic Lots Fetched Successfully
{
"status": "success",
"code": 200,
"message": "Request successful",
"data": [
{
"name": "Lot of Fortune",
"full_degree": 258.62954360000003,
"sign": "Sagittarius",
"sign_no": 9,
"longitude": "18:37:46",
"house": 1,
"element": "Fire",
"modality": "Mutable"
},
{
"name": "Lot of Spirit",
"full_degree": 251.539714,
"sign": "Sagittarius",
"sign_no": 9,
"longitude": "11:32:23",
"house": 12,
"element": "Fire",
"modality": "Mutable"
},
{
"name": "Lot of Eros",
"full_degree": 317.54203359999997,
"sign": "Aquarius",
"sign_no": 11,
"longitude": "17:32:31",
"house": 2,
"element": "Air",
"modality": "Fixed"
},
{
"name": "Lot of Necessity",
"full_degree": 150.25765790000003,
"sign": "Virgo",
"sign_no": 6,
"longitude": "0:15:28",
"house": 9,
"element": "Earth",
"modality": "Mutable"
},
{
"name": "Lot of Victory",
"full_degree": 32.21890640000004,
"sign": "Taurus",
"sign_no": 2,
"longitude": "2:13:08",
"house": 5,
"element": "Earth",
"modality": "Fixed"
},
{
"name": "Lot of Courage",
"full_degree": 283.8895314,
"sign": "Capricorn",
"sign_no": 10,
"longitude": "13:53:22",
"house": 1,
"element": "Earth",
"modality": "Cardinal"
},
{
"name": "Lot of Basis (Foundation)",
"full_degree": 276.2640848000001,
"sign": "Capricorn",
"sign_no": 10,
"longitude": "6:15:51",
"house": 1,
"element": "Earth",
"modality": "Cardinal"
},
{
"name": "Lot of Exaltation",
"full_degree": 280.41078790000006,
"sign": "Capricorn",
"sign_no": 10,
"longitude": "10:24:39",
"house": 1,
"element": "Earth",
"modality": "Cardinal"
},
{
"name": "Lot of Fathers",
"full_degree": 106.76134059999998,
"sign": "Cancer",
"sign_no": 4,
"longitude": "16:45:41",
"house": 7,
"element": "Water",
"modality": "Cardinal"
},
{
"name": "Lot of Mothers",
"full_degree": 270.5008015000001,
"sign": "Capricorn",
"sign_no": 10,
"longitude": "0:30:03",
"house": 1,
"element": "Earth",
"modality": "Cardinal"
},
{
"name": "Lot of Marriage (Men)",
"full_degree": 62.36900450000002,
"sign": "Gemini",
"sign_no": 3,
"longitude": "2:22:08",
"house": 6,
"element": "Air",
"modality": "Mutable"
},
{
"name": "Lot of Marriage (Women)",
"full_degree": 87.80025309999996,
"sign": "Gemini",
"sign_no": 3,
"longitude": "27:48:01",
"house": 7,
"element": "Air",
"modality": "Mutable"
},
{
"name": "Lot of Children",
"full_degree": 137.04587730000003,
"sign": "Leo",
"sign_no": 5,
"longitude": "17:2:45",
"house": 8,
"element": "Fire",
"modality": "Fixed"
},
{
"name": "Lot of Siblings",
"full_degree": 255.6202457999999,
"sign": "Sagittarius",
"sign_no": 9,
"longitude": "15:37:13",
"house": 1,
"element": "Fire",
"modality": "Mutable"
},
{
"name": "Lot of Enemies",
"full_degree": 21.626672699999972,
"sign": "Aries",
"sign_no": 1,
"longitude": "21:37:36",
"house": 4,
"element": "Fire",
"modality": "Cardinal"
}
]
}
Example Code Implementations
Below are example implementations in various programming environments.
cURL
curl --location 'https://astroapi-8.divineapi.com/western-api/v1/arabic-lots' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Rahul Kumar"' \
--form 'day="24"' \
--form 'month="05"' \
--form 'year="2023"' \
--form 'hour="14"' \
--form 'min="40"' \
--form 'sec="43"' \
--form 'gender="male"' \
--form 'place="New Delhi, India"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"'
--form 'lan="en"' \
--form 'house_system="P"'NodeJS
var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-8.divineapi.com/western-api/v1/arabic-lots',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'full_name': 'Rahul Kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5'
'lan': 'en',
'house_system': 'P'
}
};
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("full_name", "Rahul Kumar");
form.append("day", "24");
form.append("month", "05");
form.append("year", "2023");
form.append("hour", "14");
form.append("min", "40");
form.append("sec", "43");
form.append("gender", "male");
form.append("place", "New Delhi, India");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
form.append("house_system", "P");
var settings = {
"url": "https://astroapi-8.divineapi.com/western-api/v1/arabic-lots",
"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-8.divineapi.com/western-api/v1/arabic-lots"
payload = {'api_key': '{Your API Key}',
'full_name': 'Rahul Kumar',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5'
'lan': 'en',
'house_system': 'P'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)