Copy page
Copy page as Markdown for LLMs
Analyze planetary combustion transits using the Western Astrology Transit API, returning combustion details for a selected planet based on month, location, and timezone.
| Value | Meaning |
|---|---|
| Moon | For Moon transit |
| Mercury | For Mercury transit |
| Venus | For Venus transit |
| Mars | For Mars transit |
| Jupiter | For Jupiter transit |
| Saturn | For Saturn transit |
| Uranus | For Uranus transit |
| Neptune | For Neptune transit |
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. You can use them by passing "lan" in the body with the value of the language (if applicable).
POST https://astroapi-8.divineapi.com/western-api/v1/planet-combustion-transit
Returns: Planet combustion transit details for the specified planet and month.
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API Access Token. Example: Bearer {token} |
| Key | Type | Example Value | Description |
|---|---|---|---|
| api_key* | Text | your API Key | Your API access key. |
| planet* | Text | moon | Planet name (e.g., Sun, Moon, Mars). |
| month* | Text | 11 | Numeric month (1–12). |
| year* | Text | 2025 | 4-digit year. |
| place* | Text | New Delhi, India | City and country name. |
| lat* | Text | 28.7041 | Latitude in decimal format. |
| lon* | Text | 77.1025 | Longitude in decimal format. |
| tzone* | Text | 5.5 | Timezone in decimal format (e.g., 5.5 for IST). |
#with transit data
{
"status": "success",
"code": 200,
"message": "Request successful",
"data": {
"transit": [
{
"date": "2025-11-21 14:34:00",
"combustion": "Start"
},
{
"date": "2025-11-21 18:52:00",
"combustion": "End"
}
]
}
}
#without transit data
{
"status": "success",
"code": 200,
"message": "Request successful",
"data": {
"transit": []
}
}Below are example implementations in various programming environments.
curl --location 'https://astroapi-4.divineapi.com/western-api/v1/transit/monthly' \
--header 'Authorization: Bearer your API Access Token' \
--form 'api_key="your API Key"' \
--form 'planet="moon"' \
--form 'month="11"' \
--form 'year="2025"' \
--form 'place="New Delhi, India"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-8.divineapi.com/western-api/v1/planet-combustion-transit',
'headers': {
'Authorization': 'Bearer your API Access Token'
},
formData: {
'api_key': 'your API Key',
'planet': 'moon',
'month': '11',
'year': '2025',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
var form = new FormData();
form.append("api_key", "your API Key");
form.append("planet", "moon");
form.append("month", "11");
form.append("year", "2025");
form.append("place", "New Delhi, India");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
var settings = {
"url": "https://astroapi-8.divineapi.com/western-api/v1/planet-combustion-transit",
"method": "POST",
"timeout": 0,
"headers": {
"Authorization": "Bearer your API Access Token"
},
"processData": false,
"mimeType": "multipart/form-data",
"contentType": false,
"data": form
};
$.ajax(settings).done(function (response) {
console.log(response);
});import requests
url = "https://astroapi-8.divineapi.com/western-api/v1/planet-combustion-transit"
payload = {'api_key': 'your API Key',
'planet': 'moon',
'month': '11',
'year': '2025',
'place': 'New Delhi, India',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5'}
files=[
]
headers = {
'Authorization': 'Bearer your API Access Token'
}
response = requests.request("POST", url, headers=headers, data=payload, files=files)
print(response.text)
Use Authorization: Bearer {Your Auth Token} and {Your API Key} securely; never expose them in client-side code.
Provide date, time, and coordinates in correct numeric formats; use decimal timezone values (e.g., 5.5).
Check HTTP status codes, log responses, and handle 4xx/5xx errors gracefully.