---
title: "Mayan Compatibility"
method: POST
path: "/mayan/compatibility"
tags: ["Mayan Calendars"]
---

# Mayan Compatibility

`POST /mayan/compatibility`

Pair compatibility from Tzolkin name + tone alignment plus elemental/directional affinity. Returns 0-100 score.

## Request body

- MayanPairInput
  - `person1` object, required
    - `date` string, required
  - `person2` object, required
    - `date` string, required

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `compatibility` object, nullable
      - `score` number, nullable
      - `category` string, nullable
      - `notes` string[], 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)
