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

# Export Chart Pdf

`POST /api/export/chart/pdf`

## Request

- Base URL: `https://api.erux.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.erux.ai/api/export/chart/pdf`
- Auth: none declared

Export complete chart analysis to PDF

Args:
    chart_data: Complete chart calculation data
    birth_details: Birth information
    options: Export options (interpretations, divisional charts, etc.)
    ref: Optional referral identifier for attribution tracking

Returns:
    StreamingResponse: PDF file stream

## Query parameters

- `ref` string, nullable

## Request body

- BodyExportChartPdfApiExportChartPdfPost
  - `chart_data` ChartData, required
    - `calculation_id` integer, nullable
    - `positions` object, required
    - `house_cusps` number[], nullable
    - `houses` object[], nullable
    - `aspects` object[], nullable
    - `ascmc` number[], nullable
    - `transits` union
      - object
      - TransitData
        - `positions` object, required
        - `transit_natal_aspects` object[], nullable
        - `transit_transit_aspects` object[], nullable
    - `using_fallback` boolean
    - `fallback_message` string, nullable
    - `yogas` object[], nullable
    - `doshas` object[], nullable
    - `major_yogas` object[], nullable
    - `minor_yogas` object[], nullable
    - `major_doshas` object[], nullable
    - `minor_doshas` object[], nullable
    - `dashas` object, nullable
    - `dasha_periods` object, nullable
    - `is_sidereal` boolean
    - `system` string, nullable
    - `house_system` string, nullable
    - `timezone` string, nullable
    - `coordinates` object, nullable
    - `birth_details` object, nullable
    - `transit_location` string, nullable
    - `divisional_charts` object, nullable
    - `divisional_analysis` object, nullable
    - `interpretation` string, nullable
    - `transitAnalysis` string, nullable
    - `asteroidInsights` string, nullable
    - `synthesis` string, nullable
    - `aspects_analysis` string, nullable
    - `psychological_insights` string, nullable
    - `pattern_analysis` string, nullable
    - `evolutionary_perspective` string, nullable
    - `nakshatra_analysis` string, nullable
    - `dasha_analysis` string, nullable
    - `dosha_analysis` string, nullable
    - `divisional_interpretations` object, nullable
    - `discoveries` object[], nullable
    - `vedic_analysis` object, nullable
    - `western_analysis` object, nullable
    - `alternative_positions` object, nullable
    - `alternative_houses` number[], nullable
    - `alternative_ascmc` number[], nullable
    - `alternative_system` string, nullable
  - `birth_details` BirthDetails, required
    - `date` string, required
    - `time` string, required
    - `city` string, required
    - `state` string, nullable
    - `country` string, required
    - `timezone` string, required
    - `system` string
    - `house_system` string
    - `skip_vertex` boolean
    - `calculate_transits` boolean
    - `transit_lat` number, nullable
    - `transit_lon` number, nullable
    - `horoscope_location_type` string, nullable
    - `current_place` string, nullable
    - `current_timezone` string, nullable
    - `current_latitude` number, nullable
    - `current_longitude` number, nullable
    - `latitude` number, nullable
    - `longitude` number, nullable
    - `user_id` string, nullable
    - `relationship` string, nullable
    - `entity_type` string, nullable
    - `entity_details` object, nullable
  - `options` ExportOptions: Options for export customization
    - `include_interpretations` boolean: Include AI-generated interpretations in the export
    - `include_divisional` boolean: Include divisional charts analysis
    - `include_transits` boolean: Include current transits information
    - `include_aspects` boolean: Include aspects analysis
    - `include_houses` boolean: Include house positions and analysis
    - `watermark_text` string, nullable: Custom watermark text (uses default if not provided)
    - `interpretations` object, nullable: Pre-computed interpretations to include
    - `custom_sections` string[], nullable: Custom sections to include

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine.md) · [All operations](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/erux/apis/erux-astrology-ephemeris-engine/revisions/9dc718df71b0?raw)
