Перейти до вмісту
AstroWay/api v2.19.0 · docs
усі системи в нормі
UA EN

Monthly Horoscope

POST
/horoscope/monthly

Generate a monthly horoscope with major transits, Moon phases, and personal-year themes (profections-aware).

curl -X POST https://api.astroway.info/v1/horoscope/monthly \
-H "X-Api-Key: aw_live_..." \
-H "Content-Type: application/json" \
-d '{ "natal": { "date": "1990-05-15", "time": "14:30:00", "timezoneOffset": 3, "latitude": 50.45, "longitude": 30.52 }, "month": "2026-05", "language": "uk" }'
object
sign
required
string
Allowed values: aries taurus gemini cancer leo virgo libra scorpio sagittarius capricorn aquarius pisces
date
string
/^\d{4}-\d{2}-\d{2}$/
language
string
default: uk
Allowed values: uk en
disclaimer_inline
boolean
Example
{
"natal": {
"date": "1990-05-15",
"time": "14:30:00",
"timezoneOffset": 3,
"latitude": 50.45,
"longitude": 30.52
},
"month": "2026-05",
"language": "uk"
}

Successful calculation

object
ok
boolean
Example
true
data
object
month
string
language
string
title
string
body
string
moonPhases
Array<object>
object
date
string
phase
string

Validation error

Example
{
"ok": false,
"error": {
"code": "INVALID_INPUT",
"message": "Validation failed: date: Date must be YYYY-MM-DD",
"details": [
{
"path": "date",
"message": "Date must be YYYY-MM-DD"
}
]
}
}

Missing or invalid API key

Example
{
"ok": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid API key"
}
}
Корисно?