Sunrise and Sunset
FREE
By mazon
Updated a month ago

Sunrise and Sunset API Documentation

Get the sunrise and sunset information of a location by city, lat long or ip address.

Learn more about this API
GETSunrise/set by Lat/Lon
GETSunrise/set by IP Address
GETSunrise/set by City
GETSunrise/set by Lat/Lon
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
latitudeNUMBER
OPTIONAL
longitudeNUMBER
OPTIONAL
dateSTRING
OPTIONALIf a date other than today is wanted provide a valid date in the format above.
Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication