---
title: "Long Count"
method: POST
path: "/mayan/long-count"
tags: ["Mayan Calendars"]
---

# Long Count

`POST /mayan/long-count`

Five-place positional notation: baktun.katun.tun.uinal.kin. Days since 4 Ahau 8 Cumku (3114 BC).

## Request body

- MayanDateOnlyInput
  - `date` string, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `longCount` object, nullable
      - `baktun` number, nullable
      - `katun` number, nullable
      - `tun` number, nullable
      - `uinal` number, nullable
      - `kin` number, nullable
      - `notation` string, nullable
      - `daysSinceCreation` number, nullable

## Other responses

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

---

[API](https://skmtc.net/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.net/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astroway/astroway-calculation-api/revisions/6828e5609564/schema)
