https://json.astrologyapi.com/v1/basic_panchang/sunriseThe bacis_panchang/sunrise API provides information about the sunrise time along with other details such as the day, tithi, yog, nakshatra, and karan. The response includes the time of the sunrise and sunset for the given day.
1{
2 "day": "Tuesday",
3 "tithi": "Krishna Dashami",
4 "nakshatra": "Ashwini",
5 "yog": "Atigand",
6 "karan": "Vanija",
7 "sunrise": "05:10:07",
8 "sunset": "18:54:25",
9 "vedic_sunrise": "05:14:15",
10 "vedic_sunset": "18:50:17"
11}Authorizationstring
requiredBasic Authorization via header
Accept-Languagestring
Preferred language for the response content
Properties
dayint
requiredDate of birth, eg: 10
monthint
requiredMonth of birth, eg: 5
yearint
requiredYear of birth, eg: 1990
hourint
requiredHour of birth, eg: 19
minint
requiredMinute of birth, eg: 55
latfloat
requiredLatitude, eg: 19.2056
lonfloat
requiredLongitude, eg: 25.2056
tzonefloat
requiredTimezone, eg: 5.5
1. Panchang at specified date and time
Here, following APIs are used and date and time along with latitude, longitude and timezone are expected -
Something is wrong with your request format or parameters.
Your API key is missing or invalid.
You don't have permission to access this specific resource.
The API endpoint you're trying to reach doesn't exist.
Our server is having a temporary glitch.