---
title: "Export Horoscope Pdf"
method: POST
path: "/api/export/horoscope-pdf"
tags: ["export"]
---

# Export Horoscope Pdf

`POST /api/export/horoscope-pdf`

## 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/export/horoscope-pdf`
- Auth: HTTP bearer

Export latest horoscope as structured data for PDF generation.

The Flutter client renders the returned payload into a PDF using the
``pdf`` Dart package.  Coins are deducted before the export.

## Query parameters

- `period_type` string, required
- `category` string

## Response `200`

Successful Response

- ExportHoroscopeResponse
  - `export_data` ExportData, required
    - `app_name` string
    - `user_name` string
    - `zodiac_sign` string
    - `period_type` string, required
    - `category` string, required
    - `content` unknown, required
    - `rating` number
    - `lucky_numbers` string
    - `lucky_colors` string
    - `period_start` string
    - `generated_at` string

## Other responses

- `422`: Validation Error

---

[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)
