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
}
}
Every example here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This example
curl "https://apis.io/api/v1/examples/astronomy-astronomy-lookup-response-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.