Feature: astronomy

Page Contents

Returns the moon phase, sunrise and sunset times.

Response Fields

moon_phase

precentIlluminated
ageOfMoon
current_time.hour
current_time.minute
sunrise.hour
sunrise.minute
sunset.hour
sunset.minute

Examples

Try with Apigee

Note: replace {{key}} with Your_Key

City within the USA

http://api.wunderground.com/api/Your_Key/astronomy/q/Australia/Sydney.json Show Response
{ "response": { "version": "0.1", "termsofService": "http://www.wunderground.com/weather/api/d/terms.html", "features": { "astronomy": 1 } }, "moon_phase": { "percentIlluminated": "81", "ageOfMoon": "10", "current_time": { "hour": "9", "minute": "56" }, "sunrise": { "hour": "7", "minute": "01" }, "sunset": { "hour": "16", "minute": "56" } } }