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

Natal chart (public, no key)

POST
/public/chart
Code sample: cURL
request.sh
curl -X POST 'https://api.astroway.info/v1/public/chart' -H 'Content-Type: application/json' -d '{"date":"1990-03-15","time":"14:30:00","timezoneOffset":2,"latitude":50.45,"longitude":30.52}'

Full natal chart: planets, houses, aspects, angles. Same input and same engine as the authed POST /chart, served anonymously under the public rate limit. Responses carry the free-tier _footer watermark. Field names are strict: latitude, longitude, timezoneOffset, not lat / lng / tz.

Media type application/json

Birth data for a single natal chart. Required: date (YYYY-MM-DD), time (HH:mm:ss). Defaults to lat/lon/tz=0 if omitted; pass real values for accurate computation.

object
date required
string
/^\d{4}-\d{2}-\d{2}$/
time required
string
/^\d{2}:\d{2}:\d{2}$/
timezoneOffset
number
0 nullable
latitude
number
0 nullable
longitude
number
0 nullable
houseSystem
string
default: P
name
string
""
city
string
""
zodiacType
string
Allowed values: tropical sidereal
ayanamsaId
number
nullable
cosmogram
boolean
key additional
nullable
Example
{
"date": "1990-03-15",
"time": "14:30:00",
"timezoneOffset": 2,
"latitude": 50.45,
"longitude": 30.52
}

OK

Media type application/json
Example
{
"ok": true,
"data": {
"julianDay": 2447966.02,
"planets": [],
"houses": {},
"aspects": []
},
"_footer": "Powered by astroway.api — get your own key at https://api.astroway.info"
}

Invalid input

Media type application/json
Example
{
"ok": false,
"error": {
"code": "INVALID_FIELD",
"message": "Unsupported field \"lat\". Pass a numeric \"latitude\" in decimal degrees."
}
}
Корисно?