---
title: "Render Vedic Visual Chart (v2)"
method: POST
path: "/api/v2/vedic/visual/chart"
tags: ["Vedic v2"]
---

# Render Vedic Visual Chart (v2)

`POST /api/v2/vedic/visual/chart`

## Request

- Base URL: `https://api.freeastroapi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.freeastroapi.com/api/v2/vedic/visual/chart`
- Auth: none declared

Render requested V2 divisional charts as a raw SVG or PNG image.

## Request body

- VedicVisualChartRequest
  - `year` integer, required: Astronomical year of birth (0-2399; 0 = 1 BCE)
  - `month` integer, required: Month of birth (1-12)
  - `day` integer, required: Day of birth (1-31)
  - `hour` integer, required: Hour of birth (0-23)
  - `minute` integer, required: Minute of birth (0-59)
  - `second` integer: Second of birth (0-59)
  - `city` string: City name (optional)
  - `lat` number, nullable: Latitude
  - `lng` number, nullable: Longitude
  - `tz_str` string: Timezone: AUTO, LMT, or standard (e.g. Europe/Berlin)
  - `ayanamsha` string: Ayanamsha
  - `house_system` string: House system
  - `node_type` string: Node type (mean/true)
  - `reference_date` string, date, nullable: Reference date for transit-sensitive chart context, including Sade Sati. Defaults to today in timezone_used.
  - `d4_profile` 'auto' | 'swiss' | 'astrosage_lahiri' | 'astrosage_raman' | 'astrosage_kp_new' | 'astrosage_kp_old' | 'astrosage_kp_khullar': D4 only: auto uses AstroSage Lahiri/Raman with mean nodes in 1600–2399; otherwise Swiss. Explicit AstroSage profiles require mean nodes. Generic kp stays Swiss; select astrosage_kp_new, astrosage_kp_old or astrosage_kp_khullar explicitly. Other divisions and the main chart keep their existing calculation basis.
  - `divisions` integer[], required: Requested divisional charts to render, such as [1] or [1, 9]. Supports D1, D2, D3, D4, D5, D7, D9, D10, D12, D16, D20, D24, D27, D30, D40, D45, and D60.
  - `include_bhava_chalit` boolean: Append a Bhava Chalit BC panel. Currently supported for north_indian visual charts only.
  - `chart_style` 'north_indian' | 'south_indian' | 'east_indian': Vedic visual chart layout style.
  - `format` 'svg' | 'png': Rendered image format.
  - `size` integer: Square size in pixels for each rendered chart panel.
  - `png_quality_scale` number: CairoSVG scale factor for PNG output.
  - `theme_type` 'light' | 'dark' | 'mono': Built-in renderer theme.
  - `custom_theme` object, nullable: Optional renderer color overrides.
  - `ascendant_text_color` string, nullable: Optional color override for the Asc/Ascendant label text, e.g. #D9480F.
  - `body_types` string[], nullable: Optional body groups to render. Defaults to all available Vedic bodies: ascendant, classical_grahas, and nodes. Add outer_planets for Uranus, Neptune, and Pluto.
  - `display_settings` object, nullable: Optional visibility toggles for grahas, ascendant, sign labels, house labels, and chart chrome.
  - `chart_config` object, nullable: Optional visual overrides. Supports sign_label_mode, sign_label_position, body_label_mode, sign_label_offsets, body_visual_size, body_visual_scale, typography, spacing, border, and line settings.
  - `custom_css` string, nullable: Optional CSS appended inside the generated SVG style block.

## Response `200`

Rendered Vedic chart image.

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/freeastroapi/apis/astroservice-api.md) · [All operations](https://skmtc.dev/freeastroapi/apis/astroservice-api/llms.txt) · [OpenAPI document](https://skmtc.dev/freeastroapi/apis/astroservice-api/revisions/0c9b4a759522?raw)
