---
title: "Lord of the Night"
method: POST
path: "/mayan/lord-of-night"
tags: ["Mayan Calendars"]
---

# Lord of the Night

`POST /mayan/lord-of-night`

## Request

- Base URL: `https://api.astroway.info/v1`
- URL: `https://api.astroway.info/v1/mayan/lord-of-night`
- Auth: API key in header `X-Api-Key`

9-day cycle of underworld deities (G1-G9) governing the spiritual influence of each night.

## Query parameters

- `fields` string
- `precision` integer

## Request body

- MayanDateOnlyInput
  - `date` string, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `lordOfNight` object, nullable
      - `number` number, nullable
      - `label` string, nullable

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key

## Changes

- **2026-09-21** `b64222844186`: 2 info
  - added the new optional `query` request parameter `fields`
  - added the new optional `query` request parameter `precision`
- **2026-08-22** `5a17388652f3`: 1 breaking
  - added the new required request property `date`

[Operation history](https://skmtc.dev/astroway/apis/astroway-calculation-api/changes/mayan/lord-of-night/post.md)

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/astroway/apis/astroway-calculation-api/revisions/593d763ba9a5?raw)
