# Gematria ciphers

`POST https://api.astroway.info/v1/kabbalah/gematria`

Seven standard ciphers over a Hebrew text: absolute, large, small, ordinal, inclusive, AtBash and AlBam. Vowel points and cantillation are stripped; a final letter counts as its ordinary form in the absolute value and as 500-900 in the large one, and both are returned rather than one being chosen.

Group: Kabbalah. Auth: `X-Api-Key` header. Operation ID: `kabbalah_gematria`.

## Request body

| Field | Type | Required | Description |
|---|---|---|---|
| `text` | string | yes |  |

```json
{
  "text": "שלום"
}
```

## Responses

| Status | Meaning |
|---|---|
| 200 | Successful calculation |
| 400 | Validation error |
| 401 | Missing or invalid API key |

### Success fields, under `data`

| Field | Type | Required | Description |
|---|---|---|---|
| `input` | string | no |  |
| `consonants` | string | no |  |
| `letterCount` | number | no |  |
| `ciphers` | object[] | no |  |

## Example

```bash
curl -X POST https://api.astroway.info/v1/kabbalah/gematria \
  -H "X-Api-Key: aw_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "text": "שלום" }'
```

---

Rendered from https://api.astroway.info/v1/openapi.json. HTML page: https://api.astroway.info/docs/api/operations/kabbalah_gematria/
