/v1/western/reports/moon-phaseNatal Moon Phase Report API
Moon-phase report - the natal lunar phase and what it describes.
One of 33 endpoints in the Western engine.
Request
Call it from curl, Node.js or Python
curl -X POST 'https://api.astronode.dev/v1/western/reports/moon-phase' \
-H 'Authorization: Bearer aie_test_REPLACE_WITH_YOUR_API_KEY' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
--data '{
"date": "1993-07-04",
"time": "09:27:11",
"tz_offset_minutes": 330,
"lat": 31.7473,
"lng": 77.7754,
"verbosity": "short"
}'const res = await fetch("https://api.astronode.dev/v1/western/reports/moon-phase", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.ASTRONODE_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"date": "1993-07-04",
"time": "09:27:11",
"tz_offset_minutes": 330,
"lat": 31.7473,
"lng": 77.7754,
"verbosity": "short"
}),
});
if (!res.ok) throw new Error(`AstroNode ${res.status}: ${await res.text()}`);
const { data } = await res.json();
console.log(data);import os
import requests
res = requests.post(
"https://api.astronode.dev/v1/western/reports/moon-phase",
headers={"Authorization": f"Bearer {os.environ['ASTRONODE_API_KEY']}"},
json={
"date": "1993-07-04",
"time": "09:27:11",
"tz_offset_minutes": 330,
"lat": 31.7473,
"lng": 77.7754,
"verbosity": "short",
},
timeout=30,
)
res.raise_for_status()
print(res.json()["data"])Free test key (aie_test_*): 1,000 requests / month.
Request schema
Fields POST /v1/western/reports/moon-phase accepts
| Field | Type | Notes |
|---|---|---|
daterequired | string | pattern ^\d{4}-\d{2}-\d{2}$ e.g. |
timerequired | string | pattern ^\d{2}:\d{2}(:\d{2})?$ e.g. |
tz_offset_minutesrequired | integer | Offset from UTC in minutes (e.g., 330 for IST) -840..840 e.g. |
latrequired | number | -90..90 e.g. |
lngrequired | number | -180..180 e.g. |
language | enum | en | hi · default "en" |
verbosity | enum | short | standard | detailed · default "standard" |
From the OpenAPI 3.1 spec.
Response
What you get back
Returned inside the standard envelope (request_id, data, meta). This endpoint documents 200, 400, 401, 409, 429, 500.
Fields inside data
Inferred from a recorded response; fields can vary with input.
| Field | Type | Notes |
|---|---|---|
type | string | e.g. |
version | string | e.g. |
language | string | e.g. |
verbosity | string | e.g. |
summary | string | e.g. |
sections | object[] | - |
sections[].heading | string | e.g. |
sections[].body | string | e.g. |
disclaimer | string | e.g. |
Example data for the request above
Recorded from this call; long lists are shortened.
{
"type": "western_moon_phase_report",
"version": "1.6.0",
"language": "en",
"verbosity": "short",
"summary": "The current Moon phase + its narrative.",
"sections": [
{
"heading": "Section 1",
"body": "Sun in Cancer 12.2°."
}
],
"disclaimer": "This report uses the tropical zodiac and Western/psychological astrology conventions. It is interpretive, not prescriptive - read for self-reflection, not absolute prediction."
}In practice
Using the Natal Moon Phase Report API
Available on every plan, including Free. Plans and limits
Questions
- Which plan includes the Natal Moon Phase Report API?
- All plans, including Free.
- What does
POST /v1/western/reports/moon-phaseneed in the request? - Required:
date,time,tz_offset_minutes,latandlng. Optional:languageandverbosity. - What does
POST /v1/western/reports/moon-phasereturn? type,version,language,verbosity,summary,sectionsanddisclaimer, insidedata.
Related endpoints
Related Western endpoints
/v1/western/reports/karma-destinyKarma-destiny report from the tropical natal chart.
/v1/western/reports/friendshipFriendship report for two people, built on their synastry.
/v1/western/reports/personalityPersonality report from the tropical natal chart, in short / standard / detailed verbosity.
/v1/western/reports/romanticRomantic compatibility report for two people, built on their synastry.
/v1/western/sun-sign/:sign/monthlyMonthly sun-sign forecast; optional date and language (en / hi).
/v1/western/sun-sign/:sign/weeklyWeekly sun-sign forecast; optional date and language (en / hi).
Ready to call POST /v1/western/reports/moon-phase?
Free tier covers 1,000 requests / month. Razorpay-billed, GST-compliant invoices when you upgrade.
Informational, not predictive. Not medical, legal, or financial advice.