Planetary Hours
POST /api/v1/planetary-hours
POST
/api/v1/planetary-hours
Calculate Chaldean planetary hours for a given date and location, starting from sunrise.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
Example
{ "date": "2024-06-21", "latitude": 50.45, "longitude": 30.52, "timezoneOffset": 3}Responses
Section titled “ Responses ”Successful calculation
object
ok
boolean
Example
true data
object
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" }}