Astronomy Astronomy Lookup Response Example is an example object payload from IPGeolocation.io, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
{
"ip": "8.8.8.8",
"location": {
"location_string": "New York, USA",
"continent_code": "NA",
"continent_name": "North America",
"country_code2": "US",
"country_code3": "USA",
"country_name": "United States",
"country_name_official": "United States of America",
"is_eu": true,
"state_prov": "New York",
"state_code": "US-NY",
"district": "Manhattan",
"city": "New York",
"locality": "Midtown West",
"zipcode": "10001",
"latitude": "40.76473",
"longitude": "-74.00084",
"elevation": "9"
},
"astronomy": {
"time_zone": "Europe/London",
"date": "2026-03-18",
"current_time": "10:15:00.000",
"mid_night": "00:06",
"night_end": "04:49",
"morning": {
"astronomical_twilight_begin": "04:49",
"astronomical_twilight_end": "05:21",
"nautical_twilight_begin": "05:21",
"nautical_twilight_end": "05:53",
"civil_twilight_begin": "05:53",
"civil_twilight_end": "06:20",
"blue_hour_begin": "05:42",
"blue_hour_end": "06:03",
"golden_hour_begin": "06:03",
"golden_hour_end": "06:57"
},
"sunrise": "06:20",
"sunset": "19:00",
"evening": {
"astronomical_twilight_begin": "04:49",
"astronomical_twilight_end": "05:21",
"nautical_twilight_begin": "05:21",
"nautical_twilight_end": "05:53",
"civil_twilight_begin": "05:53",
"civil_twilight_end": "06:20",
"blue_hour_begin": "05:42",
"blue_hour_end": "06:03",
"golden_hour_begin": "06:03",
"golden_hour_end": "06:57"
},
"night_begin": "20:31",
"sun_status": "-",
"solar_noon": "12:40",
"day_length": "12:40",
"sun_altitude": 42.5,
"sun_distance": 148900000.0,
"sun_azimuth": 150.3,
"moon_phase": "WAXING_CRESCENT",
"moonrise": "08:45",
"moonset": "22:10",
"moon_status": "-",
"moon_altitude": 15.2,
"moon_distance": 384400.0,
"moon_azimuth": 220.5,
"moon_parallactic_angle": 30.1,
"moon_illumination_percentage": "25.40",
"moon_angle": 0.52
}
}