Astrology icon

Astrology

Perform astrological calculations via Astrology API

Actions231

Vedic → Yoga Analysis

AI-generated

Summary

Analyze Vedic yogas from birth data and location

Inputs

  • year (required) — Birth year in 4-digit format (e.g., 1990)
  • month (required) — Birth month as number 1-12 (January=1, December=12)
  • day (required) — Birth day of month (1-31)
  • hour (required) — Birth hour in 24-hour format (0-23, where 0=midnight, 12=noon)
  • minute (required) — Birth minute (0-59)
  • locationType (required) — Choose how to specify birth location: by city name (auto-detects coordinates) or exact latitude/longitude
  • city (required) — Birth city name (e.g., London, New York, Kyiv)
  • countryCode (required) — 2-letter ISO country code for the birth city (e.g., US, GB, UA, DE, FR)
  • latitude (required) — Geographic latitude in decimal degrees (-90 to 90, positive=North)
  • longitude (required) — Geographic longitude in decimal degrees (-180 to 180, positive=East)
  • ayanmsa — Ayanamsa (precession correction) system for Vedic calculations; default lahirI
  • nodeType — Calculation method for lunar nodes (Rahu/Ketu); default mean
  • precision — Decimal precision for degree calculations (0-6); default 2
  • language — Language for response text and interpretations; default en
  • simplify — Whether to return simplified response with key data only; default true

Output shape

An object containing identified Vedic yogas with their names, descriptions, and interpretive details. When simplify is true, returns only key yoga data (names and brief effects); when false, returns the full API response with exact degree positions, associated planets, and complete textual interpretations for all detected yogas.

All input parameters map directly to the API request; locationType, city, and countryCode or latitude/longitude are mutually exclusive per the node's display logic. The ayanmsa and nodeType settings influence calculation methodology but do not change the input schema.

Examples

Example 1: Basic Vedic yoga analysis with simplified output

year=1990, month=6, day=15, hour=14, minute=30, locationType=city, city=London, countryCode=GB, ayanmsa=lahiri, precision=2, language=en, simplify=true

Links

Discussion