IPGeolocation.io Astronomy API
API endpoints for retrieving astronomical information for a givenlocation, including sunrise and sunset times, moonrise and moonsettimes, twilight phases, golden hour and blue hour windows, solar noon,sun and moon position data (altitude, azimuth, distance), and moonphase.A time series endpoint is also available to retrieve daily astronomicaldata across a date range of up to 90 days.
IPGeolocation.io Astronomy API is one of 7 APIs that IPGeolocation.io publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Astronomy. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.
This API exposes 2 operations across 2 paths, and defines 7 schemas. It is described by OpenAPI 3.0.7, at version 3.0.
Requests are made against a single base URL, https://api.ipgeolocation.io.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
IPGeolocation.io Astronomy API declares
1 security scheme
for authenticating requests.
An API key is passed in the query as apiKey (ApiKeyAuth).
By default, every request must be authenticated.
ApiKeyAuth— API key passed as the apiKey query parameter. Get yours from the [IPGeolocation dashboard](https://app.ipgeolocation.io/). For client-side usage, consider usin…
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
API endpoints for retrieving astronomical information for a given location, including sunrise and sunset times, moonrise and moonset times, twilight phases, golden hour and blue h…
Schemas 7
The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are AstronomyData (26 properties), Location (17 properties), AstronomyTimeSeriesEntry (15 properties), TwilightPhase (10 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from IPGeolocation.io 6
Other APIs IPGeolocation.io publishes across the network.