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

Yearly Horoscope

POST
/horoscope/yearly

Generate a year-ahead horoscope (12-month window) with major transit cycles, solar return chart context, and time-lord (profection) for the year.

curl -X POST https://api.astroway.info/v1/horoscope/yearly \
-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 }, "year": 2026, "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
},
"year": 2026,
"language": "uk"
}

Successful calculation

object
ok
boolean
Example
true
data
object
year
number
language
string
title
string
body
string
profectionLord
string
solarReturn
object
date
string
Example
{
"ok": true,
"data": {
"year": 2026,
"language": "uk",
"title": "Рік відновлення",
"body": "...",
"profectionLord": "Mercury",
"solarReturn": {
"date": "2026-05-15T14:32:11Z"
}
}
}

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"
}
}
Корисно?