Vedic v2

Render Vedic Visual Chart (v2)

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

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

Request body

yearinteger required

Astronomical year of birth (0-2399; 0 = 1 BCE)

monthinteger required

Month of birth (1-12)

dayinteger required

Day of birth (1-31)

hourinteger required

Hour of birth (0-23)

minuteinteger required

Minute of birth (0-59)

secondinteger

Second of birth (0-59)

citystring

City name (optional)

latnumber nullable

Latitude

lngnumber nullable

Longitude

tz_strstring

Timezone: AUTO, LMT, or standard (e.g. Europe/Berlin)

ayanamshastring

Ayanamsha

house_systemstring

House system

node_typestring

Node type (mean/true)

reference_datestring 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.

divisionsinteger[] 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_chalitboolean

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.

sizeinteger

Square size in pixels for each rendered chart panel.

png_quality_scalenumber

CairoSVG scale factor for PNG output.

theme_type'light' | 'dark' | 'mono'

Built-in renderer theme.

custom_themeobject nullable

Optional renderer color overrides.

ascendant_text_colorstring nullable

Optional color override for the Asc/Ascendant label text, e.g. #D9480F.

body_typesstring[] 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_settingsobject nullable

Optional visibility toggles for grahas, ascendant, sign labels, house labels, and chart chrome.

chart_configobject 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_cssstring nullable

Optional CSS appended inside the generated SVG style block.

Response

Rendered Vedic chart image.

Changes

No recorded changes to this operation across all 1 revision of this API.