Logo

SEARCH ASTRO INSIGHT API DOCS

Home Vedic Astrology

Panchang Chart Image Sunrise API

The Panchang Chart Image Sunrise API provides Panchang related calculations and insights based on Vedic Astrology principles. This endpoint is designed for astrology applications, report generation systems, horoscope platforms, and developer integrations requiring structured JSON responses and reliable REST API access.

Panchang Chart Image Sunrise

The Panchang Chart Image Sunrise API generates a rendered visual image of a Panchang chart where all Vedic almanac data is anchored to the local sunrise of the given date and location. It combines sunrise-relative Panchang computation with a fully customisable chart rendering engine, returning a chart image that faithfully represents the traditional Vedic almanac convention of reckoning the day from sunrise.

What This API Does

This endpoint accepts a date, time, timezone, and geographic coordinates, determines the local sunrise for that date and location, and computes the full Panchang using sunrise as the reference point. It then renders the resulting Panchang data into a styled chart image according to the visual configuration parameters provided in the request body. The API returns a finished chart image, handling both the astronomical computation and the visual rendering entirely on the server.

What Data It Returns

The response delivers a rendered Panchang chart image in which all displayed data is sunrise-anchored. The image includes:

  • Panchang Chart Layout — A structured chart diagram in the chosen regional style (North Indian, South Indian, or East Indian), with all elements computed from the local sunrise moment

  • Zodiac Signs — Displayed within the chart as traditional astrological symbols or as numbers, depending on the signSymbol setting

  • Planetary Positions — Planets placed within the chart according to their sidereal positions at sunrise, shown as symbols or abbreviated names based on the planetSymbol setting

  • Rendered Visual Elements — Chart borders, inner and outer grid lines, sign labels, and planet labels, all styled according to the provided color, size, and line-width configuration

Main Use Cases

  • Traditional Panchang Compliance — Generating chart images that adhere to classical Vedic almanac conventions, where the day and all its elements are reckoned from sunrise rather than midnight

  • Astrology & Jyotish Applications — Embedding sunrise-anchored Panchang chart images directly into Vedic astrology apps without requiring any client-side chart rendering

  • Hindu Calendar & Almanac Platforms — Displaying a visually accurate daily Panchang chart that matches the data shown in traditional printed almanacs

  • Kundali & Horoscope Report Generation — Including a sunrise-based Panchang chart image in PDF or web-based horoscope and consultation reports

  • Religious & Spiritual Portals — Showing a correctly anchored Panchang chart on daily Panchang pages, festival pages, or puja scheduling tools where sunrise-relative data is required

  • White-Label Astrology Products — Producing fully branded, sunrise-accurate chart images by customising colors, sizes, and styles to match a product's visual identity

Key Functionality

  • Sunrise-Anchored Computation — All Panchang elements rendered in the chart (Tithi, Nakshatra, Yoga, Karana, planetary positions, muhurtas) are calculated relative to the local sunrise, matching the traditional Vedic almanac standard

  • Automatic Sunrise Determination — The API internally computes the precise local sunrise for the given date, latitude, and longitude, so callers do not need to supply it separately

  • Multiple Chart Styles — Supports North Indian, South Indian, and East Indian chart layouts via the chartStyle parameter, catering to regional Vedic astrology traditions

  • Full Visual Customisation — Exposes granular control over every visual aspect of the chart: background color (bgColor), inner and outer line colors and widths (innerLineColor, outerLineColor, innerLineWidth, outerLineWidth), sign color (signColor), planet color (planetColor), chart size (chartSize), and font sizes for signs and planets (signFontSize, planetFontSize)

  • Symbol or Text Display — Signs can be rendered as traditional astrological symbols or as numbers (signSymbol), and planets can be shown as symbols or their abbreviated names (planetSymbol), giving flexibility for different audiences

  • Server-Side Rendering — The entire chart is rendered on the server, so clients receive a finished image with no dependency on client-side graphics libraries or rendering engines

  • Ayanamsha Support — Planetary positions within the chart are computed using the Ayanamsha system specified via the X-Ayanamsha header, ensuring compatibility with different schools of Vedic astrology

  • Location-Aware Precision — Sunrise time and all derived Panchang data are calculated for the exact latitude, longitude, and timezone provided, guaranteeing geographic accuracy for any location globally

  • Multi-Language Support — The Accept-Language header allows sign and planet labels within the chart to be rendered in the preferred language, supporting regional and international audiences

Credit Cost
1 Credits/Per API Call
Avg Response
~64msTypical Latency

Supported Response Languages

🇬🇧 English en
🇮🇳 Hindi hi
🇮🇳 Marathi ma

🌐 API responses available in 3 regional languages. Pass Accept-Languageparameter in request header with language code.

API Explorer

POST https://json.astroinsightapi.com/api/v1/chart/panchang/image/sunrise

Request Example:

HTTP Status Codes

API Categories