Vedic v2

Render KP Chart and Tables (v2)

Render the same complete KP calculation as an accessible SVG or PNG.

post/api/v2/vedic/kp/render

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/kp/render
  • 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)

ayanamsha'kp'

KP endpoint invariant. Uses Swiss Ephemeris Krishnamurti ayanamsha.

house_system'placidus'

KP endpoint invariant. Uses sidereal Placidus house cusps.

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.

dasha_levelsinteger

KP-compatible Vimshottari depth: 1=Maha, 2=+Antar, 3=+Pratyantar.

ruling_datetimestring date-time nullable

Optional ISO 8601 moment for ruling planets. A timezone-aware value is converted to the resolved birth-place timezone; a naive value is interpreted there. Defaults to the current moment.

format'svg' | 'png'

Rendered output format.

view'combined' | 'chart' | 'tables'

Render the full report, only the 12-house chart, or only KP calculation tables.

widthinteger

SVG canvas width in pixels.

theme'light' | 'dark'

Built-in report color theme.

png_quality_scalenumber

CairoSVG raster scale used only when format is png.

Response

A rendered KP chart, calculation tables, or combined report.

Changes

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