---
title: "Get Today Affirmation"
method: GET
path: "/api/affirmations/today"
tags: ["affirmations"]
---

# Get Today Affirmation

`GET /api/affirmations/today`

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/affirmations/today`
- Auth: HTTP bearer

Get today's personalized affirmation. Free (0 coins).

Cache invariant: the stored `profile_hash` must match the current
profile state before a cached row is served. Without this check a
user who switched UI language (or text_language) after this morning's
generation would be stuck reading the old-language affirmation for
the rest of the day — which is exactly the bug the screenshot showed.
Mirrors the pattern already in horoscope / natal / tarot / compat.

## Response `200`

Successful Response

- AffirmationResponse
  - `date` string, required
  - `moon_phase` string, required
  - `affirmation` unknown, required
  - `cached` boolean, required

---

[API](https://skmtc.dev/natlex/apis/stellara-api.md) · [All operations](https://skmtc.dev/natlex/apis/stellara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/natlex/apis/stellara-api/revisions/e576f046b61f?raw)
