---
title: "Retrieve sunrise, sunset, moonrise, moonset and moon phase for a single point."
method: GET
path: "/astronomy/point"
---

# Retrieve sunrise, sunset, moonrise, moonset and moon phase for a single point.

`GET /astronomy/point`

Retrieve sunrise, sunset, moonrise, moonset and moon phase for a single point.

## Query parameters

- `lat` number, float, required
- `lng` number, float, required
- `start` string, date-time
- `end` string, date-time

## Response `200`

Astronomy data

- object
  - `data` AstronomyData[]
    - `astronomicalDawn` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `astronomicalDusk` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `civilDawn` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `civilDusk` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `moonFraction` object — Key-value pairs where key is the data source (e.g. noaa, ecmwf, sg) and value is the measured parameter.
    - `moonPhase` object
      - `closest` object
        - `text` string
        - `time` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
        - `value` object — Key-value pairs where key is the data source (e.g. noaa, ecmwf, sg) and value is the measured parameter.
      - `current` object
        - `text` string
        - `time` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
        - `value` object — Key-value pairs where key is the data source (e.g. noaa, ecmwf, sg) and value is the measured parameter.
    - `moonrise` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `moonset` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `nauticalDawn` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `nauticalDusk` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `sunrise` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `sunset` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
    - `time` string, date-time — Timestamp in UTC (ISO 8601), always rounded to full hours.
  - `meta` Meta
    - `lat` number, float
    - `lng` number, float
    - `start` string, date-time
    - `end` string, date-time
    - `dailyQuota` number — The number of requests you are allowed to make each day
    - `requestCount` number — The number of successful requests you have made since 00:00 UTC

## Other responses

- `402` — Error: Payment required (quota exceeded)
- `403` — Forbidden
- `422` — Error: Unprocessable Entity

---

[API](https://skmtc.net/stormglass/apis/stormglass-io-api.md) · [All operations](https://skmtc.net/stormglass/apis/stormglass-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stormglass/stormglass-io-api/versions/c1d9b537b4c7/schema)
