Sunrise and Sunset

FREE
By mazon
Updated 25 days ago
Data
9.6/10
Popularity Score
436ms
Latency
100%
Success Rate

Sunrise and Sunset API Documentation

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

View API Details
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 ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication