Astrology icon

Astrology

Perform astrological calculations via Astrology API

Actions231

Vedic → Regional Panchang

AI-generated

Summary

Compute the regional Panchang (Hindu almanac) for a specified location using Vedic astronomical calculations.

Inputs

  • locationType — Choose how to specify birth location: by city name (auto-detects coordinates) or exact latitude/longitude. Default: city.
  • city (required) — Birth city name (e.g., 'London', 'New York', 'Kyiv'). Shown when locationType is city.
  • countryCode (required) — 2-letter ISO country code for the birth city (e.g., US, GB, UA, DE, FR). Shown when locationType is city.
  • latitude — Geographic latitude of birth location in decimal degrees (-90 to 90, positive=North). Shown when locationType is coordinates.
  • longitude — Geographic longitude of birth location in decimal degrees (-180 to 180, positive=East). Shown when locationType is coordinates.
  • ayanamsa — Ayanamsa (precession correction) system for Vedic calculations. Default: lahirI. Options include Fagan-Bradley, galactic_center_0_sag, jn_bhasin, krishnamurti, lahirI, raman, true_citra, true_pushya, true_revati, yukteshwar.
  • nodeType — Calculation method for lunar nodes (Rahu/Ketu). Default: mean. Options: mean (average position, most commonly used in Vedic astrology), true (actual astronomical position, used in some KP calculations).
  • precision — Decimal precision for degree calculations. Default: 2. Range: 0-6.
  • simplify — Whether to return simplified response with key data only. Default: true. Disable for full API response with all metadata.

Output shape

The node returns API response data containing regional Panchang information (tithi, var, nakshatra, yoga, karana, and other auspicious/inauspicious timings for the specified location). The response shape is determined by the simplify parameter: when true (default), only top-level key data is returned; when false, the full API response with all available metadata is provided.

a config list of WOFF2 fonts. It will start with the roman letters A-Z in the order specified, and then loop with the remaining ASCII characters. The order of these list will determine the order of the unicode glyphs. It can contain either city names or lat/long coordinates.

Examples

Example 1: Font will load characters starting with A-Z, then loop with the remaining ASCII characters.

font-family: myFont; font-feature-settings: 'regionalpanchang' A-Z, 0-255;

Links

Discussion