Astrology

Sun Position

Get sun position data based on the location

get/v1/sunposition

Request

  • Base URL: https://api.apiverve.com
  • URL: https://api.apiverve.com/v1/sunposition
  • Auth: API key in header x-api-key

Query parameters

latnumber required

The latitude of the location

lonnumber required

The longitude of the location

datestring

The date to get the sun position data for (MM-DD-YYYY)

timestring

The time of day for the calculation (HH:mm format, 24-hour), read in the timezone of the coordinates. Defaults to 00:00 if not provided

timezonestring

IANA timezone to read the date and time in, such as America/Los_Angeles. Defaults to the timezone of the coordinates

Response

Successful Response

statusstring

status

errorstring

error

dataobject

data

Changes

No recorded changes to this operation across all 1 revision of this API.