Copy page
Copy page as Markdown for LLMs
Explore our Transit API's Weekly Transit feature, offering weekly insights on planetary movements in relation to natal charts, spotlighting key astrological trends and their potential weekly impacts.
Use one of the following values in transit_planet.
| Value | Meaning |
|---|---|
| Ascendant | For Ascendant transit |
| Sun | For Sun transit |
| 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 |
| Pluto | For Pluto transit |
Support Article URL: Translating a Natal API 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 corresponding value.
Support Article URL: How to Change the House System Code in Natal Astrology
| Code | 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.
POST https://astroapi-4.divineapi.com/western-api/v1/transit/weekly
Response: Returns Weekly Transit in response.
| Name | Type | Description |
|---|---|---|
| Authorization* | String | Your API access token. Example: Bearer {token} |
| 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). Timezone List |
| lan | String | Language code (default: en) |
| transit_planet* | String | Transit planet (e.g., Moon). See Allowed Transit Planets above. |
| house_system | String | House system code (default: P) |
{
"success": 1,
"data": {
"start_date": "2024-04-21",
"end_date": "2024-04-27",
"natal_ascendant": "Libra",
"transit_response": [
{
"transit_planet": "Moon",
"natal_planet": "Ascendant",
"aspect": "Conjunction",
"transit_time": "2024-04-21 20:13:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Sun",
"aspect": "Trine",
"transit_time": "2024-04-21 14:39:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Mercury",
"aspect": "Quincunx",
"transit_time": "2024-04-22 02:54:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Venus",
"aspect": "Quincunx",
"transit_time": "2024-04-27 16:49:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Mars",
"aspect": "Trine",
"transit_time": "2024-04-26 11:11:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Jupiter",
"aspect": "Conjunction",
"transit_time": "2024-04-24 00:15:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Saturn",
"aspect": "Trine",
"transit_time": "2024-04-24 10:05:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Uranus",
"aspect": "Conjunction",
"transit_time": "2024-04-25 11:30:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Neptune",
"aspect": "Trine",
"transit_time": "2024-04-26 01:59:00"
},
{
"transit_planet": "Moon",
"natal_planet": "Pluto",
"aspect": "Square",
"transit_time": "2024-04-23 21:19:00"
},
{
"transit_planet": "Moon",
"natal_planet": "North node",
"aspect": "Semisextile",
"transit_time": "2024-04-26 12:05:00"
},
{
"transit_planet": "Moon",
"natal_planet": "South node",
"aspect": "Semisextile",
"transit_time": "2024-04-26 12:05:00"
}
]
}
}
Below are example implementations in various programming environments.
curl --location 'https://astroapi-4.divineapi.com/western-api/v1/transit/weekly' \
--header 'Authorization: Bearer {Your Auth Token}' \
--form 'api_key="{Your API Key}"' \
--form 'full_name="Test"' \
--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"' \
--form 'lat="28.7041"' \
--form 'lon="77.1025"' \
--form 'tzone="5.5"' \
--form 'lan="en"' \
--form 'transit_planet="Moon"'var request = require('request');
var options = {
'method': 'POST',
'url': 'https://astroapi-4.divineapi.com/western-api/v1/transit/weekly',
'headers': {
'Authorization': 'Bearer {Your Auth Token}'
},
formData: {
'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en',
'transit_planet': 'Moon'
}
};
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("full_name", "Test");
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");
form.append("lat", "28.7041");
form.append("lon", "77.1025");
form.append("tzone", "5.5");
form.append("lan", "en");
form.append("transit_planet", "Moon");
var settings = {
"url": "https://astroapi-4.divineapi.com/western-api/v1/transit/weekly",
"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);
});import requests
url = "https://astroapi-4.divineapi.com/western-api/v1/transit/weekly"
payload = {'api_key': '{Your API Key}',
'full_name': 'Test',
'day': '24',
'month': '05',
'year': '2023',
'hour': '14',
'min': '40',
'sec': '43',
'gender': 'male',
'place': 'New Delhi',
'lat': '28.7041',
'lon': '77.1025',
'tzone': '5.5',
'lan': 'en',
'transit_planet': 'Moon'}
headers = {
'Authorization': 'Bearer {Your Auth Token}'
}
response = requests.request("POST", url, headers=headers, data=payload)
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.
Defaults are lan=en and house_system=P; test via Postman first and always use HTTPS for secure communication.