Find Sun And Moon
Access Sun and Moon data with Divine API's Panchang API. Provide accurate information on sunrise, sunset, moonrise, and moonset times to enhance your application's astrological and cultural feature.
Last updated
Access Sun and Moon data with Divine API's Panchang API. Provide accurate information on sunrise, sunset, moonrise, and moonset times to enhance your application's astrological and cultural feature.
Last updated
Empower your astrological explorations by accessing precise Sun and Moon data through our dedicated 'Sun and Moon' API within the realm of Indian Astrology.
Returns rising and setting details of Sun and Moon in response
Authorization*
String
your API Access Token
eg: Bearer {token}
api_key*
String
your API key
day*
Integer
day of panchang, eg: 24
month*
Integer
month of panchang, eg: 05
year*
Integer
year of panchang, eg: 2023
place
String
place, ex: New Delhi
lat*
Float
latitude, eg: 28.6139
lon*
Float
longitude, eg: 77.2090
tzone*
Float
lan
String
Take a look at how you might call this method via cURL, NodeJS or JavaScript jQuery AJAX and Python :
timezone, eg: 5.5
Language code as per the above, default is 'en'.