{
 "openapi": "3.1.0",
 "info": {
  "title": "LifeAstroAPI",
  "version": "1.0.0",
  "description": "REST API for Vedic astrology and the Hindu calendar: panchang, festivals and vrats, kundli (birth chart), dasha, kundli matching, muhurat, horoscopes, numerology, reports, tarot and Western astrology. 322 endpoints with location- and timezone-aware calculations on the Swiss Ephemeris. Vedic endpoints answer in 9 languages with `lang`. Free tier: 7,500 welcome credits plus 1,500 credits a month. Official SDKs for Node.js / React Native, Python, PHP and Flutter / Dart, and an open-source MCP server. Policies (versioning, timeouts, billing): https://lifeastroapi.com/docs/production/",
  "termsOfService": "https://lifeastroapi.com/terms/",
  "contact": {
   "name": "LifeAstroAPI support",
   "url": "https://lifeastroapi.com/contact/",
   "email": "support@lifeastroapi.com"
  },
  "x-logo": {
   "url": "https://lifeastroapi.com/logo/brandlogo-512.png",
   "altText": "LifeAstroAPI"
  },
  "x-origin": [
   {
    "format": "openapi",
    "version": "3.1",
    "url": "https://api.lifeastroapi.com/v1/docs"
   }
  ],
  "x-providerName": "lifeastroapi.com",
  "x-apisguru-categories": [
   "developer_tools",
   "open_data"
  ]
 },
 "servers": [
  {
   "url": "https://api.lifeastroapi.com",
   "description": "Production"
  }
 ],
 "security": [
  {
   "BearerApiKey": []
  }
 ],
 "components": {
  "securitySchemes": {
   "BearerApiKey": {
    "type": "http",
    "scheme": "bearer",
    "bearerFormat": "dv_live_<hex> / dv_test_<hex>",
    "description": "Authorization: Bearer <api key>. Keys are created in the dashboard (API Keys)."
   }
  },
  "parameters": {
   "date": {
    "name": "date",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "2026-04-12"
    },
    "description": "Calendar date (YYYY-MM-DD)"
   },
   "time": {
    "name": "time",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "example": "08:30"
    },
    "description": "Local time (HH:MM or HH:MM:SS). Defaults to 12:00."
   },
   "tz": {
    "name": "tz",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "Asia/Kolkata"
    },
    "description": "IANA timezone name or UTC±HH:MM offset."
   },
   "lat": {
    "name": "lat",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 28.6139
    },
    "description": "Geographic latitude in decimal degrees (−90 to 90)."
   },
   "lon": {
    "name": "lon",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 77.209
    },
    "description": "Geographic longitude in decimal degrees (−180 to 180)."
   },
   "ayanamsa": {
    "name": "ayanamsa",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "lahiri",
      "raman",
      "krishnamurti",
      "fagan",
      "yukteshwar",
      "true_chitrapaksha"
     ],
     "default": "lahiri"
    },
    "description": "Ayanamsa (sidereal offset) to use. Defaults to lahiri."
   },
   "birth_date": {
    "name": "birth.date",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "1990-01-15"
    },
    "description": "Birth date (YYYY-MM-DD)"
   },
   "birth_time": {
    "name": "birth.time",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "example": "10:30"
    },
    "description": "Birth local time (HH:MM or HH:MM:SS)."
   },
   "birth_tz": {
    "name": "birth.tz",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "Asia/Kolkata"
    },
    "description": "Birth timezone (IANA name or UTC±HH:MM)."
   },
   "birth_lat": {
    "name": "birth.lat",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 19.076
    },
    "description": "Birth location latitude."
   },
   "birth_lon": {
    "name": "birth.lon",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 72.8777
    },
    "description": "Birth location longitude."
   },
   "western_house_system": {
    "name": "house_system",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "placidus",
      "p",
      "whole_sign",
      "whole",
      "w",
      "koch",
      "k",
      "equal",
      "e"
     ],
     "default": "placidus",
     "example": "placidus"
    },
    "description": "House system. Phase 2c supports placidus (default), whole_sign, koch, equal. Placidus and Koch reject |lat| > 66° (geometrically undefined inside polar circle); Whole Sign and Equal accept any latitude."
   },
   "western_orb_conjunction": {
    "name": "orb_conjunction",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": 0,
     "exclusiveMinimum": true,
     "maximum": 15,
     "default": 8,
     "example": 8
    },
    "description": "Orb (degrees) for conjunction detection. Range (0, 15]. Default 8°."
   },
   "western_orb_opposition": {
    "name": "orb_opposition",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": 0,
     "exclusiveMinimum": true,
     "maximum": 15,
     "default": 8,
     "example": 8
    },
    "description": "Orb (degrees) for opposition detection. Range (0, 15]. Default 8°."
   },
   "western_orb_trine": {
    "name": "orb_trine",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": 0,
     "exclusiveMinimum": true,
     "maximum": 15,
     "default": 8,
     "example": 8
    },
    "description": "Orb (degrees) for trine detection. Range (0, 15]. Default 8°."
   },
   "western_orb_square": {
    "name": "orb_square",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": 0,
     "exclusiveMinimum": true,
     "maximum": 15,
     "default": 7,
     "example": 7
    },
    "description": "Orb (degrees) for square detection. Range (0, 15]. Default 7°."
   },
   "western_orb_sextile": {
    "name": "orb_sextile",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": 0,
     "exclusiveMinimum": true,
     "maximum": 15,
     "default": 6,
     "example": 6
    },
    "description": "Orb (degrees) for sextile detection. Range (0, 15]. Default 6°."
   },
   "personA_date": {
    "name": "personA.date",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "1991-08-21"
    },
    "description": "Person A birth date (YYYY-MM-DD)."
   },
   "personA_time": {
    "name": "personA.time",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "06:30"
    },
    "description": "Person A birth local time (HH:MM)."
   },
   "personA_tz": {
    "name": "personA.tz",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "Asia/Kolkata"
    },
    "description": "Person A timezone (IANA name or ±HH:MM offset)."
   },
   "personA_lat": {
    "name": "personA.lat",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 25.2425
    },
    "description": "Person A birth latitude in decimal degrees."
   },
   "personA_lon": {
    "name": "personA.lon",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 86.9842
    },
    "description": "Person A birth longitude in decimal degrees."
   },
   "personB_date": {
    "name": "personB.date",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "1990-01-15"
    },
    "description": "Person B birth date (YYYY-MM-DD)."
   },
   "personB_time": {
    "name": "personB.time",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "14:00"
    },
    "description": "Person B birth local time (HH:MM)."
   },
   "personB_tz": {
    "name": "personB.tz",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "America/New_York"
    },
    "description": "Person B timezone (IANA name or ±HH:MM offset)."
   },
   "personB_lat": {
    "name": "personB.lat",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 40.7128
    },
    "description": "Person B birth latitude in decimal degrees."
   },
   "personB_lon": {
    "name": "personB.lon",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": -74.006
    },
    "description": "Person B birth longitude in decimal degrees."
   },
   "composite_method": {
    "name": "composite_method",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "midpoint_planets",
      "midpoint_cusps"
     ],
     "default": "midpoint_planets"
    },
    "description": "Composite chart method. midpoint_planets averages each planet's longitude (default, most common). midpoint_cusps averages each cusp pair instead."
   },
   "age_in_years": {
    "name": "age_in_years",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": 0,
     "maximum": 120,
     "example": 30
    },
    "description": "Age in years (decimal allowed) for secondary progressions / solar arc directions. Range [0, 120]."
   },
   "return_year": {
    "name": "return_year",
    "in": "query",
    "required": true,
    "schema": {
     "type": "integer",
     "minimum": -1000,
     "maximum": 5000,
     "example": 2026
    },
    "description": "Calendar year for the solar return. Range [-1000, 5000]."
   },
   "lunar_return_from": {
    "name": "from",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "format": "date-time",
     "example": "2026-04-25T00:00:00Z"
    },
    "description": "Search-start moment for the next lunar return (RFC3339 UTC). Required — no implicit \"now\" default to keep responses safely cacheable."
   },
   "relocate_lat": {
    "name": "relocate_lat",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": -90,
     "maximum": 90,
     "example": 40.7128
    },
    "description": "Optional relocation latitude for relocated returns. Both relocate_lat and relocate_lon must be provided together."
   },
   "relocate_lon": {
    "name": "relocate_lon",
    "in": "query",
    "required": false,
    "schema": {
     "type": "number",
     "format": "double",
     "minimum": -180,
     "maximum": 180,
     "example": -74.006
    },
    "description": "Optional relocation longitude for relocated returns. Paired with relocate_lat."
   },
   "western_rulership": {
    "name": "rulership",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "modern",
      "traditional"
     ],
     "default": "modern",
     "example": "modern"
    },
    "description": "Sign-rulership scheme for House / ASC / MC ruler emission. modern (default) uses post-discovery rulers (Pluto-Scorpio, Uranus-Aquarius, Neptune-Pisces). traditional uses the classical 7-planet scheme (Mars-Scorpio, Saturn-Aquarius, Jupiter-Pisces) — outer planets are not assigned ruling signs."
   },
   "narrative_sign": {
    "name": "sign",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "enum": [
      "Aries",
      "Taurus",
      "Gemini",
      "Cancer",
      "Leo",
      "Virgo",
      "Libra",
      "Scorpio",
      "Sagittarius",
      "Capricorn",
      "Aquarius",
      "Pisces"
     ],
     "example": "Aries"
    },
    "description": "Tropical zodiac sign (case-insensitive on input; canonicalised in response)."
   },
   "narrative_tone": {
    "name": "tone",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "spiritual",
      "motivational",
      "romantic",
      "practical"
     ],
     "default": "spiritual"
    },
    "description": "Editorial voice variant. Defaults to spiritual."
   },
   "narrative_verbosity": {
    "name": "verbosity",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "brief",
      "medium",
      "full"
     ],
     "default": "medium"
    },
    "description": "Composition depth — caps the number of aspect-highlight sections in the summary. brief=3, medium=6, full=12."
   },
   "narrative_aspect_kind": {
    "name": "kind",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "enum": [
      "conjunction",
      "sextile",
      "square",
      "trine",
      "opposition"
     ],
     "example": "square"
    },
    "description": "Aspect kind (Phase 1 catalog: major Ptolemaic only)."
   },
   "narrative_aspect_context": {
    "name": "context",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "enum": [
      "natal",
      "synastry",
      "composite",
      "transit"
     ],
     "default": "natal"
    },
    "description": "Interpretive context. Phase 3a stub corpus typically authors only natal + transit; synastry / composite arrive with Phase 3b sourcing."
   },
   "feature": {
    "name": "feature",
    "in": "query",
    "required": false,
    "description": "Optional. Restrict results to one X-Feature tag (1–32 chars, [a-z0-9_-], case-insensitive). Invalid values return 400 invalid_param.",
    "schema": {
     "type": "string",
     "pattern": "^[A-Za-z0-9_-]{1,32}$",
     "example": "aaj"
    }
   },
   "from": {
    "name": "from",
    "in": "query",
    "required": false,
    "description": "Start date (YYYY-MM-DD, UTC). Default: 30 days ago.",
    "schema": {
     "type": "string",
     "format": "date"
    }
   },
   "to": {
    "name": "to",
    "in": "query",
    "required": false,
    "description": "End date, exclusive (YYYY-MM-DD, UTC). Default: now.",
    "schema": {
     "type": "string",
     "format": "date"
    }
   },
   "XFeatureHeader": {
    "name": "X-Feature",
    "in": "header",
    "required": false,
    "description": "First-party clients tag each call with the product feature that triggered it (e.g. aaj, panchang, yatra, jyotish, sabha, onboarding, system). Stored with usage and credit-ledger rows for per-feature reporting. Lower-cased; 1–32 chars of [a-z0-9_-]; invalid values are recorded as \"unknown\". Has no effect on pricing, quota, rate limits or caching.",
    "schema": {
     "type": "string",
     "pattern": "^[A-Za-z0-9_-]{1,32}$"
    }
   },
   "XClientHeader": {
    "name": "X-Client",
    "in": "header",
    "required": false,
    "description": "Optional client identifier (e.g. antaryami-app). Informational only.",
    "schema": {
     "type": "string"
    }
   },
   "festival_lat": {
    "name": "lat",
    "in": "query",
    "required": false,
    "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
    "schema": {
     "type": "number",
     "example": 28.6353
    }
   },
   "festival_lon": {
    "name": "lon",
    "in": "query",
    "required": false,
    "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
    "schema": {
     "type": "number",
     "example": 77.225
    }
   },
   "festival_tz": {
    "name": "tz",
    "in": "query",
    "required": false,
    "description": "IANA timezone or fixed offset for the civil date. Defaults to Asia/Kolkata.",
    "schema": {
     "type": "string",
     "example": "Asia/Kolkata"
    }
   },
   "festival_locale": {
    "name": "locale",
    "in": "query",
    "required": false,
    "description": "Language for the `name` field: en (default), hi, mr, ta, kn, bn, gu, pa. `name_en` and `name_hi` are always present.",
    "schema": {
     "type": "string",
     "example": "hi"
    }
   },
   "festival_month_system": {
    "name": "month_system",
    "in": "query",
    "required": false,
    "description": "Lunar month convention for labels (\"<Month> Amavasya\"), the hindu_month field and month-membership vrats such as Shravan Somwar: purnimanta (default; North India) or amanta (South, West and East India). Festival dates never change with this option.",
    "schema": {
     "type": "string",
     "enum": [
      "purnimanta",
      "amanta"
     ],
     "example": "amanta"
    }
   },
   "natal_date": {
    "name": "date",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "1990-01-15"
    },
    "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
   },
   "natal_time": {
    "name": "time",
    "in": "query",
    "required": false,
    "schema": {
     "type": "string",
     "example": "10:30"
    },
    "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
   },
   "natal_tz": {
    "name": "tz",
    "in": "query",
    "required": true,
    "schema": {
     "type": "string",
     "example": "Asia/Kolkata"
    },
    "description": "Timezone of the birth place (IANA name or UTC±HH:MM)."
   },
   "natal_lat": {
    "name": "lat",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 19.076
    },
    "description": "Birth place latitude in decimal degrees (−90 to 90)."
   },
   "natal_lon": {
    "name": "lon",
    "in": "query",
    "required": true,
    "schema": {
     "type": "number",
     "format": "double",
     "example": 72.8777
    },
    "description": "Birth place longitude in decimal degrees (−180 to 180)."
   },
   "lang": {
    "name": "lang",
    "in": "query",
    "required": false,
    "description": "Language of names, labels and readings in the response: `en` (default), `hi`, `mr`, `gu`, `bn`, `te`, `ta`, `kn`, `ml`, `pa`. `locale` is accepted as an alias.",
    "schema": {
     "type": "string",
     "enum": [
      "en",
      "hi",
      "mr",
      "gu",
      "bn",
      "te",
      "ta",
      "kn",
      "ml",
      "pa"
     ],
     "default": "en"
    }
   }
  },
  "schemas": {
   "Error": {
    "type": "object",
    "properties": {
     "error": {
      "type": "string"
     },
     "code": {
      "type": "string"
     }
    }
   },
   "MuhurtaResult": {
    "type": "object",
    "properties": {
     "score": {
      "type": "integer",
      "description": "0–100 auspiciousness score"
     },
     "grade": {
      "type": "string",
      "description": "A / B / C / D / F"
     },
     "is_acceptable": {
      "type": "boolean"
     },
     "factors": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "value": {
         "type": "string"
        },
        "weight": {
         "type": "integer"
        },
        "score": {
         "type": "integer"
        },
        "ok": {
         "type": "boolean"
        }
       }
      }
     },
     "warnings": {
      "type": "array",
      "items": {
       "type": "string"
      }
     }
    }
   },
   "UsageByDay": {
    "type": "object",
    "properties": {
     "date": {
      "type": "string",
      "format": "date"
     },
     "requests": {
      "type": "integer"
     },
     "cost": {
      "type": "integer",
      "description": "credits"
     }
    }
   },
   "CostByRoute": {
    "type": "object",
    "properties": {
     "route": {
      "type": "string"
     },
     "requests": {
      "type": "integer"
     },
     "cost": {
      "type": "integer"
     }
    }
   },
   "UsageByFeature": {
    "type": "object",
    "properties": {
     "feature": {
      "type": "string",
      "description": "X-Feature tag; \"\" = untagged traffic"
     },
     "requests": {
      "type": "integer"
     },
     "cost": {
      "type": "integer"
     }
    }
   },
   "EndpointUsageRow": {
    "type": "object",
    "properties": {
     "endpoint_id": {
      "type": "string"
     },
     "calls": {
      "type": "integer"
     },
     "credits": {
      "type": "integer"
     }
    }
   },
   "FestivalOccurrence": {
    "type": "object",
    "properties": {
     "date": {
      "type": "string",
      "example": "2027-10-29"
     },
     "name": {
      "type": "string",
      "description": "Name in the requested locale (en default; hi, mr, ta, kn, bn, gu, pa)",
      "example": "Diwali"
     },
     "name_en": {
      "type": "string",
      "example": "Diwali"
     },
     "name_hi": {
      "type": "string",
      "example": "दीवाली"
     },
     "type": {
      "type": "string",
      "enum": [
       "tithi",
       "vrat",
       "sankranti",
       "nakshatra",
       "jayanti",
       "national",
       "eclipse",
       "solar"
      ]
     },
     "importance": {
      "type": "string",
      "enum": [
       "major",
       "regional",
       "minor"
      ]
     },
     "tithi": {
      "type": "string",
      "description": "Tithi that triggers the rule",
      "example": "Amavasya"
     },
     "paksha": {
      "type": "string",
      "enum": [
       "Shukla",
       "Krishna"
      ]
     },
     "tithi_index": {
      "type": "integer",
      "description": "1..30 lunar-day index (1 = Shukla Pratipada, 30 = Amavasya)"
     },
     "hindu_month": {
      "type": "string",
      "description": "Month name in the requested month_system",
      "example": "Kartik"
     },
     "hindu_month_amanta": {
      "type": "string",
      "description": "Amanta month name (South / West India)",
      "example": "Ashwin"
     },
     "is_adhik_maas": {
      "type": "boolean"
     },
     "observance": {
      "type": "string",
      "description": "Key moment the rule used: sunrise, pradosh, nishita, moonrise, aparahna, madhyahna, purvahna, purvahna_end, sunset, arunodaya",
      "example": "pradosh"
     },
     "windows": {
      "type": "array",
      "description": "Local-time windows such as tithi span, pradosh_kaal, nishita_kaal, parana and moonrise. Use each boundary's own local civil date, which may differ from the occurrence date.",
      "items": {
       "type": "object",
       "properties": {
        "label": {
         "type": "string"
        },
        "start": {
         "type": "string",
         "example": "17:39"
        },
        "start_date": {
         "type": "string",
         "format": "date",
         "description": "Local civil date of start in the requested timezone."
        },
        "end": {
         "type": "string",
         "example": "19:15"
        },
        "end_date": {
         "type": "string",
         "format": "date",
         "description": "Local civil date of end in the requested timezone. Omitted for single moments."
        }
       }
      }
     },
     "note": {
      "type": "string",
      "description": "smarta / vaishnava / gauna markers, eclipse visibility, etc."
     },
     "hindu_month_purnimanta": {
      "type": "string",
      "example": "Kartik"
     },
     "vrat_type": {
      "type": "string",
      "description": "Recurring-observance family: ekadashi, parana, pradosh, sankashti, vinayaka, purnima, amavasya, chandra_darshana, masik_shivaratri, durgashtami, kalashtami, skanda_shashthi, karthigai, shraddha, janmashtami, sankranti, satyanarayana, bhanu_saptami, eclipse"
     }
    }
   },
   "CalendarSpan": {
    "type": "object",
    "properties": {
     "index": {
      "type": "integer",
      "description": "1-based (tithi 1..30, nakshatra 1..27, sign 1..12)"
     },
     "name": {
      "type": "string",
      "description": "Localised name"
     },
     "name_en": {
      "type": "string"
     },
     "paksha": {
      "type": "string"
     },
     "end_local": {
      "type": "string",
      "example": "2027-01-05 03:07"
     },
     "end_display": {
      "type": "string",
      "description": "Printed-panchang notation: HH:MM, or HH:MM+ with hours past 24 when the end falls after midnight",
      "example": "27:07+"
     },
     "end_jd": {
      "type": "number"
     }
    }
   },
   "CalendarSheetDay": {
    "type": "object",
    "properties": {
     "date": {
      "type": "string"
     },
     "day": {
      "type": "integer"
     },
     "vara": {
      "type": "string"
     },
     "vara_en": {
      "type": "string"
     },
     "vara_index": {
      "type": "integer"
     },
     "sunrise": {
      "type": "string",
      "example": "07:14"
     },
     "sunset": {
      "type": "string"
     },
     "moonrise": {
      "type": "string"
     },
     "moonset": {
      "type": "string"
     },
     "tithi": {
      "$ref": "#/components/schemas/CalendarSpan",
      "description": "Tithi at sunrise with its end time"
     },
     "tithis": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CalendarSpan"
      },
      "description": "All tithis current between sunrise and next sunrise (two on a kshaya day)"
     },
     "nakshatra": {
      "$ref": "#/components/schemas/CalendarSpan"
     },
     "nakshatras": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CalendarSpan"
      }
     },
     "moon_sign": {
      "$ref": "#/components/schemas/CalendarSpan"
     },
     "moon_signs": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/CalendarSpan"
      }
     },
     "yoga": {
      "type": "string"
     },
     "yoga_en": {
      "type": "string"
     },
     "hindu_month": {
      "type": "string",
      "description": "Per month_system; Hindi when locale=hi"
     },
     "hindu_month_amanta": {
      "type": "string"
     },
     "hindu_month_purnimanta": {
      "type": "string"
     },
     "is_adhik_maas": {
      "type": "boolean"
     },
     "vikram_samvat": {
      "type": "integer"
     },
     "shaka_samvat": {
      "type": "integer"
     },
     "ritu": {
      "type": "string"
     },
     "ayana": {
      "type": "string"
     },
     "moon_phase": {
      "type": "string",
      "enum": [
       "new",
       "waxing",
       "full",
       "waning"
      ]
     },
     "festivals": {
      "type": "array",
      "items": {
       "$ref": "#/components/schemas/FestivalOccurrence"
      }
     }
    }
   },
   "LocalEclipse": {
    "type": "object",
    "properties": {
     "visible": {
      "type": "boolean"
     },
     "visibility_note": {
      "type": "string"
     },
     "local_date": {
      "type": "string"
     },
     "contacts": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "phase": {
         "type": "string",
         "enum": [
          "penumbral_begin",
          "sparsha",
          "sammilana",
          "madhya",
          "unmilana",
          "moksha",
          "penumbral_end"
         ]
        },
        "jd": {
         "type": "number"
        },
        "local": {
         "type": "string",
         "example": "2027-08-02 15:02"
        }
       }
      }
     },
     "magnitude": {
      "type": "number"
     },
     "obscuration": {
      "type": "number"
     },
     "sutak": {
      "type": "object",
      "properties": {
       "applies": {
        "type": "boolean"
       },
       "start_local": {
        "type": "string"
       },
       "end_local": {
        "type": "string"
       },
       "note": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 },
 "paths": {
  "/healthz": {
   "get": {
    "summary": "Health check",
    "operationId": "healthz",
    "security": [],
    "tags": [
     "health"
    ],
    "responses": {
     "200": {
      "description": "Server is healthy",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string"
          },
          "version": {
           "type": "string"
          },
          "time": {
           "type": "string",
           "format": "date-time"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/readyz": {
   "get": {
    "summary": "Readiness: the server can serve a paid request",
    "operationId": "readyz",
    "security": [],
    "tags": [
     "health"
    ],
    "description": "Checks that the ephemeris computes a known planet position (the Sun at J2000) and that the database answers. Use it for uptime monitoring. Free, no key, cached for 5 seconds.",
    "responses": {
     "200": {
      "description": "Every check passed.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "status": {
           "type": "string",
           "enum": [
            "ready"
           ]
          },
          "swisseph_version": {
           "type": "string"
          },
          "checks": {
           "type": "object",
           "additionalProperties": {
            "type": "string"
           }
          }
         }
        },
        "example": {
         "status": "ready",
         "swisseph_version": "2.10.03",
         "checks": {
          "database": "ok",
          "ephemeris": "ok"
         }
        }
       }
      }
     },
     "503": {
      "description": "A check failed; `checks` names it.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "status": "not_ready",
         "swisseph_version": "2.10.03",
         "checks": {
          "database": "unreachable",
          "ephemeris": "ok"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/analytics/by-feature": {
   "get": {
    "summary": "Requests and credits grouped by X-Feature tag (free)",
    "operationId": "analyticsByFeature",
    "tags": [
     "analytics"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/from"
     },
     {
      "$ref": "#/components/parameters/to"
     }
    ],
    "responses": {
     "200": {
      "description": "One row per feature; untagged traffic has feature \"\"",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "features": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/UsageByFeature"
           }
          },
          "from": {
           "type": "string"
          },
          "to": {
           "type": "string"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/analytics/top-routes": {
   "get": {
    "summary": "Top 20 routes by credits (free)",
    "operationId": "analyticsTopRoutes",
    "tags": [
     "analytics"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/from"
     },
     {
      "$ref": "#/components/parameters/to"
     },
     {
      "$ref": "#/components/parameters/feature"
     }
    ],
    "responses": {
     "200": {
      "description": "Routes ordered by cost desc",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "routes": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/CostByRoute"
           }
          },
          "from": {
           "type": "string"
          },
          "to": {
           "type": "string"
          },
          "feature": {
           "type": "string"
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "invalid_param — bad ?feature="
     }
    }
   }
  },
  "/v1/analytics/usage": {
   "get": {
    "summary": "Daily requests and credits for your account (free)",
    "operationId": "analyticsUsage",
    "tags": [
     "analytics"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/from"
     },
     {
      "$ref": "#/components/parameters/to"
     },
     {
      "$ref": "#/components/parameters/feature"
     }
    ],
    "responses": {
     "200": {
      "description": "Per-day totals",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "usage": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/UsageByDay"
           }
          },
          "from": {
           "type": "string"
          },
          "to": {
           "type": "string"
          },
          "feature": {
           "type": "string"
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "invalid_param — bad ?feature="
     }
    }
   }
  },
  "/v1/ashtakavarga/bhinna/{planet}": {
   "get": {
    "summary": "Bhinna Ashtakavarga contribution grid for one planet (20 credits)",
    "operationId": "ashtakavargaBhinna",
    "tags": [
     "ashtakavarga"
    ],
    "parameters": [
     {
      "name": "planet",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "planet": "Sun",
         "contributors": [
          "Sun",
          "Moon"
         ],
         "grid": [
          [
           1,
           0
          ],
          [
           0,
           1
          ]
         ],
         "per_sign": [
          4,
          4
         ],
         "total": 48
        }
       }
      }
     }
    }
   }
  },
  "/v1/ashtakavarga/kaksha": {
   "get": {
    "summary": "Kaksha (sub-division) bindhu count for precise transit strength (30 credits)",
    "operationId": "ashtakavargaKaksha",
    "tags": [
     "ashtakavarga"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2026-04-12"
      }
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "transit_date": "2027-01-15",
         "entries": [
          {
           "planet": "Sun",
           "transit_sign_idx": 9,
           "kaksha_idx": 0,
           "kaksha_ruler": "Saturn",
           "bindu_in_kaksha": 1,
           "sign_bindus": 4
          },
          {
           "planet": "Moon",
           "transit_sign_idx": 11,
           "kaksha_idx": 5,
           "kaksha_ruler": "Mercury",
           "bindu_in_kaksha": 1,
           "sign_bindus": 5
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/ashtakavarga/sarva": {
   "get": {
    "summary": "Sarvashtakavarga after Trikona + Ekadhipatya sodhana (20 credits)",
    "operationId": "ashtakavargaSarva",
    "tags": [
     "ashtakavarga"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "before_sodhana": [
          33,
          31
         ],
         "after_trikona": [
          6,
          10
         ],
         "after_ekadhipatya": [
          0,
          3
         ],
         "total": 17
        }
       }
      }
     }
    }
   }
  },
  "/v1/ashtakavarga/transit-score": {
   "get": {
    "summary": "Bindhu count in the rashi a planet is currently transiting (20 credits)",
    "operationId": "ashtakavargaTransitScore",
    "tags": [
     "ashtakavarga"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2026-04-12"
      },
      "description": "Transit date (YYYY-MM-DD)"
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "transit_date": "2027-01-15",
         "scores": [
          {
           "planet": "Sun",
           "transit_sign_idx": 9,
           "transit_sign": "Capricorn",
           "bindhus": 4
          },
          {
           "planet": "Moon",
           "transit_sign_idx": 11,
           "transit_sign": "Pisces",
           "bindhus": 5
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/billing/usage/by-endpoint": {
   "get": {
    "summary": "Credits and calls per endpoint for a billing period (free)",
    "operationId": "billingUsageByEndpoint",
    "tags": [
     "billing"
    ],
    "parameters": [
     {
      "name": "period",
      "in": "query",
      "required": false,
      "description": "current (default) | previous | YYYY-MM",
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "sort",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "credits_desc",
        "calls_desc"
       ],
       "default": "credits_desc"
      }
     },
     {
      "$ref": "#/components/parameters/feature"
     }
    ],
    "responses": {
     "200": {
      "description": "Per-endpoint usage",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "period": {
           "type": "string"
          },
          "period_start": {
           "type": "string",
           "format": "date-time"
          },
          "period_end": {
           "type": "string",
           "format": "date-time"
          },
          "sort": {
           "type": "string"
          },
          "feature": {
           "type": "string"
          },
          "endpoints": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/EndpointUsageRow"
           }
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "invalid_param — bad ?feature="
     }
    }
   }
  },
  "/v1/calendar/adhik-maas": {
   "get": {
    "summary": "Adhik Maas (intercalary month) detection for a year (20 credits)",
    "operationId": "calendarAdhikMaas",
    "tags": [
     "calendar"
    ],
    "parameters": [
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "year": 2027,
         "adhik_maas_in_year": [
          {
           "month_en": "Margashirsha",
           "month_hi": "मार्गशीर्ष",
           "start_local": "2027-11-27",
           "end_local": "2027-12-26",
           "reason": "No Sankranti occurred within this lunar month"
          },
          {
           "month_en": "Pausha",
           "month_hi": "पौष",
           "start_local": "2027-12-26",
           "end_local": "2028-01-25",
           "reason": "No Sankranti occurred within this lunar month"
          }
         ],
         "has_kshaya_maas": false,
         "next_adhik_maas_after_year": 2030
        }
       }
      }
     }
    }
   }
  },
  "/v1/calendar/month": {
   "get": {
    "summary": "Hindu lunar month info for a civil date (10 credits)",
    "operationId": "calendarMonth",
    "tags": [
     "calendar"
    ],
    "description": "`ritu` follows the solar rule of /v1/calendar/ritu (Makara Sankranti starts Shishira).",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "month_index": 9,
         "month_en_amanta": "Pausha",
         "month_hi_amanta": "पौष",
         "month_en_purnimanta": "Pausha",
         "month_hi_purnimanta": "पौष",
         "paksha": "shukla",
         "tithi_in_month": 7,
         "is_adhik": false,
         "is_kshaya": false,
         "samvat_vikram": 2083,
         "samvat_shaka": 1948,
         "ritu": "Shishira",
         "ritu_hi": "शिशिर",
         "ayana": "Uttarayana",
         "ayana_hi": "उत्तरायण"
        }
       }
      }
     }
    }
   }
  },
  "/v1/calendar/ritu": {
   "get": {
    "summary": "Vedic season (Ritu) for a date (10 credits)",
    "operationId": "calendarRitu",
    "tags": [
     "calendar"
    ],
    "description": "Ritu from the Sun's sidereal sign, two signs each, counted from Makara Sankranti (Surya Siddhanta 14.10): Shishira Capricorn and Aquarius, Vasanta Pisces and Aries, Grishma Taurus and Gemini, Varsha Cancer and Leo, Sharad Virgo and Libra, Hemanta Scorpio and Sagittarius.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "ritu_en": "Shishira",
         "ritu_hi": "शिशिर",
         "ritu_index": 5,
         "sun_rashi": "Capricorn",
         "sun_rashi_index": 9,
         "ritu_range": {
          "start_rashi": "Capricorn",
          "end_rashi": "Aquarius"
         },
         "ayana": "Uttarayana",
         "ayana_hi": "उत्तरायण",
         "description": "Winter — Sun in Capricorn and Aquarius"
        }
       }
      }
     }
    }
   }
  },
  "/v1/calendar/samvatsara": {
   "get": {
    "summary": "60-year Samvatsara name for a date (10 credits)",
    "operationId": "calendarSamvatsara",
    "tags": [
     "calendar"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "samvatsara_60year_index": 52,
         "samvatsara_60year_name": "Siddharthi",
         "samvatsara_60year_hi": "सिद्धार्थी",
         "samvat_vikram": 2083,
         "samvat_shaka": 1948,
         "kali_yuga_elapsed_years": 5129,
         "based_on": "vikram_samvat_cycle"
        }
       }
      }
     }
    }
   }
  },
  "/v1/calendar/solstices": {
   "get": {
    "summary": "Equinoxes and solstices of a year — Uttarayana / Dakshinayana, day length (10 credits)",
    "operationId": "calendarSolstices",
    "tags": [
     "calendar"
    ],
    "description": "The four tropical events of the year (March equinox, June solstice, September equinox, December solstice) with the exact moment in UTC and local time, the ayana that begins (tropical Dakshinayana at the June solstice, tropical Uttarayana at the December solstice; the panchang's sidereal Uttarayana is Makara Sankranti), and, when lat/lon are given, sunrise, sunset and day length at that place on the event date.",
    "parameters": [
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2027
      }
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "year": {
           "type": "integer"
          },
          "tz": {
           "type": "string"
          },
          "events": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "event": {
              "type": "string",
              "enum": [
               "march_equinox",
               "june_solstice",
               "september_equinox",
               "december_solstice"
              ]
             },
             "name_en": {
              "type": "string"
             },
             "name_hi": {
              "type": "string"
             },
             "sun_tropical_lon": {
              "type": "number"
             },
             "jd": {
              "type": "number"
             },
             "utc": {
              "type": "string"
             },
             "local": {
              "type": "string"
             },
             "local_date": {
              "type": "string"
             },
             "ayana_begins": {
              "type": "string"
             },
             "ayana_begins_hi": {
              "type": "string"
             },
             "sunrise": {
              "type": "string"
             },
             "sunset": {
              "type": "string"
             },
             "day_length": {
              "type": "string",
              "example": "13:58"
             },
             "note": {
              "type": "string"
             }
            }
           }
          }
         }
        },
        "example": {
         "year": 2027,
         "tz": "Asia/Kolkata",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": ""
         },
         "events": [
          {
           "event": "march_equinox",
           "name_en": "Vernal Equinox",
           "name_hi": "वसन्त विषुव",
           "sun_tropical_lon": 0,
           "jd": 2461485.350478,
           "utc": "2027-03-20T20:24:41Z",
           "local": "2027-03-21 01:55",
           "local_date": "2027-03-21",
           "ayana_begins": "",
           "sunrise": "06:24",
           "sunset": "18:33",
           "day_length": "12:09",
           "note": "Day and night of equal length; Sun enters tropical Aries."
          },
          {
           "event": "june_solstice",
           "name_en": "Summer Solstice",
           "name_hi": "ग्रीष्म अयनान्त",
           "sun_tropical_lon": 90,
           "jd": 2461578.090863,
           "utc": "2027-06-21T14:10:50Z",
           "local": "2027-06-21 19:41",
           "local_date": "2027-06-21",
           "ayana_begins": "Dakshinayana",
           "ayana_begins_hi": "दक्षिणायन",
           "sunrise": "05:24",
           "sunset": "19:22",
           "day_length": "13:58",
           "note": "Longest day in the northern hemisphere; the Sun turns south (tropical Dakshinayana begins)."
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/arudha-padas": {
   "get": {
    "summary": "Arudha padas A1 to A12 with the working (10 credits)",
    "operationId": "chartArudhaPadas",
    "tags": [
     "chart"
    ],
    "description": "The twelve arudha padas (bhava padas) of the birth chart. For each house: the bhava sign, the lord used and the sign it occupies, count (signs from the bhava to its lord, inclusive), counted_sign (the same count from the lord), exception_applied, and the resulting arudha_sign with arudha_house counted from the lagna. label is A1..A12; alt_label is AL for A1 (Arudha Lagna) and UL for A12 (Upapada). options echoes the rule choices used and source cites the text for them. Display names (signs, grahas, pada names) follow `lang`; every *_idx field (sign index, 0-based, Aries=0), every *_id / *_ids field (sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu) and every label or status value stays the same in all languages. Houses are 1-based whole-sign houses from the lagna. Each call costs 10 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "exception",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "parashari",
        "none"
       ],
       "default": "parashari"
      },
      "description": "What happens when the counted pada falls in the bhava itself or in the 7th from it. `parashari` (default): the 10th from the counted sign is taken (BPHS ch. 29 v. 4-5). `none`: the counted sign always stands (Jaimini Sutras 1.1.29-31 as translated by B. Suryanarain Rao)."
     },
     {
      "name": "scorpio_lord",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "mars",
        "ketu"
       ],
       "default": "mars"
      },
      "description": "Lord taken for Scorpio: `mars` (default) or `ketu`."
     },
     {
      "name": "aquarius_lord",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "saturn",
        "rahu"
       ],
       "default": "saturn"
      },
      "description": "Lord taken for Aquarius: `saturn` (default) or `rahu`."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "options": {
          "exception": "parashari",
          "scorpio_lord": "mars",
          "aquarius_lord": "saturn"
         },
         "padas": [
          {
           "house": 1,
           "label": "A1",
           "name": "Arudha Lagna",
           "arudha_sign_idx": 6,
           "arudha_sign": "Libra",
           "arudha_house": 9,
           "alt_label": "AL",
           "bhava_sign_idx": 10,
           "bhava_sign": "Aquarius",
           "lord": "Saturn",
           "lord_sign_idx": 8,
           "lord_sign": "Sagittarius",
           "count": 11,
           "counted_sign_idx": 6,
           "counted_sign": "Libra",
           "exception_applied": false,
           "lord_id": "saturn"
          },
          {
           "house": 2,
           "label": "A2",
           "name": "Dhana Pada",
           "arudha_sign_idx": 2,
           "arudha_sign": "Gemini",
           "arudha_house": 5,
           "bhava_sign_idx": 11,
           "bhava_sign": "Pisces",
           "lord": "Jupiter",
           "lord_sign_idx": 2,
           "lord_sign": "Gemini",
           "count": 4,
           "counted_sign_idx": 5,
           "counted_sign": "Virgo",
           "exception_applied": true,
           "lord_id": "jupiter"
          }
         ],
         "source": "Brihat Parashara Hora Shastra ch. 29 v. 1-5 (count from the bhava to its lord and the same again; a pada never stays in its own bhava or the 7th from it)"
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/argala": {
   "get": {
    "summary": "Argala and its obstruction on every house, or on one house (10 credits)",
    "operationId": "chartArgala",
    "tags": [
     "chart"
    ],
    "description": "Argala (intervention) and virodha argala (obstruction) on each house of the birth chart, or on one house with `house`. Each entry of houses has four pairs (five with include_eighth): argala from the 2nd, 4th and 11th (primary) and the 5th (secondary), obstructed from the 12th, 10th, 3rd and 9th, all counted by whole signs from the house itself. Each pair lists argala_planets and virodha_planets (id, name, natural nature: benefic or malefic) and a status decided by the number of grahas: none (argala place empty), unobstructed (obstructing place empty), prevails (more argala grahas), obstructed (fewer) or tied (equal numbers; the texts then decide by strength, which is not computed). stands is true for unobstructed and prevails. vipareeta reports the malefics in the 3rd place and whether they are numerous enough to form vipareeta argala; when it forms, those malefics are left out of the obstruction of the 11th. reversed is true when the places of that house were counted backwards because it holds a node (see node_reversal). All nine grahas are counted. options echoes the rule choices used and source cites the texts. Display names (signs, grahas, pada names) follow `lang`; every *_idx field (sign index, 0-based, Aries=0), every *_id / *_ids field (sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu) and every label or status value stays the same in all languages. Houses are 1-based whole-sign houses from the lagna. Each call costs 10 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "house",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 12,
       "example": 1
      },
      "description": "Return only this house (1 to 12 from the lagna). Leave out for all twelve houses."
     },
     {
      "name": "include_eighth",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      },
      "description": "Also return the 8th-place secondary argala, obstructed from the 6th. Default false: most classical sources do not list it."
     },
     {
      "name": "node_reversal",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "ketu",
        "rahu_ketu",
        "none"
       ],
       "default": "ketu"
      },
      "description": "When the places are counted in reverse. `ketu` (default): for a house that holds Ketu (Jaimini Sutras 1.1.10). `rahu_ketu`: for a house that holds Rahu or Ketu (BPHS ch. 31). `none`: never."
     },
     {
      "name": "vipareeta_min_malefics",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 9,
       "default": 3
      },
      "description": "Number of natural malefics in the 3rd place needed for vipareeta argala. Default 3 (BPHS: three or more)."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "options": {
          "include_eighth": false,
          "node_reversal": "ketu",
          "vipareeta_min_malefics": 3
         },
         "houses": [
          {
           "house": 1,
           "sign_idx": 10,
           "sign": "Aquarius",
           "reversed": false,
           "pairs": [
            {
             "kind": "primary",
             "argala_place": 2,
             "argala_sign_idx": 11,
             "argala_sign": "Pisces",
             "argala_planets": [],
             "virodha_place": 12,
             "virodha_sign_idx": 9,
             "virodha_sign": "Capricorn",
             "virodha_planets": [
              {
               "id": "sun",
               "name": "Sun",
               "nature": "malefic"
              },
              {
               "id": "venus",
               "name": "Venus",
               "nature": "benefic"
              }
             ],
             "status": "none",
             "stands": false
            },
            {
             "kind": "primary",
             "argala_place": 4,
             "argala_sign_idx": 1,
             "argala_sign": "Taurus",
             "argala_planets": [],
             "virodha_place": 10,
             "virodha_sign_idx": 7,
             "virodha_sign": "Scorpio",
             "virodha_planets": [
              {
               "id": "mars",
               "name": "Mars",
               "nature": "malefic"
              }
             ],
             "status": "none",
             "stands": false
            }
           ],
           "vipareeta": {
            "sign_idx": 0,
            "sign": "Aries",
            "malefics": [],
            "malefic_ids": [],
            "formed": false
           }
          },
          {
           "house": 2,
           "sign_idx": 11,
           "sign": "Pisces",
           "reversed": false,
           "pairs": [
            {
             "kind": "primary",
             "argala_place": 2,
             "argala_sign_idx": 0,
             "argala_sign": "Aries",
             "argala_planets": [],
             "virodha_place": 12,
             "virodha_sign_idx": 10,
             "virodha_sign": "Aquarius",
             "virodha_planets": [],
             "status": "none",
             "stands": false
            },
            {
             "kind": "primary",
             "argala_place": 4,
             "argala_sign_idx": 2,
             "argala_sign": "Gemini",
             "argala_planets": [
              {
               "id": "jupiter",
               "name": "Jupiter",
               "nature": "benefic"
              }
             ],
             "virodha_place": 10,
             "virodha_sign_idx": 8,
             "virodha_sign": "Sagittarius",
             "virodha_planets": [
              {
               "id": "mercury",
               "name": "Mercury",
               "nature": "benefic"
              },
              {
               "id": "saturn",
               "name": "Saturn",
               "nature": "malefic"
              }
             ],
             "status": "obstructed",
             "stands": false
            }
           ],
           "vipareeta": {
            "sign_idx": 1,
            "sign": "Taurus",
            "malefics": [],
            "malefic_ids": [],
            "formed": false
           }
          }
         ],
         "source": "Jaimini Sutras 1.1.5-10 and Brihat Parashara Hora Shastra ch. 31 v. 2-9 (argala from the 2nd, 4th, 11th and 5th; obstruction from the 12th, 10th, 3rd and 9th; the larger number of grahas prevails)"
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/ascendant": {
   "get": {
    "summary": "Lagna (ascendant) and all 12 house cusps (10 credits)",
    "operationId": "chartAscendant",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "ascendant": {
          "sidereal_lon": 326.391667,
          "sign_index": 10,
          "deg_in_sign": 26.391667,
          "dms_in_sign": "26°23'30\"",
          "nakshatra_idx": 24,
          "pada": 2,
          "nak_lord": "Jupiter",
          "mc": 239.182315,
          "house_system": "whole_sign"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/ashtakvarga": {
   "get": {
    "summary": "Full Sarvashtakavarga — all 7 planets + SAV totals (20 credits)",
    "operationId": "chartAshtakvarga",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "ashtakvarga": {
          "bav": [
           {
            "planet": "Sun",
            "bindus": [
             4,
             4
            ],
            "total": 48
           },
           {
            "planet": "Moon",
            "bindus": [
             6,
             4
            ],
            "total": 49
           }
          ],
          "sav": [
           33,
           31
          ],
          "sav_total": 337
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/ashtakvarga/{planet}": {
   "get": {
    "summary": "Bhinna Ashtakavarga total bindus for one planet (10 credits)",
    "operationId": "chartAshtakvargaPlanet",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "name": "planet",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "bav": {
          "planet": "Sun",
          "bindus": [
           4,
           4
          ],
          "total": 48
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/aspects": {
   "get": {
    "summary": "Graha aspects (Parashari full/partial) in birth chart (10 credits)",
    "operationId": "chartAspects",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "aspects": [
          {
           "planet": "Sun",
           "planet_house": 12,
           "aspected_house": 6,
           "aspected_house_lord": "Moon"
          },
          {
           "planet": "Moon",
           "planet_house": 7,
           "aspected_house": 1,
           "aspected_house_lord": "Saturn"
          }
         ],
         "planet_aspects": [
          {
           "planet": "Sun",
           "aspected_planet": "Moon",
           "angle": 229.06,
           "virupa": 35.47,
           "strength_pct": 59.12
          },
          {
           "planet": "Sun",
           "aspected_planet": "Mars",
           "angle": 324.92,
           "virupa": 0,
           "strength_pct": 0
          }
         ]
        }
       }
      }
     }
    },
    "description": "`aspects` lists the houses each planet aspects (Parashari full aspects). `planet_aspects` gives the sphuta drishti of each graha (Sun to Saturn) on every other planet, Rahu and Ketu included: the angle in degrees (aspected minus aspecting longitude) and the strength in virupas (0 to 60, 60 = full aspect) with the percentage, computed by the rules of Brihat Parashara Hora Shastra, chapter 26, including the special aspects of Mars, Jupiter and Saturn."
   }
  },
  "/v1/chart/astro-details": {
   "get": {
    "summary": "All-in-one birth chart snapshot: Avakhada + Ascendant + all planets + birth panchang (tithi/nakshatra/yoga/vara) + sun/moon sign — replaces 3 separate calls (30 credits)",
    "operationId": "chartAstroDetails",
    "tags": [
     "chart"
    ],
    "description": "All-in-one birth chart snapshot: Avakhada + Ascendant + all planets + birth panchang (tithi/nakshatra/yoga/vara) + sun/moon sign — replaces 3 separate calls. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "avakhada": {
          "varna": "Kshatriya",
          "vashya": "Vanchar",
          "yoni": "Mushaka",
          "gana": "Manushya",
          "nadi": "Madhya",
          "paya": "Silver",
          "tatva": "Prithvi",
          "rajju": "Kati",
          "nakshatra_lord": "Venus",
          "birth_stone": "Diamond",
          "lucky_numbers": [
           6,
           7
          ],
          "lucky_day": "Friday",
          "lucky_color": "White"
         },
         "ascendant": {
          "sidereal_lon": 326.391667,
          "sign_index": 10,
          "deg_in_sign": 26.391667,
          "dms_in_sign": "26°23'30\"",
          "nakshatra_idx": 24,
          "pada": 2,
          "nak_lord": "Jupiter",
          "mc": 239.182315,
          "house_system": "whole_sign"
         },
         "planets": [
          {
           "id": "sun",
           "name": "Sun",
           "sidereal_lon": 271.063319,
           "sign_index": 9,
           "deg_in_sign": 1.063319,
           "dms_in_sign": "01°03'47\"",
           "house": 12,
           "nakshatra_idx": 20,
           "pada": 2,
           "nak_lord": "Sun",
           "speed": 1.018256,
           "is_retro": false,
           "ecl_lat": -0.000088
          },
          {
           "id": "moon",
           "name": "Moon",
           "sidereal_lon": 140.127289,
           "sign_index": 4,
           "deg_in_sign": 20.127289,
           "dms_in_sign": "20°07'38\"",
           "house": 7,
           "nakshatra_idx": 10,
           "pada": 3,
           "nak_lord": "Venus",
           "speed": 12.579355,
           "is_retro": false,
           "ecl_lat": -2.411875
          }
         ],
         "sun_sign_index": 9,
         "sun_sign": "Capricorn",
         "moon_sign_index": 4,
         "moon_sign": "Leo",
         "birth_panchang": {
          "tithi_index": 19,
          "tithi_name": "Panchami",
          "tithi_paksha": "Krishna",
          "tithi_deity": "Naga",
          "tithi_type": "Purna",
          "nakshatra_index": 10,
          "nakshatra_name": "Purva Phalguni",
          "nakshatra_pada": 3,
          "nakshatra_lord": "Venus",
          "yoga_index": 3,
          "yoga_name": "Saubhagya",
          "vara_index": 1,
          "vara": "Monday",
          "vara_lord": "Moon"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/avakhada": {
   "get": {
    "summary": "Avakhada chakra — Panchanga + numerological attributes (10 credits)",
    "operationId": "chartAvakhada",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "avakhada": {
          "varna": "Kshatriya",
          "vashya": "Vanchar",
          "yoni": "Mushaka",
          "gana": "Manushya",
          "nadi": "Madhya",
          "paya": "Silver",
          "tatva": "Prithvi",
          "rajju": "Kati",
          "nakshatra_lord": "Venus",
          "birth_stone": "Diamond",
          "lucky_numbers": [
           6,
           7
          ],
          "lucky_day": "Friday",
          "lucky_color": "White"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/bhavabala": {
   "get": {
    "summary": "Bhava Bala (house strength) for all 12 houses (30 credits)",
    "operationId": "chartBhavabala",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "shadbala_version": "v2_bphs",
         "bhavabala": [
          {
           "house": 1,
           "bhavadhipati": 284.56,
           "bhava_dig_bala": 60,
           "bhava_drsti": 35.21,
           "total": 379.77
          },
          {
           "house": 2,
           "bhavadhipati": 458.53,
           "bhava_dig_bala": 40,
           "bhava_drsti": 35.66,
           "total": 534.19
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/combustion": {
   "get": {
    "summary": "Combustion (Moudyami) status of all planets (10 credits)",
    "operationId": "chartCombustion",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "combustion": [
          {
           "planet": "Sun",
           "is_combust": false,
           "orb_used": 0,
           "angular_sep": 0,
           "is_retro": false
          },
          {
           "planet": "Moon",
           "is_combust": false,
           "orb_used": 12,
           "angular_sep": 130.93603,
           "is_retro": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/dignity": {
   "get": {
    "summary": "Planet dignity (exaltation, debilitation, own sign, etc.) (10 credits)",
    "operationId": "chartDignity",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "dignity": [
          {
           "planet": "Sun",
           "dignity": "enemy",
           "is_exalted": false,
           "is_debilitated": false,
           "is_own_sign": false,
           "is_mool_trikona": false
          },
          {
           "planet": "Moon",
           "dignity": "friend",
           "is_exalted": false,
           "is_debilitated": false,
           "is_own_sign": false,
           "is_mool_trikona": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/divisional/{varga}": {
   "get": {
    "summary": "Divisional (varga) chart planets (20 credits)",
    "operationId": "chartDivisional",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "name": "varga",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "D1",
        "D2",
        "D3",
        "D4",
        "D7",
        "D8",
        "D9",
        "D10",
        "D12",
        "D16",
        "D20",
        "D24",
        "D27",
        "D30",
        "D40",
        "D45",
        "D60"
       ]
      },
      "description": "Divisional chart number"
     },
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "reference",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "lagna",
        "moon",
        "sun",
        "karakamsha"
       ],
       "default": "lagna"
      },
      "description": "Sign counted as house 1: lagna (default), moon (Chandra lagna), sun (Surya lagna) or karakamsha (the Atmakaraka's navamsa sign; D1 gives the Karakamsha chakra, D9 the Swamsha chakra). Defaults to lagna."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "chart": {
          "varga": "D1",
          "divisor": 1,
          "name": "Rashi",
          "lagna_sign": 10,
          "planets": [
           {
            "planet": "Sun",
            "sign_index": 9,
            "house": 12,
            "dignity": "enemy"
           },
           {
            "planet": "Moon",
            "sign_index": 4,
            "house": 7,
            "dignity": "friend"
           }
          ],
          "reference": "lagna",
          "reference_sign": 10,
          "lagna_house": 1
         }
        }
       }
      }
     }
    },
    "description": "Planets of a divisional (varga) chart with their sign, house and dignity. Each planet's `dignity` is exalted, debilitated, own_sign, friend, neutral or enemy; in a varga it is judged by sign alone, and for D1 it matches /v1/chart/dignity. Use `reference` to count the houses from another sign: `moon` gives the Chandra kundli, `sun` the Surya kundli, and `karakamsha` the Atmakaraka's navamsa sign (with D1 that is the Karakamsha chakra, with D9 the Swamsha chakra). `lagna_house` tells where the lagna falls from that sign."
   }
  },
  "/v1/chart/doshas": {
   "get": {
    "summary": "Doshas in a birth chart, as data (20 credits)",
    "operationId": "chartDoshas",
    "tags": [
     "chart"
    ],
    "description": "Runs the same dosha detectors as /v1/vedic/narrative/doshas and returns them as data: kaalsarp (variant = type), mangal (details.from_lagna / from_moon / from_venus with house and hit; from_venus is informational and does not set present; cancelled + cancel_reasons for own/exalted Mars or a benefic on Mars), pitra, combust_dosha, debilitation_dosha (details.neecha_bhanga), retrograde_dosha, gandanta_dosha, grahan_dosha, papakartari_dosha, mrityu_bhaga_dosha, guru_chandal_dosha, visha_kanya_dosha, ganda_moola_dosha (variant = nakshatra). Locale-free data, ids only: planets are sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu; sign_index is 0-based (Aries=0); house is the 1-based whole-sign house from the lagna; nakshatra_idx is 0-based (Ashwini=0). Each item: id (same id family as /v1/meta/vedic/yogas and /v1/meta/vedic/doshas), kind, category, present, planets (planet ids that form it), houses (whole-sign houses they occupy), strength (full|partial when the detector knows it), cancelled + cancel_reasons, variant (sub-type), axes (lagna/moon), sub_ids (the finer ids /v1/vedic/narrative/* keys its text on), source (classical reference), details (id-specific data).",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "all",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      },
      "description": "false (default): present items, plus items whose pattern formed but was cancelled (present:false, cancelled:true). true: also every catalogue id that is absent, with present:false."
     },
     {
      "name": "gender",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "male",
        "female"
       ]
      },
      "description": "Optional. Narrows Mahabhagya (male day birth / female night birth) exactly like /v1/vedic/narrative/yogas."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "count": 4,
         "items": [
          {
           "id": "mangal",
           "kind": "dosha",
           "category": "dosha",
           "present": false,
           "planets": [
            "mars"
           ],
           "houses": [
            10
           ],
           "cancelled": true,
           "cancel_reasons": [
            "mars_own_or_exalted_sign"
           ],
           "sub_ids": [
            "mangal.cancelled_by_own_exaltation"
           ],
           "source": "BPHS Ch.80 v.47; Phaladeepika 6.5",
           "details": {
            "bphs_strict": false,
            "from_lagna": {
             "hit": false,
             "house": 10
            },
            "from_moon": {
             "hit": false,
             "house": 4
            },
            "from_venus": {
             "hit": false,
             "house": 11,
             "informational": true
            },
            "modern_north": false
           }
          },
          {
           "id": "combust_dosha",
           "kind": "dosha",
           "category": "dosha",
           "present": true,
           "planets": [
            "venus",
            "saturn"
           ],
           "houses": [
            11,
            12
           ],
           "cancelled": false,
           "cancel_reasons": []
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/ghatak": {
   "get": {
    "summary": "Ghatak Chakra — inauspicious tithi/vara/nakshatra/lagna combinations for the Moon sign (10 credits)",
    "operationId": "chartGhatak",
    "tags": [
     "chart"
    ],
    "description": "Ghatak Chakra — inauspicious tithi/vara/nakshatra/lagna combinations for the Moon sign. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "moon_rashi": "Leo",
         "ghatak": {
          "nakshatra": "Magha",
          "tithis": [
           5,
           10
          ],
          "rasi": "Virgo",
          "lagna": "Pisces",
          "weekday": "Saturday",
          "month": "Shravana",
          "prahar": 2,
          "yoga": "Dhriti",
          "karana": "Bava",
          "yoga_karana_tradition": "sanjay_rath_lineage"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/graha-yuddha": {
   "get": {
    "summary": "Planetary war (Graha Yuddha) detection (10 credits)",
    "operationId": "chartGrahaYuddha",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "yuddha": []
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/house-occupants": {
   "get": {
    "summary": "Planets occupying each house (10 credits)",
    "operationId": "chartHouseOccupants",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "houses": [
          {
           "house": 1,
           "occupants": []
          },
          {
           "house": 2,
           "occupants": []
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/houses": {
   "get": {
    "summary": "House cusps with sign and occupant info (10 credits)",
    "operationId": "chartHouses",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "ascendant": {
          "sidereal_lon": 326.391667,
          "sign_index": 10,
          "deg_in_sign": 26.391667,
          "dms_in_sign": "26°23'30\"",
          "nakshatra_idx": 24,
          "pada": 2,
          "nak_lord": "Jupiter",
          "mc": 239.182315,
          "house_system": "whole_sign"
         },
         "houses": [
          {
           "house": 1,
           "cusp_lon": 300,
           "sign_index": 10,
           "sign_lord": "Saturn",
           "deg_in_sign": 0,
           "dms_in_sign": "00°00'00\""
          },
          {
           "house": 2,
           "cusp_lon": 330,
           "sign_index": 11,
           "sign_lord": "Jupiter",
           "deg_in_sign": 0,
           "dms_in_sign": "00°00'00\""
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/kp-house-significator": {
   "get": {
    "summary": "KP Placidus cusps with star, sub and sub-sub lords, house and planet significators (four levels) and the 4-step chain (20 credits)",
    "operationId": "chartKpHouseSignificator",
    "tags": [
     "chart"
    ],
    "description": "KP Placidus cusps with star, sub and sub-sub lords, house and planet significators (four levels) and the 4-step chain. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "placidus",
         "houses": [
          {
           "house": 1,
           "cusp_lon": 326.391667,
           "star_lord": "Jupiter",
           "sub_lord": "Ketu",
           "sub_sub_lord": "Saturn",
           "significators": [
            "Saturn"
           ]
          },
          {
           "house": 2,
           "cusp_lon": 2.866049,
           "star_lord": "Ketu",
           "sub_lord": "Venus",
           "sub_sub_lord": "Mercury",
           "significators": [
            "Rahu",
            "Mars"
           ]
          }
         ],
         "planet_significators": [
          {
           "planet": "Sun",
           "houses": [
            11,
            7
           ]
          },
          {
           "planet": "Moon",
           "houses": [
            11,
            6
           ]
          }
         ],
         "four_step": [
          {
           "planet": "Sun",
           "planet_houses": [
            11,
            7
           ],
           "star_lord": "Sun",
           "star_lord_houses": [
            11,
            7
           ],
           "sub_lord": "Rahu",
           "sub_lord_houses": [
            9,
            12
           ],
           "sub_lord_star_lord": "Mars",
           "sub_lord_star_lord_houses": [
            10,
            9
           ]
          },
          {
           "planet": "Moon",
           "planet_houses": [
            11,
            6
           ],
           "star_lord": "Venus",
           "star_lord_houses": [
            11,
            7
           ],
           "sub_lord": "Jupiter",
           "sub_lord_houses": [
            12,
            4
           ],
           "sub_lord_star_lord": "Rahu",
           "sub_lord_star_lord_houses": [
            9,
            12
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/kp-sublord": {
   "get": {
    "summary": "KP star, sub and sub-sub lords of every planet, and the KP ruling planets for the moment (10 credits)",
    "operationId": "chartKpSublord",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "kp": [
          {
           "planet": "Sun",
           "star_lord": "Sun",
           "sub_lord": "Rahu",
           "sub_sub_lord": "Moon"
          },
          {
           "planet": "Moon",
           "star_lord": "Venus",
           "sub_lord": "Jupiter",
           "sub_sub_lord": "Jupiter"
          }
         ],
         "ruling_planets": {
          "day_lord": "Moon",
          "lagna_nakshatra_lord": "Jupiter",
          "lagna_rashi_lord": "Saturn",
          "lagna_sub_lord": "Ketu",
          "moon_nakshatra_lord": "Venus",
          "moon_rashi_lord": "Sun",
          "moon_sub_lord": "Jupiter"
         }
        }
       }
      }
     }
    },
    "description": "KP star, sub and sub-sub lords of every planet, and the KP ruling planets (day lord; star, sign and sub lords of the ascendant and the Moon) for the date, time and place sent. For horary or timing, send the moment of judgement. Pass `ayanamsa=krishnamurti` for KP work. Each call costs 10 credits."
   }
  },
  "/v1/chart/kundli-facts": {
   "get": {
    "summary": "Full birth-chart facts in one call (50 credits)",
    "operationId": "chartKundliFacts",
    "tags": [
     "chart"
    ],
    "description": "One call for the chart facts that otherwise take many /v1/chart/* calls: lagna, planets (sign, degree, house, nakshatra, pada, retrograde, combust, dignity, neecha bhanga, vargottama, houses ruled, shadbala, avastha, divisional placements), houses (sign, lord, SAV bindus, bhava bala, occupants, aspecting planets), Jaimini chara karakas (7-karaka scheme), avakhada, and optionally yogas + doshas. Every number comes from the same functions the individual routes use. Anything that cannot be computed is listed in skipped (e.g. shadbala for Rahu/Ketu). Locale-free data, ids only: planets are sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu; sign_index is 0-based (Aries=0); house is the 1-based whole-sign house from the lagna; nakshatra_idx is 0-based (Ashwini=0).",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "vargas",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "default": "D9",
       "example": "D9,D10"
      },
      "description": "Comma list of divisional charts (D2..D60, or names such as navamsa). Default D9. D1 is rejected (planets already carry it); at most 16."
     },
     {
      "name": "include",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "shadbala,ashtakvarga,yogas"
      },
      "description": "Comma list of optional sections: shadbala, bhavabala, ashtakvarga, aspects, avastha, karakas, avakhada, yogas, or all. Default: every section except yogas."
     },
     {
      "name": "gender",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "male",
        "female"
       ]
      },
      "description": "Optional. Narrows Mahabhagya (male day birth / female night birth) exactly like /v1/vedic/narrative/yogas."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "conventions": {
          "bhava_bala": "bhava bala total in shashtiamshas, as /v1/chart/bhavabala",
          "house": "1-based whole-sign house from the lagna sign (varga house from the varga lagna)",
          "nakshatra_idx": "0-based, Ashwini=0 ... Revati=26; pada 1..4",
          "planet_ids": "sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu",
          "shadbala": "total and dig_bala in shashtiamshas (60 = 1 rupa); rupas = total/60",
          "sign_index": "0-based, Aries=0 ... Pisces=11 (D1 and every varga)",
          "varga_dignity": "sign-level dignity in the varga: exalted, debilitated, own_sign, friend, enemy, neutral"
         },
         "included": [
          "shadbala",
          "bhavabala"
         ],
         "vargas": [
          "D9"
         ],
         "lagna": {
          "sign_index": 10,
          "deg_in_sign": 26.391667,
          "sidereal_lon": 326.391667,
          "nakshatra_idx": 24,
          "pada": 2,
          "lord": "saturn",
          "nakshatra_lord": "jupiter"
         },
         "planets": [
          {
           "id": "sun",
           "sign_index": 9,
           "deg_in_sign": 1.063319,
           "sidereal_lon": 271.063319,
           "house": 12,
           "nakshatra_idx": 20,
           "pada": 2,
           "nakshatra_lord": "sun",
           "speed": 1.018256,
           "is_retro": false,
           "is_combust": false,
           "dignity": "enemy",
           "is_debilitated": false,
           "neecha_bhanga": false,
           "vargottama": true,
           "lord_of": [
            7
           ],
           "shadbala": {
            "rupas": 5.81,
            "total": 348.61,
            "required_min": 390,
            "is_strong": false,
            "dig_bala": 49.37
           },
           "avastha": {
            "baladi": "Mrita",
            "jagradadi": "Sushupta",
            "deeptadi": "Vikala"
           },
           "varga": {
            "D9": {
             "sign_index": 9,
             "house": 9,
             "dignity": "enemy"
            }
           }
          },
          {
           "id": "moon",
           "sign_index": 4,
           "deg_in_sign": 20.127289,
           "sidereal_lon": 140.127289,
           "house": 7,
           "nakshatra_idx": 10,
           "pada": 3,
           "nakshatra_lord": "venus",
           "speed": 12.579355,
           "is_retro": false,
           "is_combust": false,
           "dignity": "friend",
           "is_debilitated": false,
           "neecha_bhanga": false,
           "vargottama": false,
           "lord_of": [
            6
           ],
           "shadbala": {
            "rupas": 8.15,
            "total": 489.17,
            "required_min": 360,
            "is_strong": true,
            "dig_bala": 33.02
           },
           "avastha": {
            "baladi": "Vriddha",
            "jagradadi": "Swapna",
            "deeptadi": "Pramudita"
           },
           "varga": {
            "D9": {
             "sign_index": 6,
             "house": 6,
             "dignity": "neutral"
            }
           }
          }
         ],
         "houses": [
          {
           "house": 1,
           "sign_index": 10,
           "lord": "saturn",
           "sav": 28,
           "bhava_bala": 379.77,
           "occupants": [],
           "aspected_by": [
            "moon",
            "mars"
           ]
          },
          {
           "house": 2,
           "sign_index": 11,
           "lord": "jupiter",
           "sav": 24,
           "bhava_bala": 534.19,
           "occupants": [],
           "aspected_by": [
            "ketu"
           ]
          }
         ],
         "shadbala_version": "v2_bphs",
         "sav_total": 337,
         "karakas": {
          "scheme": "saptagraha",
          "atmakaraka": {
           "planet": "mars",
           "deg_in_sign": 25.98352
          },
          "amatyakaraka": {
           "planet": "saturn",
           "deg_in_sign": 23.562164
          },
          "bhratrukaraka": {
           "planet": "moon",
           "deg_in_sign": 20.127289
          },
          "matrukaraka": {
           "planet": "mercury",
           "deg_in_sign": 17.843241
          },
          "putrakaraka": {
           "planet": "jupiter",
           "deg_in_sign": 9.682402
          },
          "gnatikaraka": {
           "planet": "venus",
           "deg_in_sign": 7.14048
          },
          "darakaraka": {
           "planet": "sun",
           "deg_in_sign": 1.063319
          }
         },
         "avakhada": {
          "varna": "Kshatriya",
          "vashya": "Vanchar",
          "yoni": "Mushaka",
          "gana": "Manushya",
          "nadi": "Madhya",
          "paya": "Silver",
          "tatva": "Prithvi",
          "rajju": "Kati",
          "nakshatra_lord": "venus",
          "birth_stone": "Diamond",
          "lucky_numbers": [
           6,
           7
          ],
          "lucky_day": "Friday",
          "lucky_color": "White"
         },
         "skipped": {
          "planets.ketu.shadbala": "shadbala is defined for the seven grahas only",
          "planets.rahu.shadbala": "shadbala is defined for the seven grahas only"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/nakshatra": {
   "get": {
    "summary": "All planet nakshatras and pada in birth chart (10 credits)",
    "operationId": "chartNakshatra",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "planets": [
          {
           "planet": "Sun",
           "nakshatra": "Uttara Ashadha",
           "pada": 2,
           "lord": "Sun"
          },
          {
           "planet": "Moon",
           "nakshatra": "Purva Phalguni",
           "pada": 3,
           "lord": "Venus"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/planet/{name}": {
   "get": {
    "summary": "Single planet position (10 credits)",
    "operationId": "chartPlanet",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "name": "name",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn",
        "rahu",
        "ketu"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "planet": {
          "id": "sun",
          "name": "Sun",
          "sidereal_lon": 271.063319,
          "sign_index": 9,
          "deg_in_sign": 1.063319,
          "dms_in_sign": "01°03'47\"",
          "house": 12,
          "nakshatra_idx": 20,
          "pada": 2,
          "nak_lord": "Sun",
          "speed": 1.018256,
          "is_retro": false,
          "ecl_lat": -0.000088
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/planets": {
   "get": {
    "summary": "All planet positions in the birth chart (10 credits)",
    "operationId": "chartPlanets",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "planets": [
          {
           "id": "sun",
           "name": "Sun",
           "sidereal_lon": 271.063319,
           "sign_index": 9,
           "deg_in_sign": 1.063319,
           "dms_in_sign": "01°03'47\"",
           "house": 12,
           "nakshatra_idx": 20,
           "pada": 2,
           "nak_lord": "Sun",
           "speed": 1.018256,
           "is_retro": false,
           "ecl_lat": -0.000088
          },
          {
           "id": "moon",
           "name": "Moon",
           "sidereal_lon": 140.127289,
           "sign_index": 4,
           "deg_in_sign": 20.127289,
           "dms_in_sign": "20°07'38\"",
           "house": 7,
           "nakshatra_idx": 10,
           "pada": 3,
           "nak_lord": "Venus",
           "speed": 12.579355,
           "is_retro": false,
           "ecl_lat": -2.411875
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/sensitivity": {
   "get": {
    "summary": "Birth-time sensitivity of lagna, vargas and Moon (20 credits)",
    "operationId": "chartSensitivity",
    "tags": [
     "chart"
    ],
    "description": "Generic B2B data endpoint (ids only, no prose). Conventions: sign_index is 0-based (Aries=0); houses are 1-based whole-sign; nakshatra_index is 0-based (Ashwini=0), pada 1-4; every instant is given as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); skipped lists optional fields that could not be served as {field: reason}. How long the chart holds around the given birth time, scanned over ± window minutes. lagna: for D1 and each requested varga, the varga lagna sign at birth and the span it stays the same: stable_from / stable_to (boundary instants, ~1 s), minutes_before / minutes_after, and sign_before_index / sign_after_index across each boundary. open_before / open_after = true means no change inside the window, so the span is at least the window edge (stable_from/stable_to are then the window edges). moon: the same for the Moon's nakshatra and pada. planet_sign_changes: any graha changing sidereal sign inside the window. Birth params, ayanamsa and topocentric_moon as on the other /v1/chart endpoints; values at the birth time equal /v1/chart/ascendant, /v1/chart/divisional/{varga} and /v1/chart/planets.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "window",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "example": 120,
       "minimum": 1,
       "maximum": 180
      },
      "description": "Half-width of the scan in minutes. Default 120 (±2 h), max 180."
     },
     {
      "name": "vargas",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "D9,D10,D24"
      },
      "description": "Comma-separated vargas besides D1 (D2..D60). Default D9,D10,D24; at most 16."
     },
     {
      "name": "topocentric_moon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean"
      },
      "description": "Topocentric Moon for the nakshatra/pada spans, as on /v1/chart/*. Default false."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "birth_jd": 2447906.708333,
         "window_minutes": 120,
         "window_start_local": "1990-01-15T08:30:00+05:30",
         "window_start_jd": 2447906.625,
         "window_end_local": "1990-01-15T12:30:00+05:30",
         "window_end_jd": 2447906.791667,
         "lagna": {
          "D1": {
           "sign_index": 10,
           "stable_from": "1990-01-15T09:04:32+05:30",
           "stable_from_jd": 2447906.648985,
           "stable_to": "1990-01-15T10:41:16+05:30",
           "stable_to_jd": 2447906.716162,
           "minutes_before": 85.46,
           "minutes_after": 11.27,
           "open_before": false,
           "open_after": false,
           "sign_before_index": 9,
           "sign_after_index": 11
          },
          "D10": {
           "sign_index": 6,
           "stable_from": "1990-01-15T10:22:30+05:30",
           "stable_from_jd": 2447906.70312,
           "stable_to": "1990-01-15T10:31:54+05:30",
           "stable_to_jd": 2447906.709652,
           "minutes_before": 7.51,
           "minutes_after": 1.9,
           "open_before": false,
           "open_after": false,
           "sign_before_index": 5,
           "sign_after_index": 7
          },
          "D24": {
           "sign_index": 1,
           "stable_from": "1990-01-15T10:29:33+05:30",
           "stable_from_jd": 2447906.708024,
           "stable_to": "1990-01-15T10:33:29+05:30",
           "stable_to_jd": 2447906.710748,
           "minutes_before": 0.45,
           "minutes_after": 3.48,
           "open_before": false,
           "open_after": false,
           "sign_before_index": 0,
           "sign_after_index": 2
          },
          "D9": {
           "sign_index": 1,
           "stable_from": "1990-01-15T10:20:24+05:30",
           "stable_from_jd": 2447906.701666,
           "stable_to": "1990-01-15T10:30:52+05:30",
           "stable_to_jd": 2447906.708936,
           "minutes_before": 9.6,
           "minutes_after": 0.87,
           "open_before": false,
           "open_after": false,
           "sign_before_index": 0,
           "sign_after_index": 2
          }
         },
         "moon": {
          "nakshatra": {
           "nakshatra_index": 10,
           "stable_from": "1990-01-15T08:30:00+05:30",
           "stable_from_jd": 2447906.625,
           "stable_to": "1990-01-15T12:30:00+05:30",
           "stable_to_jd": 2447906.791667,
           "minutes_before": 120,
           "minutes_after": 120,
           "open_before": true,
           "open_after": true
          },
          "pada": {
           "nakshatra_index": 10,
           "pada": 3,
           "stable_from": "1990-01-15T10:15:26+05:30",
           "stable_from_jd": 2447906.698217,
           "stable_to": "1990-01-15T12:30:00+05:30",
           "stable_to_jd": 2447906.791667,
           "minutes_before": 14.57,
           "minutes_after": 120,
           "open_before": false,
           "open_after": true
          }
         },
         "planet_sign_changes": []
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/shadbala": {
   "get": {
    "summary": "Full Shadbala (6-fold strength) for all planets (30 credits)",
    "operationId": "chartShadbala",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "shadbala_version": "v2_bphs",
         "shadbala": [
          {
           "planet": "Sun",
           "sthana": 103.9,
           "dig": 49.37,
           "kala": 126.16,
           "cheshta": 1.68,
           "naisargika": 60,
           "drik": 7.5,
           "total": 348.61,
           "rupas": 5.81,
           "required_min": 390,
           "is_strong": false
          },
          {
           "planet": "Moon",
           "sthana": 178.04,
           "dig": 33.02,
           "kala": 198.03,
           "cheshta": 43.65,
           "naisargika": 51.43,
           "drik": -15,
           "total": 489.17,
           "rupas": 8.15,
           "required_min": 360,
           "is_strong": true
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/shadbala/{component}": {
   "get": {
    "summary": "Single Shadbala component for all planets (10 credits)",
    "operationId": "chartShadbalaComponent",
    "tags": [
     "chart"
    ],
    "parameters": [
     {
      "name": "component",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sthana",
        "dig",
        "kala",
        "cheshta",
        "naisargika",
        "drik"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "shadbala_version": "v2_bphs",
         "component": "sthana",
         "values": {
          "Jupiter": 180.94,
          "Mars": 271.83,
          "Mercury": 145.3,
          "Moon": 178.04,
          "Saturn": 156.94,
          "Sun": 103.9,
          "Venus": 157.13
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/upapada": {
   "get": {
    "summary": "Upapada Lagna with its lord, occupants and aspects (10 credits)",
    "operationId": "chartUpapada",
    "tags": [
     "chart"
    ],
    "description": "The Upapada Lagna (UL), the arudha pada of the 12th house. Returns pada (the A12 working, as on /v1/chart/arudha-padas), the UL sign and its house from the lagna, the lord of the UL sign with its sign, its house from the lagna and its place counted from the UL (lord_from_ul), occupants (grahas in the UL sign), graha_drishti (grahas outside the sign whose graha drishti falls on it; Rahu and Ketu take the 5th, 7th and 9th aspects) and rashi_drishti (grahas in signs that hold rashi drishti on it by the movable/fixed/dual rule). The response states facts and makes no judgement. Takes the same options as /v1/chart/arudha-padas; scorpio_lord and aquarius_lord also decide the lord of the UL sign. Display names (signs, grahas, pada names) follow `lang`; every *_idx field (sign index, 0-based, Aries=0), every *_id / *_ids field (sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu) and every label or status value stays the same in all languages. Houses are 1-based whole-sign houses from the lagna. Each call costs 10 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "exception",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "parashari",
        "none"
       ],
       "default": "parashari"
      },
      "description": "What happens when the counted pada falls in the bhava itself or in the 7th from it. `parashari` (default): the 10th from the counted sign is taken (BPHS ch. 29 v. 4-5). `none`: the counted sign always stands (Jaimini Sutras 1.1.29-31 as translated by B. Suryanarain Rao)."
     },
     {
      "name": "scorpio_lord",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "mars",
        "ketu"
       ],
       "default": "mars"
      },
      "description": "Lord taken for Scorpio: `mars` (default) or `ketu`."
     },
     {
      "name": "aquarius_lord",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "saturn",
        "rahu"
       ],
       "default": "saturn"
      },
      "description": "Lord taken for Aquarius: `saturn` (default) or `rahu`."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "options": {
          "exception": "parashari",
          "scorpio_lord": "mars",
          "aquarius_lord": "saturn"
         },
         "upapada": {
          "pada": {
           "house": 12,
           "label": "A12",
           "name": "Upapada",
           "arudha_sign_idx": 7,
           "arudha_sign": "Scorpio",
           "arudha_house": 10,
           "alt_label": "UL",
           "bhava_sign_idx": 9,
           "bhava_sign": "Capricorn",
           "lord": "Saturn",
           "lord_sign_idx": 8,
           "lord_sign": "Sagittarius",
           "count": 12,
           "counted_sign_idx": 7,
           "counted_sign": "Scorpio",
           "exception_applied": false,
           "lord_id": "saturn"
          },
          "sign_idx": 7,
          "sign": "Scorpio",
          "house": 10,
          "lord": "Mars",
          "lord_id": "mars",
          "lord_sign_idx": 7,
          "lord_sign": "Scorpio",
          "lord_house": 10,
          "lord_from_ul": 1,
          "occupants": [
           "Mars"
          ],
          "occupant_ids": [
           "mars"
          ],
          "graha_drishti": [
           "Ketu"
          ],
          "graha_drishti_ids": [
           "ketu"
          ],
          "rashi_drishti": [
           "Sun",
           "Venus",
           "Rahu",
           "Ketu"
          ],
          "rashi_drishti_ids": [
           "sun",
           "venus",
           "rahu",
           "ketu"
          ]
         },
         "source": "Jaimini Sutras 1.4.1 and Brihat Parashara Hora Shastra ch. 30 (Upapada is the arudha of the 12th house). Pada rule: Brihat Parashara Hora Shastra ch. 29 v. 1-5 (count from the bhava to its lord and the same again; a pada never stays in its own bhava or the 7th from it)"
        }
       }
      }
     }
    }
   }
  },
  "/v1/chart/yogas": {
   "get": {
    "summary": "Yogas present in a birth chart, as data (20 credits)",
    "operationId": "chartYogas",
    "tags": [
     "chart"
    ],
    "description": "Runs the same yoga detectors as /v1/vedic/narrative/yogas and returns them as data, with no text. Also returns neecha_bhanga.<planet> (debilitation cancelled by its sign lord or exaltation lord in a kendra) and raja_yoga.kendra_trikona (a kendra lord and a trikona lord joined by conjunction, exchange or mutual aspect; details.pairs). Dosha-type ids (guru_chandal_dosha, visha_kanya_dosha, ganda_moola_dosha) are on /v1/chart/doshas. Locale-free data, ids only: planets are sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu; sign_index is 0-based (Aries=0); house is the 1-based whole-sign house from the lagna; nakshatra_idx is 0-based (Ashwini=0). Each item: id (same id family as /v1/meta/vedic/yogas and /v1/meta/vedic/doshas), kind, category, present, planets (planet ids that form it), houses (whole-sign houses they occupy), strength (full|partial when the detector knows it), cancelled + cancel_reasons, variant (sub-type), axes (lagna/moon), sub_ids (the finer ids /v1/vedic/narrative/* keys its text on), source (classical reference), details (id-specific data).",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "all",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean",
       "default": false
      },
      "description": "false (default): present items, plus items whose pattern formed but was cancelled (present:false, cancelled:true). true: also every catalogue id that is absent, with present:false."
     },
     {
      "name": "gender",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "male",
        "female"
       ]
      },
      "description": "Optional. Narrows Mahabhagya (male day birth / female night birth) exactly like /v1/vedic/narrative/yogas."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "count": 27,
         "items": [
          {
           "id": "ruchaka",
           "kind": "yoga",
           "category": "pancha_mahapurusha",
           "present": true,
           "planets": [
            "mars"
           ],
           "houses": [
            10
           ],
           "cancelled": false,
           "cancel_reasons": [],
           "axes": [
            "lagna",
            "moon"
           ],
           "sub_ids": [
            "ruchaka.from_lagna",
            "ruchaka.from_moon"
           ],
           "source": "BPHS Ch.75 v.1-2; Phaladeepika 6.1-5"
          },
          {
           "id": "kemadruma_aspectual",
           "kind": "yoga",
           "category": "lunar",
           "present": true,
           "planets": [
            "moon"
           ],
           "houses": [
            7
           ],
           "cancelled": false,
           "cancel_reasons": [],
           "source": "Saravali Ch.13"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/ashtottari": {
   "get": {
    "summary": "Full Ashtottari dasha tree (108 years) with balance at birth and applicability (10 credits)",
    "operationId": "dashaAshtottari",
    "tags": [
     "dasha"
    ],
    "description": "Ashtottari dasha: the 108-year cycle of 8 lords (Sun 6, Moon 15, Mars 8, Mercury 17, Saturn 10, Jupiter 19, Rahu 12, Venus 21 years; Ketu has no period) anchored at the Moon's nakshatra at birth and counted from Ardra. maha_dasha lists the 8 periods; the first one starts before birth by the part already elapsed. depth=2 adds the antardashas and depth=3 the pratyantardashas as sub_periods. balance gives the lord running at birth, the birth nakshatra, the years one nakshatra of that lord carries, and the elapsed and remaining years. applicability reports the two classical conditions separately, each as met (true/false) with a one-line explanation in English: rahu_condition (Rahu outside the lagna and in a kendra or trikona from the sign of the lagna lord, by whole signs) and paksha_condition (day birth in krishna paksha or night birth in shukla paksha). It is information only: the dasha is calculated for every chart. options echoes the scheme and antar_start used; source cites the text. lord is the display name in the requested language, lord_id the stable key. A year is 365.25 days, as on the other dasha endpoints. Each call costs 10 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "depth",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 3,
       "default": 1
      },
      "description": "Levels to return: 1 = mahadashas (default), 2 = with antardashas, 3 = with pratyantardashas."
     },
     {
      "name": "scheme",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "enum": [
        27,
        28
       ],
       "default": 28
      },
      "description": "How the nakshatras of Saturn's group are counted. `28` (default): the Brihat Parashara Hora Shastra count with Abhijit, where Saturn owns four nakshatras of 2.5 years each. `27`: 27 nakshatras, Saturn owns Purva Ashadha, Uttara Ashadha and Shravana and its balance is linear over the 40° arc. The two give the same result unless the birth Moon is between 253°20' and 293°20' sidereal."
     },
     {
      "name": "antar_start",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "maha_lord",
        "next_lord"
       ],
       "default": "maha_lord"
      },
      "description": "Lord of the first sub-period. `maha_lord` (default): the sub-periods start with the lord of the parent period (BPHS ch. 51 v. 2). `next_lord`: they start with the lord after it and end with the parent lord."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "ashtottari",
         "total_years": 108,
         "year_days": 365.25,
         "depth": 1,
         "options": {
          "scheme": 28,
          "antar_start": "maha_lord"
         },
         "balance": {
          "lord": "Moon",
          "lord_id": "moon",
          "nakshatra": "Purva Phalguni",
          "nakshatra_years": 5,
          "elapsed_years": 7.54773,
          "balance_years": 7.45227
         },
         "applicability": {
          "rahu_condition": {
           "met": false,
           "explanation": "Rahu is in house 2 from the lagna lord's sign, which is neither a kendra nor a trikona."
          },
          "rahu_in_lagna": false,
          "rahu_house_from_lagna_lord": 2,
          "rahu_relation": "",
          "paksha_condition": {
           "met": true,
           "explanation": "Birth by day in krishna paksha; the condition asks for a day birth in krishna paksha or a night birth in shukla paksha."
          },
          "paksha": "krishna",
          "day_birth": true,
          "note": "Information only: the two conditions come from separate verses and are reported separately; the dasha is calculated for every chart."
         },
         "maha_dasha": [
          {
           "lord": "Moon",
           "lord_id": "moon",
           "years": 15,
           "start_jd": 2445149.89866,
           "end_jd": 2450628.64866,
           "start_local": "1982-06-29 15:04:04",
           "end_local": "1997-06-29 09:04:04"
          },
          {
           "lord": "Mars",
           "lord_id": "mars",
           "years": 8,
           "start_jd": 2450628.64866,
           "end_jd": 2453550.64866,
           "start_local": "1997-06-29 09:04:04",
           "end_local": "2005-06-29 09:04:04"
          }
         ],
         "source": "Brihat Parashara Hora Shastra ch. 46 v. 17-23 (lords, years, nakshatra groups, balance at birth, conditions of applicability) and ch. 51 v. 1-2 (sub-periods)"
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/ashtottari/current": {
   "get": {
    "summary": "Current Ashtottari dasha at a given date (10 credits)",
    "operationId": "dashaAshtottariCurrent",
    "tags": [
     "dasha"
    ],
    "description": "The Ashtottari mahadasha and antardasha running at the moment `at` (now when left out), from the same tree as /v1/dasha/ashtottari with the same scheme and antar_start options. A moment outside the 108 years of the chart's cycle returns 400 invalid_param; the cycle is not repeated. Each call costs 10 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15T00:00:00Z"
      },
      "description": "UTC moment to find the running dasha for (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now."
     },
     {
      "name": "scheme",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "enum": [
        27,
        28
       ],
       "default": 28
      },
      "description": "How the nakshatras of Saturn's group are counted. `28` (default): the Brihat Parashara Hora Shastra count with Abhijit, where Saturn owns four nakshatras of 2.5 years each. `27`: 27 nakshatras, Saturn owns Purva Ashadha, Uttara Ashadha and Shravana and its balance is linear over the 40° arc. The two give the same result unless the birth Moon is between 253°20' and 293°20' sidereal."
     },
     {
      "name": "antar_start",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "maha_lord",
        "next_lord"
       ],
       "default": "maha_lord"
      },
      "description": "Lord of the first sub-period. `maha_lord` (default): the sub-periods start with the lord of the parent period (BPHS ch. 51 v. 2). `next_lord`: they start with the lord after it and end with the parent lord."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "ashtottari",
         "options": {
          "scheme": 28,
          "antar_start": "maha_lord"
         },
         "at_jd": 2461420.5,
         "at_local": "2027-01-15 05:30:00",
         "maha": {
          "lord": "Saturn",
          "lord_id": "saturn",
          "start_jd": 2459759.89866,
          "end_jd": 2463412.39866,
          "start_local": "2022-06-29 15:04:04",
          "end_local": "2032-06-29 03:04:04"
         },
         "antar": {
          "lord": "Venus",
          "lord_id": "venus",
          "start_jd": 2461146.49588,
          "end_jd": 2461856.70421,
          "start_local": "2026-04-16 05:24:04",
          "end_local": "2028-03-26 10:24:04"
         },
         "source": "Brihat Parashara Hora Shastra ch. 46 v. 17-23 (lords, years, nakshatra groups, balance at birth, conditions of applicability) and ch. 51 v. 1-2 (sub-periods)"
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/char": {
   "get": {
    "summary": "Char Dasha (Jaimini sign-based dasha) — full schedule of sign periods (10 credits)",
    "operationId": "dashaChar",
    "tags": [
     "dasha"
    ],
    "description": "Char Dasha (Jaimini sign-based dasha) — full schedule of sign periods. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "char",
         "year_days": 365.25,
         "depth": 1,
         "maha_dasha": [
          {
           "sign": "Aquarius",
           "years": 1,
           "start_jd": 2447906.708333,
           "end_jd": 2448271.958333,
           "start_local": "1990-01-15 10:30:00",
           "end_local": "1991-01-15 16:30:00"
          },
          {
           "sign": "Capricorn",
           "years": 1,
           "start_jd": 2448271.958333,
           "end_jd": 2448637.208333,
           "start_local": "1991-01-15 16:30:00",
           "end_local": "1992-01-15 22:30:00"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/char/{md}": {
   "get": {
    "summary": "Char Dasha drill-down — antardashas inside one mahadasha sign (10 credits)",
    "operationId": "dashaCharMaha",
    "tags": [
     "dasha"
    ],
    "description": "Char Dasha drill-down — antardashas inside one mahadasha sign. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "md",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "char",
         "md": "Aries",
         "periods": [
          {
           "sign": "Pisces",
           "years": 9,
           "start_jd": 2471282.708333,
           "end_jd": 2471495.770833,
           "start_local": "2054-01-15 10:30:00",
           "end_local": "2054-08-16 12:00:00"
          },
          {
           "sign": "Aquarius",
           "years": 1,
           "start_jd": 2471495.770833,
           "end_jd": 2471708.833333,
           "start_local": "2054-08-16 12:00:00",
           "end_local": "2055-03-17 13:30:00"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/char/{md}/{ad}": {
   "get": {
    "summary": "Char Dasha drill-down — sub-periods of a mahadasha+antardasha pair (10 credits)",
    "operationId": "dashaCharAntar",
    "tags": [
     "dasha"
    ],
    "description": "Char Dasha drill-down — sub-periods of a mahadasha+antardasha pair. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "md",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ad",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "char",
         "md": "Aries",
         "ad": "Taurus",
         "periods": [
          {
           "sign": "Aries",
           "years": 7,
           "start_jd": 2473413.333333,
           "end_jd": 2473431.088542,
           "start_local": "2059-11-16 01:30:00",
           "end_local": "2059-12-03 19:37:30"
          },
          {
           "sign": "Pisces",
           "years": 9,
           "start_jd": 2473431.088542,
           "end_jd": 2473448.84375,
           "start_local": "2059-12-03 19:37:30",
           "end_local": "2059-12-21 13:45:00"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/char/current": {
   "get": {
    "summary": "Currently running Char Dasha stack — active mahadasha + antardasha signs (10 credits)",
    "operationId": "dashaCharCurrent",
    "tags": [
     "dasha"
    ],
    "description": "Currently running Char Dasha stack — active mahadasha + antardasha signs. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15T00:00:00Z"
      },
      "description": "UTC moment to evaluate (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "char",
         "at_jd": 2461420.5,
         "at_local": "2027-01-15 05:30:00",
         "current": {
          "sign": "Leo",
          "years": 7,
          "start_jd": 2459594.708333,
          "end_jd": 2462151.458333,
          "start_local": "2022-01-15 10:30:00",
          "end_local": "2029-01-15 04:30:00"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/char/major": {
   "get": {
    "summary": "Char Dasha major periods — one row per mahadasha sign (10 credits)",
    "operationId": "dashaCharMajor",
    "tags": [
     "dasha"
    ],
    "description": "Char Dasha major periods — one row per mahadasha sign. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "char",
         "year_days": 365.25,
         "depth": 1,
         "maha_dasha": [
          {
           "sign": "Aquarius",
           "years": 1,
           "start_jd": 2447906.708333,
           "end_jd": 2448271.958333,
           "start_local": "1990-01-15 10:30:00",
           "end_local": "1991-01-15 16:30:00"
          },
          {
           "sign": "Capricorn",
           "years": 1,
           "start_jd": 2448271.958333,
           "end_jd": 2448637.208333,
           "start_local": "1991-01-15 16:30:00",
           "end_local": "1992-01-15 22:30:00"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/vimshottari": {
   "get": {
    "summary": "Full Vimshottari dasha tree (20 credits)",
    "operationId": "dashaVimshottari",
    "tags": [
     "dasha"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "vimshottari",
         "total_years": 120,
         "year_days": 365.25,
         "depth": 3,
         "maha_dasha": [
          {
           "lord": "Venus",
           "start_jd": 2444184.469622,
           "end_jd": 2451489.469622,
           "start_local": "1979-11-07 04:46:15",
           "end_local": "1999-11-07 04:46:15",
           "sub_periods": [
            {
             "lord": "Venus",
             "start_jd": 2444184.469622,
             "end_jd": 2445401.969622,
             "start_local": "1979-11-07 04:46:15",
             "end_local": "1983-03-08 16:46:15",
             "sub_periods": [
              {
               "lord": "Venus",
               "start_jd": 2444184.469622,
               "end_jd": 2444387.386289,
               "start_local": "1979-11-07 04:46:15",
               "end_local": "1980-05-28 02:46:15"
              },
              {
               "lord": "Sun",
               "start_jd": 2444387.386289,
               "end_jd": 2444448.261289,
               "start_local": "1980-05-28 02:46:15",
               "end_local": "1980-07-27 23:46:15"
              }
             ]
            },
            {
             "lord": "Sun",
             "start_jd": 2445401.969622,
             "end_jd": 2445767.219622,
             "start_local": "1983-03-08 16:46:15",
             "end_local": "1984-03-07 22:46:15",
             "sub_periods": [
              {
               "lord": "Sun",
               "start_jd": 2445401.969622,
               "end_jd": 2445420.232122,
               "start_local": "1983-03-08 16:46:15",
               "end_local": "1983-03-26 23:04:15"
              },
              {
               "lord": "Moon",
               "start_jd": 2445420.232122,
               "end_jd": 2445450.669622,
               "start_local": "1983-03-26 23:04:15",
               "end_local": "1983-04-26 09:34:15"
              }
             ]
            }
           ]
          },
          {
           "lord": "Sun",
           "start_jd": 2451489.469622,
           "end_jd": 2453680.969622,
           "start_local": "1999-11-07 04:46:15",
           "end_local": "2005-11-06 16:46:15",
           "sub_periods": [
            {
             "lord": "Sun",
             "start_jd": 2451489.469622,
             "end_jd": 2451599.044622,
             "start_local": "1999-11-07 04:46:15",
             "end_local": "2000-02-24 18:34:15",
             "sub_periods": [
              {
               "lord": "Sun",
               "start_jd": 2451489.469622,
               "end_jd": 2451494.948372,
               "start_local": "1999-11-07 04:46:15",
               "end_local": "1999-11-12 16:15:39"
              },
              {
               "lord": "Moon",
               "start_jd": 2451494.948372,
               "end_jd": 2451504.079622,
               "start_local": "1999-11-12 16:15:39",
               "end_local": "1999-11-21 19:24:39"
              }
             ]
            },
            {
             "lord": "Moon",
             "start_jd": 2451599.044622,
             "end_jd": 2451781.669622,
             "start_local": "2000-02-24 18:34:15",
             "end_local": "2000-08-25 09:34:15",
             "sub_periods": [
              {
               "lord": "Moon",
               "start_jd": 2451599.044622,
               "end_jd": 2451614.263372,
               "start_local": "2000-02-24 18:34:15",
               "end_local": "2000-03-10 23:49:15"
              },
              {
               "lord": "Mars",
               "start_jd": 2451614.263372,
               "end_jd": 2451624.916497,
               "start_local": "2000-03-10 23:49:15",
               "end_local": "2000-03-21 15:29:45"
              }
             ]
            }
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/vimshottari/{md}": {
   "get": {
    "summary": "All Antar Dashas within a Maha Dasha (10 credits)",
    "operationId": "dashaVimshottariMaha",
    "tags": [
     "dasha"
    ],
    "description": "All Antar Dashas within a Maha Dasha. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "md",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "vimshottari",
         "md": "Saturn",
         "periods": [
          {
           "lord": "Saturn",
           "start_jd": 2472308.719622,
           "end_jd": 2473407.513372,
           "start_local": "2056-11-06 10:46:15",
           "end_local": "2059-11-10 05:49:15"
          },
          {
           "lord": "Mercury",
           "start_jd": 2473407.513372,
           "end_jd": 2474390.644622,
           "start_local": "2059-11-10 05:49:15",
           "end_local": "2062-07-20 08:58:15"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/vimshottari/{md}/{ad}": {
   "get": {
    "summary": "All Pratyantar Dashas within an Antar Dasha (10 credits)",
    "operationId": "dashaVimshottariAntar",
    "tags": [
     "dasha"
    ],
    "description": "All Pratyantar Dashas within an Antar Dasha. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "md",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ad",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "vimshottari",
         "md": "Saturn",
         "ad": "Mercury",
         "periods": [
          {
           "lord": "Mercury",
           "start_jd": 2473407.513372,
           "end_jd": 2473546.7903,
           "start_local": "2059-11-10 05:49:15",
           "end_local": "2060-03-28 12:28:02"
          },
          {
           "lord": "Ketu",
           "start_jd": 2473546.7903,
           "end_jd": 2473604.139622,
           "start_local": "2060-03-28 12:28:02",
           "end_local": "2060-05-24 20:51:03"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/vimshottari/{md}/{ad}/{pd}": {
   "get": {
    "summary": "All Sookshma Dashas within a Pratyantar Dasha (10 credits)",
    "operationId": "dashaVimshottariPratyantar",
    "tags": [
     "dasha"
    ],
    "description": "All Sookshma Dashas within a Pratyantar Dasha. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "md",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ad",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "pd",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "vimshottari",
         "md": "Saturn",
         "ad": "Mercury",
         "pd": "Ketu",
         "periods": [
          {
           "lord": "Ketu",
           "start_jd": 2473546.7903,
           "end_jd": 2473550.135677,
           "start_local": "2060-03-28 12:28:02",
           "end_local": "2060-03-31 20:45:22"
          },
          {
           "lord": "Venus",
           "start_jd": 2473550.135677,
           "end_jd": 2473559.693897,
           "start_local": "2060-03-31 20:45:22",
           "end_local": "2060-04-10 10:09:13"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/vimshottari/{md}/{ad}/{pd}/{sd}": {
   "get": {
    "summary": "Prana Dashas (level 5) within a Sookshma Dasha (20 credits)",
    "operationId": "dashaVimshottariSookshma",
    "tags": [
     "dasha"
    ],
    "description": "Prana Dashas (level 5) within a Sookshma Dasha. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "md",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "ad",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "pd",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "sd",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "vimshottari",
         "md": "Saturn",
         "ad": "Mercury",
         "pd": "Ketu/Venus",
         "periods": [
          {
           "lord": "Venus",
           "start_jd": 2473550.135677,
           "end_jd": 2473551.728713,
           "start_local": "2060-03-31 20:45:22",
           "end_local": "2060-04-02 10:59:21"
          },
          {
           "lord": "Sun",
           "start_jd": 2473551.728713,
           "end_jd": 2473552.206624,
           "start_local": "2060-04-02 10:59:21",
           "end_local": "2060-04-02 22:27:32"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/vimshottari/current": {
   "get": {
    "summary": "Current Vimshottari dasha stack at a given date (10 credits)",
    "operationId": "dashaVimshottariCurrent",
    "tags": [
     "dasha"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15T00:00:00Z"
      },
      "description": "UTC moment to find the running dasha for (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "vimshottari",
         "at_jd": 2461420.5,
         "at_local": "2027-01-15 05:30:00",
         "maha": {
          "lord": "Rahu",
          "start_jd": 2459890.219622,
          "end_jd": 2466464.719622,
          "start_local": "2022-11-06 22:46:15",
          "end_local": "2040-11-06 10:46:15"
         },
         "antar": {
          "lord": "Jupiter",
          "start_jd": 2460876.394622,
          "end_jd": 2461752.994622,
          "start_local": "2025-07-20 02:58:15",
          "end_local": "2027-12-13 17:22:15"
         },
         "pratyantar": {
          "lord": "Venus",
          "start_jd": 2461307.389622,
          "end_jd": 2461453.489622,
          "start_local": "2026-09-24 02:51:03",
          "end_local": "2027-02-17 05:15:03"
         },
         "sookshma": {
          "lord": "Saturn",
          "start_jd": 2461401.137122,
          "end_jd": 2461424.269622,
          "start_local": "2026-12-26 20:47:27",
          "end_local": "2027-01-18 23:58:15"
         },
         "prana": {
          "lord": "Rahu",
          "start_jd": 2461417.715414,
          "end_jd": 2461421.185289,
          "start_local": "2027-01-12 10:40:12",
          "end_local": "2027-01-15 21:56:49"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/yogini": {
   "get": {
    "summary": "Full Yogini dasha tree (10 credits)",
    "operationId": "dashaYogini",
    "tags": [
     "dasha"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "yogini",
         "total_years": 36,
         "year_days": 365.25,
         "depth": 1,
         "maha_dasha": [
          {
           "lord": "Ulka",
           "planet": "Saturn",
           "start_jd": 2446790.03672,
           "end_jd": 2448981.53672,
           "start_local": "1986-12-25 18:22:53",
           "end_local": "1992-12-25 06:22:53"
          },
          {
           "lord": "Siddha",
           "planet": "Venus",
           "start_jd": 2448981.53672,
           "end_jd": 2451538.28672,
           "start_local": "1992-12-25 06:22:53",
           "end_local": "1999-12-26 00:22:53"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/yogini/{name}": {
   "get": {
    "summary": "Yogini dasha drill-down — antardashas inside one named Yogini period (10 credits)",
    "operationId": "dashaYoginiByName",
    "tags": [
     "dasha"
    ],
    "description": "Yogini dasha drill-down — antardashas inside one named Yogini period. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "yogini",
         "maha": "Mangala",
         "planet": "Moon",
         "is_current": false,
         "periods": [
          {
           "lord": "Mangala",
           "planet": "Moon",
           "start_jd": 2454460.28672,
           "end_jd": 2454470.432553,
           "start_local": "2007-12-26 00:22:53",
           "end_local": "2008-01-05 03:52:53"
          },
          {
           "lord": "Pingala",
           "planet": "Sun",
           "start_jd": 2454470.432553,
           "end_jd": 2454490.72422,
           "start_local": "2008-01-05 03:52:53",
           "end_local": "2008-01-25 10:52:53"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/dasha/yogini/current": {
   "get": {
    "summary": "Current Yogini dasha at a given date (10 credits)",
    "operationId": "dashaYoginiCurrent",
    "tags": [
     "dasha"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "at",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15T00:00:00Z"
      },
      "description": "UTC moment to find the running dasha for (RFC3339 like 2027-01-15T00:00:00Z, or YYYY-MM-DD). Defaults to now."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "system": "yogini",
         "at_jd": 2461420.5,
         "at_local": "2027-01-15 05:30:00",
         "maha": {
          "lord": "Ulka",
          "planet": "Saturn",
          "start_jd": 2459939.03672,
          "end_jd": 2462130.53672,
          "start_local": "2022-12-25 18:22:53",
          "end_local": "2028-12-25 06:22:53"
         },
         "antar": {
          "lord": "Dhanya",
          "planet": "Jupiter",
          "start_jd": 2461400.03672,
          "end_jd": 2461582.66172,
          "start_local": "2026-12-25 18:22:53",
          "end_local": "2027-06-26 09:22:53"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/docs": {
   "get": {
    "summary": "OpenAPI 3.1 specification for this API (public)",
    "operationId": "getDocs",
    "security": [],
    "tags": [
     "meta"
    ],
    "responses": {
     "200": {
      "description": "OpenAPI 3.1 JSON spec",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/v1/eclipses/all": {
   "get": {
    "summary": "All eclipses (solar + lunar) in a year range (20 credits)",
    "operationId": "eclipsesAll",
    "tags": [
     "eclipses"
    ],
    "parameters": [
     {
      "name": "start_year",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "name": "end_year",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "First date of the range (YYYY-MM-DD)."
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-12-31"
      },
      "description": "Last date of the range (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "start_date": "2027-01-01",
         "end_date": "2027-12-31",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": ""
         },
         "eclipses": [
          {
           "kind": "solar",
           "type": "annular",
           "peak_jd": 2461443.166422,
           "peak_utc": "2027-02-06T15:59:38Z",
           "nakshatra_index": 22,
           "nakshatra": "Dhanishta",
           "visible_from_india": false,
           "local": {
            "visible": false,
            "visibility_note": "not visible from this location",
            "contacts": null,
            "sutak": {
             "applies": false,
             "note": "Sutak is observed only where the eclipse is visible"
            },
            "local_date": "2027-02-06"
           }
          },
          {
           "kind": "lunar",
           "type": "penumbral",
           "peak_jd": 2461457.467278,
           "peak_utc": "2027-02-20T23:12:52Z",
           "nakshatra_index": 9,
           "nakshatra": "Magha",
           "visible_from_india": true,
           "local": {
            "visible": true,
            "visibility_note": "penumbral (upachchaya) eclipse — visible but no sutak is observed",
            "contacts": [
             {
              "phase": "penumbral_begin",
              "jd": 2461457.383596,
              "local": "2027-02-21 02:42"
             },
             {
              "phase": "madhya",
              "jd": 2461457.467278,
              "local": "2027-02-21 04:42"
             }
            ],
            "sutak": {
             "applies": false,
             "note": "No sutak for a penumbral (upachchaya) lunar eclipse"
            },
            "local_date": "2027-02-21"
           }
          }
         ]
        }
       }
      }
     }
    },
    "description": "Pass lat/lon (and tz) to get, per eclipse, the `local` block a panchang prints: contact times sparsha / sammilana / madhya / unmilana / moksha in local time, visibility at that place, magnitude and obscuration (solar), and the sutak period (12 h before sparsha for solar, 9 h for lunar, ending at moksha; not observed for penumbral eclipses or where the eclipse is not visible)."
   }
  },
  "/v1/eclipses/lunar": {
   "get": {
    "summary": "Next lunar eclipse after a date (20 credits)",
    "operationId": "eclipsesLunar",
    "tags": [
     "eclipses"
    ],
    "parameters": [
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "First date of the range (YYYY-MM-DD)."
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-12-31"
      },
      "description": "Last date of the range (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "start_date": "2027-01-01",
         "end_date": "2027-12-31",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": ""
         },
         "eclipses": [
          {
           "kind": "lunar",
           "type": "penumbral",
           "peak_jd": 2461457.467278,
           "peak_utc": "2027-02-20T23:12:52Z",
           "nakshatra_index": 9,
           "nakshatra": "Magha",
           "visible_from_india": true,
           "local": {
            "visible": true,
            "visibility_note": "penumbral (upachchaya) eclipse — visible but no sutak is observed",
            "contacts": [
             {
              "phase": "penumbral_begin",
              "jd": 2461457.383596,
              "local": "2027-02-21 02:42"
             },
             {
              "phase": "madhya",
              "jd": 2461457.467278,
              "local": "2027-02-21 04:42"
             }
            ],
            "sutak": {
             "applies": false,
             "note": "No sutak for a penumbral (upachchaya) lunar eclipse"
            },
            "local_date": "2027-02-21"
           }
          },
          {
           "kind": "lunar",
           "type": "penumbral",
           "peak_jd": 2461605.168755,
           "peak_utc": "2027-07-18T16:03:00Z",
           "nakshatra_index": 20,
           "nakshatra": "Uttara Ashadha",
           "visible_from_india": true,
           "local": {
            "visible": true,
            "visibility_note": "penumbral (upachchaya) eclipse — visible but no sutak is observed",
            "contacts": [
             {
              "phase": "penumbral_begin",
              "jd": 2461605.164205,
              "local": "2027-07-18 21:26"
             },
             {
              "phase": "madhya",
              "jd": 2461605.168755,
              "local": "2027-07-18 21:33"
             }
            ],
            "sutak": {
             "applies": false,
             "note": "No sutak for a penumbral (upachchaya) lunar eclipse"
            },
            "local_date": "2027-07-18"
           }
          }
         ]
        }
       }
      }
     }
    },
    "description": "Pass lat/lon (and tz) to get, per eclipse, the `local` block a panchang prints: contact times sparsha / sammilana / madhya / unmilana / moksha in local time, visibility at that place, magnitude and obscuration (solar), and the sutak period (12 h before sparsha for solar, 9 h for lunar, ending at moksha; not observed for penumbral eclipses or where the eclipse is not visible)."
   }
  },
  "/v1/eclipses/solar": {
   "get": {
    "summary": "Next solar eclipse after a date (20 credits)",
    "operationId": "eclipsesSolar",
    "tags": [
     "eclipses"
    ],
    "parameters": [
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "First date of the range (YYYY-MM-DD)."
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-12-31"
      },
      "description": "Last date of the range (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "start_date": "2027-01-01",
         "end_date": "2027-12-31",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": ""
         },
         "eclipses": [
          {
           "kind": "solar",
           "type": "annular",
           "peak_jd": 2461443.166422,
           "peak_utc": "2027-02-06T15:59:38Z",
           "nakshatra_index": 22,
           "nakshatra": "Dhanishta",
           "visible_from_india": false,
           "local": {
            "visible": false,
            "visibility_note": "not visible from this location",
            "contacts": null,
            "sutak": {
             "applies": false,
             "note": "Sutak is observed only where the eclipse is visible"
            },
            "local_date": "2027-02-06"
           }
          },
          {
           "kind": "solar",
           "type": "total",
           "peak_jd": 2461619.921312,
           "peak_utc": "2027-08-02T10:06:41Z",
           "nakshatra_index": 7,
           "nakshatra": "Pushya",
           "visible_from_india": true,
           "local": {
            "visible": true,
            "visibility_note": "visible from this location",
            "contacts": [
             {
              "phase": "sparsha",
              "jd": 2461619.93315,
              "local": "2027-08-02 15:53"
             },
             {
              "phase": "madhya",
              "jd": 2461619.957884,
              "local": "2027-08-02 16:29"
             }
            ],
            "obscuration": 0.082595,
            "magnitude": 0.168842,
            "sutak": {
             "applies": true,
             "start_local": "2027-08-02 03:53",
             "end_local": "2027-08-02 17:02",
             "note": "Surya grahan sutak begins 12 hours (4 prahar) before sparsha and ends at moksha"
            },
            "local_date": "2027-08-02"
           }
          }
         ]
        }
       }
      }
     }
    },
    "description": "Pass lat/lon (and tz) to get, per eclipse, the `local` block a panchang prints: contact times sparsha / sammilana / madhya / unmilana / moksha in local time, visibility at that place, magnitude and obscuration (solar), and the sutak period (12 h before sparsha for solar, 9 h for lunar, ending at moksha; not observed for penumbral eclipses or where the eclipse is not visible)."
   }
  },
  "/v1/festivals/month": {
   "get": {
    "summary": "Full Hindu calendar for a month: festivals, vrats, Ekadashi, Pradosh, Purnima, Amavasya, Sankranti, jayanti, eclipses (20 credits)",
    "operationId": "festivalsMonth",
    "tags": [
     "festivals"
    ],
    "parameters": [
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "name": "month",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 12,
       "example": 4
      }
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/festival_locale"
     },
     {
      "$ref": "#/components/parameters/festival_month_system"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "year": {
           "type": "integer"
          },
          "month": {
           "type": "integer"
          },
          "ayanamsa": {
           "type": "string"
          },
          "location": {
           "type": "object",
           "properties": {
            "lat": {
             "type": "number"
            },
            "lon": {
             "type": "number"
            },
            "tz": {
             "type": "string"
            },
            "month_system": {
             "type": "string"
            }
           }
          },
          "festivals": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/FestivalOccurrence"
           }
          }
         }
        },
        "example": {
         "year": 2027,
         "month": 10,
         "ayanamsa": "lahiri",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": "purnimanta"
         },
         "festivals": [
          {
           "date": "2027-10-01",
           "name": "Chandra Darshana",
           "name_en": "Chandra Darshana",
           "name_hi": "चन्द्र दर्शन",
           "type": "tithi",
           "importance": "minor",
           "tithi": "Dwitiya",
           "paksha": "Shukla",
           "tithi_index": 2,
           "hindu_month": "Ashwin",
           "hindu_month_purnimanta": "Ashwin",
           "hindu_month_amanta": "Ashwin",
           "vrat_type": "chandra_darshana",
           "observance": "sunset",
           "windows": [
            {
             "label": "darshana",
             "start": "18:08",
             "end": "18:41"
            }
           ]
          },
          {
           "date": "2027-10-02",
           "name": "Gandhi Jayanti",
           "name_en": "Gandhi Jayanti",
           "name_hi": "गांधी जयन्ती",
           "type": "jayanti",
           "importance": "major",
           "observance": "sunrise"
          }
         ]
        }
       }
      }
     }
    },
    "description": "Full Hindu calendar for the month at the given location: every named Ekadashi (smarta, with Vaishnava/Gauna days when they differ, plus parana window), Pradosh Vrat by weekday, Sankashti and Vinayaka Chaturthi with monthly names, every Purnima and Amavasya by purnimanta month (Somavati/Shani/Darsha/Anvadhan/Ishti), Chandra Darshana, Masik Shivaratri, Durgashtami, Kalashtami, Skanda Shashthi, Bhanu Saptami, all 12 Sankrantis, major and regional festivals and jayantis on lunar dates, fixed-date jayantis and national days, and solar/lunar eclipses. Observance times follow the classical rules (udaya tithi by default; pradosh, nishita, moonrise, aparahna, madhyahna where the vrat demands) and are validated against printed panchang calendars. Regional coverage: Tamil solar-month observances (Karthigai Deepam, Thai Poosam, Panguni Uthiram, Masi Magam, Aadi Perukku, Vaikunta Ekadashi, Bhogi/Pongal/Kanuma), Kerala (Thiruvonam with Uthradam/Avittam, Vishu, Mandala Kalam), Maharashtra (Gauri Avahan/Visarjan, Shravan Somwar, Mangala Gauri, Bail Pola), Telugu/Kannada (Atla Tadde, Nagula Chavithi, Bathukamma), Bengal/Odisha/Assam (Maha Shashthi/Saptami, Kali Puja, Jagaddhatri, Poush Sankranti, Bihu), Gujarat (Bestu Varas, Uttarayan), Punjab (Lohri)."
   }
  },
  "/v1/festivals/on-date": {
   "get": {
    "summary": "Festivals, vrats and observances on one civil date (10 credits)",
    "operationId": "festivalsOnDate",
    "tags": [
     "festivals"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/festival_locale"
     },
     {
      "$ref": "#/components/parameters/festival_month_system"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "date": {
           "type": "string"
          },
          "ayanamsa": {
           "type": "string"
          },
          "location": {
           "type": "object",
           "properties": {
            "lat": {
             "type": "number"
            },
            "lon": {
             "type": "number"
            },
            "tz": {
             "type": "string"
            },
            "month_system": {
             "type": "string"
            }
           }
          },
          "festivals": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/FestivalOccurrence"
           }
          }
         }
        },
        "example": {
         "date": "2027-10-29",
         "ayanamsa": "lahiri",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": "purnimanta"
         },
         "festivals": [
          {
           "date": "2027-10-29",
           "name": "Diwali",
           "name_en": "Diwali",
           "name_hi": "दीवाली",
           "type": "tithi",
           "importance": "major",
           "tithi": "Amavasya",
           "paksha": "Krishna",
           "tithi_index": 30,
           "hindu_month": "Kartik",
           "hindu_month_purnimanta": "Kartik",
           "hindu_month_amanta": "Ashwin",
           "observance": "pradosh_overlap",
           "windows": [
            {
             "label": "pradosh_kaal",
             "start": "17:39",
             "end": "19:15"
            },
            {
             "label": "tithi",
             "start": "20:49",
             "end": "19:07"
            }
           ]
          },
          {
           "date": "2027-10-29",
           "name": "Lakshmi Puja",
           "name_en": "Lakshmi Puja",
           "name_hi": "लक्ष्मी पूजा",
           "type": "tithi",
           "importance": "major",
           "tithi": "Amavasya",
           "paksha": "Krishna",
           "tithi_index": 30,
           "hindu_month": "Kartik",
           "hindu_month_purnimanta": "Kartik",
           "hindu_month_amanta": "Ashwin",
           "observance": "pradosh_overlap",
           "windows": [
            {
             "label": "pradosh_kaal",
             "start": "17:39",
             "end": "19:15"
            },
            {
             "label": "tithi",
             "start": "20:49",
             "end": "19:07"
            }
           ]
          }
         ]
        }
       }
      }
     }
    },
    "description": "Same engine and fields as /v1/festivals/month, filtered to a single civil date at the given location."
   }
  },
  "/v1/festivals/vrat": {
   "get": {
    "summary": "Year-wise vrat & upavas dates by type — all Ekadashi / Pradosh / Sankashti / Purnima / Amavasya / Shraddha … of a year (30 credits)",
    "operationId": "festivalsVrat",
    "tags": [
     "festivals"
    ],
    "description": "The printed-panchang-style 'Vrat & Upavas' lists: every occurrence of one observance family in a year at a location. type is one or more (comma-separated) of: ekadashi (smarta + Vaishnava/Gauna with parana windows), parana (Dwadashi parana days), pradosh (named by weekday), sankashti (monthly names, Angarki), vinayaka, purnima, amavasya (Somavati/Shani/Darsha/Anvadhan/Ishti), chandra_darshana, masik_shivaratri, durgashtami, kalashtami, skanda_shashthi, karthigai (Masik Karthigai), shraddha (all 16 Pitru Paksha tithis incl. Bharani, Matri Navami, Magha, Sarva Pitru), janmashtami (Smarta and ISKCON days), sankranti, satyanarayana, bhanu_saptami, eclipse. Same occurrence objects as /v1/festivals/month.",
    "parameters": [
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2027
      }
     },
     {
      "name": "type",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "ekadashi"
      }
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "description": "Observer latitude. Festival dates depend on local sunrise, sunset and moonrise; defaults to New Delhi (28.6353) when omitted.",
      "schema": {
       "type": "number",
       "example": 28.6353
      }
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "description": "Observer longitude. Defaults to New Delhi (77.2250) when omitted.",
      "schema": {
       "type": "number",
       "example": 77.225
      }
     },
     {
      "$ref": "#/components/parameters/festival_locale"
     },
     {
      "$ref": "#/components/parameters/festival_month_system"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "year": {
           "type": "integer"
          },
          "type": {
           "type": "string"
          },
          "ayanamsa": {
           "type": "string"
          },
          "count": {
           "type": "integer"
          },
          "location": {
           "type": "object",
           "properties": {
            "lat": {
             "type": "number"
            },
            "lon": {
             "type": "number"
            },
            "tz": {
             "type": "string"
            },
            "month_system": {
             "type": "string"
            }
           }
          },
          "dates": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/FestivalOccurrence"
           }
          }
         }
        },
        "example": {
         "year": 2027,
         "type": "ekadashi",
         "ayanamsa": "lahiri",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "tz": "Asia/Kolkata",
          "month_system": "purnimanta"
         },
         "count": 30,
         "dates": [
          {
           "date": "2027-01-03",
           "name": "Saphala Ekadashi",
           "name_en": "Saphala Ekadashi",
           "name_hi": "सफला एकादशी",
           "type": "vrat",
           "importance": "major",
           "tithi": "Ekadashi",
           "paksha": "Krishna",
           "tithi_index": 26,
           "hindu_month": "Pausha",
           "hindu_month_purnimanta": "Pausha",
           "hindu_month_amanta": "Margashirsha",
           "vrat_type": "ekadashi",
           "observance": "sunrise",
           "windows": [
            {
             "label": "tithi",
             "start": "14:25",
             "end": "16:09"
            },
            {
             "label": "parana",
             "start": "07:14",
             "end": "10:42"
            }
           ],
           "note": "smarta and vaishnava on the same day"
          },
          {
           "date": "2027-01-18",
           "name": "Pausha Putrada Ekadashi",
           "name_en": "Pausha Putrada Ekadashi",
           "name_hi": "पौष पुत्रदा एकादशी",
           "type": "vrat",
           "importance": "major",
           "tithi": "Ekadashi",
           "paksha": "Shukla",
           "tithi_index": 11,
           "hindu_month": "Pausha",
           "hindu_month_purnimanta": "Pausha",
           "hindu_month_amanta": "Pausha",
           "vrat_type": "ekadashi",
           "observance": "sunrise",
           "windows": [
            {
             "label": "tithi",
             "start": "10:28",
             "end": "07:50"
            },
            {
             "label": "parana",
             "start": "14:18",
             "end": "17:50"
            }
           ],
           "note": "smarta"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/geo/place/{id}": {
   "get": {
    "summary": "Place details by GeoNames ID (0 credits)",
    "operationId": "geoPlace",
    "tags": [
     "geo"
    ],
    "description": "Place details by GeoNames ID. Costs 0 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "country_code": "IN",
         "district": "",
         "label": "Mumbai, Maharashtra, IN",
         "latitude": 19.07283,
         "longitude": 72.88261,
         "name": "Mumbai",
         "place_id": 1275339,
         "state": "Maharashtra",
         "timezone": "Asia/Kolkata"
        }
       }
      }
     }
    }
   }
  },
  "/v1/geo/reverse": {
   "get": {
    "summary": "Reverse geocoding — nearest place name + IANA timezone for a lat/lon (0 credits)",
    "operationId": "geoReverse",
    "tags": [
     "geo"
    ],
    "description": "Reverse geocoding — nearest place name + IANA timezone for a lat/lon. Costs 0 credits per call.",
    "parameters": [
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2"
      }
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "count": 2,
         "input_lat": 19.076,
         "input_lon": 72.8777,
         "results": [
          {
           "place_id": 1275339,
           "name": "Mumbai",
           "label": "Mumbai, Maharashtra, IN",
           "country_code": "IN",
           "state": "Maharashtra",
           "latitude": 19.07283,
           "longitude": 72.88261,
           "timezone": "Asia/Kolkata"
          },
          {
           "place_id": 1265495,
           "name": "Kurla",
           "label": "Kurla, Maharashtra, IN",
           "country_code": "IN",
           "state": "Maharashtra",
           "district": "Mumbai Suburban",
           "latitude": 19.07128,
           "longitude": 72.88304,
           "timezone": "Asia/Kolkata"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/geo/search": {
   "get": {
    "summary": "City/place search — returns lat, lon, IANA timezone. Use before any chart endpoint (0 credits)",
    "operationId": "geoSearch",
    "tags": [
     "geo"
    ],
    "description": "City/place search — returns lat, lon, IANA timezone. Use before any chart endpoint. Costs 0 credits per call.",
    "parameters": [
     {
      "name": "q",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mumbai"
      }
     },
     {
      "name": "limit",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "count": 2,
         "query": "Mumbai",
         "results": [
          {
           "place_id": 9747998,
           "name": "Mumbai",
           "label": "Mumbai, Maharashtra, IN",
           "country_code": "IN",
           "state": "Maharashtra",
           "district": "Mumbai",
           "latitude": 18.95963,
           "longitude": 72.84962,
           "timezone": "Asia/Kolkata"
          },
          {
           "place_id": 1275339,
           "name": "Mumbai",
           "label": "Mumbai, Maharashtra, IN",
           "country_code": "IN",
           "state": "Maharashtra",
           "latitude": 19.07283,
           "longitude": 72.88261,
           "timezone": "Asia/Kolkata"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/geo/timezone": {
   "get": {
    "summary": "Timezone lookup by lat/lon — returns IANA timezone ID + UTC offset (0 credits)",
    "operationId": "geoTimezone",
    "tags": [
     "geo"
    ],
    "description": "Timezone lookup by lat/lon — returns IANA timezone ID + UTC offset. Costs 0 credits per call.",
    "parameters": [
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "latitude": 19.076,
         "longitude": 72.8777,
         "timezone_id": "Asia/Kolkata"
        }
       }
      }
     }
    }
   }
  },
  "/v1/horoscope/daily": {
   "get": {
    "summary": "Daily Vedic rashi horoscope. Use ?rashi= with the Moon-sign name (10 credits)",
    "operationId": "horoscopeDaily",
    "tags": [
     "horoscope"
    ],
    "description": "Daily Vedic rashi horoscope. Use ?rashi= with the Moon-sign name. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "rashi",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mesha"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi": "Aries",
         "rashi_id": "mesha",
         "rashi_label": "Aries",
         "period": "daily",
         "period_key": "2027-01-15",
         "language": "en",
         "headline": "Jupiter transits Leo — favorable indications for today",
         "slow_movers": [
          {
           "planet": "Jupiter",
           "planet_id": "jupiter",
           "current_sign": "Leo",
           "sign_index": 4,
           "heading": "Jupiter's day for Moon in Aries: luck and teachers",
           "body": "On a day when Jupiter is in focus, you feel hopeful and generous, with a wish to grow. For an Aries Moon, Jupiter rules your 9th and 12th houses, counted from your Moon, so it highlights luck, your father, teachers and long journeys as well as expenses, sleep, foreign matters …"
          },
          {
           "planet": "Saturn",
           "planet_id": "saturn",
           "current_sign": "Pisces",
           "sign_index": 11,
           "heading": "Saturn's day for Moon in Aries: career and status",
           "body": "On a day when Saturn is in focus, you feel slow, weighed down and dutiful. For an Aries Moon, Saturn rules your 10th and 11th houses, counted from your Moon, so it highlights career, status and your public name as well as income, gains and friends first.\n\nSaturn rules houses t…"
          }
         ],
         "lucky": {
          "color": "Red",
          "number": 9,
          "direction": "South",
          "time": "05:24-06:36"
         },
         "meta": {
          "generated_at": "2026-11-15T05:49:57.45304Z",
          "cache_ttl_seconds": 86400,
          "source": "composed:iter_095+panchang+lucky"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/horoscope/monthly": {
   "get": {
    "summary": "Monthly Vedic rashi horoscope (40 credits)",
    "operationId": "horoscopeMonthly",
    "tags": [
     "horoscope"
    ],
    "description": "Monthly Vedic rashi horoscope. Costs 40 credits per call.",
    "parameters": [
     {
      "name": "rashi",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mesha"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "month",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi": "Aries",
         "rashi_id": "mesha",
         "rashi_label": "Aries",
         "period": "monthly",
         "period_key": "2027-01",
         "language": "en",
         "headline": "Jupiter transits Leo — favorable indications for this month",
         "slow_movers": [
          {
           "planet": "Jupiter",
           "planet_id": "jupiter",
           "current_sign": "Leo",
           "sign_index": 4,
           "heading": "Jupiter's day for Moon in Aries: luck and teachers",
           "body": "On a day when Jupiter is in focus, you feel hopeful and generous, with a wish to grow. For an Aries Moon, Jupiter rules your 9th and 12th houses, counted from your Moon, so it highlights luck, your father, teachers and long journeys as well as expenses, sleep, foreign matters …"
          },
          {
           "planet": "Saturn",
           "planet_id": "saturn",
           "current_sign": "Pisces",
           "sign_index": 11,
           "heading": "Saturn's day for Moon in Aries: career and status",
           "body": "On a day when Saturn is in focus, you feel slow, weighed down and dutiful. For an Aries Moon, Saturn rules your 10th and 11th houses, counted from your Moon, so it highlights career, status and your public name as well as income, gains and friends first.\n\nSaturn rules houses t…"
          }
         ],
         "meta": {
          "generated_at": "2026-11-15T05:49:57.452107Z",
          "cache_ttl_seconds": 2592000,
          "source": "composed:iter_095+panchang+lucky"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/horoscope/weekly": {
   "get": {
    "summary": "Weekly Vedic rashi horoscope (20 credits)",
    "operationId": "horoscopeWeekly",
    "tags": [
     "horoscope"
    ],
    "description": "Weekly Vedic rashi horoscope. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "rashi",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mesha"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "week",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-W03"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi": "Aries",
         "rashi_id": "mesha",
         "rashi_label": "Aries",
         "period": "weekly",
         "period_key": "2027-W03",
         "language": "en",
         "headline": "Jupiter transits Leo — favorable indications for this week",
         "slow_movers": [
          {
           "planet": "Jupiter",
           "planet_id": "jupiter",
           "current_sign": "Leo",
           "sign_index": 4,
           "heading": "Jupiter's day for Moon in Aries: luck and teachers",
           "body": "On a day when Jupiter is in focus, you feel hopeful and generous, with a wish to grow. For an Aries Moon, Jupiter rules your 9th and 12th houses, counted from your Moon, so it highlights luck, your father, teachers and long journeys as well as expenses, sleep, foreign matters …"
          },
          {
           "planet": "Saturn",
           "planet_id": "saturn",
           "current_sign": "Pisces",
           "sign_index": 11,
           "heading": "Saturn's day for Moon in Aries: career and status",
           "body": "On a day when Saturn is in focus, you feel slow, weighed down and dutiful. For an Aries Moon, Saturn rules your 10th and 11th houses, counted from your Moon, so it highlights career, status and your public name as well as income, gains and friends first.\n\nSaturn rules houses t…"
          }
         ],
         "meta": {
          "generated_at": "2026-11-15T05:49:57.453101Z",
          "cache_ttl_seconds": 604800,
          "source": "composed:iter_095+panchang+lucky"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/lalkitab/chart": {
   "get": {
    "summary": "Lal Kitab chart (planets mapped to Aries-based houses from Lagna) (10 credits)",
    "operationId": "lalkitabChart",
    "tags": [
     "lalkitab"
    ],
    "description": "Lal Kitab chart (planets mapped to Aries-based houses from Lagna). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "system": "lal_kitab",
         "chart": {
          "lagna_house": 1,
          "lagna_sign": "Aquarius",
          "planets": [
           {
            "name": "Sun",
            "house": 12,
            "sign": "Pisces",
            "is_retro": false,
            "is_soyaa": false
           },
           {
            "name": "Moon",
            "house": 7,
            "sign": "Libra",
            "is_retro": false,
            "is_soyaa": false
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/lalkitab/dasha": {
   "get": {
    "summary": "35-year Lal Kitab dasha schedule (10 credits)",
    "operationId": "lalkitabDasha",
    "tags": [
     "lalkitab"
    ],
    "description": "35-year Lal Kitab dasha schedule. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "system": "lal_kitab",
         "cycle_years": 35,
         "maha_dasha": [
          {
           "lord": "Saturn",
           "years": 6,
           "start_date": "1990-01-15",
           "end_date": "1996-01-15"
          },
          {
           "lord": "Rahu",
           "years": 6,
           "start_date": "1996-01-15",
           "end_date": "2002-01-15"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/lalkitab/dasha/current": {
   "get": {
    "summary": "Currently active Lal Kitab dasha at query date (10 credits)",
    "operationId": "lalkitabDashaCurrent",
    "tags": [
     "lalkitab"
    ],
    "description": "Currently active Lal Kitab dasha at query date. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "house_system": "whole_sign",
         "system": "lal_kitab",
         "at_date": "2026-11-15",
         "current": {
          "lord": "Saturn",
          "years": 6,
          "start_date": "2025-01-15",
          "end_date": "2031-01-15"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/meta/ayanamsas": {
   "get": {
    "summary": "List supported ayanamsa names",
    "operationId": "metaAyanamsas",
    "security": [],
    "tags": [
     "meta"
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2447906.708333,
         "ayanamsas": [
          {
           "name": "lahiri",
           "value_deg": 23.71795,
           "is_default": true
          },
          {
           "name": "raman",
           "value_deg": 22.27165
          }
         ]
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ]
   }
  },
  "/v1/meta/endpoints": {
   "get": {
    "summary": "List all registered API endpoints",
    "operationId": "metaEndpoints",
    "security": [],
    "tags": [
     "meta"
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "routes": [
          {
           "path": "/healthz",
           "method": "GET",
           "group": "health",
           "cost": 0,
           "auth": "public"
          },
          {
           "path": "/readyz",
           "method": "GET",
           "group": "health",
           "cost": 0,
           "auth": "public"
          }
         ],
         "total_routes": 324,
         "milestone": 1
        }
       }
      }
     }
    },
    "parameters": []
   }
  },
  "/v1/meta/vedic/doshas": {
   "get": {
    "summary": "Catalog of all detectable doshas with IDs — use with /v1/vedic/narrative/dosha/{id} (0 credits)",
    "operationId": "metaVedicDoshas",
    "tags": [
     "meta"
    ],
    "description": "Catalog of all detectable doshas with IDs — use with /v1/vedic/narrative/dosha/{id}. Costs 0 credits per call.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "items": [
          {
           "id": "kaalsarp",
           "label": "Kaal Sarp Dosha (12 sub-types) — modern post-classical; not in //",
           "domains": [
            "career",
            "swasthya"
           ],
           "grahas": [
            "ketu",
            "rahu"
           ]
          },
          {
           "id": "kaalsarp.Anant",
           "label": "Anant Kaal Sarp",
           "domains": [
            "career",
            "swasthya"
           ],
           "grahas": [
            "ketu",
            "rahu"
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/meta/vedic/locales": {
   "get": {
    "summary": "Supported narrative locales (en + 9 Indian languages) (0 credits)",
    "operationId": "metaVedicLocales",
    "tags": [
     "meta"
    ],
    "description": "Supported narrative locales (en + 9 Indian languages). Costs 0 credits per call.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "items": [
          {
           "id": "en",
           "label": "English",
           "rules": 9179,
           "total_rules": 9179,
           "coverage_percent": 100,
           "complete_percent": 33.7,
           "available": true
          },
          {
           "id": "hi",
           "label": "हिन्दी",
           "rules": 9179,
           "total_rules": 9179,
           "coverage_percent": 100,
           "complete_percent": 33.7,
           "available": true
          }
         ],
         "source": "corpus"
        }
       }
      }
     }
    }
   }
  },
  "/v1/meta/vedic/narrative-axes": {
   "get": {
    "summary": "List of every narrative axis (lagna, doshas, yogas, dasha-phal, …) (0 credits)",
    "operationId": "metaVedicNarrativeAxes",
    "tags": [
     "meta"
    ],
    "description": "List of every narrative axis (lagna, doshas, yogas, dasha-phal, …). Costs 0 credits per call.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "items": [
          {
           "id": "locale",
           "label": "BCP-47 locale (e.g. en, hi, ta)"
          },
          {
           "id": "region",
           "label": "Regional pack — north | south | both"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/meta/vedic/yogas": {
   "get": {
    "summary": "Catalog of all detectable yogas with IDs — use with /v1/vedic/narrative/yoga/{id} (0 credits)",
    "operationId": "metaVedicYogas",
    "tags": [
     "meta"
    ],
    "description": "Catalog of all detectable yogas with IDs — use with /v1/vedic/narrative/yoga/{id}. Costs 0 credits per call.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "items": [
          {
           "id": "ruchaka",
           "label": "Ruchaka — Mars in own/exalted + kendra",
           "domains": [
            "career",
            "swasthya"
           ],
           "grahas": [
            "mars"
           ]
          },
          {
           "id": "bhadra",
           "label": "Bhadra — Mercury in own/exalted + kendra",
           "domains": [
            "career",
            "shiksha"
           ],
           "grahas": [
            "mercury"
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/meta/version": {
   "get": {
    "summary": "API version and build info",
    "operationId": "metaVersion",
    "security": [],
    "tags": [
     "meta"
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "swisseph_version": "2.10.03",
         "build_commit": "dev",
         "phase": "phase6",
         "milestone": 1,
         "total_routes": 324,
         "go_version": "go1.26.2",
         "server_time_utc": "2026-11-15T06:25:43Z"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ]
   }
  },
  "/v1/milan/ashtakoota": {
   "get": {
    "summary": "Full Ashtakoota compatibility — all 8 kootas (30 credits)",
    "operationId": "milanAshtakoota",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "total": 8.5,
         "max": 36,
         "kootas": {
          "bhakoot": {
           "score": 0,
           "max": 7,
           "details": {
            "distance": 2,
            "dosha": true
           }
          },
          "gana": {
           "score": 0,
           "max": 6,
           "details": {
            "boy": "Manushya",
            "girl": "Rakshasa"
           }
          },
          "graha_maitri": {
           "score": 4,
           "max": 5,
           "details": {
            "boy_lord": "Sun",
            "girl_lord": "Mercury",
            "relationship": "neutral",
            "relationship_girl_to_boy": "friend"
           }
          },
          "nadi": {
           "score": 0,
           "max": 8,
           "details": {
            "boy": "Madhya",
            "dosha": true,
            "girl": "Madhya"
           }
          },
          "tara": {
           "score": 1.5,
           "max": 3,
           "details": {
            "cycle_position": 4,
            "cycle_position_girl_to_boy": 7,
            "distance_nakshatras": 3,
            "distance_nakshatras_girl_to_boy": 24
           }
          },
          "varna": {
           "score": 1,
           "max": 1,
           "details": {
            "boy": "Kshatriya",
            "girl": "Vaishya"
           }
          },
          "vashya": {
           "score": 0,
           "max": 2,
           "details": {
            "boy": "Vanchar",
            "girl": "Manushya"
           }
          },
          "yoni": {
           "score": 2,
           "max": 4,
           "details": {
            "boy": "Mushaka",
            "girl": "Vyaghra"
           }
          }
         },
         "verdict": "poor"
        }
       }
      }
     }
    },
    "description": "All 8 kootas with score, max and details, the total out of 36 and a verdict. Tara and Graha Maitri are scored both ways. Tara: the nakshatra count from the boy's star to the girl's and from the girl's to the boy's, each reduced by 9; remainders 3, 5 and 7 are inauspicious and each auspicious direction gives 1.5, so the score is 1.5 or 3 (details carry both directions). Graha Maitri: the natural relationship of each Moon-sign lord toward the other, scored friend/friend or same lord 5, friend/neutral 4, neutral/neutral 3, friend/enemy 1, neutral/enemy 0.5, enemy/enemy 0 (details.relationship is boy to girl, details.relationship_girl_to_boy the reverse)."
   }
  },
  "/v1/milan/ashtakoota/{koota}": {
   "get": {
    "summary": "Single koota score (10 credits)",
    "operationId": "milanAshtakootaKoota",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "koota",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "varna",
        "vashya",
        "tara",
        "yoni",
        "graha-maitri",
        "gana",
        "bhakoot",
        "nadi"
       ]
      }
     },
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "koota": "varna",
         "result": {
          "score": 1,
          "max": 1,
          "details": {
           "boy": "Kshatriya",
           "girl": "Vaishya"
          }
         }
        }
       }
      }
     }
    },
    "description": "One koota from /v1/milan/ashtakoota. Tara (1.5 or 3) and Graha Maitri (5, 4, 3, 1, 0.5 or 0) are scored both ways, boy to girl and girl to boy."
   }
  },
  "/v1/milan/ashtakoota/total": {
   "get": {
    "summary": "Ashtakoota total score only (10 credits)",
    "operationId": "milanAshtakootaTotal",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "total": 8.5,
         "max": 36,
         "verdict": "poor"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/dasha-sync": {
   "get": {
    "summary": "Dasha synchronisation check for a couple (20 credits)",
    "operationId": "milanDashaSync",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "timeline",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean"
      },
      "description": "Add the aligned MD/AD timeline of both partners. Default false."
     },
     {
      "name": "years",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "example": 10,
       "minimum": 1,
       "maximum": 30
      },
      "description": "Timeline span in calendar years. Default 10, max 30."
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-11-02"
      },
      "description": "Timeline start YYYY-MM-DD (local midnight in tz). Defaults to the date= moment, else now."
     },
     {
      "name": "marriage_windows",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean"
      },
      "description": "Add the D-MarriageWindows1 tag to every timeline interval (implies timeline=true; needs boy.lat/lon and girl.lat/lon). Default false."
     },
     {
      "name": "boy.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Boy's birth place latitude (required with marriage_windows=true)."
     },
     {
      "name": "boy.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Boy's birth place longitude (required with marriage_windows=true)."
     },
     {
      "name": "girl.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 28.6139
      },
      "description": "Girl's birth place latitude (required with marriage_windows=true)."
     },
     {
      "name": "girl.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 77.209
      },
      "description": "Girl's birth place longitude (required with marriage_windows=true)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "boy_current_md": "Rahu",
         "girl_current_md": "Jupiter",
         "boy_md_end_jd": 2466464.719622,
         "girl_md_end_jd": 2463509.559176,
         "overlap": true,
         "note": "MDs overlap if their windows intersect at the current moment",
         "timeline": {
          "system": "vimshottari",
          "tz": "Asia/Kolkata",
          "from_local": "2027-01-15T00:00:00+05:30",
          "from_jd": 2461420.270833,
          "to_local": "2030-01-15T00:00:00+05:30",
          "to_jd": 2462516.270833,
          "years": 3,
          "marriage_rule": "D-MarriageWindows1",
          "intervals": [
           {
            "start_local": "2027-01-15T00:00:00+05:30",
            "start_jd": 2461420.270833,
            "end_local": "2027-04-17T14:07:13+05:30",
            "end_jd": 2461512.859176,
            "boy": {
             "md": "rahu",
             "ad": "jupiter",
             "ad_start_local": "2025-07-20T02:58:15+05:30",
             "ad_start_jd": 2460876.394622,
             "ad_end_local": "2027-12-13T17:22:15+05:30",
             "ad_end_jd": 2461752.994622
            },
            "girl": {
             "md": "jupiter",
             "ad": "venus",
             "ad_start_local": "2024-08-16T14:07:13+05:30",
             "ad_start_jd": 2460538.859176,
             "ad_end_local": "2027-04-17T14:07:13+05:30",
             "ad_end_jd": 2461512.859176
            },
            "tag": {
             "marriage": "favourable",
             "reason": [
              "boy.ad.jupiter",
              "girl.ad_lord_of_7"
             ],
             "boy": "favourable",
             "girl": "favourable"
            }
           },
           {
            "start_local": "2027-04-17T14:07:13+05:30",
            "start_jd": 2461512.859176,
            "end_local": "2027-12-13T17:22:15+05:30",
            "end_jd": 2461752.994622,
            "boy": {
             "md": "rahu",
             "ad": "jupiter",
             "ad_start_local": "2025-07-20T02:58:15+05:30",
             "ad_start_jd": 2460876.394622,
             "ad_end_local": "2027-12-13T17:22:15+05:30",
             "ad_end_jd": 2461752.994622
            },
            "girl": {
             "md": "jupiter",
             "ad": "sun",
             "ad_start_local": "2027-04-17T14:07:13+05:30",
             "ad_start_jd": 2461512.859176,
             "ad_end_local": "2028-02-03T18:55:13+05:30",
             "ad_end_jd": 2461805.059176
            },
            "tag": {
             "marriage": "favourable",
             "reason": [
              "boy.ad.jupiter"
             ],
             "boy": "favourable",
             "girl": "neutral"
            }
           }
          ],
          "skipped": {}
         }
        }
       }
      }
     }
    },
    "description": "Current Vimshottari Mahadasha of both partners and whether they overlap (fields boy_current_md ... note, unchanged). Optional, additive: timeline=true adds timeline: both partners' MD/AD rows on one aligned timeline from `from` (or the date= moment, default now) for years=N (default 10, max 30); each interval is a span where the pair of running Antardashas is constant, with each partner's md, ad (planet ids) and the running AD's start/end (*_local + *_jd). Each partner's Moon (existing fields and timeline) uses the ayanamsa value of that partner's own birth moment (D-MilanAyanamsa1), so MD/AD dates are identical to /v1/dasha/vimshottari for both partners. marriage_windows=true (implies timeline=true; needs boy.lat/lon and girl.lat/lon) adds tag {marriage, reason, boy, girl} per interval by rule D-MarriageWindows1: per partner, AD lord Rahu or Ketu -> avoid (<p>.ad.rahu / <p>.ad.ketu); else AD lord is the 7th lord, Venus or Jupiter, or occupies the 7th house, or aspects it (graha drishti: 7th for all, Mars 4/8, Jupiter 5/9, Saturn 3/10) -> favourable (<p>.ad_lord_of_7, <p>.ad.venus, <p>.ad.jupiter, <p>.ad_in_7, <p>.ad_aspects_7); else AD lord is lord of the 6th, 8th or 12th -> avoid (<p>.ad_lord_of_6 / _8 / _12); else neutral. A lord that is both (e.g. Mars for Taurus lagna: 7th and 12th) is favourable and its dusthana reason ids are still listed. Pair: avoid if either partner is avoid; favourable if both are favourable or one favourable and the other neutral; else neutral. Basis: 7th lord's dasa brings marriage festivities (Phaladeepika 20.8; note BPHS 48.5 lists the 7th lord's dasa as distress to the wife, a maraka reading); 6th, 8th, 12th lords' dasas adverse (BPHS 48.4, 48.5, 48.7); Venus karaka of the 7th house (BPHS 32.34, 18.18). Jupiter for both partners, occupying/aspecting the 7th, and Rahu/Ketu as avoid are marriage-timing conventions (owner decision), not verses. Houses whole-sign from the lagna. Data only; not a muhurta."
   }
  },
  "/v1/milan/dhan-yog": {
   "get": {
    "summary": "Wealth yoga (Dhan Yog) from birth chart (10 credits)",
    "operationId": "milanDhanYog",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "second_lord": "Jupiter",
         "eleventh_lord": "Jupiter",
         "jupiter_house": 5,
         "venus_house": 12,
         "strength": "moderate"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/longevity": {
   "get": {
    "summary": "Longevity (Ayur Bala) from birth chart (10 credits)",
    "operationId": "milanLongevity",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "asc_lord": "Saturn",
         "moons_lord": "Sun",
         "marakas": [
          "Jupiter",
          "Sun"
         ],
         "assessment": "challenging"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/mahendra": {
   "get": {
    "summary": "Mahendra koota check (10 credits)",
    "operationId": "milanMahendra",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "count": 4,
         "auspicious": true,
         "boy_nakshatra": "Purva Phalguni",
         "girl_nakshatra": "Chitra"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/mangal-dosha": {
   "get": {
    "summary": "Mangal Dosha (Mars affliction) check (10 credits)",
    "operationId": "milanMangalDosha",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "has_dosha": true,
         "type": "mild",
         "houses": [
          -4
         ],
         "cancellation": {
          "cancelled": true,
          "reasons": [
           "Mars in own sign"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/nadi-dosha": {
   "get": {
    "summary": "Nadi Dosha check for a couple (10 credits)",
    "operationId": "milanNadiDosha",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "has_dosha": true,
         "boy_nadi": "Madhya",
         "girl_nadi": "Madhya",
         "severity": "high",
         "exceptions_applied": [],
         "health": {
          "DoshaName": "Pitta Nadi Dosha",
          "HealthRisk": "Pitta (bile) related disorders — digestive issues, blood pressure, liver problems",
          "Element": "Pitta (पित्त)"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/navamsa-compat": {
   "get": {
    "summary": "Navamsa compatibility analysis for a couple (20 credits)",
    "operationId": "milanNavamsaCompat",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "person1.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number"
      }
     },
     {
      "name": "person2.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "boy_navamsa_sign": "Libra",
         "girl_navamsa_sign": "Leo",
         "boy_navamsa_lord": "Venus",
         "girl_navamsa_lord": "Sun",
         "compatible": false,
         "note": "Lord relationship: enemy"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/overlay": {
   "get": {
    "summary": "Couple chart overlay: each partner's grahas in the other's houses (20 credits)",
    "operationId": "milanOverlay",
    "tags": [
     "milan"
    ],
    "description": "Generic B2B data endpoint (ids only, no prose). Conventions: planet ids sun..ketu; sign_index is 0-based (Aries=0); houses are 1-based whole-sign; nakshatra_index is 0-based (Ashwini=0); every instant is given as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); skipped lists optional fields that could not be served as {field: reason}. boy = groom (boy.* params), girl = bride (girl.* params). Each partner's chart uses the ayanamsa value of that partner's birth moment, as /v1/chart/*. boy_in_girl: every graha of the boy with its sign_index, the house it falls in counted from the girl's lagna sign, and conjunct = the girl's grahas in the same sign; girl_in_boy is the reverse. same_sign / same_nakshatra: every (boy graha, girl graha) pair in the same sign / nakshatra. moon_sign_relation: boy_to_girl = the girl's Moon sign counted from the boy's (1..12), girl_to_boy the reverse, relation = \"<boy_to_girl>/<girl_to_boy>\" (e.g. \"3/11\"; \"1/1\" same sign). lagna_lord_cross: boy_lagna_lord_in_girl = the girl's own natal placement of the boy's lagna lord (sign_index, house in her chart, dignity as /v1/chart/dignity, is_combust as /v1/chart/combustion, is_retro); girl_lagna_lord_in_boy the reverse.",
    "parameters": [
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy (groom)'s birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy (groom)'s birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy (groom)'s birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "boy.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Boy (groom)'s birth place latitude."
     },
     {
      "name": "boy.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Boy (groom)'s birth place longitude."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl (bride)'s birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl (bride)'s birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl (bride)'s birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 28.6139
      },
      "description": "Girl (bride)'s birth place latitude."
     },
     {
      "name": "girl.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 77.209
      },
      "description": "Girl (bride)'s birth place longitude."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "ayanamsa": "lahiri",
         "conventions": {
          "charts": "each partner's chart uses the ayanamsa value of that partner's birth moment, as /v1/chart/*",
          "house": "1-based whole-sign house",
          "nakshatra_index": "0-based, Ashwini=0 ... Revati=26",
          "partners": "boy = groom (boy.* params), girl = bride (girl.* params)",
          "planet_ids": "sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu",
          "sign_index": "0-based, Aries=0 ... Pisces=11"
         },
         "boy": {
          "lagna_sign_index": 10,
          "lagna_lord": "saturn",
          "moon_sign_index": 4,
          "moon_nakshatra_index": 10,
          "moon_pada": 3
         },
         "girl": {
          "lagna_sign_index": 0,
          "lagna_lord": "mars",
          "moon_sign_index": 5,
          "moon_nakshatra_index": 13,
          "moon_pada": 1
         },
         "boy_in_girl": [
          {
           "planet": "sun",
           "sign_index": 9,
           "house": 10,
           "conjunct": [
            "saturn"
           ]
          },
          {
           "planet": "moon",
           "sign_index": 4,
           "house": 5,
           "conjunct": [
            "jupiter"
           ]
          }
         ],
         "girl_in_boy": [
          {
           "planet": "sun",
           "sign_index": 11,
           "house": 2,
           "conjunct": []
          },
          {
           "planet": "moon",
           "sign_index": 5,
           "house": 8,
           "conjunct": []
          }
         ],
         "same_sign": [
          {
           "boy_planet": "sun",
           "girl_planet": "saturn",
           "sign_index": 9
          },
          {
           "boy_planet": "moon",
           "girl_planet": "jupiter",
           "sign_index": 4
          }
         ],
         "same_nakshatra": [
          {
           "boy_planet": "moon",
           "girl_planet": "jupiter",
           "nakshatra_index": 10
          },
          {
           "boy_planet": "jupiter",
           "girl_planet": "ketu",
           "nakshatra_index": 5
          }
         ],
         "moon_sign_relation": {
          "boy_to_girl": 2,
          "girl_to_boy": 12,
          "relation": "2/12"
         },
         "lagna_lord_cross": {
          "boy_lagna_lord_in_girl": {
           "planet": "saturn",
           "sign_index": 9,
           "house": 10,
           "dignity": "own_sign",
           "is_combust": false,
           "is_retro": false
          },
          "girl_lagna_lord_in_boy": {
           "planet": "mars",
           "sign_index": 7,
           "house": 10,
           "dignity": "own_sign",
           "is_combust": false,
           "is_retro": false
          }
         },
         "skipped": {}
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/santan-yog": {
   "get": {
    "summary": "Children prospect (Santan Yog) from birth chart (10 credits)",
    "operationId": "milanSantanYog",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "jupiter_house": 5,
         "fifth_house_sign": "Gemini",
         "jupiter_aspects_5th": false,
         "score": "strong"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/shani-dosha": {
   "get": {
    "summary": "Shani Dosha (Saturn affliction) check (10 credits)",
    "operationId": "milanShaniDosha",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "has_dosha": false,
         "house": 11,
         "sign_index": 8,
         "mitigated": false
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/stree-dirgha": {
   "get": {
    "summary": "Stree Dirgha (woman's longevity) check (10 credits)",
    "operationId": "milanStreeDirgha",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "count": 25,
         "good": true,
         "boy_nakshatra": "Purva Phalguni",
         "girl_nakshatra": "Chitra"
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/summary": {
   "get": {
    "summary": "Couple matching data bundle in one call (60 credits)",
    "operationId": "milanSummary",
    "tags": [
     "milan"
    ],
    "description": "Generic B2B data endpoint (ids only, no prose). Conventions: planet ids sun..ketu; sign_index is 0-based (Aries=0); houses are 1-based whole-sign; nakshatra_index is 0-based (Ashwini=0); every instant is given as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); skipped lists optional fields that could not be served as {field: reason}. boy = groom (boy.* params), girl = bride (girl.* params). Each partner's chart uses the ayanamsa value of that partner's birth moment, as /v1/chart/*. One bundle whose numbers are identical to the separate routes: ashtakoota = /v1/milan/ashtakoota (with every koota's details); navamsa_compat = /v1/milan/navamsa-compat; mangal_dosha.boy / .girl = the mangal item of /v1/chart/doshas (lagna, moon and venus frames in details, cancelled + cancel_reasons), returned as present:false with the frames when the dosha is absent; mangal_dosha.pair: *_effective = present and not cancelled, status none | both | boy_only | girl_only (data only, no verdict); seventh_house.<partner>: 7th sign and occupants, seventh_lord / venus / jupiter placement (house, sign_index, dignity, is_combust, is_retro), d9_seventh (D9 lagna, 7th sign, lord, occupants as /v1/chart/divisional/D9) and d7_fifth (D7 lagna and 5th house); sade_sati.<partner> = /v1/transit/sade-sati/windows with years=10 (from, tz as there; tz defaults to each partner's birth tz); include=kundli_facts adds kundli_facts.boy / .girl = /v1/chart/kundli-facts with default params (without the echo header). Ashtakoota and navamsa-compat read each partner's Moon with the ayanamsa value of that partner's own birth moment, as every /v1/milan/* route does (D-MilanAyanamsa1).",
    "parameters": [
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy (groom)'s birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy (groom)'s birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy (groom)'s birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "boy.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Boy (groom)'s birth place latitude."
     },
     {
      "name": "boy.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Boy (groom)'s birth place longitude."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl (bride)'s birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl (bride)'s birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl (bride)'s birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 28.6139
      },
      "description": "Girl (bride)'s birth place latitude."
     },
     {
      "name": "girl.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 77.209
      },
      "description": "Girl (bride)'s birth place longitude."
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-11-02"
      },
      "description": "Start of the 10-year Sade Sati range, YYYY-MM-DD (local midnight). Defaults to now."
     },
     {
      "name": "include",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "kundli_facts",
       "enum": [
        "kundli_facts"
       ]
      },
      "description": "Optional: kundli_facts embeds both partners' /v1/chart/kundli-facts."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "ayanamsa": "lahiri",
         "conventions": {
          "charts": "each partner's chart uses the ayanamsa value of that partner's birth moment, as /v1/chart/*",
          "house": "1-based whole-sign house",
          "nakshatra_index": "0-based, Ashwini=0 ... Revati=26",
          "partners": "boy = groom (boy.* params), girl = bride (girl.* params)",
          "planet_ids": "sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu",
          "sign_index": "0-based, Aries=0 ... Pisces=11"
         },
         "boy": {
          "lagna_sign_index": 10,
          "lagna_lord": "saturn",
          "moon_sign_index": 4,
          "moon_nakshatra_index": 10,
          "moon_pada": 3
         },
         "girl": {
          "lagna_sign_index": 0,
          "lagna_lord": "mars",
          "moon_sign_index": 5,
          "moon_nakshatra_index": 13,
          "moon_pada": 1
         },
         "ashtakoota": {
          "total": 8.5,
          "max": 36,
          "kootas": {
           "bhakoot": {
            "score": 0,
            "max": 7,
            "details": {
             "distance": 2,
             "dosha": true
            }
           },
           "gana": {
            "score": 0,
            "max": 6,
            "details": {
             "boy": "Manushya",
             "girl": "Rakshasa"
            }
           },
           "graha_maitri": {
            "score": 4,
            "max": 5,
            "details": {
             "boy_lord": "Sun",
             "girl_lord": "Mercury",
             "relationship": "neutral",
             "relationship_girl_to_boy": "friend"
            }
           },
           "nadi": {
            "score": 0,
            "max": 8,
            "details": {
             "boy": "Madhya",
             "dosha": true,
             "girl": "Madhya"
            }
           },
           "tara": {
            "score": 1.5,
            "max": 3,
            "details": {
             "cycle_position": 4,
             "cycle_position_girl_to_boy": 7,
             "distance_nakshatras": 3,
             "distance_nakshatras_girl_to_boy": 24
            }
           },
           "varna": {
            "score": 1,
            "max": 1,
            "details": {
             "boy": "Kshatriya",
             "girl": "Vaishya"
            }
           },
           "vashya": {
            "score": 0,
            "max": 2,
            "details": {
             "boy": "Vanchar",
             "girl": "Manushya"
            }
           },
           "yoni": {
            "score": 2,
            "max": 4,
            "details": {
             "boy": "Mushaka",
             "girl": "Vyaghra"
            }
           }
          },
          "verdict": "poor"
         },
         "navamsa_compat": {
          "boy_navamsa_sign": "Libra",
          "girl_navamsa_sign": "Leo",
          "boy_navamsa_lord": "Venus",
          "girl_navamsa_lord": "Sun",
          "compatible": false,
          "note": "Lord relationship: enemy"
         },
         "mangal_dosha": {
          "boy": {
           "id": "mangal",
           "kind": "dosha",
           "category": "dosha",
           "present": false,
           "planets": [
            "mars"
           ],
           "houses": [
            10
           ],
           "cancelled": true,
           "cancel_reasons": [
            "mars_own_or_exalted_sign"
           ],
           "sub_ids": [
            "mangal.cancelled_by_own_exaltation"
           ],
           "source": "BPHS Ch.80 v.47; Phaladeepika 6.5",
           "details": {
            "bphs_strict": false,
            "from_lagna": {
             "hit": false,
             "house": 10
            },
            "from_moon": {
             "hit": false,
             "house": 4
            },
            "from_venus": {
             "hit": false,
             "house": 11,
             "informational": true
            },
            "modern_north": false
           }
          },
          "girl": {
           "id": "mangal",
           "kind": "dosha",
           "category": "dosha",
           "present": false,
           "planets": [
            "mars"
           ],
           "houses": [
            11
           ],
           "cancelled": false,
           "cancel_reasons": [],
           "source": "BPHS Ch.80 v.47; Phaladeepika 6.5",
           "details": {
            "bphs_strict": false,
            "from_lagna": {
             "hit": false,
             "house": 11
            },
            "from_moon": {
             "hit": false,
             "house": 6
            },
            "from_venus": {
             "hit": true,
             "house": 1,
             "informational": true
            },
            "modern_north": false
           }
          },
          "pair": {
           "boy_effective": false,
           "girl_effective": false,
           "status": "none"
          }
         },
         "seventh_house": {
          "boy": {
           "sign_index": 4,
           "occupants": [
            "moon"
           ],
           "seventh_lord": {
            "planet": "sun",
            "sign_index": 9,
            "house": 12,
            "dignity": "enemy",
            "is_combust": false,
            "is_retro": false
           },
           "venus": {
            "planet": "venus",
            "sign_index": 9,
            "house": 12,
            "dignity": "friend",
            "is_combust": true,
            "is_retro": true
           },
           "jupiter": {
            "planet": "jupiter",
            "sign_index": 2,
            "house": 5,
            "dignity": "enemy",
            "is_combust": false,
            "is_retro": true
           },
           "d9_seventh": {
            "varga": "D9",
            "lagna_sign_index": 1,
            "house": 7,
            "sign_index": 7,
            "lord": "mars",
            "occupants": [
             "saturn"
            ]
           },
           "d7_fifth": {
            "varga": "D7",
            "lagna_sign_index": 4,
            "house": 5,
            "sign_index": 8,
            "lord": "jupiter",
            "occupants": [
             "moon",
             "rahu"
            ]
           }
          },
          "girl": {
           "sign_index": 6,
           "occupants": [],
           "seventh_lord": {
            "planet": "venus",
            "sign_index": 10,
            "house": 11,
            "dignity": "friend",
            "is_combust": false,
            "is_retro": false
           },
           "venus": {
            "planet": "venus",
            "sign_index": 10,
            "house": 11,
            "dignity": "friend",
            "is_combust": false,
            "is_retro": false
           },
           "jupiter": {
            "planet": "jupiter",
            "sign_index": 4,
            "house": 5,
            "dignity": "friend",
            "is_combust": false,
            "is_retro": true
           },
           "d9_seventh": {
            "varga": "D9",
            "lagna_sign_index": 3,
            "house": 7,
            "sign_index": 9,
            "lord": "saturn",
            "occupants": [
             "ketu"
            ]
           },
           "d7_fifth": {
            "varga": "D7",
            "lagna_sign_index": 2,
            "house": 5,
            "sign_index": 6,
            "lord": "venus",
            "occupants": [
             "sun"
            ]
           }
          }
         },
         "sade_sati": {
          "boy": {
           "birth_moon_sign_index": 4,
           "ayanamsa": "lahiri",
           "tz": "Asia/Kolkata",
           "from_local": "2027-01-15T00:00:00+05:30",
           "from_jd": 2461420.270833,
           "to_local": "2037-01-15T00:00:00+05:30",
           "to_jd": 2465073.270833,
           "include_past": false,
           "at_from": {
            "saturn_sign_index": 11,
            "house_from_moon": 8,
            "kind": "dhaiya_8",
            "phase": "ashtama"
           },
           "intervals": [
            {
             "kind": "dhaiya_8",
             "phase": "ashtama",
             "saturn_sign_index": 11,
             "start_local": "2025-03-29T21:43:25+05:30",
             "end_local": "2027-06-03T04:43:30+05:30",
             "start_jd": 2460764.175983,
             "end_jd": 2461559.467708,
             "retro_reentry": false
            },
            {
             "kind": "dhaiya_8",
             "phase": "ashtama",
             "saturn_sign_index": 11,
             "start_local": "2027-10-20T08:13:25+05:30",
             "end_local": "2028-02-23T18:17:41+05:30",
             "start_jd": 2461698.61348,
             "end_jd": 2461825.03311,
             "retro_reentry": true
            }
           ],
           "cycles": [
            {
             "kind": "dhaiya_8",
             "start_local": "2025-03-29T21:43:25+05:30",
             "end_local": "2028-02-23T18:17:41+05:30",
             "start_jd": 2460764.175983,
             "end_jd": 2461825.03311,
             "interval_indexes": [
              0,
              1
             ]
            },
            {
             "kind": "sade_sati",
             "start_local": "2034-07-13T04:23:26+05:30",
             "end_local": "2041-09-26T06:59:33+05:30",
             "start_jd": 2464156.453772,
             "end_jd": 2466788.562183,
             "phases": [
              {
               "phase": "rising",
               "start_local": "2034-07-13T04:23:26+05:30",
               "end_local": "2036-08-27T21:12:20+05:30",
               "start_jd": 2464156.453772,
               "end_jd": 2464933.154401
              },
              {
               "phase": "peak",
               "start_local": "2036-08-27T21:12:20+05:30",
               "end_local": "2039-07-13T03:23:55+05:30",
               "start_jd": 2464933.154401,
               "end_jd": 2465982.412445
              }
             ],
             "interval_indexes": [
              2,
              3
             ]
            }
           ]
          },
          "girl": {
           "birth_moon_sign_index": 5,
           "ayanamsa": "lahiri",
           "tz": "Asia/Kolkata",
           "from_local": "2027-01-15T00:00:00+05:30",
           "from_jd": 2461420.270833,
           "to_local": "2037-01-15T00:00:00+05:30",
           "to_jd": 2465073.270833,
           "include_past": false,
           "at_from": {
            "saturn_sign_index": 11,
            "house_from_moon": 7,
            "kind": "none",
            "phase": ""
           },
           "intervals": [
            {
             "kind": "dhaiya_8",
             "phase": "ashtama",
             "saturn_sign_index": 0,
             "start_local": "2027-06-03T04:43:30+05:30",
             "end_local": "2027-10-20T08:13:25+05:30",
             "start_jd": 2461559.467708,
             "end_jd": 2461698.61348,
             "retro_reentry": false
            },
            {
             "kind": "dhaiya_8",
             "phase": "ashtama",
             "saturn_sign_index": 0,
             "start_local": "2028-02-23T18:17:41+05:30",
             "end_local": "2029-08-08T10:04:21+05:30",
             "start_jd": 2461825.03311,
             "end_jd": 2462356.690518,
             "retro_reentry": true
            }
           ],
           "cycles": [
            {
             "kind": "dhaiya_8",
             "start_local": "2027-06-03T04:43:30+05:30",
             "end_local": "2030-04-17T08:14:54+05:30",
             "start_jd": 2461559.467708,
             "end_jd": 2462608.614517,
             "interval_indexes": [
              0,
              1
             ]
            },
            {
             "kind": "sade_sati",
             "start_local": "2036-08-27T21:12:20+05:30",
             "end_local": "2044-08-30T06:12:48+05:30",
             "start_jd": 2464933.154401,
             "end_jd": 2467857.529719,
             "phases": [
              {
               "phase": "rising",
               "start_local": "2036-08-27T21:12:20+05:30",
               "end_local": "2039-07-13T03:23:55+05:30",
               "start_jd": 2464933.154401,
               "end_jd": 2465982.412445
              },
              {
               "phase": "peak",
               "start_local": "2038-10-22T18:01:48+05:30",
               "end_local": "2041-09-26T06:59:33+05:30",
               "start_jd": 2465719.02208,
               "end_jd": 2466788.562183
              }
             ],
             "interval_indexes": [
              3
             ]
            }
           ]
          }
         },
         "skipped": {}
        }
       }
      }
     }
    }
   }
  },
  "/v1/milan/vivah-phal": {
   "get": {
    "summary": "Vivah Phal (marriage outcome) prediction (10 credits)",
    "operationId": "milanVivahPhal",
    "tags": [
     "milan"
    ],
    "parameters": [
     {
      "name": "person1.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person1.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "person2.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "birth.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "seventh_lord": "Sun",
         "seventh_lord_sign": "Leo",
         "obstacles": [
          "seventh_lord_in_dusthana"
         ],
         "strength": "moderate"
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/annaprashan": {
   "get": {
    "summary": "Annaprashan (first solid food) muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaAnnaprashan",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for a child's first solid food: tithi, weekday, Moon's nakshatra, the bright or dark half, Rahu Kaal, Yamaganda, Durmuhurta and Bhadra. result has score (0-100), grade (excellent, good, acceptable, inauspicious), is_acceptable (score of 60 or more and no classical prohibition), prohibited_by, factors (id, name, value, weight, score, ok) and warnings, as on the other /v1/muhurta validators. Factor names, values and warnings follow `lang`; under a non-English language each factor also carries its stable English id. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), Bhadra and VyatipataVaidhriti. source names the text the rules come from. result.notes holds informational sentences (age by tradition, festival days); they never change the score. With birth_date and sex, a note gives the child's running month and the months tradition names for a boy or a girl. Each call costs 20 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "birth_date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-07-20"
      },
      "description": "Child's birth date (YYYY-MM-DD). Optional; with sex it adds the age note. It never changes the score."
     },
     {
      "name": "sex",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "male",
        "female"
       ]
      },
      "description": "Child's sex, for the age note. Optional."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-18",
         "time": "10:30",
         "birth_date": "2026-07-20",
         "sex": "male",
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "result": {
          "score": 66,
          "grade": "inauspicious",
          "factors": [
           {
            "name": "Tithi",
            "value": "Ekadashi",
            "weight": 12,
            "score": 0,
            "ok": false
           },
           {
            "name": "Vara",
            "value": "Monday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "Tithi Ekadashi is among the tithis to avoid for this ceremony",
           "Nakshatra Krittika is among the nakshatras to avoid for this ceremony"
          ],
          "is_acceptable": false,
          "prohibited_by": [
           "Tithi",
           "Nakshatra"
          ],
          "notes": [
           "Counted from birth, the child is in month 6. For a boy, tradition gives the even months from the sixth (6, 8, 10, 12) for annaprashan"
          ]
         },
         "source": "Muhurta Chintamani, Samskara-prakarana (ch. 5) v. 17, cross-checked with B.V. Raman, Muhurtha; Bhadra and adhika masa from Shubhashubha-prakarana v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/best-time": {
   "get": {
    "summary": "Find top-N auspicious windows in a date range (30 credits)",
    "operationId": "muhurtaBestTime",
    "tags": [
     "muhurta"
    ],
    "description": "Scans daylight hours within a local date range and ranks candidates with the scorer for the selected purpose. The default general scorer uses Panchang factors. A candidate with a classical prohibition at its start is omitted. Each window ends at the next sample time, sunset, end_date or a transition in tithi, nakshatra, yoga, karana, Rahu Kaal, Yamaganda or Durmuhurta, whichever comes first. The score and factors describe the start of the window.",
    "parameters": [
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      }
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-16"
      },
      "description": "Exclusive local date. Max 31 days from start_date."
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "purpose",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "vivah",
        "graha_pravesh",
        "naamkaran",
        "vyapar",
        "yatra",
        "vahan",
        "bhoomi_pujan",
        "general"
       ],
       "default": "general",
       "example": "vivah"
      },
      "description": "Event the windows are scored for: vivah, graha_pravesh, naamkaran, vyapar, yatra, vahan, bhoomi_pujan or general (the default). Each purpose uses the scorer of its own /v1/muhurta validator; general uses a general auspiciousness scorer."
     },
     {
      "name": "direction",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "N",
        "NE",
        "E",
        "SE",
        "S",
        "SW",
        "W",
        "NW"
       ]
      },
      "description": "Direction of travel, used only with purpose=yatra (Disha Shool). Optional; full names such as north or south-east are also accepted."
     },
     {
      "name": "top_n",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 20,
       "default": 5,
       "example": 2
      }
     },
     {
      "name": "birth_date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string"
      },
      "description": "Optional birth date (YYYY-MM-DD), used only with purpose=naamkaran for the day counted from birth."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. Example generated with the corrected calculation.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "purpose": "vivah",
         "start_date": "2027-01-15",
         "end_date": "2027-01-16",
         "lat": 28.6139,
         "lon": 77.209,
         "ayanamsa": "lahiri",
         "windows": [
          {
           "start_jd": 2461420.604166667,
           "end_jd": 2461420.6458333335,
           "start_iso": "2027-01-15T02:30:00Z",
           "end_iso": "2027-01-15T03:30:00Z",
           "score": 100,
           "grade": "excellent",
           "is_acceptable": true,
           "factors": [
            {
             "name": "Tithi",
             "value": "Saptami",
             "weight": 12,
             "score": 12,
             "ok": true
            },
            {
             "name": "Vara",
             "value": "Friday",
             "weight": 10,
             "score": 10,
             "ok": true
            },
            {
             "name": "Nakshatra",
             "value": "Revati",
             "weight": 15,
             "score": 15,
             "ok": true
            },
            {
             "name": "SunRashi",
             "value": "Capricorn",
             "weight": 7,
             "score": 7,
             "ok": true
            },
            {
             "name": "RahuKaal",
             "weight": 8,
             "score": 8,
             "ok": true
            },
            {
             "name": "Yamaganda",
             "weight": 5,
             "score": 5,
             "ok": true
            },
            {
             "name": "Durmuhurta",
             "weight": 5,
             "score": 5,
             "ok": true
            },
            {
             "id": "ChandraBala",
             "name": "Paksha",
             "value": "Shukla paksha",
             "weight": 10,
             "score": 10,
             "ok": true
            },
            {
             "name": "GuruShukraAsta",
             "weight": 8,
             "score": 8,
             "ok": true
            },
            {
             "name": "AdhikaMasa",
             "weight": 7,
             "score": 7,
             "ok": true
            },
            {
             "name": "Bhadra",
             "weight": 8,
             "score": 8,
             "ok": true
            },
            {
             "name": "HariShayana",
             "weight": 7,
             "score": 7,
             "ok": true
            },
            {
             "name": "VyatipataVaidhriti",
             "value": "Shiva",
             "weight": 8,
             "score": 8,
             "ok": true
            }
           ],
           "warnings": null
          },
          {
           "start_jd": 2461420.6458333335,
           "end_jd": 2461420.6604668763,
           "start_iso": "2027-01-15T03:30:00Z",
           "end_iso": "2027-01-15T03:51:04Z",
           "score": 100,
           "grade": "excellent",
           "is_acceptable": true,
           "factors": [
            {
             "name": "Tithi",
             "value": "Saptami",
             "weight": 12,
             "score": 12,
             "ok": true
            },
            {
             "name": "Vara",
             "value": "Friday",
             "weight": 10,
             "score": 10,
             "ok": true
            },
            {
             "name": "Nakshatra",
             "value": "Revati",
             "weight": 15,
             "score": 15,
             "ok": true
            },
            {
             "name": "SunRashi",
             "value": "Capricorn",
             "weight": 7,
             "score": 7,
             "ok": true
            },
            {
             "name": "RahuKaal",
             "weight": 8,
             "score": 8,
             "ok": true
            },
            {
             "name": "Yamaganda",
             "weight": 5,
             "score": 5,
             "ok": true
            },
            {
             "name": "Durmuhurta",
             "weight": 5,
             "score": 5,
             "ok": true
            },
            {
             "id": "ChandraBala",
             "name": "Paksha",
             "value": "Shukla paksha",
             "weight": 10,
             "score": 10,
             "ok": true
            },
            {
             "name": "GuruShukraAsta",
             "weight": 8,
             "score": 8,
             "ok": true
            },
            {
             "name": "AdhikaMasa",
             "weight": 7,
             "score": 7,
             "ok": true
            },
            {
             "name": "Bhadra",
             "weight": 8,
             "score": 8,
             "ok": true
            },
            {
             "name": "HariShayana",
             "weight": 7,
             "score": 7,
             "ok": true
            },
            {
             "name": "VyatipataVaidhriti",
             "value": "Shiva",
             "weight": 8,
             "score": 8,
             "ok": true
            }
           ],
           "warnings": null
          }
         ],
         "source": "Muhurta Chintamani, Vivaha-prakarana v. 13 (solar months) and v. 55 (nakshatras, tithis, weekdays), cross-checked with B.V. Raman, Muhurtha pp. 27, 29, 101-102; Hari Shayana as in Samskara-prakarana v. 24, with v. 26 and Raman p. 101; Bhadra, Vyatipata, Vaidhriti and adhika masa from Shubhashubha-prakarana v. 34-35; Jupiter and Venus set from Samskara-prakarana v. 26 and Shubhashubha-prakarana v. 46-47; Durmuhurta from Vivaha-prakarana v. 52-54."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/bhoomi-pujan": {
   "get": {
    "summary": "Bhoomi Pujan (ground-breaking) muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaBhoomiPujan",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for ground-breaking or laying a foundation: tithi, weekday, Moon's nakshatra, the Sun's sign (solar month), Rahu Kaal, Yamaganda, Durmuhurta, Bhadra, the bright or dark half, Jupiter and Venus being set, and adhika masa. result has score (0-100), grade (excellent, good, acceptable, inauspicious), is_acceptable (score of 60 or more and no classical prohibition), prohibited_by, factors (id, name, value, weight, score, ok) and warnings, as on the other /v1/muhurta validators. Factor names, values and warnings follow `lang`; under a non-English language each factor also carries its stable English id. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), Bhadra, VyatipataVaidhriti (Vyatipata or Vaidhriti yoga), GuruShukraAsta (Jupiter or Venus set) and AdhikaMasa. source names the text the rules come from. result.direction is informational and never scored: for the Sun's sign it gives rahu_mukha (the corner the Rahu head faces in that solar month) and start_digging (the corner where the first digging starts), for a dwelling house. Each call costs 20 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-18",
         "time": "10:30",
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "result": {
          "score": 85,
          "grade": "inauspicious",
          "factors": [
           {
            "name": "Tithi",
            "value": "Ekadashi",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Monday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "Nakshatra Krittika is not among the nakshatras recommended for bhoomi pujan"
          ],
          "is_acceptable": false,
          "prohibited_by": [
           "Nakshatra"
          ],
          "direction": {
           "sun_rashi": "Capricorn",
           "rahu_mukha": "North-West",
           "start_digging": "North-East"
          }
         },
         "source": "Muhurta Chintamani, Vastu-prakarana v. 15-19 (v. 19 for the direction block), cross-checked with B.V. Raman, Muhurtha; Bhadra from Shubhashubha-prakarana v. 34; Jupiter and Venus set from Shubhashubha-prakarana v. 46-47; adhika masa from v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/chandra-bala": {
   "get": {
    "summary": "Moon strength for a natal Moon sign at a transit moment (10 credits)",
    "operationId": "muhurtaChandraBala",
    "tags": [
     "muhurta"
    ],
    "description": "Chandra Bala of the transit Moon's sign counted from the natal Moon sign at the requested moment. Score 10 in the 1st, 3rd, 6th, 7th, 10th and 11th in either paksha, and in the 2nd, 5th and 9th in Shukla Paksha. Score 0 in the 4th, 8th and 12th. The 2nd, 5th and 9th score 5 in Krishna Paksha. This score is calculated before planetary Vedha. is_good is true for scores of 8 or more. source names the classical reference.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "name": "birth_moon_sign",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "minimum": 0,
       "maximum": 11
      },
      "description": "Natal Moon sign index (0=Aries, 11=Pisces)"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "ayanamsa": "lahiri",
         "birth_moon_sign": 0,
         "transit_moon_sign": 11,
         "score": 0,
         "is_good": false,
         "source": "Muhurta Chintamani, Gochara-prakarana vv. 1 and 4, Kedar Datt Joshi edition, pp. 193 and 196 (scan pp. 247 and 250), with Piyushdhara commentary. This is the sign-and-paksha score before planetary Vedha. B.V. Raman, Muhurtha p. 18 counts the 6th as unfavorable."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/graha-pravesh": {
   "get": {
    "summary": "Validate a proposed house-entry date+time (20 credits)",
    "operationId": "muhurtaGrahaPravesh",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for entering a new house: tithi (Rikta and Amavasya carry a warning), weekday (Sunday and Tuesday 0, Saturday partial), Moon's nakshatra (the fixed and soft nakshatras in full; Pushya, Swati, Dhanishtha and Shatabhisha, taken only for an old or rebuilt house, partial with a warning; the rest none), Ayana (the Sun's northern course; Kartik and Margashirsha partial), the lunar month (Vaishakha, Jyeshtha, Magha, Phalguna best), Rahu Kaal, Yamaganda, Durmuhurta, the bright or dark half (factor id ChandraBala, displayed as Paksha: it is the paksha, not the natal Chandra Bala), Jupiter and Venus being set, adhika masa, Bhadra and Vyatipata / Vaidhriti yoga. result has score (0-100), grade, is_acceptable, prohibited_by, factors and warnings. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), Ayana (Dakshinayana outside Kartik and Margashirsha), GuruShukraAsta, AdhikaMasa, Bhadra and VyatipataVaidhriti. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "time": "10:00",
         "lat": 28.6139,
         "lon": 77.209,
         "ayanamsa": "lahiri",
         "result": {
          "score": 89,
          "grade": "good",
          "factors": [
           {
            "name": "Tithi",
            "value": "Saptami",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Friday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "The lunar month Pausha is not among the months for entering a new house",
           "Proposed time falls in Durmuhurta — a less favourable time"
          ],
          "is_acceptable": true,
          "prohibited_by": []
         },
         "source": "Muhurta Chintamani, Griha-pravesha-prakarana v. 1-2 and 4 (with the Mahidhara commentary), cross-checked with B.V. Raman, Muhurtha pp. 134-136; Uttarayana from Samskara-prakarana v. 26; Bhadra, Vyatipata, Vaidhriti and adhika masa from Shubhashubha-prakarana v. 34-35; Jupiter and Venus set from Samskara-prakarana v. 26 and Shubhashubha-prakarana v. 46-47. The rules are those for entering a new house."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/karnavedha": {
   "get": {
    "summary": "Karnavedha (ear piercing) muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaKarnavedha",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for the ear-piercing ceremony: tithi, weekday, Moon's nakshatra, the Sun's sign, Hari Shayana (Ashadha Shukla Ekadashi to Kartik Shukla Ekadashi), Jupiter and Venus being set, Rahu Kaal, Yamaganda, Durmuhurta, Bhadra and adhika masa. result has score (0-100), grade (excellent, good, acceptable, inauspicious), is_acceptable (score of 60 or more and no classical prohibition), prohibited_by, factors (id, name, value, weight, score, ok) and warnings, as on the other /v1/muhurta validators. Factor names, values and warnings follow `lang`; under a non-English language each factor also carries its stable English id. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), GuruShukraAsta, AdhikaMasa, HariShayana, Bhadra and VyatipataVaidhriti. source names the text the rules come from. result.notes holds informational sentences (age by tradition, festival days); they never change the score. With birth_date, a note gives the child's running day, month and year. Each call costs 20 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "birth_date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-07-20"
      },
      "description": "Child's birth date (YYYY-MM-DD). Optional; adds the age note. It never changes the score."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-18",
         "time": "10:30",
         "birth_date": "2026-07-20",
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "result": {
          "score": 92,
          "grade": "excellent",
          "factors": [
           {
            "name": "Tithi",
            "value": "Ekadashi",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Monday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": null,
          "is_acceptable": true,
          "prohibited_by": [],
          "notes": [
           "Counted from birth, the child is on day 183, in month 6 and in year 1. Tradition gives the 12th or 16th day, the 6th, 7th or 8th month, or an odd year (3rd, 5th) for karnavedha"
          ]
         },
         "source": "Muhurta Chintamani, Samskara-prakarana (ch. 5) v. 24, cross-checked with B.V. Raman, Muhurtha; Bhadra and adhika masa from Shubhashubha-prakarana v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/naamkaran": {
   "get": {
    "summary": "Validate a naming ceremony (Naamkaran) date+time (20 credits)",
    "operationId": "muhurtaNaamkaran",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed naming-ceremony moment: the day counted from birth (the birth day is day 1; days 10, 11, 12 and 16 in full, later days partial, before day 10 none; day_number echoes it), tithi (Rikta, Krishna Ashtami, Purnima and Amavasya score 0), Moon's nakshatra (sixteen classical nakshatras; Magha partial), Rahu Kaal, weekday (Monday, Wednesday, Thursday, Friday), Bhadra and Vyatipata / Vaidhriti yoga. result has score (0-100), grade, is_acceptable, prohibited_by, factors and warnings. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), Bhadra and VyatipataVaidhriti. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "Child's birth date (YYYY-MM-DD). Minimum 10 days before ceremony."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. Example generated with the corrected calculation.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-10",
         "time": "10:30",
         "birth_date": "2027-01-01",
         "lat": 28.6139,
         "lon": 77.209,
         "ayanamsa": "lahiri",
         "days_since_birth": 9.4375,
         "day_number": 10,
         "result": {
          "score": 89,
          "grade": "good",
          "factors": [
           {
            "name": "DaysAfterBirth",
            "value": "day 10",
            "weight": 20,
            "score": 20,
            "ok": true
           },
           {
            "name": "Tithi",
            "value": "Tritiya",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Nakshatra",
            "value": "Shravana",
            "weight": 20,
            "score": 20,
            "ok": true
           },
           {
            "name": "RahuKaal",
            "weight": 15,
            "score": 15,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Sunday",
            "weight": 10,
            "score": 0,
            "ok": false
           },
           {
            "name": "Bhadra",
            "weight": 8,
            "score": 8,
            "ok": true
           },
           {
            "name": "VyatipataVaidhriti",
            "value": "Vajra",
            "weight": 8,
            "score": 8,
            "ok": true
           }
          ],
          "warnings": [
           "Sunday is not among the weekdays for naamkaran"
          ],
          "is_acceptable": true,
          "prohibited_by": []
         },
         "source": "Muhurta Chintamani, Samskara-prakarana (ch. 5) v. 11, cross-checked with B.V. Raman, Muhurtha p. 58; Bhadra, Vyatipata and Vaidhriti from Shubhashubha-prakarana v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/panchaka-rahita": {
   "get": {
    "summary": "Check if moment is free of Panchaka dosha (10 credits)",
    "operationId": "muhurtaPanchakaRahita",
    "tags": [
     "muhurta"
    ],
    "description": "Whether the moment is free of the nakshatra Panchaka: the Moon in Aquarius or Pisces (from the second half of Dhanishtha to the end of Revati). moon_sign_index and moon_sign give the Moon's sidereal sign that decides it. The Panchaka restricts a few acts (travel to the South among them); it is not a general prohibition. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "ayanamsa": "lahiri",
         "nakshatra_index": 26,
         "nakshatra": "Revati",
         "moon_sign_index": 11,
         "moon_sign": "Pisces",
         "is_panchaka": true,
         "is_panchaka_free": false,
         "source": "Muhurta Chintamani, Nakshatra-prakarana v. 48 (the Moon in Aquarius or Pisces: from the second half of Dhanishtha to Revati), with B.V. Raman, Muhurtha p. 26. The count-based Panchaka (tithi, weekday, nakshatra and lagna) is a different rule."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/sarvartha-siddhi": {
   "get": {
    "summary": "Check if the moment has Sarvartha Siddhi yoga (10 credits)",
    "operationId": "muhurtaSarvarthaSiddhi",
    "tags": [
     "muhurta"
    ],
    "description": "Whether the Hindu weekday (sunrise to sunrise) and the Moon's nakshatra form Sarvartha Siddhi yoga, by the 34 classical weekday and nakshatra pairs. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "ayanamsa": "lahiri",
         "result": {
          "has_yoga": true,
          "yoga_name": "Sarvartha Siddhi",
          "vara": "Friday",
          "vara_index": 5,
          "nakshatra": "Revati",
          "nakshatra_index": 26
         },
         "source": "Muhurta Chintamani, Shubhashubha-prakarana v. 28-29 (the 34 weekday and nakshatra pairs). The weekday is the Hindu day, sunrise to sunrise."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/shubha-yoga": {
   "get": {
    "summary": "Classical weekday yoga check (Amrit Siddhi, Siddha, Maitra; Mrityu, Samvartaka) (10 credits)",
    "operationId": "muhurtaShubhaYoga",
    "tags": [
     "muhurta"
    ],
    "description": "Weekday yogas of the moment, with the Hindu weekday (sunrise to sunrise): yogas lists the auspicious ones (Amrit Siddhi, Siddha by weekday and tithi class, Maitra, the 12th Anandadi yoga), adverse_yogas the ones in which no auspicious work is begun (Mrityu, Samvartaka, and an Amrit Siddhi on its cancelling tithi, named \"Amrit Siddhi (viruddha)\"). note gives a limit on a yoga (for example an Amrit Siddhi not taken for one rite). source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "ayanamsa": "lahiri",
         "vara_index": 5,
         "nak_index": 26,
         "tithi_index": 6,
         "result": {
          "yogas": [
           {
            "name": "Amrit Siddhi",
            "vara": "Friday",
            "trigger": "Revati nakshatra"
           }
          ],
          "has_any_yoga": true,
          "adverse_yogas": [
           {
            "name": "Mrityu",
            "vara": "Friday",
            "trigger": "tithi Saptami",
            "note": "No auspicious work is begun in this yoga"
           }
          ],
          "has_adverse_yoga": true
         },
         "source": "Muhurta Chintamani, Shubhashubha-prakarana v. 4 (Siddha), v. 5-6 (Mrityu, Samvartaka), v. 20-22 (Amrit Siddhi, its cancelling tithis and the acts it is not taken for) and v. 23-25 (Maitra, the 12th Anandadi yoga). The weekday is the Hindu day, sunrise to sunrise."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/tara-bala": {
   "get": {
    "summary": "Tara Bala for a natal nakshatra vs transit Moon (10 credits)",
    "operationId": "muhurtaTaraBala",
    "tags": [
     "muhurta"
    ],
    "description": "Tara Bala of the transit Moon's nakshatra counted from the natal nakshatra. score 10 for the 2nd, 4th, 6th, 8th and 9th tara; 0 for the 1st (Janma), 3rd, 5th and 7th. is_good is score 8 or more. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "name": "birth_nak",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "minimum": 0,
       "maximum": 26
      },
      "description": "Natal nakshatra index (0=Ashwini)"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "ayanamsa": "lahiri",
         "birth_nakshatra": 3,
         "transit_nakshatra": 26,
         "score": 10,
         "is_good": true,
         "source": "Muhurta Chintamani, Yatra-prakarana v. 8 (the 1st, 3rd, 5th and 7th taras are not wanted), cross-checked with B.V. Raman, Muhurtha pp. 17-18."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/vahan": {
   "get": {
    "summary": "Vehicle purchase / first use muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaVahan",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for buying a vehicle or using it for the first time: tithi, weekday, Moon's nakshatra, Rahu Kaal, Yamaganda, Durmuhurta and Bhadra (Vishti karana). The classical rule is the one for mounts and conveyances; it is applied to vehicles by present-day convention. result has score (0-100), grade (excellent, good, acceptable, inauspicious), is_acceptable (score of 60 or more and no classical prohibition), prohibited_by, factors (id, name, value, weight, score, ok) and warnings, as on the other /v1/muhurta validators. Factor names, values and warnings follow `lang`; under a non-English language each factor also carries its stable English id. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Bhadra and VyatipataVaidhriti (Vyatipata or Vaidhriti yoga); tithi, weekday and nakshatra are weighted, and their warnings read \"less favourable\". source names the text the rules come from. Each call costs 20 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-18",
         "time": "10:30",
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "result": {
          "score": 88,
          "grade": "good",
          "factors": [
           {
            "name": "Tithi",
            "value": "Ekadashi",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Monday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": null,
          "is_acceptable": true,
          "prohibited_by": []
         },
         "source": "Muhurta Chintamani, Nakshatra-prakarana v. 18 (with v. 3). The classical rule is for mounts and conveyances (buying, selling and riding horses and elephants); it is applied to vehicles by present-day convention, not by a verse."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/upanayan": {
   "get": {
    "summary": "Upanayan (sacred thread) muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaUpanayan",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for the upanayan ceremony: tithi, weekday, Moon's nakshatra, the Sun's course (Uttarayana or Dakshinayana), the part of the day, Jupiter and Venus being set, Rahu Kaal, Yamaganda, Durmuhurta, Bhadra and adhika masa. result has score (0-100), grade (excellent, good, acceptable, inauspicious), is_acceptable (score of 60 or more and no classical prohibition), prohibited_by, factors (id, name, value, weight, score, ok) and warnings, as on the other /v1/muhurta validators. Factor names, values and warnings follow `lang`; under a non-English language each factor also carries its stable English id. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), GuruShukraAsta, AdhikaMasa, Ayana (Dakshinayana), Bhadra and VyatipataVaidhriti. source names the text the rules come from. result.notes holds informational sentences (age by tradition, festival days); they never change the score. Each call costs 20 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-18",
         "time": "10:30",
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "result": {
          "score": 80,
          "grade": "inauspicious",
          "factors": [
           {
            "name": "Tithi",
            "value": "Ekadashi",
            "weight": 12,
            "score": 6,
            "ok": false
           },
           {
            "name": "Vara",
            "value": "Monday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "Nakshatra Krittika is not among the nakshatras recommended for this ceremony"
          ],
          "is_acceptable": false,
          "prohibited_by": [
           "Nakshatra"
          ],
          "notes": []
         },
         "source": "Muhurta Chintamani, Samskara-prakarana (ch. 5) v. 26, 40 and 48, cross-checked with B.V. Raman, Muhurtha; Bhadra and adhika masa from Shubhashubha-prakarana v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/vidyarambh": {
   "get": {
    "summary": "Vidyarambh (first letters) muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaVidyarambh",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for a child's first letters (aksharabhyasam, start of learning): tithi, weekday, Moon's nakshatra, the Sun's course, Rahu Kaal, Yamaganda, Durmuhurta, Bhadra and adhika masa. result has score (0-100), grade (excellent, good, acceptable, inauspicious), is_acceptable (score of 60 or more and no classical prohibition), prohibited_by, factors (id, name, value, weight, score, ok) and warnings, as on the other /v1/muhurta validators. Factor names, values and warnings follow `lang`; under a non-English language each factor also carries its stable English id. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), AdhikaMasa, Bhadra and VyatipataVaidhriti. source names the text the rules come from. result.notes holds informational sentences (age by tradition, festival days); they never change the score. With birth_date, a note gives the child's running year. Each call costs 20 credits.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "birth_date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2022-01-10"
      },
      "description": "Child's birth date (YYYY-MM-DD). Optional; adds the age note. It never changes the score."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-18",
         "time": "10:30",
         "birth_date": "2022-01-10",
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "result": {
          "score": 90,
          "grade": "excellent",
          "factors": [
           {
            "name": "Tithi",
            "value": "Ekadashi",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Monday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": null,
          "is_acceptable": true,
          "prohibited_by": [],
          "notes": [
           "Counted from birth, the child is in year 6. Tradition places the start of learning in the fifth year"
          ]
         },
         "source": "Muhurta Chintamani, Samskara-prakarana (ch. 5) v. 37-38, cross-checked with B.V. Raman, Muhurtha; Bhadra and adhika masa from Shubhashubha-prakarana v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/vivah": {
   "get": {
    "summary": "Validate a proposed marriage date+time (30 credits)",
    "operationId": "muhurtaVivah",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed marriage moment: tithi (both halves of the month; Rikta, 6, 8, 12, the dark half from the 11th and Amavasya score 0), weekday, Moon's nakshatra (only the eleven nakshatras of the classical marriage list earn credit; every other one, Pushya included, carries a warning), the Sun's sign (solar month: full credit for the Sun in Aries, Taurus, Gemini, Scorpio, Capricorn or Aquarius), Rahu Kaal, Yamaganda, Durmuhurta, the bright or dark half (factor id ChandraBala, displayed as Paksha: it is the paksha, not the natal Chandra Bala), Jupiter and Venus being set, adhika masa, Bhadra (Vishti karana), Hari Shayana (Ashadha Shukla Ekadashi to Kartik Shukla Ekadashi) and Vyatipata / Vaidhriti yoga. result has score (0-100), grade, is_acceptable, prohibited_by, factors and warnings. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Tithi and Nakshatra (when either scores 0: a tithi or nakshatra the texts exclude for this rite; partial-credit classes are not prohibitions), SunRashi (Kharmas: the Sun in Sagittarius or Pisces), GuruShukraAsta (Jupiter or Venus set), AdhikaMasa, Bhadra, HariShayana and VyatipataVaidhriti. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "time": "10:00",
         "lat": 28.6139,
         "lon": 77.209,
         "ayanamsa": "lahiri",
         "result": {
          "score": 95,
          "grade": "excellent",
          "factors": [
           {
            "name": "Tithi",
            "value": "Saptami",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Friday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "Proposed time falls in Durmuhurta — a less favourable time"
          ],
          "is_acceptable": true,
          "prohibited_by": []
         },
         "source": "Muhurta Chintamani, Vivaha-prakarana v. 13 (solar months) and v. 55 (nakshatras, tithis, weekdays), cross-checked with B.V. Raman, Muhurtha pp. 27, 29, 101-102; Hari Shayana as in Samskara-prakarana v. 24, with v. 26 and Raman p. 101; Bhadra, Vyatipata, Vaidhriti and adhika masa from Shubhashubha-prakarana v. 34-35; Jupiter and Venus set from Samskara-prakarana v. 26 and Shubhashubha-prakarana v. 46-47; Durmuhurta from Vivaha-prakarana v. 52-54."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/vyapar": {
   "get": {
    "summary": "Business launch muhurta — score a proposed date+time (20 credits)",
    "operationId": "muhurtaVyapar",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed moment for starting a business or shop: tithi (Rikta and Amavasya score 0 with a warning), weekday (Tuesday 0; Sunday and Saturday partial), Moon's nakshatra (the classical list for shop and market work), Rahu Kaal, Yamaganda, Durmuhurta, Bhadra and Vyatipata / Vaidhriti yoga. result has score (0-100), grade, is_acceptable, prohibited_by, factors and warnings. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. The prohibitions for this purpose are Bhadra and VyatipataVaidhriti. source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "time": "10:00",
         "lat": 28.6139,
         "lon": 77.209,
         "ayanamsa": "lahiri",
         "result": {
          "score": 92,
          "grade": "excellent",
          "factors": [
           {
            "name": "Tithi",
            "value": "Saptami",
            "weight": 12,
            "score": 12,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Friday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "Proposed time falls in Durmuhurta — a less favourable time"
          ],
          "is_acceptable": true,
          "prohibited_by": []
         },
         "source": "Muhurta Chintamani, Nakshatra-prakarana v. 17 (shop and market work), cross-checked with B.V. Raman, Muhurtha p. 106; Bhadra, Vyatipata and Vaidhriti from Shubhashubha-prakarana v. 34-35."
        }
       }
      }
     }
    }
   }
  },
  "/v1/muhurta/yatra": {
   "get": {
    "summary": "Travel muhurta — score a proposed departure date+time+direction (20 credits)",
    "operationId": "muhurtaYatra",
    "tags": [
     "muhurta"
    ],
    "description": "Scores a proposed journey moment: tithi (6, 8, 12, Rikta, Shukla Pratipada, Purnima and Amavasya score 0, in both halves of the month), weekday (none barred; Tuesday partial), Moon's nakshatra (the classical travel list in full; Bharani, Krittika, Ardra, Ashlesha, Vishakha, Purva Phalguni and Purva Bhadrapada score 0), Rahu Kaal, Yamaganda, Durmuhurta, the Sun's sign (Sagittarius, Aries, Leo best; Cancer, Scorpio, Pisces unfavourable), Bhadra and Vyatipata / Vaidhriti yoga; with a direction, Disha Shool, and for travel towards the South (direction S) Panchaka (the Moon in Aquarius or Pisces). result has score (0-100), grade, is_acceptable, prohibited_by, factors and warnings. grade is inauspicious and is_acceptable false whenever a classical prohibition applies; prohibited_by lists them; score stays the weighted total. No factor of this purpose is a prohibition, so prohibited_by is always empty and every warning reads \"less favourable\". source names the classical text and verses the rules follow.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "direction",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "N",
        "NE",
        "E",
        "SE",
        "S",
        "SW",
        "W",
        "NW"
       ]
      },
      "description": "Direction of travel (compass point; full names such as north or south-east are also accepted). Optional: when it is sent, the weekday's Disha Shool is checked and a DishaShool factor is added; without it there is no direction check."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "time": "10:00",
         "lat": 28.6139,
         "lon": 77.209,
         "ayanamsa": "lahiri",
         "result": {
          "score": 90,
          "grade": "excellent",
          "factors": [
           {
            "name": "Tithi",
            "value": "Saptami",
            "weight": 10,
            "score": 10,
            "ok": true
           },
           {
            "name": "Vara",
            "value": "Friday",
            "weight": 10,
            "score": 10,
            "ok": true
           }
          ],
          "warnings": [
           "Proposed time falls in Durmuhurta — a less favourable time"
          ],
          "is_acceptable": true,
          "prohibited_by": []
         },
         "source": "Muhurta Chintamani, Yatra-prakarana v. 8 (solar month), v. 9 (tithis, nakshatras), v. 10 (Disha Shool) and v. 12-13, Sankranti-prakarana v. 19 (Friday) and Nakshatra-prakarana v. 48 (Panchaka, travel to the South), cross-checked with B.V. Raman, Muhurtha pp. 156-157; Bhadra, Vyatipata and Vaidhriti from Shubhashubha-prakarana v. 34-35 and Raman p. 29."
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/advanced": {
   "get": {
    "summary": "Advanced profile — Maturity Number, Karmic Lessons, Sub-conscious Self, Hidden Passion, Balance Number (20 credits)",
    "operationId": "numerologyAdvanced",
    "tags": [
     "numerology"
    ],
    "description": "Advanced profile — Maturity Number, Karmic Lessons, Sub-conscious Self, Hidden Passion, Balance Number. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Arjun Mehta"
      },
      "description": "Full name."
     },
     {
      "name": "dob",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "result": {
          "name": "Arjun Mehta",
          "dob": "1990-01-15",
          "maturity_number": 4,
          "maturity_factors": {
           "number": 4,
           "planet": "Rahu",
           "day": "Sunday (with caution)",
           "color": "Smoky Gray / Indigo",
           "gemstone": "Hessonite",
           "deity": "Rahu / Saraswati",
           "direction": "Southwest"
          },
          "karmic_lessons": [
           3,
           7
          ],
          "karmic_lesson_count": 4,
          "subconscious_self": 5,
          "subconscious_self_factors": {
           "number": 5,
           "planet": "Mercury",
           "day": "Wednesday",
           "color": "Green",
           "gemstone": "Emerald",
           "deity": "Budh / Vishnu",
           "direction": "North"
          },
          "hidden_passion": [
           1,
           5
          ],
          "balance_number": 5,
          "balance_factors": {
           "number": 5,
           "planet": "Mercury",
           "day": "Wednesday",
           "color": "Green",
           "gemstone": "Emerald",
           "deity": "Budh / Vishnu",
           "direction": "North"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/challenges": {
   "get": {
    "summary": "Four Challenge Numbers (CH1–CH4) from birth date — life obstacles and lessons (10 credits)",
    "operationId": "numerologyChallenges",
    "tags": [
     "numerology"
    ],
    "description": "Four Challenge Numbers (CH1–CH4) from birth date — life obstacles and lessons. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "dob",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "result": {
          "dob": "1990-01-15",
          "ch1": 5,
          "ch2": 5,
          "ch3_major": 0,
          "ch4": 0,
          "ch1_factors": {
           "number": 5,
           "planet": "Mercury",
           "day": "Wednesday",
           "color": "Green",
           "gemstone": "Emerald",
           "deity": "Budh / Vishnu",
           "direction": "North"
          },
          "ch2_factors": {
           "number": 5,
           "planet": "Mercury",
           "day": "Wednesday",
           "color": "Green",
           "gemstone": "Emerald",
           "deity": "Budh / Vishnu",
           "direction": "North"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/conductor": {
   "get": {
    "summary": "Conductor number (Bhagyank / Life Path) from full DOB digit-sum (10 credits)",
    "operationId": "numerologyConductor",
    "tags": [
     "numerology"
    ],
    "description": "Conductor number (Bhagyank / Life Path) from full DOB digit-sum. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "dob",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "dob": "1990-01-15",
         "driver": 0,
         "conductor": 8,
         "conductor_factors": {
          "number": 8,
          "planet": "Saturn",
          "day": "Saturday",
          "color": "Blue / Black",
          "gemstone": "Blue Sapphire",
          "deity": "Shani / Hanuman",
          "direction": "West"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/destiny": {
   "get": {
    "summary": "Destiny / Expression number from all letters in full name (10 credits)",
    "operationId": "numerologyDestiny",
    "tags": [
     "numerology"
    ],
    "description": "Destiny / Expression number from all letters in full name. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Arjun Mehta"
      },
      "description": "Full name."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "name": "Arjun Mehta",
         "driver": 0,
         "conductor": 0,
         "destiny": 7,
         "destiny_factors": {
          "number": 7,
          "planet": "Ketu",
          "day": "Tuesday (calm)",
          "color": "Brown / Purple",
          "gemstone": "Cat's Eye",
          "deity": "Ketu / Ganesha",
          "direction": "Northwest"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/driver": {
   "get": {
    "summary": "Driver number (Mulank / Birth Number) from date of birth. Master numbers 11/22/33 preserved (10 credits)",
    "operationId": "numerologyDriver",
    "tags": [
     "numerology"
    ],
    "description": "Driver number (Mulank / Birth Number) from date of birth. Master numbers 11/22/33 preserved. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "dob",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "dob": "1990-01-15",
         "driver": 6,
         "conductor": 0,
         "driver_factors": {
          "number": 6,
          "planet": "Venus",
          "day": "Friday",
          "color": "White / Sky Blue",
          "gemstone": "Diamond",
          "deity": "Shukra / Lakshmi",
          "direction": "Southeast"
         },
         "compatible_drivers": [
          3,
          4
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/full": {
   "get": {
    "summary": "Full 5-number profile — driver, conductor, soul, personality, destiny with lucky factors (20 credits)",
    "operationId": "numerologyFull",
    "tags": [
     "numerology"
    ],
    "description": "Full 5-number profile — driver, conductor, soul, personality, destiny with lucky factors. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Arjun Mehta"
      },
      "description": "Full name."
     },
     {
      "name": "dob",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "name": "Arjun Mehta",
         "dob": "1990-01-15",
         "Locale": "en",
         "driver": 6,
         "conductor": 8,
         "soul": 4,
         "personality": 3,
         "destiny": 7,
         "driver_factors": {
          "number": 6,
          "planet": "Venus",
          "day": "Friday",
          "color": "White / Sky Blue",
          "gemstone": "Diamond",
          "deity": "Shukra / Lakshmi",
          "direction": "Southeast"
         },
         "conductor_factors": {
          "number": 8,
          "planet": "Saturn",
          "day": "Saturday",
          "color": "Blue / Black",
          "gemstone": "Blue Sapphire",
          "deity": "Shani / Hanuman",
          "direction": "West"
         },
         "soul_factors": {
          "number": 4,
          "planet": "Rahu",
          "day": "Sunday (with caution)",
          "color": "Smoky Gray / Indigo",
          "gemstone": "Hessonite",
          "deity": "Rahu / Saraswati",
          "direction": "Southwest"
         },
         "personality_factors": {
          "number": 3,
          "planet": "Jupiter",
          "day": "Thursday",
          "color": "Yellow",
          "gemstone": "Yellow Sapphire",
          "deity": "Brihaspati / Vishnu",
          "direction": "Northeast"
         },
         "destiny_factors": {
          "number": 7,
          "planet": "Ketu",
          "day": "Tuesday (calm)",
          "color": "Brown / Purple",
          "gemstone": "Cat's Eye",
          "deity": "Ketu / Ganesha",
          "direction": "Northwest"
         },
         "compatible_drivers": [
          3,
          4
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/personal-periods": {
   "get": {
    "summary": "Personal Year, Month, and Day numbers for any reference date. Lucky factors for each (10 credits)",
    "operationId": "numerologyPersonalPeriods",
    "tags": [
     "numerology"
    ],
    "description": "Personal Year, Month, and Day numbers for any reference date. Lucky factors for each. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "dob",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "result": {
          "dob": "1990-01-15",
          "ref_date": "2026-11-15",
          "personal_year": 8,
          "personal_month": 1,
          "personal_day": 7,
          "year_factors": {
           "number": 8,
           "planet": "Saturn",
           "day": "Saturday",
           "color": "Blue / Black",
           "gemstone": "Blue Sapphire",
           "deity": "Shani / Hanuman",
           "direction": "West"
          },
          "month_factors": {
           "number": 1,
           "planet": "Sun",
           "day": "Sunday",
           "color": "Orange / Gold",
           "gemstone": "Ruby",
           "deity": "Surya",
           "direction": "East"
          },
          "day_factors": {
           "number": 7,
           "planet": "Ketu",
           "day": "Tuesday (calm)",
           "color": "Brown / Purple",
           "gemstone": "Cat's Eye",
           "deity": "Ketu / Ganesha",
           "direction": "Northwest"
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/personality": {
   "get": {
    "summary": "Personality number from consonants in full name (10 credits)",
    "operationId": "numerologyPersonality",
    "tags": [
     "numerology"
    ],
    "description": "Personality number from consonants in full name. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Arjun Mehta"
      },
      "description": "Full name."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "name": "Arjun Mehta",
         "driver": 0,
         "conductor": 0,
         "personality": 3,
         "personality_factors": {
          "number": 3,
          "planet": "Jupiter",
          "day": "Thursday",
          "color": "Yellow",
          "gemstone": "Yellow Sapphire",
          "deity": "Brihaspati / Vishnu",
          "direction": "Northeast"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/numerology/soul": {
   "get": {
    "summary": "Soul / Heart's Desire number from vowels in full name (10 credits)",
    "operationId": "numerologySoul",
    "tags": [
     "numerology"
    ],
    "description": "Soul / Heart's Desire number from vowels in full name. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Arjun Mehta"
      },
      "description": "Full name."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "name": "Arjun Mehta",
         "driver": 0,
         "conductor": 0,
         "soul": 4,
         "soul_factors": {
          "number": 4,
          "planet": "Rahu",
          "day": "Sunday (with caution)",
          "color": "Smoky Gray / Indigo",
          "gemstone": "Hessonite",
          "deity": "Rahu / Saraswati",
          "direction": "Southwest"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/abhijit": {
   "get": {
    "summary": "Abhijit Muhurta window for a day (10 credits)",
    "operationId": "panchangAbhijit",
    "tags": [
     "panchang"
    ],
    "description": "Abhijit muhurta: the 8th of the 15 day muhurtas. On Wednesday there is none, because on that day the Abhijit muhurta is itself the Durmuhurta (Muhurta Chintamani, Vivaha 54): the response then has `available: false`, `window: null` and a `reason` in the request language. On other days `available` is true.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "available": true,
         "window": {
          "start_jd": 2461420.777406,
          "end_jd": 2461420.806641,
          "start_local": "2027-01-15 12:09:28",
          "end_local": "2027-01-15 12:51:34"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/advanced": {
   "get": {
    "summary": "Complete daily panchang: all 5 elements + muhurta windows (Rahu Kaal/Gulika/Abhijit/Brahma Muhurat) + Choghadiya + Hindu month + Samvat + Disha Shool + Nak Shool + Moon Nivas + Panchang Yogas + same-day transitions (30 credits)",
    "operationId": "panchangAdvanced",
    "tags": [
     "panchang"
    ],
    "description": "Complete daily panchang: all 5 elements + muhurta windows (Rahu Kaal/Gulika/Abhijit/Brahma Muhurat) + Choghadiya + Hindu month + Samvat + Disha Shool + Nak Shool + Moon Nivas + Panchang Yogas + same-day transitions. Costs 30 credits per call. `muhurta.abhijit` is null on Wednesday (`abhijit_available` false, with `abhijit_reason`). `durmuhurta` entries carry `period` (`day` or `night`; Tuesday has a night Durmuhurta). `varjyam` / `amrit_kalam` are the sunrise nakshatra's windows; `varjyam_windows` / `amrit_kalam_windows` list every window that overlaps sunrise to the next sunrise. `calendar_context.ritu` counts ritus from Makara Sankranti. `moonrise_next_day` / `moonset_next_day` as in /v1/panchang/basic.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "sunrise_jd": 2461420.572762,
         "sunrise_local": "2027-01-15 07:14:47",
         "sunset_jd": 2461421.011285,
         "sunset_local": "2027-01-15 17:46:15",
         "moonrise_jd": 2461420.740844,
         "moonrise_local": "2027-01-15 11:16:49",
         "moonset_jd": 2461421.295876,
         "moonset_local": "2027-01-16 00:36:04",
         "has_moonrise": true,
         "has_moonset": true,
         "moonrise_next_day": false,
         "moonset_next_day": true,
         "tithi": {
          "index": 6,
          "name": "Saptami",
          "paksha": "Shukla",
          "tithi_in_paksha": 7,
          "end_jd": 2461420.863881,
          "end_local": "2027-01-15 14:13:59"
         },
         "nakshatra": {
          "index": 26,
          "name": "Revati",
          "pada": 2,
          "end_jd": 2461421.264565,
          "end_local": "2027-01-15 23:50:58"
         },
         "yoga": {
          "index": 19,
          "name": "Shiva",
          "end_jd": 2461420.949764,
          "end_local": "2027-01-15 16:17:40"
         },
         "karana": [
          {
           "index": 13,
           "name": "Vanija",
           "deity": "Lakshmi",
           "special": "Good for trade and commerce",
           "end_jd": 2461420.863881,
           "end_local": "2027-01-15 14:13:59"
          },
          {
           "index": 14,
           "name": "Vishti",
           "deity": "Yama",
           "special": "Very inauspicious; avoid all important works",
           "end_jd": 2461421.357302,
           "end_local": "2027-01-16 02:04:31"
          }
         ],
         "vara": {
          "weekday": "Friday",
          "weekday_index": 5,
          "lord": "Venus",
          "hindi_name": "शुक्रवार"
         },
         "sun_sign": "Capricorn",
         "sun_sign_index": 9,
         "moon_sign": "Pisces",
         "moon_sign_index": 11,
         "hindu_month": {
          "index": 9,
          "name": "Pausha",
          "display_name": "Pausha",
          "is_adhika": false,
          "paksha": "Shukla",
          "name_amanta": "Pausha",
          "name_purnimanta": "Pausha"
         },
         "calendar_context": {
          "ritu": "Shishira",
          "ritu_hi": "शिशिर",
          "ayana": "Uttarayana",
          "ayana_hi": "उत्तरायण",
          "samvat_vikram": 2083,
          "samvat_shaka": 1948,
          "samvatsara_name": "Siddharthi",
          "samvatsara_name_hi": "सिद्धार्थी"
         },
         "disha_shool": {
          "direction": "West",
          "direction_hi": "पश्चिम",
          "remedy": "Eat curd (dahi) before traveling"
         },
         "nak_shool": {
          "direction": "none",
          "remedy": ""
         },
         "moon_nivas": {
          "direction": "North"
         },
         "tithi_meta": {
          "deity": "Surya",
          "type": "Bhadra"
         },
         "nakshatra_meta": {
          "ruling_planet": "Mercury",
          "deity": "Pushan",
          "gana": "Deva"
         },
         "panchang_yogas": [
          {
           "name": "Amrit Siddhi",
           "vara": "Friday",
           "trigger": "Revati nakshatra"
          },
          {
           "name": "Sarvartha Siddhi",
           "vara": "Friday",
           "trigger": "Revati nakshatra"
          }
         ],
         "next_tithi": {
          "start_local": "2027-01-15 14:13:59",
          "start_jd": 2461420.863881,
          "index": 7,
          "name": "Ashtami",
          "end_jd": 2461421.842708,
          "end_local": "2027-01-16 13:43:30"
         },
         "next_nakshatra": {
          "start_local": "2027-01-15 23:50:58",
          "start_jd": 2461421.264565,
          "index": 0,
          "name": "Ashwini",
          "end_jd": 2461422.256011,
          "end_local": "2027-01-16 23:38:39"
         },
         "next_yoga": {
          "start_local": "2027-01-15 16:17:40",
          "start_jd": 2461420.949764,
          "index": 20,
          "name": "Siddha",
          "end_jd": 2461421.880751,
          "end_local": "2027-01-16 14:38:17"
         },
         "muhurta": {
          "rahu_kaal": {
           "start_jd": 2461420.737208,
           "end_jd": 2461420.792024,
           "start_local": "2027-01-15 11:11:35",
           "end_local": "2027-01-15 12:30:31"
          },
          "yamaganda": {
           "start_jd": 2461420.901655,
           "end_jd": 2461420.95647,
           "start_local": "2027-01-15 15:08:23",
           "end_local": "2027-01-15 16:27:19"
          },
          "gulika": {
           "start_jd": 2461420.627578,
           "end_jd": 2461420.682393,
           "start_local": "2027-01-15 08:33:43",
           "end_local": "2027-01-15 09:52:39"
          },
          "abhijit": {
           "start_jd": 2461420.777406,
           "end_jd": 2461420.806641,
           "start_local": "2027-01-15 12:09:28",
           "end_local": "2027-01-15 12:51:34"
          },
          "abhijit_available": true,
          "brahma_muhurat": {
           "start_jd": 2461420.497823,
           "end_jd": 2461420.535293,
           "start_local": "2027-01-15 05:26:52",
           "end_local": "2027-01-15 06:20:49"
          }
         },
         "choghadiya": {
          "day": [
           {
            "index": 1,
            "type": "Chal",
            "is_day_ghadi": true,
            "window": {
             "start_jd": 2461420.572762,
             "end_jd": 2461420.627578,
             "start_local": "2027-01-15 07:14:47",
             "end_local": "2027-01-15 08:33:43"
            }
           },
           {
            "index": 2,
            "type": "Labh",
            "is_day_ghadi": true,
            "window": {
             "start_jd": 2461420.627578,
             "end_jd": 2461420.682393,
             "start_local": "2027-01-15 08:33:43",
             "end_local": "2027-01-15 09:52:39"
            }
           }
          ],
          "night": [
           {
            "index": 9,
            "type": "Rog",
            "is_day_ghadi": false,
            "window": {
             "start_jd": 2461421.011285,
             "end_jd": 2461421.08146,
             "start_local": "2027-01-15 17:46:15",
             "end_local": "2027-01-15 19:27:18"
            }
           },
           {
            "index": 10,
            "type": "Kaal",
            "is_day_ghadi": false,
            "window": {
             "start_jd": 2461421.08146,
             "end_jd": 2461421.151635,
             "start_local": "2027-01-15 19:27:18",
             "end_local": "2027-01-15 21:08:21"
            }
           }
          ]
         },
         "durmuhurta": [
          {
           "muhurta_index": 4,
           "period": "day",
           "window": {
            "start_jd": 2461420.660467,
            "end_jd": 2461420.689702,
            "start_local": "2027-01-15 09:21:04",
            "end_local": "2027-01-15 10:03:10"
           }
          },
          {
           "muhurta_index": 9,
           "period": "day",
           "window": {
            "start_jd": 2461420.806641,
            "end_jd": 2461420.835876,
            "start_local": "2027-01-15 12:51:34",
            "end_local": "2027-01-15 13:33:40"
           }
          }
         ],
         "varjyam": {
          "start_jd": 2461420.753356,
          "end_jd": 2461420.821517,
          "start_local": "2027-01-15 11:34:50",
          "end_local": "2027-01-15 13:12:59"
         },
         "amrit_kalam": {
          "start_jd": 2461421.162323,
          "end_jd": 2461421.230484,
          "start_local": "2027-01-15 21:23:45",
          "end_local": "2027-01-15 23:01:54"
         },
         "varjyam_windows": [
          {
           "nakshatra": "Revati",
           "nakshatra_index": 26,
           "offset_ghatika": 30,
           "window": {
            "start_jd": 2461420.753356,
            "end_jd": 2461420.821517,
            "start_local": "2027-01-15 11:34:50",
            "end_local": "2027-01-15 13:12:59"
           },
           "duration_seconds": 5889
          }
         ],
         "amrit_kalam_windows": [
          {
           "nakshatra": "Revati",
           "nakshatra_index": 26,
           "offset_ghatika": 54,
           "window": {
            "start_jd": 2461421.162323,
            "end_jd": 2461421.230484,
            "start_local": "2027-01-15 21:23:45",
            "end_local": "2027-01-15 23:01:54"
           },
           "duration_seconds": 5889
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/amrit-kalam": {
   "get": {
    "summary": "Amrit Kalam (auspicious period) for a day (10 credits)",
    "operationId": "panchangAmritKalam",
    "tags": [
     "panchang"
    ],
    "description": "Amrit Kalam (Amrita ghatis): 4 ghatis starting at the nakshatra's ghati of the Prasna Marga table, scaled to the nakshatra's real length. The top-level `nakshatra`, `amrit_offset_ghatika` and `window` are the window of the nakshatra running at sunrise (it can lie before sunrise). `windows` lists the window of every nakshatra between sunrise and the next sunrise that overlaps that span.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "nakshatra": "Revati",
         "nakshatra_index": 26,
         "amrit_offset_ghatika": 54,
         "window": {
          "start_jd": 2461421.162323,
          "end_jd": 2461421.230484,
          "start_local": "2027-01-15 21:23:45",
          "end_local": "2027-01-15 23:01:54"
         },
         "duration_seconds": 5889,
         "windows": [
          {
           "nakshatra": "Revati",
           "nakshatra_index": 26,
           "offset_ghatika": 54,
           "window": {
            "start_jd": 2461421.162323,
            "end_jd": 2461421.230484,
            "start_local": "2027-01-15 21:23:45",
            "end_local": "2027-01-15 23:01:54"
           },
           "duration_seconds": 5889
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/basic": {
   "get": {
    "summary": "All 5 panchang elements + sunrise/sunset/moonrise/moonset + transition end-times — single call replaces 7 atomic calls (20 credits)",
    "operationId": "panchangBasic",
    "tags": [
     "panchang"
    ],
    "description": "All 5 panchang elements + sunrise/sunset/moonrise/moonset + transition end-times — single call replaces 7 atomic calls. Costs 20 credits per call. `moonrise_next_day` / `moonset_next_day`: true when the moonrise / moonset found from local midnight falls on the next civil date.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "sunrise_jd": 2461420.572762,
         "sunrise_local": "2027-01-15 07:14:47",
         "sunset_jd": 2461421.011285,
         "sunset_local": "2027-01-15 17:46:15",
         "moonrise_jd": 2461420.740844,
         "moonrise_local": "2027-01-15 11:16:49",
         "moonset_jd": 2461421.295876,
         "moonset_local": "2027-01-16 00:36:04",
         "has_moonrise": true,
         "has_moonset": true,
         "moonrise_next_day": false,
         "moonset_next_day": true,
         "tithi": {
          "index": 6,
          "name": "Saptami",
          "paksha": "Shukla",
          "tithi_in_paksha": 7,
          "end_jd": 2461420.863881,
          "end_local": "2027-01-15 14:13:59"
         },
         "nakshatra": {
          "index": 26,
          "name": "Revati",
          "pada": 2,
          "end_jd": 2461421.264565,
          "end_local": "2027-01-15 23:50:58"
         },
         "yoga": {
          "index": 19,
          "name": "Shiva",
          "end_jd": 2461420.949764,
          "end_local": "2027-01-15 16:17:40"
         },
         "karana": [
          {
           "index": 13,
           "name": "Vanija",
           "deity": "Lakshmi",
           "special": "Good for trade and commerce",
           "end_jd": 2461420.863881,
           "end_local": "2027-01-15 14:13:59"
          },
          {
           "index": 14,
           "name": "Vishti",
           "deity": "Yama",
           "special": "Very inauspicious; avoid all important works",
           "end_jd": 2461421.357302,
           "end_local": "2027-01-16 02:04:31"
          }
         ],
         "vara": {
          "weekday": "Friday",
          "weekday_index": 5,
          "lord": "Venus",
          "hindi_name": "शुक्रवार"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/brahma-muhurat": {
   "get": {
    "summary": "Brahma Muhurta window for a day (10 credits)",
    "operationId": "panchangBrahmaMuhurat",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "window": {
          "start_jd": 2461420.497823,
          "end_jd": 2461420.535293,
          "start_local": "2027-01-15 05:26:52",
          "end_local": "2027-01-15 06:20:49"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/choghadiya": {
   "get": {
    "summary": "Choghadiya periods for a day (10 credits)",
    "operationId": "panchangChoghadiya",
    "tags": [
     "panchang"
    ],
    "description": "`abhijit_muhurt.available` is false on Wednesday (no Abhijit muhurta, Muhurta Chintamani, Vivaha 54), with a `reason` in the request language.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "abhijit_muhurt": {
          "available": true,
          "start_local": "2027-01-15 12:09:28",
          "end_local": "2027-01-15 12:51:34",
          "start_jd": 2461420.777406,
          "end_jd": 2461420.806641
         },
         "slots": [
          {
           "index": 1,
           "type": "Chal",
           "is_day_ghadi": true,
           "window": {
            "start_jd": 2461420.572762,
            "end_jd": 2461420.627578,
            "start_local": "2027-01-15 07:14:47",
            "end_local": "2027-01-15 08:33:43"
           }
          },
          {
           "index": 2,
           "type": "Labh",
           "is_day_ghadi": true,
           "window": {
            "start_jd": 2461420.627578,
            "end_jd": 2461420.682393,
            "start_local": "2027-01-15 08:33:43",
            "end_local": "2027-01-15 09:52:39"
           }
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/durmuhurta": {
   "get": {
    "summary": "Inauspicious durmuhurta windows for a day (10 credits)",
    "operationId": "panchangDurmuhurta",
    "tags": [
     "panchang"
    ],
    "description": "Durmuhurta windows of the day by weekday (Muhurta Chintamani, Vivaha 54). Day muhurtas are 1/15 of sunrise to sunset: Sunday 14th; Monday 9th and 12th; Tuesday 4th; Wednesday 8th; Thursday 6th and 12th; Friday 4th and 9th; Saturday 1st and 2nd. Tuesday also has a night Durmuhurta, the 7th of the 15 night muhurtas (sunset to next sunrise). Each slot gives `period` (`day` or `night`) and `muhurta_index` (1-15 within that period).",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "slots": [
          {
           "muhurta_index": 4,
           "period": "day",
           "window": {
            "start_jd": 2461420.660467,
            "end_jd": 2461420.689702,
            "start_local": "2027-01-15 09:21:04",
            "end_local": "2027-01-15 10:03:10"
           }
          },
          {
           "muhurta_index": 9,
           "period": "day",
           "window": {
            "start_jd": 2461420.806641,
            "end_jd": 2461420.835876,
            "start_local": "2027-01-15 12:51:34",
            "end_local": "2027-01-15 13:33:40"
           }
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/gulika": {
   "get": {
    "summary": "Gulika Kaal window for a day (10 credits)",
    "operationId": "panchangGulika",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "window": {
          "start_jd": 2461420.627578,
          "end_jd": 2461420.682393,
          "start_local": "2027-01-15 08:33:43",
          "end_local": "2027-01-15 09:52:39"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/hindu-month": {
   "get": {
    "summary": "Hindu lunar month name and Samvat for a date (10 credits)",
    "operationId": "panchangHinduMonth",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "index": 9,
         "name": "Pausha",
         "is_adhika": false,
         "display_name": "Pausha",
         "amavasya_jd": 2461413.35027,
         "amavasya_local": "2027-01-08 01:54:23",
         "sun_rashi_at_amavasya": 8
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/hora": {
   "get": {
    "summary": "Planetary hora (hour) at a moment (10 credits)",
    "operationId": "panchangHora",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "horas": [
          {
           "index": 1,
           "lord": "Venus",
           "is_day_hora": true,
           "window": {
            "start_jd": 2461420.572762,
            "end_jd": 2461420.609306,
            "start_local": "2027-01-15 07:14:47",
            "end_local": "2027-01-15 08:07:24"
           }
          },
          {
           "index": 2,
           "lord": "Mercury",
           "is_day_hora": true,
           "window": {
            "start_jd": 2461420.609306,
            "end_jd": 2461420.645849,
            "start_local": "2027-01-15 08:07:24",
            "end_local": "2027-01-15 09:00:01"
           }
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/hora-dinman": {
   "get": {
    "summary": "Fixed equal-length hora (dinman method) — 12 day + 12 night horas of exactly 60 minutes each, with planetary lord (10 credits)",
    "operationId": "panchangHoraDinman",
    "tags": [
     "panchang"
    ],
    "description": "Fixed equal-length hora (dinman method) — 12 day + 12 night horas of exactly 60 minutes each, with planetary lord. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "day": [
          {
           "index": 0,
           "lord": "Venus",
           "is_day_hora": true,
           "window": {
            "start_jd": 2461420.572762,
            "end_jd": 2461420.614429,
            "start_local": "2027-01-15 07:14:47",
            "end_local": "2027-01-15 08:14:47"
           }
          },
          {
           "index": 1,
           "lord": "Mercury",
           "is_day_hora": true,
           "window": {
            "start_jd": 2461420.614429,
            "end_jd": 2461420.656096,
            "start_local": "2027-01-15 08:14:47",
            "end_local": "2027-01-15 09:14:47"
           }
          }
         ],
         "night": [
          {
           "index": 0,
           "lord": "Mars",
           "is_day_hora": false,
           "window": {
            "start_jd": 2461421.011285,
            "end_jd": 2461421.052952,
            "start_local": "2027-01-15 17:46:15",
            "end_local": "2027-01-15 18:46:15"
           }
          },
          {
           "index": 1,
           "lord": "Sun",
           "is_day_hora": false,
           "window": {
            "start_jd": 2461421.052952,
            "end_jd": 2461421.094619,
            "start_local": "2027-01-15 18:46:15",
            "end_local": "2027-01-15 19:46:15"
           }
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/karana": {
   "get": {
    "summary": "Karana (half lunar day) at a moment (10 credits)",
    "operationId": "panchangKarana",
    "tags": [
     "panchang"
    ],
    "description": "Every karana running between sunrise and the next sunrise (two to four), in order, each with its end time.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "slots": [
          {
           "index": 13,
           "name": "Vanija",
           "deity": "Lakshmi",
           "special": "Good for trade and commerce",
           "end_jd": 2461420.863881,
           "end_local": "2027-01-15 14:13:59"
          },
          {
           "index": 14,
           "name": "Vishti",
           "deity": "Yama",
           "special": "Very inauspicious; avoid all important works",
           "end_jd": 2461421.357302,
           "end_local": "2027-01-16 02:04:31"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/lagna-table": {
   "get": {
    "summary": "All 12 lagna (ascendant sign) rise-times for the day — shows when each zodiac sign rises on the eastern horizon (20 credits)",
    "operationId": "panchangLagnaTable",
    "tags": [
     "panchang"
    ],
    "description": "All 12 lagna (ascendant sign) rise-times for the day — shows when each zodiac sign rises on the eastern horizon. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "slots": [
          {
           "index": 8,
           "sign": "Sagittarius",
           "start_jd": 2461420.572762,
           "end_jd": 2461420.574681,
           "start_local": "2027-01-15 07:14:47",
           "end_local": "2027-01-15 07:17:32"
          },
          {
           "index": 9,
           "sign": "Capricorn",
           "start_jd": 2461420.574693,
           "end_jd": 2461420.645711,
           "start_local": "2027-01-15 07:17:33",
           "end_local": "2027-01-15 08:59:49"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/monthly": {
   "get": {
    "summary": "Month panchang; with include=sheet a complete printable Hindu calendar (30 credits)",
    "operationId": "panchangMonthly",
    "tags": [
     "panchang"
    ],
    "description": "One entry per civil day anchored at local sunrise: vara, tithi, nakshatra, yoga, sunrise/sunset. Add `include=sheet` to also get, per day, the tithi / nakshatra / moon-sign end times in printed-panchang notation (\"27:07+\"), every tithi and nakshatra current during the day (kshaya days), moonrise/moonset, Hindu month (amanta and purnimanta), Vikram/Shaka samvat, ritu, ayana, moon phase and the full festival list for that day, plus a header such as \"Pausha - Magha 2083\". This is everything a printed-panchang-style monthly calendar page prints; validated against printed panchang calendars of 14 cities for 2027. Index conventions: `days[]` uses 0-based indices (`tithi_index` 0-29 with 0 = Shukla Pratipada and 29 = Amavasya, `nakshatra_index` 0-26, `yoga_index` 0-26, `vara_index` 0 = Sunday), the same as /v1/panchang/tithi `index`. The calendar sheet uses the 1-based numbers a printed panchang shows: `sheet[].tithi.index` and `sheet[].tithis[].index` 1-30 (1 = Shukla Pratipada, 15 = Purnima, 30 = Amavasya), `nakshatra.index` 1-27, `moon_sign.index` 1-12 (1 = Mesha). For the same tithi, sheet index = days index + 1.",
    "parameters": [
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2027
      }
     },
     {
      "name": "month",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 12,
       "example": 1
      }
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "description": "Decimal hours offset (5.5), fixed offset (+05:30) or IANA timezone (Asia/Kolkata, DST-correct). Default UTC.",
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      }
     },
     {
      "name": "include",
      "in": "query",
      "required": false,
      "description": "`sheet` (or `festivals`) adds the calendar sheet fields.",
      "schema": {
       "type": "string",
       "example": "sheet"
      }
     },
     {
      "$ref": "#/components/parameters/festival_locale"
     },
     {
      "$ref": "#/components/parameters/festival_month_system"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "year": 2027,
         "month": 1,
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "days": [
          {
           "date": "2027-01-01",
           "day": 1,
           "vara_index": 5,
           "vara": "Friday",
           "tithi_index": 23,
           "tithi_name": "Navami",
           "tithi_paksha": "Krishna",
           "nakshatra_index": 13,
           "nakshatra_name": "Chitra",
           "nakshatra_pada": 3,
           "yoga_index": 5,
           "yoga_name": "Atiganda",
           "sunrise_jd": 2461406.571921,
           "sunset_jd": 2461407.003842,
           "sunrise_local": "2027-01-01 07:13:34",
           "sunset_local": "2027-01-01 17:35:32",
           "has_sunrise": true
          },
          {
           "date": "2027-01-02",
           "day": 2,
           "vara_index": 6,
           "vara": "Saturday",
           "tithi_index": 24,
           "tithi_name": "Dashami",
           "tithi_paksha": "Krishna",
           "nakshatra_index": 14,
           "nakshatra_name": "Swati",
           "nakshatra_pada": 3,
           "yoga_index": 6,
           "yoga_name": "Sukarma",
           "sunrise_jd": 2461407.572098,
           "sunset_jd": 2461408.004325,
           "sunrise_local": "2027-01-02 07:13:49",
           "sunset_local": "2027-01-02 17:36:14",
           "has_sunrise": true
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/moonrise-moonset": {
   "get": {
    "summary": "Moonrise and moonset times (10 credits)",
    "operationId": "panchangMoonriseMoonset",
    "tags": [
     "panchang"
    ],
    "description": "First moonrise and moonset searched from local midnight of `date`. `has_moonrise` / `has_moonset` are true when one was found. When it falls on the next civil date (the Moon skips a rise or a set about once a month), `moonrise_next_day` / `moonset_next_day` is true.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "moonrise_jd": 2461420.740844,
         "moonset_jd": 2461421.295876,
         "moonrise_local": "2027-01-15 11:16:49",
         "moonset_local": "2027-01-16 00:36:04",
         "has_moonrise": true,
         "has_moonset": true,
         "moonrise_next_day": false,
         "moonset_next_day": true
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/nakshatra": {
   "get": {
    "summary": "Moon nakshatra at a moment (10 credits)",
    "operationId": "panchangNakshatra",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "index": 26,
         "name": "Revati",
         "pada": 2,
         "ruling_planet": "Mercury",
         "deity": "Pushan",
         "gana": "Deva",
         "end_jd": 2461421.264565,
         "end_local": "2027-01-15 23:50:58"
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/nakshatra-prediction": {
   "get": {
    "summary": "Daily prediction based on Tara Bala — computed from birth nakshatra vs today's Moon nakshatra, with health/work/relationships/finance/travel guidance (10 credits)",
    "operationId": "panchangNakshatraPrediction",
    "tags": [
     "panchang"
    ],
    "description": "Daily prediction based on Tara Bala — computed from birth nakshatra vs today's Moon nakshatra, with health/work/relationships/finance/travel guidance. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "birth_nak",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "3"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "tz": "Asia/Kolkata",
         "birth_nakshatra": {
          "index": 3,
          "name": "Rohini",
          "ruling_planet": "Moon",
          "deity": "Brahma"
         },
         "today_nakshatra": {
          "index": 26,
          "name": "Revati",
          "ruling_planet": "Mercury",
          "deity": "Pushan"
         },
         "tara": {
          "position": 6,
          "name": "Sadhana",
          "score": 10,
          "auspiciousness": "favorable"
         },
         "prediction": {
          "overall": "Sadhana tara — accomplishment and focused effort. Goals are within reach.",
          "health": "Positive energy for disciplined practices like yoga and meditation.",
          "work": "Excellent for focused work, learning, and achieving targets.",
          "relationships": "Mature and purposeful interactions. Good for mentoring and teaching.",
          "finance": "Good for long-term planning and disciplined savings.",
          "travel": "Travel for educational or spiritual purposes is well-starred.",
          "guidance": "Apply sustained effort. This tara rewards discipline and sincerity."
         },
         "today_panchang": {
          "tithi": "Saptami",
          "yoga": "Shiva",
          "vara": "Friday"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/panchaka": {
   "get": {
    "summary": "Count-based Panchaka for a day, by time segment (10 credits)",
    "operationId": "panchangPanchaka",
    "tags": [
     "panchang"
    ],
    "description": "Count-based Panchaka: (tithi 1-30 + weekday 1-7 + nakshatra 1-27 + lagna 1-12) mod 9; remainder 1 Mrityu, 2 Agni, 4 Raja, 6 Chora, 8 Roga, 0/3/5/7 no Panchaka (B.V. Raman, Muhurtha, pp. 19-21; Muhurta Chintamani, Vivaha 72-74). The top-level fields are the value at sunrise. `segments` covers sunrise to the next sunrise, split at every tithi, nakshatra and lagna change, each with its own `components`, `type` and `avoidance` (Roga: upanayana, marriage; Agni: construction; Raja: new employment, construction; Chora: travel; Mrityu: marriage, upanayana).",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "is_panchaka": true,
         "type": "Raja",
         "formula_mod": 4,
         "components": {
          "tithi_number": 7,
          "vara_number": 6,
          "nakshatra_number": 27,
          "lagna_number": 9
         },
         "avoidance": "new_employment,construction",
         "segments": [
          {
           "start_jd": 2461420.572762,
           "end_jd": 2461420.574691,
           "start_local": "2027-01-15 07:14:47",
           "end_local": "2027-01-15 07:17:33",
           "is_panchaka": true,
           "type": "Raja",
           "formula_mod": 4,
           "components": {
            "tithi_number": 7,
            "vara_number": 6,
            "nakshatra_number": 27,
            "lagna_number": 9
           },
           "avoidance": "new_employment,construction"
          },
          {
           "start_jd": 2461420.574691,
           "end_jd": 2461420.645722,
           "start_local": "2027-01-15 07:17:33",
           "end_local": "2027-01-15 08:59:50",
           "is_panchaka": false,
           "type": "",
           "formula_mod": 5,
           "components": {
            "tithi_number": 7,
            "vara_number": 6,
            "nakshatra_number": 27,
            "lagna_number": 10
           },
           "avoidance": ""
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/pradosh-kaal": {
   "get": {
    "summary": "Pradosh Kaal window for a day (10 credits)",
    "operationId": "panchangPradoshKaal",
    "tags": [
     "panchang"
    ],
    "description": "Pradosh Kaal: sunset to sunset + 96 minutes, the same window used for the Pradosh vrat day in the festival calendar.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "available": true,
         "window": {
          "start_jd": 2461421.011285,
          "end_jd": 2461421.077952,
          "start_local": "2027-01-15 17:46:15",
          "end_local": "2027-01-15 19:22:15"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/rahu-kaal": {
   "get": {
    "summary": "Rahu Kaal window for a day (10 credits)",
    "operationId": "panchangRahuKaal",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "window": {
          "start_jd": 2461420.737208,
          "end_jd": 2461420.792024,
          "start_local": "2027-01-15 11:11:35",
          "end_local": "2027-01-15 12:30:31"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/sankranti": {
   "get": {
    "summary": "Next solar Sankranti from a given date (10 credits)",
    "operationId": "panchangSankranti",
    "tags": [
     "panchang"
    ],
    "description": "`season` is the ritu of the sankranti's sign, counted from Makara Sankranti (Surya Siddhanta 14.10): Makara Sankranti starts Shishira, Meena Sankranti starts Vasanta.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi_index": 10,
         "rashi": "Aquarius",
         "sankranti_jd": 2461449.690578,
         "sankranti_local": "2027-02-13T10:04:25+05:30",
         "sankranti_utc": "2027-02-13T04:34:25Z",
         "sun_longitude_sidereal": 299.999999,
         "is_mesha_sankranti": false,
         "is_makar_sankranti": false,
         "season": "Shishira",
         "ayanamsa": "lahiri",
         "direction": "next"
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/siddha-yoga": {
   "get": {
    "summary": "Siddha yoga check for a day (10 credits)",
    "operationId": "panchangSiddhaYoga",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "has_siddha_yoga": true,
         "matches": [
          {
           "weekday": "Friday",
           "nakshatra": "Revati",
           "weekday_index": 5,
           "nakshatra_index": 26
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/summary": {
   "get": {
    "summary": "Full panchang summary for a day (20 credits)",
    "operationId": "panchangSummary",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "sunrise_local": "2027-01-15 07:14:47",
         "sunset_local": "2027-01-15 17:46:15",
         "tithi": {
          "index": 6,
          "name": "Saptami",
          "paksha": "Shukla",
          "tithi_in_paksha": 7
         },
         "nakshatra": {
          "index": 26,
          "name": "Revati",
          "pada": 2
         },
         "yoga": {
          "index": 19,
          "name": "Shiva"
         },
         "karana": {
          "index": 13,
          "name": "Vanija"
         },
         "vara": {
          "weekday": "Friday",
          "lord": "Venus"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/sunrise-sunset": {
   "get": {
    "summary": "Sunrise and sunset times (10 credits)",
    "operationId": "panchangSunriseSunset",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "has_sunrise": true,
         "has_sunset": true,
         "sunrise_jd": 2461420.572762,
         "sunset_jd": 2461421.011285,
         "sunrise_local": "2027-01-15 07:14:47",
         "sunset_local": "2027-01-15 17:46:15"
        }
       }
      }
     },
     "400": {
      "description": "Invalid parameters",
      "content": {
       "application/json": {
        "schema": {
         "$ref": "#/components/schemas/Error"
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/tithi": {
   "get": {
    "summary": "Lunar day (tithi) at a moment (10 credits)",
    "operationId": "panchangTithi",
    "description": "`index` is the 0-based tithi of the lunar month: 0 = Shukla Pratipada ... 14 = Purnima, 15 = Krishna Pratipada ... 29 = Amavasya. `tithi_in_paksha` is the 1-based number inside the fortnight (1-15). The same 0-based index is `tithi.index` in /v1/panchang/summary and `days[].tithi_index` in /v1/panchang/monthly; the calendar sheet of /v1/panchang/monthly?include=sheet numbers tithis 1-30 instead (`sheet[].tithi.index` = this index + 1).",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "index": 6,
         "name": "Saptami",
         "paksha": "Shukla",
         "tithi_in_paksha": 7,
         "deity": "Surya",
         "type": "Bhadra",
         "end_jd": 2461420.863881,
         "end_local": "2027-01-15 14:13:59"
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/vara": {
   "get": {
    "summary": "Vedic weekday (vara) for a date (10 credits)",
    "operationId": "panchangVara",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "weekday": "Friday",
         "weekday_index": 5,
         "lord": "Venus",
         "hindi_name": "शुक्रवार"
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/varjyam": {
   "get": {
    "summary": "Varjyam (inauspicious period) for a day (10 credits)",
    "operationId": "panchangVarjyam",
    "tags": [
     "panchang"
    ],
    "description": "Varjyam (Tyajya, Visha ghati): 4 ghatis starting at the nakshatra's ghati of Muhurta Chintamani, Vivaha 49-51, scaled to the nakshatra's real length. The top-level `nakshatra`, `offset_ghatika` and `window` are the window of the nakshatra running at sunrise (it can lie before sunrise). `windows` lists the window of every nakshatra between sunrise and the next sunrise that overlaps that span.",
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "nakshatra": "Revati",
         "nakshatra_index": 26,
         "offset_ghatika": 30,
         "window": {
          "start_jd": 2461420.753356,
          "end_jd": 2461420.821517,
          "start_local": "2027-01-15 11:34:50",
          "end_local": "2027-01-15 13:12:59"
         },
         "duration_seconds": 5889,
         "windows": [
          {
           "nakshatra": "Revati",
           "nakshatra_index": 26,
           "offset_ghatika": 30,
           "window": {
            "start_jd": 2461420.753356,
            "end_jd": 2461420.821517,
            "start_local": "2027-01-15 11:34:50",
            "end_local": "2027-01-15 13:12:59"
           },
           "duration_seconds": 5889
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/yamaganda": {
   "get": {
    "summary": "Yamaganda window for a day (10 credits)",
    "operationId": "panchangYamaganda",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "window": {
          "start_jd": 2461420.901655,
          "end_jd": 2461420.95647,
          "start_local": "2027-01-15 15:08:23",
          "end_local": "2027-01-15 16:27:19"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/panchang/yoga": {
   "get": {
    "summary": "Nithya yoga at a moment (10 credits)",
    "operationId": "panchangYoga",
    "tags": [
     "panchang"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "location": {
          "lat": 28.6139,
          "lon": 77.209,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "index": 19,
         "name": "Shiva",
         "special": "Auspicious",
         "end_jd": 2461420.949764,
         "end_local": "2027-01-15 16:17:40"
        }
       }
      }
     }
    }
   }
  },
  "/v1/planet-moments/combustion-window": {
   "get": {
    "summary": "Combustion start/end window for a planet (10 credits)",
    "operationId": "planetMomentsCombustionWindow",
    "tags": [
     "planet-moments"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "jd_ut": 2447906.708333,
         "planet": "Moon",
         "orb_direct_deg": 12,
         "orb_retrograde_deg": 12,
         "enter_jd": 2447917.319906,
         "enter_local": "1990-01-26 01:10:40",
         "exit_jd": 2447919.270833,
         "exit_local": "1990-01-28 00:00:00",
         "retrograde_during": false,
         "min_separation_deg": 0.176359,
         "min_separation_jd": 2447918.319906
        }
       }
      }
     }
    }
   }
  },
  "/v1/planet-moments/ingress": {
   "get": {
    "summary": "Next sign ingress for a planet (10 credits)",
    "operationId": "planetMomentsIngress",
    "tags": [
     "planet-moments"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "jd_ut": 2447906.708333,
         "planet": "Sun",
         "from_rashi_index": 9,
         "from_rashi": "Capricorn",
         "to_rashi_index": 10,
         "to_rashi": "Aquarius",
         "ingress_jd": 2447935.204671,
         "ingress_local": "1990-02-12 22:24:44",
         "sidereal_lon_at_cross": 300,
         "is_retrograde_at_ingress": false
        }
       }
      }
     }
    }
   }
  },
  "/v1/planet-moments/retrograde-window": {
   "get": {
    "summary": "Next retrograde station start/end for a planet (10 credits)",
    "operationId": "planetMomentsRetrogradeWindow",
    "tags": [
     "planet-moments"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "mercury",
        "venus",
        "mars",
        "jupiter",
        "saturn"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "jd_ut": 2447906.708333,
         "planet": "Mercury",
         "type": "direct",
         "station_jd": 2447911.688558,
         "station_local": "1990-01-20 10:01:31",
         "sidereal_lon": 255.979274,
         "rashi_index": 8,
         "rashi": "Sagittarius"
        }
       }
      }
     }
    }
   }
  },
  "/v1/planet-moments/speed": {
   "get": {
    "summary": "Planet speed and direction at a moment (10 credits)",
    "operationId": "planetMomentsSpeed",
    "tags": [
     "planet-moments"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn",
        "rahu",
        "ketu"
       ]
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "ayanamsa": "lahiri",
         "ayanamsa_value": 23.71795,
         "jd_ut": 2447906.708333,
         "planet": "Sun",
         "speed_deg_per_day": 1.018256,
         "is_retrograde": false,
         "is_stationing": false
        }
       }
      }
     }
    }
   }
  },
  "/v1/prashna/answer": {
   "get": {
    "summary": "Yes/No answer based on classical Prashna Marg rules (30 credits)",
    "operationId": "prashnaAnswer",
    "tags": [
     "prashna"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "question_house",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 12
      },
      "description": "House number representing the subject of the question"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "house",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "7"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "answer": "yes",
         "tendency_score": 2,
         "support_factors": [
          "Moon in same house as Saturn or Sun"
         ],
         "contra_factors": []
        }
       }
      }
     }
    }
   }
  },
  "/v1/prashna/arudha": {
   "get": {
    "summary": "Arudha lagna of the Prashna chart (10 credits)",
    "operationId": "prashnaArudha",
    "tags": [
     "prashna"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "arudha_sign_idx": 0,
         "arudha_sign": "Aries",
         "house_in_chart": 3
        }
       }
      }
     }
    }
   }
  },
  "/v1/prashna/chart": {
   "get": {
    "summary": "Full horary (Prashna) chart at a moment + location (30 credits)",
    "operationId": "prashnaChart",
    "tags": [
     "prashna"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_iso": "2027-01-15T10:30",
         "at_jd": 2461420.708333,
         "ascendant": {
          "sidereal_lon": 325.924101,
          "sign_index": 10,
          "deg_in_sign": 25.924101,
          "dms_in_sign": "25°55'26\"",
          "nakshatra_idx": 24,
          "pada": 2,
          "nak_lord": "Jupiter",
          "mc": 238.700294,
          "house_system": "whole_sign"
         },
         "planets": [
          {
           "id": "sun",
           "name": "Sun",
           "sidereal_lon": 270.56871,
           "sign_index": 9,
           "deg_in_sign": 0.56871,
           "dms_in_sign": "00°34'07\"",
           "house": 12,
           "nakshatra_idx": 20,
           "pada": 2,
           "nak_lord": "Sun",
           "speed": 1.018616,
           "is_retro": false,
           "ecl_lat": 0.000198
          },
          {
           "id": "moon",
           "name": "Moon",
           "sidereal_lon": 352.697101,
           "sign_index": 11,
           "deg_in_sign": 22.697101,
           "dms_in_sign": "22°41'49\"",
           "house": 2,
           "nakshatra_idx": 26,
           "pada": 2,
           "nak_lord": "Mercury",
           "speed": 13.021604,
           "is_retro": false,
           "ecl_lat": 4.363937
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/prashna/kp-horary": {
   "get": {
    "summary": "KP horary chart for a number from 1 to 249: horary ascendant, Placidus cusps with lords and significators, planets, 4-step chain and ruling planets (30 credits)",
    "operationId": "prashnaKpHorary",
    "tags": [
     "prashna"
    ],
    "description": "KP horary chart for a number from 1 to 249, cast for the moment and place of judgement. Returns the horary ascendant (the first degree of that number's sign/star/sub part), the 12 Placidus cusps with that ascendant (star, sub and sub-sub lords and significator planets), the planets at the moment with their KP lords and Placidus houses, planet significators, the KP 4-step chain and the ruling planets of the moment (from the real ascendant). Uses the Krishnamurti ayanamsa unless ayanamsa is sent. Each call costs 30 credits.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date the question is asked (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Local time the question is asked (HH:MM, 24-hour)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone of the place of the question: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude of the place of the question, in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude of the place of the question, in decimal degrees."
     },
     {
      "name": "number",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 249,
       "example": 23
      },
      "description": "The KP horary number the querent gives, a whole number from 1 to 249. Number n is the n-th of the 249 sign/star/sub parts of the zodiac counted from 0° Aries; the horary ascendant is the degree where that part begins."
     },
     {
      "name": "ayanamsa",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "lahiri",
        "raman",
        "krishnamurti",
        "fagan",
        "yukteshwar",
        "true_chitrapaksha"
       ],
       "default": "krishnamurti"
      },
      "description": "Ayanamsa. Defaults to krishnamurti here, the ayanamsa KP horary is defined on (other endpoints default to lahiri)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "ayanamsa": "krishnamurti",
         "ayanamsa_value": 24.137956,
         "house_system": "placidus",
         "number": 23,
         "horary_ascendant": {
          "number": 23,
          "start_lon": 30,
          "end_lon": 31.222222,
          "start_dms_in_sign": "00°00'00\"",
          "sign": "Taurus",
          "sign_index": 1,
          "sign_lord": "Venus",
          "nakshatra": "Krittika",
          "star_lord": "Sun",
          "sub_lord": "Rahu"
         },
         "houses": [
          {
           "house": 1,
           "cusp_lon": 30,
           "star_lord": "Sun",
           "sub_lord": "Rahu",
           "sub_sub_lord": "Rahu",
           "significators": [
            "Mars",
            "Venus"
           ]
          },
          {
           "house": 2,
           "cusp_lon": 57.294579,
           "star_lord": "Mars",
           "sub_lord": "Jupiter",
           "sub_sub_lord": "Sun",
           "significators": [
            "Mars",
            "Venus"
           ]
          }
         ],
         "planets": [
          {
           "id": "sun",
           "planet": "Sun",
           "sidereal_lon": 270.665562,
           "sign": "Capricorn",
           "sign_index": 9,
           "house": 9,
           "is_retro": false,
           "star_lord": "Sun",
           "sub_lord": "Rahu",
           "sub_sub_lord": "Venus"
          },
          {
           "id": "moon",
           "planet": "Moon",
           "sidereal_lon": 352.793954,
           "sign": "Pisces",
           "sign_index": 11,
           "house": 11,
           "is_retro": false,
           "star_lord": "Mercury",
           "sub_lord": "Moon",
           "sub_sub_lord": "Saturn"
          }
         ],
         "planet_significators": [
          {
           "planet": "Sun",
           "houses": [
            9,
            5
           ]
          },
          {
           "planet": "Moon",
           "houses": [
            9,
            11
           ]
          }
         ],
         "four_step": [
          {
           "planet": "Sun",
           "planet_houses": [
            9,
            5
           ],
           "star_lord": "Sun",
           "star_lord_houses": [
            9,
            5
           ],
           "sub_lord": "Rahu",
           "sub_lord_houses": [
            4,
            10
           ],
           "sub_lord_star_lord": "Mars",
           "sub_lord_star_lord_houses": [
            7,
            4
           ]
          },
          {
           "planet": "Moon",
           "planet_houses": [
            9,
            11
           ],
           "star_lord": "Mercury",
           "star_lord_houses": [
            9,
            5
           ],
           "sub_lord": "Moon",
           "sub_lord_houses": [
            9,
            11
           ],
           "sub_lord_star_lord": "Mercury",
           "sub_lord_star_lord_houses": [
            9,
            5
           ]
          }
         ],
         "ruling_planets": {
          "day_lord": "Venus",
          "lagna_nakshatra_lord": "Jupiter",
          "lagna_rashi_lord": "Saturn",
          "lagna_sub_lord": "Ketu",
          "moon_nakshatra_lord": "Mercury",
          "moon_rashi_lord": "Jupiter",
          "moon_sub_lord": "Moon"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/prashna/lagna-lord": {
   "get": {
    "summary": "Lagna lord of the Prashna chart and its strength (10 credits)",
    "operationId": "prashnaLagnaLord",
    "tags": [
     "prashna"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "planet": "Saturn",
         "sign_idx": 11,
         "sign": "Pisces",
         "house": 2,
         "dignity": "neutral",
         "is_strong": false,
         "is_retro": false,
         "is_combust": false
        }
       }
      }
     }
    }
   }
  },
  "/v1/prashna/significators": {
   "get": {
    "summary": "House significators for a question house (20 credits)",
    "operationId": "prashnaSignificators",
    "tags": [
     "prashna"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "name": "house",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "minimum": 1,
       "maximum": 12
      },
      "description": "Question house number (1–12)"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "house": 7,
         "house_lord": "Sun",
         "occupants": [
          "Mars",
          "Jupiter"
         ],
         "aspectors": []
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/dasha-analysis": {
   "get": {
    "summary": "Vimshottari dasha deep-dive (5-level + 10y preview) (750 credits)",
    "operationId": "reportsDashaAnalysis",
    "tags": [
     "reports"
    ],
    "description": "Vimshottari dasha deep-dive (5-level + 10y preview). Costs 750 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "Name": "Subject",
          "BirthDate": "1990-01-15",
          "BirthTime": "10:30 IST",
          "BirthPlace": "19.0760, 72.8777",
          "Lat": 19.076,
          "Lon": 72.8777
         },
         "ActivePath": {
          "Maha": {
           "Lord": "Rahu",
           "LordHI": "राहु",
           "StartDate": "2022-11-06",
           "EndDate": "2040-11-06",
           "DurationY": 18,
           "DurationD": 6574,
           "Body": ""
          },
          "Antar": {
           "Lord": "Jupiter",
           "LordHI": "गुरु",
           "StartDate": "2025-07-19",
           "EndDate": "2027-12-13",
           "DurationY": 2,
           "DurationD": 876,
           "Body": ""
          },
          "Pratyantar": {
           "Lord": "Venus",
           "LordHI": "शुक्र",
           "StartDate": "2026-09-23",
           "EndDate": "2027-02-16",
           "DurationY": 0,
           "DurationD": 146,
           "Body": ""
          },
          "Sookshma": {
           "Lord": "Rahu",
           "LordHI": "राहु",
           "StartDate": "2026-11-15",
           "EndDate": "2026-12-07",
           "DurationY": 0,
           "DurationD": 21,
           "Body": ""
          },
          "Prana": {
           "Lord": "Rahu",
           "LordHI": "राहु",
           "StartDate": "2026-11-15",
           "EndDate": "2026-11-18",
           "DurationY": 0,
           "DurationD": 3,
           "Body": ""
          },
          "MahaBody": "Rahu's mahadasha amplifies worldly desires, foreign connections, and unconventional paths.",
          "AntarBody": "Jupiter's mahadasha brings wisdom, fortune, children, dharmic activities, and growth."
         },
         "AllMahadashas": [
          {
           "Lord": "Venus",
           "LordHI": "शुक्र",
           "StartDate": "1979-11-06",
           "EndDate": "1999-11-06",
           "DurationY": 20,
           "DurationD": 7305,
           "Body": ""
          },
          {
           "Lord": "Sun",
           "LordHI": "सूर्य",
           "StartDate": "1999-11-06",
           "EndDate": "2005-11-06",
           "DurationY": 6,
           "DurationD": 2191,
           "Body": ""
          }
         ],
         "PastReview": [
          {
           "Lord": "Moon",
           "LordHI": "चंद्र",
           "StartDate": "2005-11-06",
           "EndDate": "2015-11-06",
           "DurationY": 10,
           "DurationD": 3652,
           "Body": "Moon's mahadasha brings emotional depth, public visibility, mother-related matters, and creative expression."
          },
          {
           "Lord": "Mars",
           "LordHI": "मंगल",
           "StartDate": "2015-11-06",
           "EndDate": "2022-11-06",
           "DurationY": 7,
           "DurationD": 2556,
           "Body": "Mars's mahadasha drives action, courage, property, siblings, and physical exertion."
          }
         ],
         "FuturePreview": [
          {
           "Lord": "Jupiter",
           "LordHI": "गुरु",
           "StartDate": "2025-07-19",
           "EndDate": "2027-12-13",
           "DurationY": 2,
           "DurationD": 876,
           "Body": "Jupiter's mahadasha brings wisdom, fortune, children, dharmic activities, and growth."
          },
          {
           "Lord": "Saturn",
           "LordHI": "शनि",
           "StartDate": "2027-12-13",
           "EndDate": "2030-10-19",
           "DurationY": 2,
           "DurationD": 1040,
           "Body": "Saturn's mahadasha emphasizes discipline, slow growth, hard work, and karmic lessons over its 19-year span."
          }
         ],
         "YoginiDashas": [
          {
           "Lord": "Ulka",
           "LordHI": "उल्का",
           "StartDate": "1986-12-25",
           "EndDate": "1992-12-25",
           "DurationY": 6,
           "DurationD": 2191,
           "Body": ""
          },
          {
           "Lord": "Siddha",
           "LordHI": "सिद्धा",
           "StartDate": "1992-12-25",
           "EndDate": "1999-12-25",
           "DurationY": 7,
           "DurationD": 2556,
           "Body": ""
          }
         ],
         "GeneratedAt": "2026-11-15T06:14:34.370952Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/horoscope/daily": {
   "get": {
    "summary": "Daily horoscope (1 rashi) (30 credits)",
    "operationId": "reportsHoroscopeDaily",
    "tags": [
     "reports"
    ],
    "description": "Daily horoscope (1 rashi). Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone of the birth place (IANA name or UTC±HH:MM)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Birth place latitude in decimal degrees (−90 to 90)."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Birth place longitude in decimal degrees (−180 to 180)."
     },
     {
      "name": "rashi",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mesha"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi": "Aries",
         "rashi_id": "mesha",
         "rashi_label": "Aries",
         "period": "daily",
         "period_key": "2027-01-15",
         "language": "en",
         "headline": "Jupiter transits Leo — favorable indications for today",
         "slow_movers": [
          {
           "planet": "Jupiter",
           "planet_id": "jupiter",
           "current_sign": "Leo",
           "sign_index": 4,
           "heading": "Jupiter's day for Moon in Aries: luck and teachers",
           "body": "On a day when Jupiter is in focus, you feel hopeful and generous, with a wish to grow. For an Aries Moon, Jupiter rules your 9th and 12th houses, counted from your Moon, so it highlights luck, your father, teachers and long journeys as well as expenses, sleep, foreign matters …"
          },
          {
           "planet": "Saturn",
           "planet_id": "saturn",
           "current_sign": "Pisces",
           "sign_index": 11,
           "heading": "Saturn's day for Moon in Aries: career and status",
           "body": "On a day when Saturn is in focus, you feel slow, weighed down and dutiful. For an Aries Moon, Saturn rules your 10th and 11th houses, counted from your Moon, so it highlights career, status and your public name as well as income, gains and friends first.\n\nSaturn rules houses t…"
          }
         ],
         "lucky": {
          "color": "Red",
          "number": 9,
          "direction": "South",
          "time": "05:24-06:36"
         },
         "meta": {
          "generated_at": "2026-11-15T06:14:39.692329Z",
          "cache_ttl_seconds": 86400,
          "source": "composed:iter_095+panchang+lucky"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/horoscope/monthly": {
   "get": {
    "summary": "Monthly horoscope (1 rashi) (120 credits)",
    "operationId": "reportsHoroscopeMonthly",
    "tags": [
     "reports"
    ],
    "description": "Monthly horoscope (1 rashi). Costs 120 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone of the birth place (IANA name or UTC±HH:MM)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Birth place latitude in decimal degrees (−90 to 90)."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Birth place longitude in decimal degrees (−180 to 180)."
     },
     {
      "name": "rashi",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mesha"
      }
     },
     {
      "name": "month",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi": "Aries",
         "rashi_id": "mesha",
         "rashi_label": "Aries",
         "period": "monthly",
         "period_key": "2027-01",
         "language": "en",
         "headline": "Jupiter transits Leo — favorable indications for this month",
         "slow_movers": [
          {
           "planet": "Jupiter",
           "planet_id": "jupiter",
           "current_sign": "Leo",
           "sign_index": 4,
           "heading": "Jupiter's day for Moon in Aries: luck and teachers",
           "body": "On a day when Jupiter is in focus, you feel hopeful and generous, with a wish to grow. For an Aries Moon, Jupiter rules your 9th and 12th houses, counted from your Moon, so it highlights luck, your father, teachers and long journeys as well as expenses, sleep, foreign matters …"
          },
          {
           "planet": "Saturn",
           "planet_id": "saturn",
           "current_sign": "Pisces",
           "sign_index": 11,
           "heading": "Saturn's day for Moon in Aries: career and status",
           "body": "On a day when Saturn is in focus, you feel slow, weighed down and dutiful. For an Aries Moon, Saturn rules your 10th and 11th houses, counted from your Moon, so it highlights career, status and your public name as well as income, gains and friends first.\n\nSaturn rules houses t…"
          }
         ],
         "meta": {
          "generated_at": "2026-11-15T06:14:50.909526Z",
          "cache_ttl_seconds": 2592000,
          "source": "composed:iter_095+panchang+lucky"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/horoscope/weekly": {
   "get": {
    "summary": "Weekly horoscope (1 rashi) (60 credits)",
    "operationId": "reportsHoroscopeWeekly",
    "tags": [
     "reports"
    ],
    "description": "Weekly horoscope (1 rashi). Costs 60 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone of the birth place (IANA name or UTC±HH:MM)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Birth place latitude in decimal degrees (−90 to 90)."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Birth place longitude in decimal degrees (−180 to 180)."
     },
     {
      "name": "rashi",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mesha"
      }
     },
     {
      "name": "week",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-W03"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "rashi": "Aries",
         "rashi_id": "mesha",
         "rashi_label": "Aries",
         "period": "weekly",
         "period_key": "2027-W03",
         "language": "en",
         "headline": "Jupiter transits Leo — favorable indications for this week",
         "slow_movers": [
          {
           "planet": "Jupiter",
           "planet_id": "jupiter",
           "current_sign": "Leo",
           "sign_index": 4,
           "heading": "Jupiter's day for Moon in Aries: luck and teachers",
           "body": "On a day when Jupiter is in focus, you feel hopeful and generous, with a wish to grow. For an Aries Moon, Jupiter rules your 9th and 12th houses, counted from your Moon, so it highlights luck, your father, teachers and long journeys as well as expenses, sleep, foreign matters …"
          },
          {
           "planet": "Saturn",
           "planet_id": "saturn",
           "current_sign": "Pisces",
           "sign_index": 11,
           "heading": "Saturn's day for Moon in Aries: career and status",
           "body": "On a day when Saturn is in focus, you feel slow, weighed down and dutiful. For an Aries Moon, Saturn rules your 10th and 11th houses, counted from your Moon, so it highlights career, status and your public name as well as income, gains and friends first.\n\nSaturn rules houses t…"
          }
         ],
         "meta": {
          "generated_at": "2026-11-15T06:14:44.976558Z",
          "cache_ttl_seconds": 604800,
          "source": "composed:iter_095+panchang+lucky"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/kundli/brihad": {
   "get": {
    "summary": "Brihad Kundli — flagship 130-page horoscope (JSON, optional PDF) (8000 credits)",
    "operationId": "reportsKundliBrihad",
    "tags": [
     "reports"
    ],
    "description": "Brihad Kundli — flagship 130-page horoscope (JSON, optional PDF). Costs 8000 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "schema_version": 2,
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "Name": "Subject",
          "BirthDate": "1990-01-15",
          "BirthTime": "10:30 IST",
          "BirthPlace": "19.0760, 72.8777",
          "Lat": 19.076,
          "Lon": 72.8777
         },
         "Ascendant": {
          "sign": "Aquarius",
          "dms_within": "26°23'30\"",
          "nakshatra": "Purva Bhadrapada",
          "pada": 2,
          "nak_lord": "Jupiter"
         },
         "Planets": [
          {
           "name": "Sun",
           "name_en": "Sun",
           "placement": {
            "sign": "Capricorn",
            "dms_within": "01°03'47\"",
            "nakshatra": "Uttara Ashadha",
            "pada": 2,
            "nak_lord": "Sun"
           },
           "house_num": 12,
           "retro": false
          },
          {
           "name": "Moon",
           "name_en": "Moon",
           "placement": {
            "sign": "Leo",
            "dms_within": "20°07'38\"",
            "nakshatra": "Purva Phalguni",
            "pada": 3,
            "nak_lord": "Venus"
           },
           "house_num": 7,
           "retro": false
          }
         ],
         "Houses": [
          {
           "HouseNum": 1,
           "LordEN": "Saturn",
           "LordHI": "शनि",
           "LordSign": "Sagittarius",
           "Body": "The ascendant governs the self, body, temperament, and overall vitality, the lens through which the whole chart expresses. Its lord currently occupies house 11, channelling these themes there."
          },
          {
           "HouseNum": 2,
           "LordEN": "Jupiter",
           "LordHI": "गुरु",
           "LordSign": "Gemini",
           "Body": "Governs accumulated wealth, family, speech, food, and early upbringing, the resources and values one gathers. Its lord currently occupies house 5, channelling these themes there."
          }
         ],
         "Yogas": [
          {
           "NameEN": "Mercury-Saturn Conjunction",
           "NameHI": "बुध-शनि युति",
           "Effect": "A conjunction of two planets, their significations blend and jointly colour the affairs of the house they occupy.",
           "Source": ""
          },
          {
           "NameEN": "Sun-Venus Conjunction",
           "NameHI": "सूर्य-शुक्र युति",
           "Effect": "A conjunction of two planets, their significations blend and jointly colour the affairs of the house they occupy.",
           "Source": ""
          }
         ],
         "CurrentDasha": {
          "Lord": "Rahu",
          "LordHI": "राहु",
          "StartDate": "2022-11-06",
          "EndDate": "2040-11-06",
          "DurationY": 18,
          "Body": "Rahu's mahadasha amplifies worldly desires, foreign connections, and unconventional paths."
         },
         "UpcomingDashas": [
          {
           "Lord": "Jupiter",
           "LordHI": "गुरु",
           "StartDate": "2040-11-06",
           "EndDate": "2056-11-06",
           "DurationY": 16,
           "Body": "Jupiter's mahadasha brings wisdom, fortune, children, dharmic activities, and growth."
          },
          {
           "Lord": "Saturn",
           "LordHI": "शनि",
           "StartDate": "2056-11-06",
           "EndDate": "2075-11-06",
           "DurationY": 19,
           "Body": "Saturn's mahadasha emphasizes discipline, slow growth, hard work, and karmic lessons over its 19-year span."
          }
         ],
         "Remedies": [
          {
           "Title": "Saturn mantra: a quiet daily practice",
           "Description": "Chant on Saturday morning, after a bath",
           "Category": "mantra"
          },
          {
           "Title": "Saturn charity: giving on Saturdays, a simple remedy",
           "Description": "Give on Saturday morning if you can",
           "Category": "charity"
          }
         ],
         "DivisionalCharts": [
          {
           "varga": "D2",
           "name": "Hora",
           "subtitle": "Hora (D2) governs wealth and prosperity.",
           "lagna_sign": "Cancer",
           "planets": [
            {
             "name": "Sun",
             "sign": "Cancer",
             "house": 1
            },
            {
             "name": "Moon",
             "sign": "Cancer",
             "house": 1
            }
           ]
          },
          {
           "varga": "D3",
           "name": "Drekkana",
           "subtitle": "Drekkana (D3) governs siblings, courage and initiative.",
           "lagna_sign": "Libra",
           "planets": [
            {
             "name": "Sun",
             "sign": "Capricorn",
             "house": 4
            },
            {
             "name": "Moon",
             "sign": "Aries",
             "house": 7
            }
           ]
          }
         ],
         "Doshas": {
          "Mangal": {
           "NameEN": "Mangal Dosha",
           "NameHI": "मंगल दोष",
           "Severity": "cancelled",
           "Body": "Mars sits in house 10 from the Lagna in a position that classically triggers Manglik, BUT the dosha is cancelled, own/exalted placement or benefic cancellation removes the affliction.",
           "Source": "BPHS Ch.80 v.47 (cancellation clause)"
          },
          "KaalSarp": null,
          "Pitra": null
         },
         "Predictions": [
          {
           "Area": "career",
           "Body": "Career suits engineering, defence, surgery, real-estate, or any high-energy execution discipline. Push through opposition rather than going around it."
          },
          {
           "Area": "marriage",
           "Body": "Partnership benefits from a confident, public-facing spouse. Watch the tendency to dominate decisions; share the spotlight."
          }
         ],
         "Citations": [
          {
           "Topic": "Mangal Dosha",
           "Source": "BPHS Ch.80 v.47 (cancellation clause)",
           "Note": ""
          }
         ],
         "avakahada": {
          "paya": "Silver",
          "varna": "Kshatriya",
          "vashya": "Vanchar",
          "yoni": "Mushaka",
          "gana": "Manushya",
          "nadi": "Madhya",
          "tatva": "Prithvi",
          "nakshatra_lord": "Venus",
          "rashi_lord": "Sun",
          "lagna_lord": "Saturn"
         },
         "panchang": {
          "tithi": "Panchami",
          "vara": "Monday",
          "nakshatra": "Purva Phalguni",
          "yoga": "Saubhagya",
          "karana": "Kaulava"
         },
         "gems": {
          "stones": [
           {
            "kind": "Life Stone",
            "planet": "Saturn",
            "stone": "Blue Sapphire",
            "reason": "Lagna (1st-house) lord"
           },
           {
            "kind": "Fortune Stone",
            "planet": "Venus",
            "stone": "Diamond",
            "reason": "9th-house (Bhagya) lord"
           }
          ]
         },
         "ghata_chakra": {
          "weekday": "Saturday",
          "tithi_text": "3, 8, 13",
          "month": "Jyeshtha",
          "nakshatra": "Mula",
          "yoga": "Dhriti",
          "karana": "Bava",
          "prahar": 1,
          "ghata_rashi": "Virgo / Cancer"
         },
         "chalit": {
          "houses": [
           {
            "house": 1,
            "begin_sign": "Aquarius",
            "begin_dms": "11°51'24\"",
            "madhya_sign": "Aquarius",
            "madhya_dms": "26°23'30\""
           },
           {
            "house": 2,
            "begin_sign": "Pisces",
            "begin_dms": "11°51'24\"",
            "madhya_sign": "Pisces",
            "madhya_dms": "27°19'18\""
           }
          ],
          "planets": [
           {
            "name": "Sun",
            "rashi_house": 12,
            "chalit_house": 11,
            "shifted": true
           },
           {
            "name": "Moon",
            "rashi_house": 7,
            "chalit_house": 7,
            "shifted": false
           }
          ]
         },
         "kp": {
          "cusps": [
           {
            "house": 1,
            "sign": "Aquarius",
            "dms": "26°23'30\"",
            "star_lord": "Jupiter",
            "sub_lord": "Ketu",
            "sub_sub_lord": "Saturn"
           },
           {
            "house": 2,
            "sign": "Aries",
            "dms": "02°51'57\"",
            "star_lord": "Ketu",
            "sub_lord": "Venus",
            "sub_sub_lord": "Mercury"
           }
          ],
          "planet_significators": [
           {
            "key": "Sun",
            "values": [
             11,
             7
            ]
           },
           {
            "key": "Moon",
            "values": [
             11,
             6
            ]
           }
          ],
          "house_significators": [
           {
            "house": 1,
            "planets": [
             "Saturn"
            ]
           },
           {
            "house": 2,
            "planets": [
             "Rahu",
             "Mars"
            ]
           }
          ],
          "ruling_planets": {
           "day_lord": "Moon",
           "lagna_nakshatra_lord": "Jupiter",
           "lagna_rashi_lord": "Saturn",
           "lagna_sub_lord": "Ketu",
           "moon_nakshatra_lord": "Venus",
           "moon_rashi_lord": "Sun",
           "moon_sub_lord": "Jupiter"
          }
         },
         "jaimini": {
          "charakarakas": [
           {
            "karaka": "Atmakaraka",
            "planet": "Mars"
           },
           {
            "karaka": "Amatyakaraka",
            "planet": "Saturn"
           }
          ],
          "karakamsa_sign": "Aquarius",
          "swamsa_sign": "Aquarius",
          "arudha_padas": [
           {
            "label": "A1",
            "name": "Arudha Lagna",
            "sign": "Libra",
            "house": 9
           },
           {
            "label": "A2",
            "name": "Dhana Pada",
            "sign": "Gemini",
            "house": 5
           }
          ]
         },
         "ishta_devata": {
          "deity": "Shiva",
          "twelfth_sign": "Capricorn",
          "determining_graha": "Sun",
          "body": ""
         },
         "maitri": {
          "order": [
           "Sun",
           "Moon"
          ],
          "naisargik": [
           {
            "planet": "Sun",
            "relations": {
             "Jupiter": "Mitra",
             "Mars": "Mitra",
             "Mercury": "Sama",
             "Moon": "Mitra",
             "Saturn": "Shatru",
             "Sun": "•",
             "Venus": "Shatru"
            }
           },
           {
            "planet": "Moon",
            "relations": {
             "Jupiter": "Sama",
             "Mars": "Sama",
             "Mercury": "Mitra",
             "Moon": "•",
             "Saturn": "Sama",
             "Sun": "Mitra",
             "Venus": "Sama"
            }
           }
          ],
          "tatkalik": [
           {
            "planet": "Sun",
            "relations": {
             "Jupiter": "TempEnemy",
             "Mars": "TempFriend",
             "Mercury": "TempFriend",
             "Moon": "TempEnemy",
             "Saturn": "TempFriend",
             "Sun": "•",
             "Venus": "TempEnemy"
            }
           },
           {
            "planet": "Moon",
            "relations": {
             "Jupiter": "TempFriend",
             "Mars": "TempFriend",
             "Mercury": "TempEnemy",
             "Moon": "•",
             "Saturn": "TempEnemy",
             "Sun": "TempEnemy",
             "Venus": "TempEnemy"
            }
           }
          ],
          "panchadha": [
           {
            "planet": "Sun",
            "relations": {
             "Jupiter": "Sama",
             "Mars": "Adhimitra",
             "Mercury": "Mitra",
             "Moon": "Sama",
             "Saturn": "Sama",
             "Sun": "•",
             "Venus": "Adhishatru"
            }
           },
           {
            "planet": "Moon",
            "relations": {
             "Jupiter": "Mitra",
             "Mars": "Mitra",
             "Mercury": "Sama",
             "Moon": "•",
             "Saturn": "Shatru",
             "Sun": "Sama",
             "Venus": "Shatru"
            }
           }
          ]
         },
         "avasthas": [
          {
           "planet": "Sun",
           "baladi": "Mrita",
           "jagradadi": "Sushupta",
           "deeptadi": "Vikala"
          },
          {
           "planet": "Moon",
           "baladi": "Vriddha",
           "jagradadi": "Swapna",
           "deeptadi": "Pramudita"
          }
         ],
         "lal_kitab": {
          "planets": [
           {
            "name": "Sun",
            "house": 12,
            "sign": "Pisces"
           },
           {
            "name": "Moon",
            "house": 7,
            "sign": "Libra"
           }
          ],
          "rins": [
           {
            "name": "Pitru Rin",
            "present": true,
            "body": ""
           },
           {
            "name": "Swayam Rin",
            "present": false,
            "body": ""
           }
          ],
          "teva": [
           {
            "name": "Dharmi Kundli",
            "present": false
           },
           {
            "name": "Ratandh Kundli",
            "present": false
           }
          ]
         },
         "shadbala": [
          {
           "planet": "Sun",
           "total_rupas": 6.04,
           "rank": 6
          },
          {
           "planet": "Moon",
           "total_rupas": 7.92,
           "rank": 1
          }
         ],
         "bhava_bala": [
          {
           "house": 1,
           "bhavadhipati": 270.85,
           "bhava_dig_bala": 60,
           "bhava_drsti": 35.21,
           "total": 366.06
          },
          {
           "house": 2,
           "bhavadhipati": 472.24,
           "bhava_dig_bala": 40,
           "bhava_drsti": 35.66,
           "total": 547.9
          }
         ],
         "ashtakavarga": {
          "sav": [
           33,
           31
          ],
          "sav_total": 337,
          "prastar": [
           {
            "planet": "Sun",
            "contributors": [
             "Sun",
             "Moon"
            ],
            "grid": [
             [
              1,
              0
             ],
             [
              0,
              1
             ]
            ],
            "per_sign": [
             4,
             4
            ],
            "total": 48
           },
           {
            "planet": "Moon",
            "contributors": [
             "Sun",
             "Moon"
            ],
            "grid": [
             [
              0,
              0
             ],
             [
              0,
              1
             ]
            ],
            "per_sign": [
             6,
             4
            ],
            "total": 49
           }
          ]
         },
         "varshaphal": [
          {
           "year": 2026,
           "muntha_sign": "Aquarius",
           "muntha_house": 9,
           "varsha_lord": "Saturn",
           "sahams": [
            {
             "name": "Punya",
             "sign": "Aries",
             "dms": "24°03'08\"",
             "lord": "Mars",
             "verified": true
            },
            {
             "name": "Vidya",
             "sign": "Leo",
             "dms": "09°50'43\"",
             "lord": "Sun",
             "verified": true
            }
           ],
           "panchavargeeya": [
            {
             "planet": "Sun",
             "vishwa": 8.19
            },
            {
             "planet": "Moon",
             "vishwa": 8.06
            }
           ],
           "summary": ""
          },
          {
           "year": 2027,
           "muntha_sign": "Pisces",
           "muntha_house": 8,
           "varsha_lord": "Jupiter",
           "sahams": [
            {
             "name": "Punya",
             "sign": "Taurus",
             "dms": "26°01'52\"",
             "lord": "Venus",
             "verified": true
            },
            {
             "name": "Vidya",
             "sign": "Sagittarius",
             "dms": "22°02'12\"",
             "lord": "Jupiter",
             "verified": true
            }
           ],
           "panchavargeeya": [
            {
             "planet": "Sun",
             "vishwa": 8.19
            },
            {
             "planet": "Moon",
             "vishwa": 11.56
            }
           ],
           "summary": ""
          }
         ],
         "narrative_chapters": [
          {
           "key": "vistrit_bhavishya",
           "title": "Detailed Prediction",
           "sections": [
            {
             "Heading": "Character & Nature",
             "Body": "",
             "Bullets": null,
             "Citations": null
            },
            {
             "Heading": "Aquarius Ascendant, your Saturn-led, principled, humanitarian nature",
             "Body": "With Aquarius rising, Saturn rules your chart, but here in its air-sign mood. Where Capricorn's Saturn builds vertically, the institution, the ladder climbed, your Saturn builds horizontally: the network, the shared cause, the system that holds many people at once. So your who…",
             "Bullets": [
              "Saturn rules your sign, giving you a principled, humane, idea-driven airy nature",
              "Your strengths: principled commitment, a humanitarian instinct, loyalty, and systems thinking"
             ],
             "Citations": null
            }
           ]
          },
          {
           "key": "lagna",
           "title": "Lagna (Ascendant)",
           "sections": [
            {
             "Heading": "Aquarius Ascendant, your Saturn-led, principled, humanitarian nature",
             "Body": "With Aquarius rising, Saturn rules your chart, but here in its air-sign mood. Where Capricorn's Saturn builds vertically, the institution, the ladder climbed, your Saturn builds horizontally: the network, the shared cause, the system that holds many people at once. So your who…",
             "Bullets": [
              "Saturn rules your sign, giving you a principled, humane, idea-driven airy nature",
              "Your strengths: principled commitment, a humanitarian instinct, loyalty, and systems thinking"
             ],
             "Citations": null
            }
           ]
          }
         ],
         "GeneratedAt": "2026-11-15T06:13:41.432316Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/kundli/detailed": {
   "get": {
    "summary": "Detailed Kundli — 50+ page horoscope with house-by-house analysis, yogas, key doshas (Mangal/Kaal Sarp/Pitra), Vimshottari dasha + birth panchang (4000 credits)",
    "operationId": "reportsKundliDetailed",
    "tags": [
     "reports"
    ],
    "description": "Detailed Kundli — 50+ page horoscope with house-by-house analysis, yogas, key doshas (Mangal/Kaal Sarp/Pitra), Vimshottari dasha + birth panchang. Costs 4000 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "Name": "",
          "BirthDate": "1990-01-15",
          "BirthTime": "10:30 IST",
          "BirthPlace": "19.0760, 72.8777",
          "Lat": 19.076,
          "Lon": 72.8777
         },
         "Ascendant": {
          "sign": "Aquarius",
          "dms_within": "26°23'30\"",
          "nakshatra": "Purva Bhadrapada",
          "pada": 2,
          "nak_lord": "Jupiter"
         },
         "Planets": [
          {
           "name": "Sun",
           "name_en": "Sun",
           "placement": {
            "sign": "Capricorn",
            "dms_within": "01°03'47\"",
            "nakshatra": "Uttara Ashadha",
            "pada": 2,
            "nak_lord": "Sun"
           },
           "house_num": 12,
           "retro": false
          },
          {
           "name": "Moon",
           "name_en": "Moon",
           "placement": {
            "sign": "Leo",
            "dms_within": "20°07'38\"",
            "nakshatra": "Purva Phalguni",
            "pada": 3,
            "nak_lord": "Venus"
           },
           "house_num": 7,
           "retro": false
          }
         ],
         "Panchang": {
          "tithi": "Panchami",
          "nakshatra": "Purva Phalguni",
          "yoga": "Saubhagya",
          "karana": "Kaulava"
         },
         "GeneratedAt": "2026-11-15T06:13:47.304394Z",
         "Narratives": [
          {
           "Heading": "Aquarius Ascendant, your Saturn-led, principled, humanitarian nature",
           "Body": "With Aquarius rising, Saturn rules your chart, but here in its air-sign mood. Where Capricorn's Saturn builds vertically, the institution, the ladder climbed, your Saturn builds horizontally: the network, the shared cause, the system that holds many people at once. So your who…",
           "Bullets": [
            "Saturn rules your sign, giving you a principled, humane, idea-driven airy nature",
            "Your strengths: principled commitment, a humanitarian instinct, loyalty, and systems thinking"
           ],
           "Citations": null
          }
         ],
         "CurrentDasha": {
          "Lord": "Rahu",
          "LordHI": "राहु",
          "StartDate": "2022-11-06",
          "EndDate": "2040-11-06",
          "DurationY": 18,
          "Body": "Rahu's mahadasha amplifies worldly desires, foreign connections, and unconventional paths."
         },
         "UpcomingDashas": [
          {
           "Lord": "Jupiter",
           "LordHI": "गुरु",
           "StartDate": "2040-11-06",
           "EndDate": "2056-11-06",
           "DurationY": 16,
           "Body": "Jupiter's mahadasha brings wisdom, fortune, children, dharmic activities, and growth."
          },
          {
           "Lord": "Saturn",
           "LordHI": "शनि",
           "StartDate": "2056-11-06",
           "EndDate": "2075-11-06",
           "DurationY": 19,
           "Body": "Saturn's mahadasha emphasizes discipline, slow growth, hard work, and karmic lessons over its 19-year span."
          }
         ],
         "Houses": [
          {
           "HouseNum": 1,
           "LordEN": "Saturn",
           "LordHI": "शनि",
           "LordSign": "Sagittarius",
           "Body": "The ascendant governs the self, body, temperament, and overall vitality, the lens through which the whole chart expresses. Its lord currently occupies house 11, channelling these themes there."
          },
          {
           "HouseNum": 2,
           "LordEN": "Jupiter",
           "LordHI": "गुरु",
           "LordSign": "Gemini",
           "Body": "Governs accumulated wealth, family, speech, food, and early upbringing, the resources and values one gathers. Its lord currently occupies house 5, channelling these themes there."
          }
         ],
         "Yogas": [
          {
           "NameEN": "Mercury-Saturn Conjunction",
           "NameHI": "बुध-शनि युति",
           "Effect": "A conjunction of two planets, their significations blend and jointly colour the affairs of the house they occupy.",
           "Source": ""
          },
          {
           "NameEN": "Sun-Venus Conjunction",
           "NameHI": "सूर्य-शुक्र युति",
           "Effect": "A conjunction of two planets, their significations blend and jointly colour the affairs of the house they occupy.",
           "Source": ""
          }
         ],
         "Doshas": {
          "Mangal": {
           "NameEN": "Mangal Dosha",
           "NameHI": "मंगल दोष",
           "Severity": "cancelled",
           "Body": "Mars sits in house 10 from the Lagna in a position that classically triggers Manglik, BUT the dosha is cancelled, own/exalted placement or benefic cancellation removes the affliction.",
           "Source": "BPHS Ch.80 v.47 (cancellation clause)"
          },
          "KaalSarp": null,
          "Pitra": null
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/kundli/lite": {
   "get": {
    "summary": "Kundli Lite — 8-page summary horoscope (1500 credits)",
    "operationId": "reportsKundliLite",
    "tags": [
     "reports"
    ],
    "description": "Kundli Lite — 8-page summary horoscope. Costs 1500 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "Name": "Subject",
          "BirthDate": "1990-01-15",
          "BirthTime": "10:30 IST",
          "BirthPlace": "19.0760, 72.8777",
          "Lat": 19.076,
          "Lon": 72.8777
         },
         "Ascendant": {
          "sign": "Aquarius",
          "dms_within": "26°23'30\"",
          "nakshatra": "Purva Bhadrapada",
          "pada": 2,
          "nak_lord": "Jupiter"
         },
         "Planets": [
          {
           "name": "Sun",
           "name_en": "Sun",
           "placement": {
            "sign": "Capricorn",
            "dms_within": "01°03'47\"",
            "nakshatra": "Uttara Ashadha",
            "pada": 2,
            "nak_lord": "Sun"
           },
           "house_num": 12,
           "retro": false
          },
          {
           "name": "Moon",
           "name_en": "Moon",
           "placement": {
            "sign": "Leo",
            "dms_within": "20°07'38\"",
            "nakshatra": "Purva Phalguni",
            "pada": 3,
            "nak_lord": "Venus"
           },
           "house_num": 7,
           "retro": false
          }
         ],
         "LagnaSummary": "With Aquarius rising, Saturn rules your chart, but here in its air-sign mood. Where Capricorn's Saturn builds vertically, the institution, the ladder climbed, your Saturn builds horizontally: the network, the shared cause, the system that holds many people at once. So your who…",
         "GeneratedAt": "2026-11-15T06:13:52.635454Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/mangal-dosha": {
   "get": {
    "summary": "Mangal Dosha diagnostic (500 credits)",
    "operationId": "reportsMangalDosha",
    "tags": [
     "reports"
    ],
    "description": "Mangal Dosha diagnostic. Costs 500 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "name": "Subject",
          "birth_date": "1990-01-15",
          "birth_time": "10:30 IST",
          "birth_place": "19.0760, 72.8777",
          "ascendant_sign": "Aquarius"
         },
         "Status": "mild",
         "HasDosha": true,
         "HousesOccupied": [
          -4
         ],
         "Cancelled": true,
         "CancelReasons": [
          "Mars in own sign"
         ],
         "MarsPlacement": {
          "sign": "Scorpio",
          "dms_within": "25°59'00\"",
          "nakshatra": "Jyeshtha",
          "pada": 3,
          "nak_lord": "Mercury"
         },
         "GeneratedAt": "2026-11-15T06:14:23.083258Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/match-making": {
   "get": {
    "summary": "Match Making — Ashtakoota + Manglik + Nadi Dosha (750 credits)",
    "operationId": "reportsMatchMaking",
    "tags": [
     "reports"
    ],
    "description": "Match Making — Ashtakoota + Manglik + Nadi Dosha. Costs 750 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "boy.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "19.076"
      },
      "description": "Boy's birth place latitude in decimal degrees."
     },
     {
      "name": "boy.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "72.8777"
      },
      "description": "Boy's birth place longitude in decimal degrees."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Girl's birth place latitude in decimal degrees."
     },
     {
      "name": "girl.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Girl's birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Boy": {
          "name": "Boy",
          "birth_date": "1990-01-15",
          "birth_time": "10:30 IST",
          "birth_place": "19.0760, 72.8777",
          "nakshatra": "Purva Phalguni",
          "sign": "Leo",
          "gana": "Manushya",
          "nadi": "Madhya"
         },
         "Girl": {
          "name": "Girl",
          "birth_date": "1992-03-20",
          "birth_time": "08:15 IST",
          "birth_place": "28.6139, 77.2090",
          "nakshatra": "Chitra",
          "sign": "Virgo",
          "gana": "Rakshasa",
          "nadi": "Madhya"
         },
         "Ashtakoota": {
          "Total": 8.5,
          "Max": 36,
          "Kootas": [
           {
            "name": "Varna",
            "score": 1,
            "Max": 1,
            "Reason": "Kshatriya / Vaishya"
           },
           {
            "name": "Vashya",
            "score": 0,
            "Max": 2,
            "Reason": "Vanchar / Manushya"
           }
          ],
          "Verdict": "poor"
         },
         "MangalDoshaBoy": {
          "Computed": true,
          "HasDosha": true,
          "Type": "mild",
          "HousesOccupied": [
           -4
          ],
          "Cancelled": true,
          "CancelReasons": [
           "Mars in own sign"
          ]
         },
         "MangalDoshaGirl": {
          "Computed": true,
          "HasDosha": false,
          "Type": "none",
          "HousesOccupied": null,
          "Cancelled": false,
          "CancelReasons": []
         },
         "NadiDosha": {
          "HasDosha": true,
          "BoyNadi": "Madhya",
          "GirlNadi": "Madhya",
          "Severity": "high",
          "Exceptions": []
         },
         "GeneratedAt": "2026-11-15T06:13:58.032261Z",
         "FinalVerdict": "Ashtakoota poor (8.5/36 points); Nadi Dosha present"
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/numerology": {
   "get": {
    "summary": "5-number Vedic numerology report (750 credits)",
    "operationId": "reportsNumerology",
    "tags": [
     "reports"
    ],
    "description": "5-number Vedic numerology report. Costs 750 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Arjun Mehta"
      },
      "description": "Full name."
     },
     {
      "name": "dob",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Date of birth (YYYY-MM-DD)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "name": "Arjun Mehta",
         "dob": "1990-01-15",
         "Locale": "en",
         "driver": 6,
         "conductor": 8,
         "soul": 4,
         "personality": 3,
         "destiny": 7,
         "driver_factors": {
          "number": 6,
          "planet": "Venus",
          "day": "Friday",
          "color": "White / Sky Blue",
          "gemstone": "Diamond",
          "deity": "Shukra / Lakshmi",
          "direction": "Southeast"
         },
         "conductor_factors": {
          "number": 8,
          "planet": "Saturn",
          "day": "Saturday",
          "color": "Blue / Black",
          "gemstone": "Blue Sapphire",
          "deity": "Shani / Hanuman",
          "direction": "West"
         },
         "soul_factors": {
          "number": 4,
          "planet": "Rahu",
          "day": "Sunday (with caution)",
          "color": "Smoky Gray / Indigo",
          "gemstone": "Hessonite",
          "deity": "Rahu / Saraswati",
          "direction": "Southwest"
         },
         "personality_factors": {
          "number": 3,
          "planet": "Jupiter",
          "day": "Thursday",
          "color": "Yellow",
          "gemstone": "Yellow Sapphire",
          "deity": "Brihaspati / Vishnu",
          "direction": "Northeast"
         },
         "destiny_factors": {
          "number": 7,
          "planet": "Ketu",
          "day": "Tuesday (calm)",
          "color": "Brown / Purple",
          "gemstone": "Cat's Eye",
          "deity": "Ketu / Ganesha",
          "direction": "Northwest"
         },
         "compatible_drivers": [
          3,
          4
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/sade-sati": {
   "get": {
    "summary": "Sade Sati — 7.5-year Saturn transit deep-dive (750 credits)",
    "operationId": "reportsSadeSati",
    "tags": [
     "reports"
    ],
    "description": "Sade Sati — 7.5-year Saturn transit deep-dive. Costs 750 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "name": "Subject",
          "birth_date": "1990-01-15",
          "birth_time": "10:30 IST",
          "birth_place": "19.0760, 72.8777",
          "moon_sign": "Leo"
         },
         "CurrentStatus": {
          "status": "clear",
          "saturn_sign": "Pisces",
          "moon_sign": "Leo"
         },
         "Past": [
          {
           "StartDate": "2004-09-05",
           "EndDate": "2012-08-04",
           "StartPhase": "rising",
           "EndPhase": "setting",
           "SignsTraversed": [
            "Cancer",
            "Leo"
           ],
           "DurationYears": 7.9
          }
         ],
         "Current": null,
         "Future": [
          {
           "StartDate": "2034-07-12",
           "EndDate": "2041-09-26",
           "StartPhase": "rising",
           "EndPhase": "setting",
           "SignsTraversed": [
            "Cancer",
            "Leo"
           ],
           "DurationYears": 7.2
          }
         ],
         "GeneratedAt": "2026-11-15T06:14:17.596265Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/reports/varshaphal": {
   "get": {
    "summary": "Annual prediction (Varshaphal) — solar return analysis (750 credits)",
    "operationId": "reportsVarshaphal",
    "tags": [
     "reports"
    ],
    "description": "Annual prediction (Varshaphal) — solar return analysis. Costs 750 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027"
      },
      "description": "Year (YYYY)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "Locale": "",
         "Branding": {
          "CompanyName": "",
          "LogoURL": "",
          "PrimaryColor": "#1a1a1a",
          "SecondaryColor": "#666666",
          "FooterText": "Generated using LifeAstroAPI",
          "WatermarkText": ""
         },
         "Subject": {
          "Name": "Subject",
          "BirthDate": "1990-01-15",
          "BirthTime": "10:30 IST",
          "BirthPlace": "19.0760, 72.8777"
         },
         "TargetYear": 2027,
         "SolarReturnISO": "2027-01-15T16:39:17Z",
         "Ascendant": {
          "sign": "Leo",
          "dms_within": "24°02'02\"",
          "nakshatra": "Purva Phalguni",
          "pada": 4,
          "nak_lord": "Venus"
         },
         "Planets": [
          {
           "name": "Sun",
           "name_en": "Sun",
           "placement": {
            "sign": "Capricorn",
            "dms_within": "01°03'47\"",
            "nakshatra": "Uttara Ashadha",
            "pada": 2,
            "nak_lord": "Sun"
           },
           "house_num": 6,
           "retro": false
          },
          {
           "name": "Moon",
           "name_en": "Moon",
           "placement": {
            "sign": "Pisces",
            "dms_within": "29°03'57\"",
            "nakshatra": "Revati",
            "pada": 4,
            "nak_lord": "Mercury"
           },
           "house_num": 8,
           "retro": false
          }
         ],
         "Muntha": {
          "sign": "Pisces",
          "house": 8
         },
         "VarshaLord": {
          "name": "Jupiter",
          "hora": 16
         },
         "GeneratedAt": "2026-11-15T06:14:11.536391Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/tarot/card/{id}": {
   "get": {
    "summary": "Single card by ID (0–77). Includes upright/reversed meanings, keywords, yes/no tendency (10 credits)",
    "operationId": "tarotCard",
    "tags": [
     "tarot"
    ],
    "description": "Single card by ID (0–77). Includes upright/reversed meanings, keywords, yes/no tendency. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "id": 16,
         "name": "The Tower",
         "number": "XVI",
         "suit": "Major Arcana",
         "element": "Fire",
         "archetype": "The sudden collapse of what was built on false foundations — and the clearing it creates",
         "keywords": [
          "sudden change",
          "upheaval"
         ],
         "keywords_reversed": [
          "fear of change",
          "averting disaster"
         ],
         "meaning": "Lightning strikes the Tower and figures fall from its windows — but the crown of false certainty has already left the top. This card marks the sudden, uncontrollable disruption of something that appeared stable but was built, consciously or not, on false premises. The shock of…",
         "meaning_reversed": "The Tower reversed marks the Tower event delayed rather than avoided — the gradual wearing away of a structure that will eventually collapse, or the sustained internal chaos of a breakdown that is being resisted or hidden rather than moved through. The disruption may be less d…",
         "yes_no": "no"
        }
       }
      }
     }
    }
   }
  },
  "/v1/tarot/cards": {
   "get": {
    "summary": "Full 78-card deck. Filter by ?suit=Major Arcana|Wands|Cups|Pentacles|Swords or keyword search (10 credits)",
    "operationId": "tarotCards",
    "tags": [
     "tarot"
    ],
    "description": "Full 78-card deck. Filter by ?suit=Major Arcana|Wands|Cups|Pentacles|Swords or keyword search. Costs 10 credits per call.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "count": 78,
         "cards": [
          {
           "id": 0,
           "name": "The Fool",
           "number": "0",
           "suit": "Major Arcana",
           "element": "Spirit",
           "archetype": "The soul at the threshold of a new journey, trusting the unknown",
           "keywords": [
            "beginnings",
            "innocence"
           ],
           "keywords_reversed": [
            "naivety",
            "recklessness"
           ],
           "meaning": "The Fool stands at the cliff's edge with a small pack and a white rose, about to step into the unknown. This is the card of pure potential — the moment before experience shapes identity. It asks you to trust the leap, to meet the new chapter without demanding guarantees. Somet…",
           "meaning_reversed": "The Fool reversed catches something that beginning recklessly would have cost. The energy of the new is present but the conditions for it are not. Pause before committing: not from fear, but from the wisdom that some thresholds require preparation. Look at what you are carryin…",
           "yes_no": "yes"
          },
          {
           "id": 1,
           "name": "The Magician",
           "number": "I",
           "suit": "Major Arcana",
           "element": "Spirit",
           "archetype": "Will directing the resources of all four elements toward manifestation",
           "keywords": [
            "willpower",
            "skill"
           ],
           "keywords_reversed": [
            "manipulation",
            "untapped talent"
           ],
           "meaning": "The Magician stands before a table laid with all four suits — wand, cup, pentacle, sword — one hand raised to heaven, one pointing to earth. The channel between inspiration and form is open. What you need is already available to you. The work is to direct it deliberately: to t…",
           "meaning_reversed": "The Magician reversed points to scattered energy or misdirected skill. The resources are present — the will, the tools, the knowledge — but they are not aligned. Something is being attempted with inadequate preparation, or a genuine gift is being used for ends beneath its capa…",
           "yes_no": "yes"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/tarot/daily": {
   "get": {
    "summary": "Deterministic daily card — same card for all readers on the same date (10 credits)",
    "operationId": "tarotDaily",
    "tags": [
     "tarot"
    ],
    "description": "Deterministic daily card — same card for all readers on the same date. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "2027-01-15",
         "card": {
          "id": 14,
          "name": "Temperance",
          "number": "XIV",
          "suit": "Major Arcana",
          "element": "Fire",
          "archetype": "Patient alchemy — the mixing of opposites into something neither could be alone",
          "keywords": [
           "balance",
           "moderation"
          ],
          "keywords_reversed": [
           "imbalance",
           "excess"
          ],
          "meaning": "The angel Temperance pours water between two cups — one gold, one silver, one the past, one the future — with one foot on solid earth and one in the flowing river. The process here is slow and deliberate: the mixing of apparent opposites into something that could not exist wit…",
          "meaning_reversed": "Temperance reversed marks excess, imbalance, or the impatience that interrupts a process before it can complete. Something is being pushed beyond its natural rate of development, or two things that need to find their correct proportion are being kept separate or forced into a …",
          "yes_no": "yes"
         },
         "reversed": false,
         "message": "Today's card is Temperance (Major Arcana), upright. The angel Temperance pours water between two cups — one gold, one silver, one the past, one the future — with one foot on solid earth and one in the flowing river. The process here is slow and deliberate: the mixing of appare…"
        }
       }
      }
     }
    }
   }
  },
  "/v1/tarot/spread": {
   "get": {
    "summary": "Draw a spread: single (1 card), three (past/present/future), or celtic (10-card Celtic Cross). Seed-reproducible (20 credits)",
    "operationId": "tarotSpread",
    "tags": [
     "tarot"
    ],
    "description": "Draw a spread: single (1 card), three (past/present/future), or celtic (10-card Celtic Cross). Seed-reproducible. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "type",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "three"
      }
     },
     {
      "name": "seed",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "42"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "type": "three",
         "topic": "general",
         "seed": 42,
         "cards": [
          {
           "position": 1,
           "label": "Past",
           "card": {
            "id": 47,
            "name": "Knight of Cups",
            "number": "Knight",
            "suit": "Cups",
            "element": "Water",
            "archetype": "The romantic idealist riding toward the object of love — passionate and imaginative",
            "keywords": [
             "romance",
             "charm"
            ],
            "keywords_reversed": [
             "moodiness",
             "jealousy"
            ],
            "meaning": "The Knight of Cups rides calmly on a white horse, holding a cup before him like an offering, with wings on his helmet and heels — the messenger of the water element. Unlike the charging Knights of Fire or the advancing Knight of Earth, he moves with the flowing, receptive qual…",
            "meaning_reversed": "The Knight of Cups reversed marks the romantic idealism turned moodiness, jealousy, or the disappointed retreat when reality fails to match the imagination's standard. The sensitivity that is the Knight's gift becomes a liability when it prevents genuine engagement with what i…",
            "yes_no": "yes"
           },
           "reversed": true,
           "interpretation": "[Past] The Knight of Cups reversed marks the romantic idealism turned moodiness, jealousy, or the disappointed retreat when reality fails to match the imagination's standard. The sensitivity that is the Knight's gift becomes a liability when it prevents genuine engagement with…"
          },
          {
           "position": 2,
           "label": "Present",
           "card": {
            "id": 13,
            "name": "Death",
            "number": "XIII",
            "suit": "Major Arcana",
            "element": "Water",
            "archetype": "The ending that creates the only possible space for genuine new beginning",
            "keywords": [
             "endings",
             "change"
            ],
            "keywords_reversed": [
             "resistance to change",
             "inability to move on"
            ],
            "meaning": "Death rides a white horse past figures of every station — pope, king, maiden, child — none immune to the scythe. But the sun rises in the distance behind the towers, and a boat crosses the water in the background. This is the most misunderstood card in the deck: it rarely spea…",
            "meaning_reversed": "Death reversed marks the clinging to what has already ended — the refusal to allow the necessary completion of a chapter that is genuinely finished. The old form is maintained at the cost of everything that could grow in the space its departure would create. Grief is natural; …",
            "yes_no": "maybe"
           },
           "reversed": false,
           "interpretation": "[Present] Death rides a white horse past figures of every station — pope, king, maiden, child — none immune to the scythe. But the sun rises in the distance behind the towers, and a boat crosses the water in the background. This is the most misunderstood card in the deck: it r…"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/tarot/yes-no": {
   "get": {
    "summary": "Yes/No reading — one card with answer (yes/no/maybe) and reasoning. Seed-reproducible (10 credits)",
    "operationId": "tarotYesNo",
    "tags": [
     "tarot"
    ],
    "description": "Yes/No reading — one card with answer (yes/no/maybe) and reasoning. Seed-reproducible. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "seed",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "42"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "seed": 42,
         "card": {
          "id": 47,
          "name": "Knight of Cups",
          "number": "Knight",
          "suit": "Cups",
          "element": "Water",
          "archetype": "The romantic idealist riding toward the object of love — passionate and imaginative",
          "keywords": [
           "romance",
           "charm"
          ],
          "keywords_reversed": [
           "moodiness",
           "jealousy"
          ],
          "meaning": "The Knight of Cups rides calmly on a white horse, holding a cup before him like an offering, with wings on his helmet and heels — the messenger of the water element. Unlike the charging Knights of Fire or the advancing Knight of Earth, he moves with the flowing, receptive qual…",
          "meaning_reversed": "The Knight of Cups reversed marks the romantic idealism turned moodiness, jealousy, or the disappointed retreat when reality fails to match the imagination's standard. The sensitivity that is the Knight's gift becomes a liability when it prevents genuine engagement with what i…",
          "yes_no": "yes"
         },
         "reversed": true,
         "answer": "maybe",
         "reasoning": "The Knight of Cups (Cups) appears reversed. The Knight of Cups reversed marks the romantic idealism turned moodiness, jealousy, or the disappointed retreat when reality fails to match the imagination's standard. The sensitivity that is the Knight's gift becomes a liability whe…"
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/ashtakavarga": {
   "get": {
    "summary": "Ashtakavarga bindhu count for a transiting planet (20 credits)",
    "operationId": "transitAshtakavarga",
    "tags": [
     "transit"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2026-04-12"
      },
      "description": "Transit date (YYYY-MM-DD)"
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Transit timezone"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:00"
      },
      "description": "Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "rashis": [
          {
           "rashi_index": 0,
           "sav": 33,
           "bav": {
            "Jupiter": 5,
            "Mars": 3,
            "Mercury": 3,
            "Moon": 6,
            "Saturn": 5,
            "Sun": 4,
            "Venus": 7
           }
          },
          {
           "rashi_index": 1,
           "sav": 31,
           "bav": {
            "Jupiter": 5,
            "Mars": 4,
            "Mercury": 7,
            "Moon": 4,
            "Saturn": 4,
            "Sun": 4,
            "Venus": 3
           }
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/double-transit": {
   "get": {
    "summary": "Jupiter–Saturn double transit check for natal Moon sign (10 credits)",
    "operationId": "transitDoubleTransit",
    "tags": [
     "transit"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "pairs": [
          {
           "planet_a": "Moon",
           "planet_b": "Saturn",
           "rashi_index": 11
          },
          {
           "planet_a": "Mars",
           "planet_b": "Jupiter",
           "rashi_index": 4
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/positions": {
   "get": {
    "summary": "Current transit planet positions (10 credits)",
    "operationId": "transitPositions",
    "tags": [
     "transit"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "planets": [
          {
           "name": "Sun",
           "longitude": 270.377723,
           "sign_index": 9,
           "degree_in_sign": 0.377723,
           "nakshatra_index": 20,
           "pada": 2,
           "retrograde": false
          },
          {
           "name": "Moon",
           "longitude": 350.133208,
           "sign_index": 11,
           "degree_in_sign": 20.133208,
           "nakshatra_index": 26,
           "pada": 2,
           "retrograde": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/sade-sati": {
   "get": {
    "summary": "Saturn Sade Sati phase for a natal Moon sign (10 credits)",
    "operationId": "transitSadeSati",
    "tags": [
     "transit"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-04-12"
      },
      "description": "Transit date to check. Defaults to today."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:00"
      },
      "description": "Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "sade_sati": {
          "status": "clear",
          "saturn_sign_index": 11,
          "moon_sign_index": 4
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/sade-sati/windows": {
   "get": {
    "summary": "Sade Sati and Dhaiya windows from the natal Moon (20 credits)",
    "operationId": "transitSadeSatiWindows",
    "tags": [
     "transit"
    ],
    "description": "Generic B2B data endpoint (ids only, no prose). Conventions: sign_index is 0-based (Aries=0); houses are 1-based whole-sign; nakshatra_index is 0-based (Ashwini=0), pada 1-4; every instant is given as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); skipped lists optional fields that could not be served as {field: reason}. Saturn's stays in the 12th, 1st and 2nd sign from the natal Moon (kind sade_sati, phase rising/peak/setting) and in the 4th and 8th (kind dhaiya_4 phase kantak, dhaiya_8 phase ashtama — the same vocabulary as /v1/transit/sade-sati and /v1/transit/small-panoti). intervals: one item per contiguous stay of Saturn in one sign, with exact ingress times (bisected to ~1 s); a stay that begins with Saturn coming back into a sign it left on its retrograde loop has retro_reentry=true. cycles: one merged window per Saturn pass and kind (first entry to last exit, so retrograde exits do not split it), with interval_indexes into intervals and, for sade_sati, the span of each phase. Range: from (local midnight in tz; default now) to from + years; items overlapping the range are returned with their true start and end. include_past=true starts the range at the birth moment. at_from is the status at from, computed exactly as /v1/transit/sade-sati does. The natal Moon sign uses the ayanamsa of the birth moment (as /v1/chart/*); Saturn uses the ayanamsa of each moment.",
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-11-02"
      },
      "description": "Start date YYYY-MM-DD (local midnight in tz). Defaults to now."
     },
     {
      "name": "years",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "example": 25,
       "minimum": 1,
       "maximum": 60
      },
      "description": "Span in calendar years after from. Default 25, max 60."
     },
     {
      "name": "include_past",
      "in": "query",
      "required": false,
      "schema": {
       "type": "boolean"
      },
      "description": "Also return windows from the birth moment up to from. Default false."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_moon_sign_index": 4,
         "ayanamsa": "lahiri",
         "tz": "Asia/Kolkata",
         "from_local": "2027-01-15T00:00:00+05:30",
         "from_jd": 2461420.270833,
         "to_local": "2052-01-15T00:00:00+05:30",
         "to_jd": 2470551.270833,
         "include_past": false,
         "at_from": {
          "saturn_sign_index": 11,
          "house_from_moon": 8,
          "kind": "dhaiya_8",
          "phase": "ashtama"
         },
         "intervals": [
          {
           "kind": "dhaiya_8",
           "phase": "ashtama",
           "saturn_sign_index": 11,
           "start_local": "2025-03-29T21:43:25+05:30",
           "end_local": "2027-06-03T04:43:30+05:30",
           "start_jd": 2460764.175983,
           "end_jd": 2461559.467708,
           "retro_reentry": false
          },
          {
           "kind": "dhaiya_8",
           "phase": "ashtama",
           "saturn_sign_index": 11,
           "start_local": "2027-10-20T08:13:25+05:30",
           "end_local": "2028-02-23T18:17:41+05:30",
           "start_jd": 2461698.61348,
           "end_jd": 2461825.03311,
           "retro_reentry": true
          }
         ],
         "cycles": [
          {
           "kind": "dhaiya_8",
           "start_local": "2025-03-29T21:43:25+05:30",
           "end_local": "2028-02-23T18:17:41+05:30",
           "start_jd": 2460764.175983,
           "end_jd": 2461825.03311,
           "interval_indexes": [
            0,
            1
           ]
          },
          {
           "kind": "sade_sati",
           "start_local": "2034-07-13T04:23:26+05:30",
           "end_local": "2041-09-26T06:59:33+05:30",
           "start_jd": 2464156.453772,
           "end_jd": 2466788.562183,
           "phases": [
            {
             "phase": "rising",
             "start_local": "2034-07-13T04:23:26+05:30",
             "end_local": "2036-08-27T21:12:20+05:30",
             "start_jd": 2464156.453772,
             "end_jd": 2464933.154401
            },
            {
             "phase": "peak",
             "start_local": "2036-08-27T21:12:20+05:30",
             "end_local": "2039-07-13T03:23:55+05:30",
             "start_jd": 2464933.154401,
             "end_jd": 2465982.412445
            }
           ],
           "interval_indexes": [
            2,
            3
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/small-panoti": {
   "get": {
    "summary": "Small Panoti / Dhaiya — current status (Saturn in 4th or 8th from Moon) (10 credits)",
    "operationId": "transitSmallPanoti",
    "tags": [
     "transit"
    ],
    "description": "Small Panoti / Dhaiya — current status (Saturn in 4th or 8th from Moon). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date of the moment to check, e.g. the transit date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:00"
      },
      "description": "Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "small_panoti": {
          "present": true,
          "type": "ashtama",
          "saturn_sign_index": 11,
          "moon_sign_index": 4
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/small-panoti/history": {
   "get": {
    "summary": "All Small Panoti windows for any date range (20 credits)",
    "operationId": "transitSmallPanotiHistory",
    "tags": [
     "transit"
    ],
    "description": "All Small Panoti windows for any date range. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date of the moment to check, e.g. the transit date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:00"
      },
      "description": "Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "28.6139"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "77.209"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "birth.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_moon_sign_index": 4,
         "from_jd": 2450402.243021,
         "to_jd": 2472317.243021,
         "windows": [
          {
           "start_jd": 2450402.243021,
           "end_jd": 2450922.243021,
           "type": "ashtama",
           "saturn_sign": 11
          },
          {
           "start_jd": 2456967.243021,
           "end_jd": 2457782.243021,
           "type": "kantak",
           "saturn_sign": 7
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/tarabala": {
   "get": {
    "summary": "Tara Bala for natal nakshatra vs transit Moon (10 credits)",
    "operationId": "transitTarabala",
    "tags": [
     "transit"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2026-04-12"
      },
      "description": "Transit date."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:00"
      },
      "description": "Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "tarabala": {
          "score": 0.14,
          "name": "Mitra",
          "transit_nakshatra": "Revati",
          "birth_nakshatra": "Purva Phalguni",
          "position": 16,
          "cycle_position": 7
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/vedha": {
   "get": {
    "summary": "Vedha (obstruction) check for a transit planet in a nakshatra (10 credits)",
    "operationId": "transitVedha",
    "tags": [
     "transit"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:00"
      },
      "description": "Local time of the moment to check (HH:MM, 24-hour). Defaults to 12:00."
     },
     {
      "name": "birth.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "birth.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "at_jd": 2461420.520833,
         "blocked": [
          {
           "birth_planet": "Ketu",
           "vedha_by": "Sun",
           "rashi_index": 3
          },
          {
           "birth_planet": "Mars",
           "vedha_by": "Mercury",
           "rashi_index": 7
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/transit/windows": {
   "get": {
    "summary": "Sign-wise transit windows of a planet (20 credits)",
    "operationId": "transitWindows",
    "tags": [
     "transit"
    ],
    "description": "Generic B2B data endpoint (ids only, no prose). Conventions: sign_index is 0-based (Aries=0); houses are 1-based whole-sign; nakshatra_index is 0-based (Ashwini=0), pada 1-4; every instant is given as *_local (RFC 3339 with offset) and *_jd (Julian Day, UT); skipped lists optional fields that could not be served as {field: reason}. Every stay of the planet in one sidereal sign that overlaps [from, from + years], with true start and end (ingress times bisected to ~1 s, ayanamsa of each moment). retro_reentry=true marks a stay in a sign the planet had left on its retrograde loop (A→B→A or B→A→B); retrograde_at_start is the motion at the entering ingress (same flag as /v1/planet-moments/ingress is_retrograde_at_ingress). Rahu/Ketu use the mean node, like /v1/chart/planets. With birth.date, birth.time and birth.tz each window carries house_from_moon; with birth.lat and birth.lon also house_from_lagna (whole sign, 1-based). years: default 25 and max 60 for jupiter, saturn, rahu, ketu; default 5 and max 20 for sun, mercury, venus, mars; default 1 and max 2 for moon.",
    "parameters": [
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn",
        "rahu",
        "ketu"
       ]
      },
      "description": "Planet id."
     },
     {
      "name": "from",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2026-11-02"
      },
      "description": "Start date YYYY-MM-DD (local midnight in tz). Defaults to now."
     },
     {
      "name": "years",
      "in": "query",
      "required": false,
      "schema": {
       "type": "integer",
       "example": 5
      },
      "description": "Span in calendar years after from (per-planet default and max, see description)."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD). Optional: enables house_from_moon (with birth.lat and birth.lon also house_from_lagna)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Optional: enables house_from_moon (with birth.lat and birth.lon also house_from_lagna)."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth timezone (IANA name or UTC±HH:MM). Optional: enables house_from_moon (with birth.lat and birth.lon also house_from_lagna)."
     },
     {
      "name": "birth.lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Birth location latitude. Optional: enables house_from_moon (with birth.lat and birth.lon also house_from_lagna)."
     },
     {
      "name": "birth.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Birth location longitude. Optional: enables house_from_moon (with birth.lat and birth.lon also house_from_lagna)."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "planet": "saturn",
         "ayanamsa": "lahiri",
         "tz": "Asia/Kolkata",
         "from_local": "2027-01-15T00:00:00+05:30",
         "from_jd": 2461420.270833,
         "to_local": "2052-01-15T00:00:00+05:30",
         "to_jd": 2470551.270833,
         "natal_moon_sign_index": 4,
         "natal_lagna_sign_index": 10,
         "windows": [
          {
           "sign_index": 11,
           "start_local": "2025-03-29T21:43:25+05:30",
           "end_local": "2027-06-03T04:43:30+05:30",
           "start_jd": 2460764.175982,
           "end_jd": 2461559.467711,
           "retro_reentry": false,
           "retrograde_at_start": false,
           "house_from_moon": 8,
           "house_from_lagna": 2
          },
          {
           "sign_index": 0,
           "start_local": "2027-06-03T04:43:30+05:30",
           "end_local": "2027-10-20T08:13:25+05:30",
           "start_jd": 2461559.467711,
           "end_jd": 2461698.613482,
           "retro_reentry": false,
           "retrograde_at_start": false,
           "house_from_moon": 9,
           "house_from_lagna": 3
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/varshaphal/chart": {
   "get": {
    "summary": "Varshaphal solar return chart for a given age year (30 credits)",
    "operationId": "varshaphalChart",
    "tags": [
     "varshaphal"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2026
      },
      "description": "Gregorian year of the solar return to compute."
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2026,
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "chart": {
          "target_year": 2026,
          "solar_return_jd": 2461055.942921,
          "solar_return_iso": "2026-01-15T10:37:48Z",
          "planets": [
           {
            "name": "Sun",
            "sidereal_lon": 271.063315,
            "sign_index": 9,
            "deg_in_sign": 1.063315,
            "dms_in_sign": "01°03'47\"",
            "house": 8,
            "nakshatra_idx": 20,
            "pada": 2,
            "nak_lord": "Sun",
            "speed": 1.018813,
            "is_retro": false,
            "ecl_lat": -0.000146
           },
           {
            "name": "Moon",
            "sidereal_lon": 233.166758,
            "sign_index": 7,
            "deg_in_sign": 23.166758,
            "dms_in_sign": "23°10'00\"",
            "house": 6,
            "nakshatra_idx": 17,
            "pada": 2,
            "nak_lord": "Mercury",
            "speed": 11.966956,
            "is_retro": false,
            "ecl_lat": -5.082821
           }
          ],
          "ascendant": {
           "sidereal_lon": 61.948902,
           "sign_index": 2,
           "deg_in_sign": 1.948902,
           "dms_in_sign": "01°56'56\"",
           "nakshatra_idx": 4,
           "pada": 3,
           "nak_lord": "Mars",
           "mc": 321.900394,
           "house_system": "whole_sign"
          },
          "muntha": {
           "rashi_index": 10,
           "house": 9
          },
          "varsha_lord": {
           "planet": "Saturn",
           "hora_number": 10,
           "hora_lord": "Sun",
           "method": "panchadhikari",
           "reason": "strongest_aspecting_varsha_lagna",
           "is_day_return": true,
           "candidates": [
            {
             "role": "munthesh",
             "planet": "Saturn",
             "panchavargeeya_bala": 10.68,
             "house_from_varsha_lagna": 10,
             "aspects_varsha_lagna": true,
             "offices": 4
            },
            {
             "role": "janmesh",
             "planet": "Saturn",
             "panchavargeeya_bala": 10.68,
             "house_from_varsha_lagna": 10,
             "aspects_varsha_lagna": true,
             "offices": 4
            }
           ]
          }
         }
        }
       }
      }
     }
    },
    "description": "The Tajika annual chart for the solar return in `year`, cast at the birth place: planets, the Varsha lagna, the Muntha and the Varsha lord. muntha.house is counted from the Varsha (annual) lagna. varsha_lord.planet is the Varshesha chosen by the Panchadhikari rule; varsha_lord also carries hora_lord (the hora lord of the return), method, reason, is_day_return and the five office-bearer candidates."
   }
  },
  "/v1/varshaphal/harsha-bala": {
   "get": {
    "summary": "Tajika Harsha Bala — five-component planetary strength in the annual chart (Stana + Uchcha + Ooja-Yugma + Kendradi + Drekkana) (10 credits)",
    "operationId": "varshaphalHarshaBala",
    "tags": [
     "varshaphal"
    ],
    "description": "Tajika Harsha Bala — five-component planetary strength in the annual chart (Stana + Uchcha + Ooja-Yugma + Kendradi + Drekkana). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027"
      },
      "description": "Year (YYYY)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2027,
         "ayanamsa": "lahiri",
         "planets": [
          {
           "planet": "Sun",
           "stana_bala": 15,
           "uchcha_bala": 27.021106,
           "ooja_yugma": 0,
           "kendradi_bala": 15,
           "drekkana_bala": 15,
           "total": 72.021106
          },
          {
           "planet": "Moon",
           "stana_bala": 22.5,
           "uchcha_bala": 48.688682,
           "ooja_yugma": 15,
           "kendradi_bala": 30,
           "drekkana_bala": 15,
           "total": 131.188682
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/varshaphal/lord": {
   "get": {
    "summary": "Varsha Lord (Varshesha) by the Panchadhikari rule for a solar return year (10 credits)",
    "operationId": "varshaphalLord",
    "tags": [
     "varshaphal"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2026,
         "ayanamsa": "lahiri",
         "varsha_lord": {
          "planet": "Saturn",
          "hora_number": 10,
          "hora_lord": "Sun",
          "method": "panchadhikari",
          "reason": "strongest_aspecting_varsha_lagna",
          "is_day_return": true,
          "candidates": [
           {
            "role": "munthesh",
            "planet": "Saturn",
            "panchavargeeya_bala": 10.68,
            "house_from_varsha_lagna": 10,
            "aspects_varsha_lagna": true,
            "offices": 4
           },
           {
            "role": "janmesh",
            "planet": "Saturn",
            "panchavargeeya_bala": 10.68,
            "house_from_varsha_lagna": 10,
            "aspects_varsha_lagna": true,
            "offices": 4
           }
          ]
         }
        }
       }
      }
     }
    },
    "description": "The Varshesha (lord of the year) by the Tajika Panchadhikari rule: of the five office-bearers (Munthesh, Janmesh, Varsha Lagnesh, Trirashipati, Dina/Ratripati), the strongest by Panchavargeeya bala that aspects the Varsha lagna. planet is the Varshesha; hora_number and hora_lord describe the planetary hora of the return; method, reason, is_day_return and candidates (role, planet, panchavargeeya_bala, house_from_varsha_lagna, aspects_varsha_lagna, offices) show how it was chosen."
   }
  },
  "/v1/varshaphal/mudda-dasha": {
   "get": {
    "summary": "Varshaphal Mudda Dasha — 18 annual dasha periods (9 planets × 2 cycles) starting from the Varsha lord at solar return (20 credits)",
    "operationId": "varshaphalMuddaDasha",
    "tags": [
     "varshaphal"
    ],
    "description": "Varshaphal Mudda Dasha — 18 annual dasha periods (9 planets × 2 cycles) starting from the Varsha lord at solar return. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027"
      },
      "description": "Year (YYYY)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2027,
         "ayanamsa": "lahiri",
         "varsha_lord": "Jupiter",
         "mudda_start_lord": "Mercury",
         "solar_return_local": "2027-01-15 22:09:17",
         "periods": [
          {
           "lord": "Mercury",
           "days": 34,
           "start_jd": 2461421.193943,
           "end_jd": 2461455.193943,
           "start_local": "2027-01-15 22:09:17",
           "end_local": "2027-02-18 22:09:17"
          },
          {
           "lord": "Jupiter",
           "days": 48,
           "start_jd": 2461455.193943,
           "end_jd": 2461503.193943,
           "start_local": "2027-02-18 22:09:17",
           "end_local": "2027-04-07 22:09:17"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/varshaphal/muntha": {
   "get": {
    "summary": "Muntha sign and its house from the Varsha lagna for a Varshaphal year (10 credits)",
    "operationId": "varshaphalMuntha",
    "tags": [
     "varshaphal"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2026,
         "ayanamsa": "lahiri",
         "muntha": {
          "rashi_index": 10,
          "house": 9
         }
        }
       }
      }
     }
    },
    "description": "Muntha for the solar-return year: rashi_index is the natal ascendant sign advanced one sign per completed year; house is that sign counted from the Varsha (annual) lagna, as Tajika reads it."
   }
  },
  "/v1/varshaphal/solar-return-jd": {
   "get": {
    "summary": "Exact Julian Day of the solar return for a given year (10 credits)",
    "operationId": "varshaphalSolarReturnJD",
    "tags": [
     "varshaphal"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_time"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "integer",
       "example": 2026
      }
     },
     {
      "$ref": "#/components/parameters/ayanamsa"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2026,
         "ayanamsa": "lahiri",
         "solar_return_jd": 2461055.942921,
         "solar_return_iso": "2026-01-15T10:37:48Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/varshaphal/yoga": {
   "get": {
    "summary": "Auspicious yogas in the solar return chart (10 credits)",
    "operationId": "varshaphalYoga",
    "tags": [
     "varshaphal"
    ],
    "description": "Auspicious yogas in the solar return chart. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027"
      },
      "description": "Year (YYYY)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "natal_date": "1990-01-15",
         "target_year": 2027,
         "lat": 19.076,
         "lon": 72.8777,
         "ayanamsa": "lahiri",
         "yogas": [
          {
           "ID": "conjunction.jupiter_mars",
           "Planet": "Jupiter",
           "House": 1,
           "Dignity": "",
           "Axis": ""
          },
          {
           "ID": "conjunction.jupiter_mars.house_1",
           "Planet": "Jupiter",
           "House": 1,
           "Dignity": "",
           "Axis": ""
          }
         ],
         "count": 4
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/career-outlook": {
   "get": {
    "summary": "Composed career and professional path outlook from natal chart (30 credits)",
    "operationId": "narrativeCareerOutlook",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Composed career and professional path outlook from natal chart. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.outlook.career.aquarius_lagna",
           "heading": "Your career as an Aquarius lagna: Scorpio on the 10th",
           "body": "Your career is read from your 10th house, the house of work, status and public name. With Aquarius rising, your 10th house is Scorpio, ruled by Mars. It also rules your 3rd house, so what happens there colours career too.\n\nMars treats your lagna lord Saturn evenly, so the resu…",
           "bullets": [
            "Key houses: 10th (Scorpio)",
            "Ruler: Mars"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/dasha-phal": {
   "get": {
    "summary": "Authored narrative for the current Vimshottari dasha period, down to the sookshma and prana levels, plus dasha-sandhi sections when a period change is near (20 credits)",
    "operationId": "narrativeDashaPhal",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the current Vimshottari dasha period, down to the sookshma and prana levels, plus dasha-sandhi sections when a period change is near. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date of the moment to check, e.g. the transit date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.dasha.maha_rah",
           "heading": "Rahu mahadasha: 18 years of foreign matters",
           "body": "Your Rahu mahadasha lasts 18 years, which is 15 percent of the full 120-year Vimshottari cycle. Foreign matters, technology and sudden openings take centre stage in your life. The period colours your years with the themes of foreign matters, technology and sudden chances, and …",
           "bullets": [
            "Work: check new offers before saying yes",
            "Money: avoid shortcut schemes"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.dasha.rah_jup",
           "heading": "Rahu-Jupiter period: about 2 years and 5 months in your dasha",
           "body": "You are in the Jupiter antardasha of your Rahu mahadasha, and it lasts about 2 years and 5 months. It is sub-period 2 of nine and runs from roughly year 2.7 to year 5.1 of your 18-year chapter. The chapter concerns foreign matters, technology and sudden chances; for you, this …",
           "bullets": [
            "Work: seek advice and teach what you know",
            "Money: savings and gains can grow"
           ],
           "resolved_locale": "en"
          }
         ],
         "skipped": {
          "vedic.L2.dasha.rah_jup_ven": "authoring_pending"
         },
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.rahu",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.rahu",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/dasha-tree-phal": {
   "get": {
    "summary": "Authored narratives for the full current dasha tree (MD → AD → PD) (20 credits)",
    "operationId": "narrativeDashaTreePhal",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narratives for the full current dasha tree (MD → AD → PD). Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.dasha.maha_ven",
           "heading": "Venus mahadasha: 20 years of love",
           "body": "Your Venus mahadasha lasts 20 years, which is 17 percent of the full 120-year Vimshottari cycle. Your love life, your comforts and your creative taste take centre stage, and you feel drawn to beauty. The period colours your years with the themes of love, comfort and the arts, …",
           "bullets": [
            "Work: work with people and design",
            "Money: spending on comfort rises"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.dasha.maha_sun",
           "heading": "Sun mahadasha: 6 years of authority",
           "body": "Your Sun mahadasha lasts 6 years, which is 5 percent of the full 120-year Vimshottari cycle. Your standing, your relationship with authority and your father take centre stage. The period colours your years with the themes of authority, recognition and your father, and it can b…",
           "bullets": [
            "Work: claim your role and report to the right person",
            "Money: salary and status tend to move together"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.venus",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.venus",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/divisional/{varga}": {
   "get": {
    "summary": "Authored narrative for a specific divisional chart (D1–D60) (10 credits)",
    "operationId": "narrativeDivisional",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for a specific divisional chart (D1–D60). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "varga",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.d9.mercury_exalted_in_navamsa",
           "heading": "Mercury exalted in the Navamsa (D9)",
           "body": "Mercury sits exalted in Virgo in your Navamsa (D9) chart. The Navamsa shows how your marriage and inner strength ripen, and it is often called the fruit of the birth chart. A planet's dignity there indicates how fully its promise reaches you.\n\nAn exalted planet is in its stron…",
           "bullets": [
            "Navamsa sign: Virgo",
            "Dignity: exalted"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.d9.jupiter_own_sign_in_navamsa",
           "heading": "Jupiter in own sign in the Navamsa (D9)",
           "body": "Jupiter sits in its own sign of Sagittarius and Pisces in your Navamsa (D9) chart. The Navamsa shows how your marriage and inner strength ripen, and it is often called the fruit of the birth chart. A planet's dignity there indicates how fully its promise reaches you.\n\nA planet…",
           "bullets": [
            "Navamsa sign: Sagittarius",
            "Dignity: in own sign"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.sun",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/dosha/{id}": {
   "get": {
    "summary": "Authored narrative for a specific dosha by ID (10 credits)",
    "operationId": "narrativeDosha",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for a specific dosha by ID. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [],
         "skipped": {
          "vedic.L1.dosha.1": "authoring_pending"
         },
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/doshas": {
   "get": {
    "summary": "Authored narratives for all doshas present in the natal chart (20 credits)",
    "operationId": "narrativeDoshas",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narratives for all doshas present in the natal chart. Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.dosha.mangal.cancelled_by_own_exaltation",
           "heading": "Mangal Dosha cancelled by a strong Mars: reassuring news",
           "body": "You have good news. Your Mangal Dosha is cancelled because Mars sits in its own sign, which is Aries or Scorpio, or in its sign of exaltation, which is Capricorn. A Mars this strong behaves well. Even in a Manglik house, its heat is considered tamed, and the dosha is treated a…",
           "bullets": [
            "Note that Mars is in Aries, Scorpio or Capricorn",
            "Enjoy the courage and discipline of a strong Mars"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.dosha.combust_dosha",
           "heading": "Combustion: a planet close to the Sun",
           "body": "Combustion, called Astangata, happens when a planet sits very close to the Sun in your chart, within a set number of degrees that differs by planet, from about 8 to 17. The Sun's light overpowers the planet, and the old image is that it is burnt. It is very common, because Mer…",
           "bullets": [
            "Find which planet is near your Sun",
            "Note how close it is, since closer is stronger"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/finance-outlook": {
   "get": {
    "summary": "Composed financial wealth outlook from natal chart (30 credits)",
    "operationId": "narrativeFinanceOutlook",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Composed financial wealth outlook from natal chart. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.outlook.finance.aquarius_lagna",
           "heading": "Your money as an Aquarius lagna: Pisces on the 2nd",
           "body": "Your money is read from your 2nd house of savings and your 11th house of income and gains. With Aquarius rising, your 2nd house is Pisces, ruled by Jupiter. With Aquarius rising, your 11th house is Sagittarius, ruled by Jupiter.\n\nJupiter treats your lagna lord Saturn evenly, s…",
           "bullets": [
            "Key houses: 2nd (Pisces) and 11th (Sagittarius)",
            "Ruler: Jupiter"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/horoscope/daily-by-lagna": {
   "get": {
    "summary": "Daily Vedic horoscope composed from lagna + current transits (30 credits)",
    "operationId": "narrativeHoroscopeDailyByLagna",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Daily Vedic horoscope composed from lagna + current transits. Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.gochar.daily.moon_in_house_12",
           "heading": "Expenses and lost sleep today, time alone does you good",
           "body": "Today the Moon is in the twelfth house from your sign, the place of expenses, foreign lands and solitude. Both money and energy flow out today without much return. Sleep may be short, something may get misplaced, or trust placed in someone may take a small knock. The mind feel…",
           "bullets": [
            "Work: finish things but do not start new ones; ignore what is said behind your back today",
            "Money: spending is hard to stop; watch your wallet, phone and keys, and do not lend today"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L3.gochar.daily.vaar_sunday",
           "heading": "Sunday, the Sun's day: confidence and respect for elders",
           "body": "Sunday belongs to the Sun, so authority, your father, government work and your own standing take the front seat today. Whatever gets done through presence and confidence gets done today. Rising early and offering water to the Sun gives the day its direction, and the day favour…",
           "bullets": [
            "Upay: offer water to the Sun from a copper vessel at sunrise; chant Om Ghrini Suryaya Namah 11 times",
            "Do: wear red or saffron, donate wheat or jaggery, touch your father's feet"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.charity.sun",
            "weight": 0.8
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/horoscope/daily-by-moon": {
   "get": {
    "summary": "Daily Vedic horoscope composed from Moon sign + current transits (30 credits)",
    "operationId": "narrativeHoroscopeDailyByMoon",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Daily Vedic horoscope composed from Moon sign + current transits. Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.gochar.daily.moon_in_house_6",
           "heading": "Opponents step back today, a winning day for work and health",
           "body": "Today the Moon is in the sixth house from your sign, the place of enemies, illness and service, and for the Moon this is a house of victory. People who were putting obstacles in your way loosen their grip today. Old illness or fatigue eases, and your effort at work gets seen.\n…",
           "bullets": [
            "Work: you gain the edge in competition; your boss or client comes around to your view",
            "Money: stuck money or a loan you gave is likely to come back; a good day to clear debt"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L3.gochar.daily.vaar_sunday",
           "heading": "Sunday, the Sun's day: confidence and respect for elders",
           "body": "Sunday belongs to the Sun, so authority, your father, government work and your own standing take the front seat today. Whatever gets done through presence and confidence gets done today. Rising early and offering water to the Sun gives the day its direction, and the day favour…",
           "bullets": [
            "Upay: offer water to the Sun from a copper vessel at sunrise; chant Om Ghrini Suryaya Namah 11 times",
            "Do: wear red or saffron, donate wheat or jaggery, touch your father's feet"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.charity.sun",
            "weight": 0.8
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/horoscope/daily-tamil": {
   "get": {
    "summary": "Daily Vedic horoscope in Tamil tradition (panchang + rashi) (30 credits)",
    "operationId": "narrativeHoroscopeDailyTamil",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Daily Vedic horoscope in Tamil tradition (panchang + rashi). Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.gochar.daily.moon_in_house_12",
           "heading": "Expenses and lost sleep today, time alone does you good",
           "body": "Today the Moon is in the twelfth house from your sign, the place of expenses, foreign lands and solitude. Both money and energy flow out today without much return. Sleep may be short, something may get misplaced, or trust placed in someone may take a small knock. The mind feel…",
           "bullets": [
            "Work: finish things but do not start new ones; ignore what is said behind your back today",
            "Money: spending is hard to stop; watch your wallet, phone and keys, and do not lend today"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L3.gochar.daily.vaar_sunday",
           "heading": "Sunday, the Sun's day: confidence and respect for elders",
           "body": "Sunday belongs to the Sun, so authority, your father, government work and your own standing take the front seat today. Whatever gets done through presence and confidence gets done today. Rising early and offering water to the Sun gives the day its direction, and the day favour…",
           "bullets": [
            "Upay: offer water to the Sun from a copper vessel at sunrise; chant Om Ghrini Suryaya Namah 11 times",
            "Do: wear red or saffron, donate wheat or jaggery, touch your father's feet"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.charity.sun",
            "weight": 0.8
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/horoscope/weekly-by-lagna": {
   "get": {
    "summary": "Weekly Vedic horoscope by lagna (30 credits)",
    "operationId": "narrativeHoroscopeWeeklyByLagna",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Weekly Vedic horoscope by lagna. Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.gochar.weekly.moon_path_from_house_9",
           "heading": "A tired start, success at work, a week ending in gains",
           "body": "This week the Moon starts in your ninth house. On Monday and Tuesday work gets done but your heart is only half in it; fatigue and a difference with your father or an elder are possible, and a temple visit and blessings lighten those days. On Wednesday and Thursday the Moon mo…",
           "bullets": [
            "Work: put the big meeting, the promotion talk and government paperwork on Wednesday or Thursday",
            "Money: your luck-driven money is held up early, income from your work comes midweek, dues and gains at the weekend"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L3.gochar.weekly.sun_in_house_9",
           "heading": "Sun in your ninth house: a test of father and fortune",
           "body": "This month the Sun is in your ninth house, the place of fortune, dharma and father. A difference with your father or teacher, a pause in luck, and delay in a long journey are possible for you this month. Your mind turns to faith and the big questions, but your body stays tired…",
           "bullets": [
            "Relationships: avoid arguments with your father and teachers; take their blessings",
            "Work: draw up the new plan now, launch it next month"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.mantra.venus",
            "weight": 1
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/horoscope/weekly-by-moon": {
   "get": {
    "summary": "Weekly Vedic horoscope by Moon sign (30 credits)",
    "operationId": "narrativeHoroscopeWeeklyByMoon",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Weekly Vedic horoscope by Moon sign. Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.gochar.weekly.moon_path_from_house_3",
           "heading": "A spirited start, home midweek, a tangled mind by the weekend",
           "body": "This week the Moon starts in your third house, so Monday and Tuesday are your best days and the early week favours you: stuck work can open up, your words land, a short trip pays. On Wednesday and Thursday the Moon moves into your fourth house and your mind turns homeward; kee…",
           "bullets": [
            "Work: put the big meeting or proposal on Monday or Tuesday, then stay with routine work",
            "Money: a small gain is possible early; no shares or bets at the weekend"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L3.gochar.weekly.sun_in_house_3",
           "heading": "Sun in your third house: courage, victory and position",
           "body": "This month the Sun is in your third house, one of the Sun's best transits. Your courage rises, opponents step back, and a position or recognition at work is indicated for you. Siblings may lend a hand, and short journeys pay.\n\nWhatever you have been putting off for lack of ner…",
           "bullets": [
            "Work: a month of position, recognition and winning in competition",
            "Relationships: siblings and neighbours stand with you"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.mantra.venus",
            "weight": 1
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/house-lord": {
   "get": {
    "summary": "Authored narrative for a specific house lord placed in a specific house (10 credits)",
    "operationId": "narrativeHouseLord",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for a specific house lord placed in a specific house. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "house",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "7"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.house_lord.7_lord_in_12",
           "heading": "7th ruler in 12th: partners and deals meets expenses and rest",
           "body": "The planet that rules your 7th house sits in your 12th house. Your 7th house is about marriage, partners and business deals, and your 12th house is about expenses, sleep, foreign matters and letting go. In simple terms, the ruler of your seventh house carries your marriage and…",
           "bullets": [
            "Link: partners and deals routed through expenses and rest",
            "Career angle: lean toward foreign, institutional and behind-the-scenes work"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.venus",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.venus",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/house-lords-overview": {
   "get": {
    "summary": "Authored narrative overview of all 12 house lords (10 credits)",
    "operationId": "narrativeHouseLordsOverview",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative overview of all 12 house lords. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.house_lord.1_lord_in_11",
           "heading": "1st ruler in 11th: self and health meets income and gains",
           "body": "The planet that rules your 1st house sits in your 11th house. Your 1st house is about your health, energy and the way you present yourself, and your 11th house is about income, gains and friends. In simple terms, the ruler of your first house stands for you yourself, so its co…",
           "bullets": [
            "Link: self and health routed through income and gains",
            "Career angle: lean toward networks, group projects and big goals"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.house_lord.2_lord_in_5",
           "heading": "2nd ruler in 5th: money and family meets children and study",
           "body": "The planet that rules your 2nd house sits in your 5th house. Your 2nd house is about money, savings and family talk, and your 5th house is about children, studies, romance and creative work. In simple terms, the ruler of your second house carries your savings and your way of s…",
           "bullets": [
            "Link: money and family routed through children and study",
            "Career angle: lean toward creative, advisory and teaching work"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/karakas": {
   "get": {
    "summary": "Authored narrative for the Chara Karakas (Atmakaraka, Amatyakaraka, etc.) (10 credits)",
    "operationId": "narrativeKarakas",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the Chara Karakas (Atmakaraka, Amatyakaraka, etc.). Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.karaka.atmakaraka_mars",
           "heading": "Your Atmakaraka is Mars: bold and direct",
           "body": "The Atmakaraka is the planet at the highest degree in your chart, and it indicates your core self and life purpose. Here that planet is Mars. With Mars in this seat, your core self tends to be bold, direct and quick to react, and you grow by using that quality without letting …",
           "bullets": [
            "Atmakaraka: Mars, ranked highest by degree",
            "Natural gift: courage, stamina and the will to act"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.karaka.amatyakaraka_saturn",
           "heading": "Your Amatyakaraka is Saturn: serious and dependable",
           "body": "The Amatyakaraka is the planet at the second-highest degree in your chart, and it indicates your career, your advisers and the skills that earn for you. Here that planet is Saturn. With Saturn in this seat, the way you work and the advisers you attract tend to be serious, reli…",
           "bullets": [
            "Amatyakaraka: Saturn, ranked second-highest by degree",
            "Natural gift: patience, discipline and staying power"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/lagna": {
   "get": {
    "summary": "Authored narrative for the Ascendant (Lagna) sign (10 credits)",
    "operationId": "narrativeLagna",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the Ascendant (Lagna) sign. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.lagna.aquarius",
           "heading": "Aquarius Ascendant, your Saturn-led, principled, humanitarian nature",
           "body": "With Aquarius rising, Saturn rules your chart, but here in its air-sign mood. Where Capricorn's Saturn builds vertically, the institution, the ladder climbed, your Saturn builds horizontally: the network, the shared cause, the system that holds many people at once. So your who…",
           "bullets": [
            "Saturn rules your sign, giving you a principled, humane, idea-driven airy nature",
            "Your strengths: principled commitment, a humanitarian instinct, loyalty, and systems thinking"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.saturn",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.saturn",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/marriage-outlook": {
   "get": {
    "summary": "Composed marriage timing and quality outlook from natal chart (30 credits)",
    "operationId": "narrativeMarriageOutlook",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Composed marriage timing and quality outlook from natal chart. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.outlook.marriage.aquarius_lagna",
           "heading": "Your marriage and partnerships as an Aquarius lagna: Leo on the 7th",
           "body": "Your marriage and close partnerships are read from your 7th house, the house of the spouse and of the one-to-one bond. With Aquarius rising, your 7th house is Leo, ruled by the Sun.\n\nThe Sun is no friend of your lagna lord Saturn, so you may feel some friction here and need pa…",
           "bullets": [
            "Key houses: 7th (Leo)",
            "Ruler: the Sun"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/milan": {
   "get": {
    "summary": "Composed compatibility narrative for a couple from both charts: Ashtakoota kootas plus synastry sections from the graha signs of both charts (30 credits)",
    "operationId": "narrativeMilan",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Composed compatibility narrative for a couple from both charts: Ashtakoota kootas plus synastry sections from the graha signs of both charts. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "boy.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Boy's birth date (YYYY-MM-DD)."
     },
     {
      "name": "boy.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "boy.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "girl.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1992-03-20"
      },
      "description": "Girl's birth date (YYYY-MM-DD)."
     },
     {
      "name": "girl.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "08:15"
      },
      "description": "Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "girl.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L3.milan.verdict_poor",
           "heading": "A lower Ashta Koota score: below 18 of 36",
           "body": "A total below 18 out of 36 puts your match in the lower band. You and your partner have fewer than half the points, which is the signal traditional matchmakers treat as a cue to look further before deciding. This result highlights where care is needed.\n\nThe score is only the s…",
           "bullets": [
            "Band: below 18 points",
            "Find which kootas are zero"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L3.milan.varna_full",
           "heading": "Varna Koota: full marks in your matching",
           "body": "You and your partner score the full 1 of 1 on Varna Koota, which reads how the two of you carry ambition, pride and your sense of role. On this point the traditional table finds nothing to correct.\n\nA full score supports you both. You accept each other's way of leading, so a j…",
           "bullets": [
            "Score: 1 of 1",
            "Strong point: ego and outlook"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/moon-sign": {
   "get": {
    "summary": "Authored narrative for the Moon sign (Rashi) (10 credits)",
    "operationId": "narrativeMoonSign",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the Moon sign (Rashi). Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.sign.moon_in_leo",
           "heading": "The Moon in Leo: in a friend's sign, proud and warm",
           "body": "The Moon in Leo colours your mind, mood and sense of comfort, and it does so through pride and visibility. Leo is a fire sign of pride and warmth, ruled by the Sun, and that is the flavour the Moon takes on here. It shapes how you act, decide and react.\n\nLeo is ruled by the Su…",
           "bullets": [
            "Dignity: Friend's sign, works smoothly",
            "Strength: your mind, mood and sense of comfort"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.moon",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.moon",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/nakshatra": {
   "get": {
    "summary": "Authored narrative for the natal Moon nakshatra (10 credits)",
    "operationId": "narrativeNakshatra",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the natal Moon nakshatra. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.nakshatra.purva_phalguni",
           "heading": "Your birth star Purva Phalguni: warmth",
           "body": "You were born with your Moon in Purva Phalguni, a star that lies in Leo. Its ruler is Venus, its deity is Bhaga, the giver of good fortune, and its symbol is the front legs of a bed. The star colours your nature with enjoyment, creativity and a generous heart, and people who k…",
           "bullets": [
            "Ruling planet: Venus, which also gives your first dasha",
            "Deity and symbol: Bhaga, the giver of good fortune; the front legs of a bed"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.nakshatra.purva_phalguni.pada_3",
           "heading": "Purva Phalguni pada 3: balanced dealing",
           "body": "Your Moon is in the 3rd pada of Purva Phalguni, which carries the naming syllable Ti. This pada falls in the Libra navamsa, ruled by Venus, and it colours your Purva Phalguni nature of enjoyment, creativity and a generous heart with balance, fairness and a pull towards partner…",
           "bullets": [
            "Navamsa: Libra, ruled by Venus; naming syllable Ti",
            "Work: warmth, charm and a gift for enjoying life"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/planet-in-house": {
   "get": {
    "summary": "Authored narrative for a specific planet in a specific house (10 credits)",
    "operationId": "narrativePlanetInHouse",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for a specific planet in a specific house. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mars"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.house.mars_in_10",
           "heading": "Mars in your 10th house: career and status",
           "body": "Mars sits in your 10th house, the house of career, status and your public name. Mars stands for your drive, courage and temper, so this placement highlights those themes in everything the 10th house touches. Mars gains directional strength (digbala) in the 10th house, which ma…",
           "bullets": [
            "Where it acts: career and status",
            "Best habit with Mars: push the stuck task forward"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/planet-in-sign": {
   "get": {
    "summary": "Authored narrative for a specific planet in a specific sign (10 credits)",
    "operationId": "narrativePlanetInSign",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for a specific planet in a specific sign. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mars"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.sign.mars_in_scorpio",
           "heading": "Mars in Scorpio: in its own sign, deep and intense",
           "body": "Mars in Scorpio colours your drive, courage and temper, and it does so in a deep, quiet way. Scorpio is a water sign of depth and intensity, ruled by Mars, and that is the flavour Mars takes on here. It shapes how you act, decide and react.\n\nScorpio is a sign that Mars owns, s…",
           "bullets": [
            "Dignity: Own sign, at home",
            "Strength: your drive, courage and temper"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/planets-in-houses": {
   "get": {
    "summary": "Authored narratives for all planets in their natal houses (10 credits)",
    "operationId": "narrativePlanetsInHouses",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narratives for all planets in their natal houses. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.house.sun_in_12",
           "heading": "The Sun in your 12th house: expenses and rest",
           "body": "The Sun sits in your 12th house, the house of expenses, sleep, foreign matters and letting go. The Sun stands for your sense of self, authority and standing, so this placement highlights those themes in everything the 12th house touches. the Sun is a harsh planet in a testing …",
           "bullets": [
            "Where it acts: expenses and rest",
            "Best habit with the Sun: claim credit for what you do"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.house.moon_in_7",
           "heading": "Moon in the 7th house, partnership-loving and emotionally attuned to others",
           "body": "With the Moon in your 7th house, the house of marriage, partnership and public dealings, your emotions are deeply tied to relationship. You feel most complete in connection, you are sensitive and responsive to your partner, and emotional resonance is the keynote of how you rel…",
           "bullets": [
            "Your emotions are deeply tied to relationship and partnership",
            "You feel most complete in connection and read others warmly"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.moon",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.moon",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/planets-in-signs": {
   "get": {
    "summary": "Authored narratives for all planets in their natal signs (10 credits)",
    "operationId": "narrativePlanetsInSigns",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narratives for all planets in their natal signs. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.sign.sun_in_capricorn",
           "heading": "The Sun in Capricorn: in an enemy's sign, patient and dutiful",
           "body": "The Sun in Capricorn colours your sense of self, authority and standing, and it does so through duty and patience. Capricorn is an earth sign of duty and structure, ruled by Saturn, and that is the flavour the Sun takes on here. It shapes how you act, decide and react.\n\nCapric…",
           "bullets": [
            "Dignity: Enemy's sign, some friction",
            "Strength: your sense of self, authority and standing"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.sign.moon_in_leo",
           "heading": "The Moon in Leo: in a friend's sign, proud and warm",
           "body": "The Moon in Leo colours your mind, mood and sense of comfort, and it does so through pride and visibility. Leo is a fire sign of pride and warmth, ruled by the Sun, and that is the flavour the Moon takes on here. It shapes how you act, decide and react.\n\nLeo is ruled by the Su…",
           "bullets": [
            "Dignity: Friend's sign, works smoothly",
            "Strength: your mind, mood and sense of comfort"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.sun",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/prashna": {
   "get": {
    "summary": "Prashna (horary) narrative for the moment and place of the question: Prashna lagna and Moon sections, plus the topic reading for the Prashna lagna. Set topic (career, financial, health, litigation, marriage, missing_person, property, travel) or question_house (1–12) (20 credits)",
    "operationId": "narrativePrashna",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Prashna (horary) narrative for the moment and place of the question: Prashna lagna and Moon sections, plus the topic reading for the Prashna lagna. Set topic (career, financial, health, litigation, marriage, missing_person, property, travel) or question_house (1–12). Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:00"
      },
      "description": "Local time (HH:MM, 24-hour). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "topic",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "career"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.prasna.prasna_lagna_overview",
           "heading": "The rising sign: the starting point of your question",
           "body": "The Prasna Lagna is the sign rising at the moment you ask your question, and it is the starting point of the whole reading. It describes you as the asker, the mood of the matter and the first impression of the answer. The lagna lord shows how well placed you are to get what yo…",
           "bullets": [
            "The ascendant of the instant you put the question",
            "It shows you as the asker and the mood of the matter"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.prasna.moon_sign_prasna",
           "heading": "The Moon in your question: mood and timing",
           "body": "In a question chart, the Moon carries special weight because it shows the mind of the matter and how it will move next. The sign the Moon is in, the house it holds and the planets it meets or looks at are checked closely for you.\n\nA Moon that is bright, well placed and linked …",
           "bullets": [
            "The Moon shows the mind of the matter",
            "A bright, well-linked Moon favours the answer"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/profile": {
   "get": {
    "summary": "Composed natal profile combining lagna + Moon sign + nakshatra + key yogas (30 credits)",
    "operationId": "narrativeProfile",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Composed natal profile combining lagna + Moon sign + nakshatra + key yogas. Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.lagna.aquarius",
           "heading": "Aquarius Ascendant, your Saturn-led, principled, humanitarian nature",
           "body": "With Aquarius rising, Saturn rules your chart, but here in its air-sign mood. Where Capricorn's Saturn builds vertically, the institution, the ladder climbed, your Saturn builds horizontally: the network, the shared cause, the system that holds many people at once. So your who…",
           "bullets": [
            "Saturn rules your sign, giving you a principled, humane, idea-driven airy nature",
            "Your strengths: principled commitment, a humanitarian instinct, loyalty, and systems thinking"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.sign.sun_in_capricorn",
           "heading": "The Sun in Capricorn: in an enemy's sign, patient and dutiful",
           "body": "The Sun in Capricorn colours your sense of self, authority and standing, and it does so through duty and patience. Capricorn is an earth sign of duty and structure, ruled by Saturn, and that is the flavour the Sun takes on here. It shapes how you act, decide and react.\n\nCapric…",
           "bullets": [
            "Dignity: Enemy's sign, some friction",
            "Strength: your sense of self, authority and standing"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.saturn",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.saturn",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/reference": {
   "get": {
    "summary": "Full authored reference glossary (10 credits)",
    "operationId": "narrativeReference",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Full authored reference glossary. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.argala.eleventh_house_argala",
           "heading": "Argala from the 11th house: gains and friends behind you",
           "body": "Argala is a Jaimini idea, and the word means a bolt or a latch. A planet in the 2nd, 4th or 11th house from a point pushes on that point's results. The 11th is the strongest of the three for gains, because it is the house of income and fulfilment of wishes.\n\nThe 11th house sta…",
           "bullets": [
            "Planet in the 11th acts on your topic",
            "Income, friends and fulfilment of wishes"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.argala.fifth_house_argala",
           "heading": "Argala from the 5th house: a secondary push of merit",
           "body": "Argala is a Jaimini idea, and the word means a bolt or a latch. The main argalas come from the 2nd, 4th and 11th houses. Some teachers also count the 5th house as a secondary argala, gentler than the three main ones, and you may see it used when you want a fuller picture.\n\nThe…",
           "bullets": [
            "A secondary argala in some schools",
            "Brings ideas, talent and goodwill"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/reference/{family}": {
   "get": {
    "summary": "Reference glossary for one family (e.g. yoga, dosha) (10 credits)",
    "operationId": "narrativeReferenceFamily",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Reference glossary for one family (e.g. yoga, dosha). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "family",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.dasha.ashtottari_overview",
           "heading": "Ashtottari dasha: a second timing system",
           "body": "Ashtottari is a second timing system that runs on a 108-year cycle instead of the 120 years of Vimshottari. It uses eight planets and leaves out Ketu, and astrologers turn to it for certain charts, most often when Rahu sits in a particular place relative to the lagna lord.\n\nWh…",
           "bullets": [
            "It runs on a 108-year cycle and covers eight planets",
            "Use it as a second opinion on career and money timing"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.dasha.chara.aquarius_rashi_dasha",
           "heading": "Aquarius leads your chara dasha: gains, networks and fresh ideas",
           "body": "In the Jaimini chara dasha, each sign leads a stretch of life in turn, and Aquarius highlights gains, networks and fresh ideas while it leads. The length is counted from Aquarius to the sign where Saturn, its lord, sits in your chart, so it runs from one year to as many as twe…",
           "bullets": [
            "Work: use your time on group work and new methods",
            "Money: follow up on network leads"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/sade-sati-history": {
   "get": {
    "summary": "Authored narrative history of all Sade Sati periods in the lifetime (20 credits)",
    "operationId": "narrativeSadeSatiHistory",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative history of all Sade Sati periods in the lifetime. Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.sade_sati.history.window_1",
           "heading": "Your first Sade Sati: looking back at the earliest cycle",
           "body": "The first Sade Sati is the earliest seven-and-a-half-year stretch in which Saturn crosses the three signs around your Moon. Saturn returns to the same place about every 29.5 years, so the first cycle falls somewhere between childhood and your late twenties, depending on where …",
           "bullets": [
            "First cycle: childhood to late twenties",
            "Saturn returns about every 29.5 years"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.sade_sati.history.window_2",
           "heading": "Your second Sade Sati: the mid-life review",
           "body": "The second Sade Sati comes about 29 or 30 years after the first, so it usually arrives between your thirties and your fifties, and for some people as early as the mid-twenties. It is the second time in your life that Saturn crosses the three signs around your Moon, and it tend…",
           "bullets": [
            "Second cycle: about 29 to 30 years after the first",
            "Usually in your thirties to fifties"
           ],
           "resolved_locale": "en"
          }
         ],
         "skipped": {
          "vedic.L2.sade_sati.history.window_3": "authoring_pending"
         },
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/sade-sati-phase": {
   "get": {
    "summary": "Authored narrative for the specific Sade Sati phase (rising/peak/setting) (10 credits)",
    "operationId": "narrativeSadeSatiPhase",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the specific Sade Sati phase (rising/peak/setting). Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.sade_sati.clear",
           "heading": "Sade Sati is over: Saturn has moved on from your Moon",
           "body": "When Saturn leaves the sign after your natal Moon sign, Sade Sati is complete. You are no longer under the seven-and-a-half-year pressure, and the next one comes roughly 22 years later, because Saturn takes about 29.5 years to return to the same place.\n\nThis is a good time to …",
           "bullets": [
            "Cycle complete, next in about 22 years",
            "Saturn returns every 29.5 years"
           ],
           "citations": [
            "BPHS Ch.26",
            "Brihat Jatakam 10.5"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.dosha.shani_dhaiya",
           "heading": "Shani Dhaiya: Saturn's two-and-a-half-year test",
           "body": "Shani Dhaiya, also called the Small Panoti, is the period of about two and a half years when Saturn passes through the 4th or the 8th sign from your Moon sign. It is a shorter cousin of Sade Sati. Because Saturn takes about 29 years to go around the zodiac, you meet it about t…",
           "bullets": [
            "Check whether Saturn is in the 4th or 8th from your Moon",
            "Expect a stretch of nearly three years"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.saturn",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.saturn",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/sade-sati-status": {
   "get": {
    "summary": "Authored narrative for the current Sade Sati phase and its effects (10 credits)",
    "operationId": "narrativeSadeSatiStatus",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the current Sade Sati phase and its effects. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.sade_sati.clear",
           "heading": "Sade Sati is over: Saturn has moved on from your Moon",
           "body": "When Saturn leaves the sign after your natal Moon sign, Sade Sati is complete. You are no longer under the seven-and-a-half-year pressure, and the next one comes roughly 22 years later, because Saturn takes about 29.5 years to return to the same place.\n\nThis is a good time to …",
           "bullets": [
            "Cycle complete, next in about 22 years",
            "Saturn returns every 29.5 years"
           ],
           "citations": [
            "BPHS Ch.26",
            "Brihat Jatakam 10.5"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.dosha.shani_dhaiya",
           "heading": "Shani Dhaiya: Saturn's two-and-a-half-year test",
           "body": "Shani Dhaiya, also called the Small Panoti, is the period of about two and a half years when Saturn passes through the 4th or the 8th sign from your Moon sign. It is a shorter cousin of Sade Sati. Because Saturn takes about 29 years to go around the zodiac, you meet it about t…",
           "bullets": [
            "Check whether Saturn is in the 4th or 8th from your Moon",
            "Expect a stretch of nearly three years"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.saturn",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.saturn",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/sun-sign": {
   "get": {
    "summary": "Authored narrative for the Sun sign (10 credits)",
    "operationId": "narrativeSunSign",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the Sun sign. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.sign.sun_in_capricorn",
           "heading": "The Sun in Capricorn: in an enemy's sign, patient and dutiful",
           "body": "The Sun in Capricorn colours your sense of self, authority and standing, and it does so through duty and patience. Capricorn is an earth sign of duty and structure, ruled by Saturn, and that is the flavour the Sun takes on here. It shapes how you act, decide and react.\n\nCapric…",
           "bullets": [
            "Dignity: Enemy's sign, some friction",
            "Strength: your sense of self, authority and standing"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.sun",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.sun",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/transit-ashtakavarga": {
   "get": {
    "summary": "Authored narrative for transit strength using Ashtakavarga bindus (20 credits)",
    "operationId": "narrativeTransitAshtakavarga",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for transit strength using Ashtakavarga bindus. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.transit_av.jupiter_in_gemini_medium",
           "heading": "Jupiter in Gemini: a medium transit",
           "body": "Jupiter is moving through Gemini, and it takes about a year to cross it. In your chart, Gemini holds 26 to 32 points in the Sarvashtakavarga, the combined score of all the planets for that sign, so this is a medium-support transit for you.\n\nSupport is even in Gemini. Expect a …",
           "bullets": [
            "Transit: Jupiter in Gemini",
            "Support: medium, 26 to 32 Sarvashtakavarga points"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.transit_av.ketu_in_cancer_low",
           "heading": "Ketu in Cancer: a low transit",
           "body": "Ketu is moving through Cancer, and it takes about a year and a half to cross it. In your chart, Cancer holds 25 or fewer points in the Sarvashtakavarga, the combined score of all the planets for that sign, so this is a light-support transit for you.\n\nSupport is thin in Cancer.…",
           "bullets": [
            "Transit: Ketu in Cancer",
            "Support: low, 25 or fewer Sarvashtakavarga points"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/transit-double": {
   "get": {
    "summary": "Authored narrative for the Saturn+Jupiter double-transit significators (20 credits)",
    "operationId": "narrativeTransitDouble",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the Saturn+Jupiter double-transit significators. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date of the chart (YYYY-MM-DD). This endpoint takes the birth details without a prefix."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 19.076
      },
      "description": "Birth place latitude in decimal degrees (−90 to 90)."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": 72.8777
      },
      "description": "Birth place longitude in decimal degrees (−180 to 180)."
     },
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.transit_double.mercury_sun_in_capricorn",
           "heading": "Mercury and the Sun together in Capricorn: a double transit",
           "body": "For now, Mercury and the Sun are both moving through Capricorn, so their effects colour the same part of your life. Look up which house Capricorn is in your chart, because that is where you feel this most. Capricorn acts through duty and patience. This pairing is the classical…",
           "bullets": [
            "Pair: Mercury with the Sun in Capricorn",
            "Window: at most three to four weeks"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.transit_double.rahu_sun_in_capricorn",
           "heading": "Rahu and the Sun together in Capricorn: a double transit",
           "body": "For now, Rahu and the Sun are both moving through Capricorn, so their effects colour the same part of your life. Look up which house Capricorn is in your chart, because that is where you feel this most. Capricorn acts through duty and patience. This pairing is an eclipse-type …",
           "bullets": [
            "Pair: Rahu with the Sun in Capricorn",
            "Window: at most about a month"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/transit-phal": {
   "get": {
    "summary": "Authored narrative for current transits: the slow grahas by sign, their transit from the natal Moon (and from the natal lagna when lat/lon are given), Sade Sati, the Sun's transit house and Jupiter/Saturn/Rahu passing over natal grahas (20 credits)",
    "operationId": "narrativeTransitPhal",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for current transits: the slow grahas by sign, their transit from the natal Moon (and from the natal lagna when lat/lon are given), Sade Sati, the Sun's transit house and Jupiter/Saturn/Rahu passing over natal grahas. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "2027-01-15"
      },
      "description": "Date of the moment to check, e.g. the transit date (YYYY-MM-DD)."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.transit.mars_in_leo",
           "heading": "Mars in Leo: about six weeks of competition",
           "body": "Mars stays in Leo for about six weeks, and Leo acts through pride and visibility. Leo is ruled by the Sun, a friend of Mars, so the stay is comfortable. Count from your Moon sign to Leo to find the part of your life this presses on.\n\nMars leaves you driven, hot-headed and impa…",
           "bullets": [
            "Stay: about six weeks in Leo",
            "Style: Leo works through pride and visibility"
           ],
           "citations": [
            "BPHS Ch.26",
            "Phaladeepika Ch.26"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.transit.jupiter_in_leo",
           "heading": "Jupiter in Leo: about a year of advice",
           "body": "Jupiter stays in Leo for about a year, and Leo acts through pride and visibility. Leo is ruled by the Sun, a friend of Jupiter, so the stay is comfortable. Count from your Moon sign to Leo to find the part of your life this presses on.\n\nJupiter leaves you hopeful and generous,…",
           "bullets": [
            "Stay: about a year in Leo",
            "Style: Leo works through pride and visibility"
           ],
           "citations": [
            "BPHS Ch.26",
            "Phaladeepika Ch.26"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.mars",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.mars",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/varshaphal-themes": {
   "get": {
    "summary": "Authored narrative for the annual solar return (Varshaphal) themes (20 credits)",
    "operationId": "narrativeVarshaphalThemes",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for the annual solar return (Varshaphal) themes. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027"
      },
      "description": "Year (YYYY)."
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.varshaphal.muntha_in_8",
           "heading": "Muntha in the 8th house: sudden change",
           "body": "Your Muntha is a yearly marker that starts in the sign of your birth lagna and moves one sign every year, and its house is counted from the lagna of this year's annual chart. This year it is in your 8th house, which highlights sudden change, shared money and hidden matters.\n\nB…",
           "bullets": [
            "Muntha house: 8th, sudden change",
            "Counted from: this year's annual lagna"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.varshaphal.varsha_lord_jupiter",
           "heading": "Jupiter as year lord: your wisdom, luck and the way you grow",
           "body": "When Jupiter is the year lord (varshesha), the twelve months between two birthdays lean on your wisdom, luck and the way you grow. Your biggest turns this year tend to come through learning, children, money growth and guidance, and Jupiter highlights these before anything else…",
           "bullets": [
            "Theme: your wisdom, luck and the way you grow",
            "Work: teach, advise or train others"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/yearly-bhavishyafal": {
   "get": {
    "summary": "Personalized yearly horoscope from 6000+ rules: Varshaphal themes + active Dasha + Sade Sati phase + slow-mover transits + marriage/career/finance outlook — all anchored to the solar return (30 credits)",
    "operationId": "narrativeYearlyBhavishyafal",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Personalized yearly horoscope from 6000+ rules: Varshaphal themes + active Dasha + Sade Sati phase + slow-mover transits + marriage/career/finance outlook — all anchored to the solar return. Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "name": "year",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     },
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L2.varshaphal.muntha_in_8",
           "heading": "Muntha in the 8th house: sudden change",
           "body": "Your Muntha is a yearly marker that starts in the sign of your birth lagna and moves one sign every year, and its house is counted from the lagna of this year's annual chart. This year it is in your 8th house, which highlights sudden change, shared money and hidden matters.\n\nB…",
           "bullets": [
            "Muntha house: 8th, sudden change",
            "Counted from: this year's annual lagna"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L2.varshaphal.varsha_lord_jupiter",
           "heading": "Jupiter as year lord: your wisdom, luck and the way you grow",
           "body": "When Jupiter is the year lord (varshesha), the twelve months between two birthdays lean on your wisdom, luck and the way you grow. Your biggest turns this year tend to come through learning, children, money growth and guidance, and Jupiter highlights these before anything else…",
           "bullets": [
            "Theme: your wisdom, luck and the way you grow",
            "Work: teach, advise or train others"
           ],
           "resolved_locale": "en"
          }
         ],
         "skipped": {
          "vedic.L2.dasha.rah_jup_ven": "authoring_pending"
         },
         "remedies": {
          "refs": [
           {
            "ref": "vedic.L1.remedy.mantra.rahu",
            "weight": 1
           },
           {
            "ref": "vedic.L1.remedy.graha_shanti.rahu",
            "weight": 0.9
           }
          ]
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/yoga/{id}": {
   "get": {
    "summary": "Authored narrative for a specific yoga by ID (10 credits)",
    "operationId": "narrativeYoga",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narrative for a specific yoga by ID. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [],
         "skipped": {
          "vedic.L1.yoga.1": "authoring_pending"
         },
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/narrative/yogas": {
   "get": {
    "summary": "Authored narratives for all yogas present in the natal chart (20 credits)",
    "operationId": "narrativeYogas",
    "tags": [
     "vedic_narrative"
    ],
    "description": "Authored narratives for all yogas present in the natal chart. Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sections": [
          {
           "rule_id": "vedic.L1.yoga.ruchaka",
           "heading": "Ruchaka Yoga, the Mars yoga of courage and command",
           "body": "Ruchaka is one of the five Pancha Mahapurusha, or Great Person, yogas. It forms when Mars stands in an angle, the 1st, 4th, 7th or 10th house, in Aries, Scorpio or Capricorn. In your work, this gives you a commanding presence, a love of difficult tasks and the nerve to lead wh…",
           "bullets": [
            "Mars strong in an angle in its own or exalted sign",
            "Courage, stamina and a natural leader's bearing"
           ],
           "resolved_locale": "en"
          },
          {
           "rule_id": "vedic.L1.yoga.ruchaka.from_lagna",
           "heading": "Ruchaka Yoga, the Mars yoga of courage and command",
           "body": "Ruchaka is one of the five Pancha Mahapurusha, or Great Person, yogas. It forms when Mars stands in an angle, the 1st, 4th, 7th or 10th house, in Aries, Scorpio or Capricorn. Counted from your ascendant, it speaks mostly of the body, your status and outer achievement. In your …",
           "bullets": [
            "Mars strong in an angle in its own or exalted sign",
            "Courage, stamina and a natural leader's bearing"
           ],
           "resolved_locale": "en"
          }
         ],
         "remedies": {
          "refs": []
         },
         "narrative_meta": {
          "engine": "vedic-N1",
          "locale": "en"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies": {
   "get": {
    "summary": "All remedies for the natal chart — mantras, vratas, poojas for dosha/graha issues (10 credits)",
    "operationId": "remediesVedic",
    "tags": [
     "vedic_remedies"
    ],
    "description": "All remedies for the natal chart — mantras, vratas, poojas for dosha/graha issues. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedies": [
          {
           "id": "hanuman_chalisa",
           "category": "mantra",
           "graha": "Mars",
           "applies_when_rule_ids": [],
           "weight": 1,
           "locale": "en",
           "label": "The Hanuman Chalisa: a daily prayer for strength and calm",
           "summary": "Recite it slowly on a Tuesday or Saturday",
           "full_text": "The Hanuman Chalisa is a forty-verse hymn to Lord Hanuman, written by the poet Tulsidas in Awadhi. It praises Hanuman's strength, humility and devotion to Rama. Millions of people recite it, and it is one of the easiest remedies to begin, because you need no priest, no special…"
          },
          {
           "id": "vedic.L1.remedy.mantra.jupiter",
           "category": "mantra",
           "graha": "Jupiter",
           "applies_when_rule_ids": [],
           "weight": 1,
           "locale": "en",
           "label": "Jupiter mantra: a quiet daily practice",
           "summary": "Chant on Thursday morning, after a bath",
           "full_text": "Jupiter stands for wisdom, teachers, children, savings and good fortune. When Jupiter is under strain, you may notice poor guidance, hesitation, uncertain savings and trouble with children or teachers. A mantra is one of the gentlest ways to work with that. It costs nothing, n…"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/{rule_id}": {
   "get": {
    "summary": "Specific remedy by rule ID (10 credits)",
    "operationId": "vedicRemediesRuleId",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Specific remedy by rule ID. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "rule_id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedies": []
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/daan/{id}": {
   "get": {
    "summary": "Daan (charity/donation) remedy — what to donate, to whom, and on which day/nakshatra (10 credits)",
    "operationId": "remediesDaan",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Daan (charity/donation) remedy — what to donate, to whom, and on which day/nakshatra. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedy": {
          "id": "sadesati_setting_shanti",
          "category": "daan",
          "applies_when_rule_ids": [],
          "weight": 1,
          "locale": "en",
          "label": "Remedies for the closing phase of Sade Sati",
          "summary": "Light a lamp and chant on Saturday",
          "full_text": "The closing phase is the last two and a half years of Sade Sati, when Saturn moves through the sign after your Moon sign. The pressure usually eases here, and attention turns to your money, your speech and your family. The remedies below help you finish well and carry the less…"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/for-graha": {
   "get": {
    "summary": "Remedies for a graha by reason (10 credits)",
    "operationId": "vedicRemediesForGraha",
    "tags": [
     "remedies"
    ],
    "description": "Generic B2B data endpoint: a filter over the existing remedy catalogue (same rows, text and locale handling as /v1/vedic/remedies; no new prose). Each item keeps the catalogue fields and adds kind (mantra, daan, vrat, pooja, pilgrimage, yantra, rudraksha; derived from the remedy id: charity/offering → daan, fast/annual_vrat → vrat, graha_shanti → pooja), weekday (0 = Sunday; null when the catalogue does not tie the remedy to one day) and matched_by. Reason mapping (the catalogue has no reason tags, so reasons resolve from remedy ids): debilitated, combust, dusthana, weak_shadbala (or no reason) → the graha's own rows (matched_by graha) — today these four return the same set and the reason is echoed for your own tables; dasha → <graha>_dasha_shanti (matched_by dasha) plus the graha's rows; dosha:<id> → the dosha's shanti rows (matched_by dosha: sade_sati, sade_sati_rising/peak/setting, mangal, kaalsarp, pitra and their aliases; sub-ids like kaalsarp.anant use the parent) plus the graha's rows when graha is given; a dosha with no catalogue rows is listed in skipped. Kinds: the graha's rows are limited to free kinds (mantra, daan, vrat, seva, deep) unless include adds pooja, pilgrimage, yantra, rudraksha; category limits to one catalogue category instead. Dosha and dasha rows are always served. Gemstones are not in the catalogue, so include=gemstone only adds a skipped entry. Order: dosha, dasha, graha rows; then kind; then weight.",
    "parameters": [
     {
      "name": "graha",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "saturn",
       "enum": [
        "sun",
        "moon",
        "mars",
        "mercury",
        "jupiter",
        "venus",
        "saturn",
        "rahu",
        "ketu"
       ]
      },
      "description": "Graha id. Required unless reason is dosha:<id>."
     },
     {
      "name": "reason",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "debilitated"
      },
      "description": "debilitated | combust | dusthana | weak_shadbala | dasha | dosha:<id>"
     },
     {
      "name": "include",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "pooja"
      },
      "description": "Comma-separated extra kinds: pooja, pilgrimage, yantra, rudraksha, gemstone."
     },
     {
      "name": "category",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "enum": [
        "mantra",
        "daan",
        "vrat",
        "pooja",
        "yantra",
        "rudraksha"
       ]
      },
      "description": "Limit to one catalogue category."
     },
     {
      "name": "locale",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "hi"
      },
      "description": "Text locale (en, hi, mr, ta, te, kn, ...). English text is kept where no translation exists."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "graha": "saturn",
         "reason": "debilitated",
         "reason_basis": [
          "graha"
         ],
         "locale": "en",
         "kinds": [
          "mantra",
          "daan"
         ],
         "remedies": [
          {
           "id": "vedic.L1.remedy.mantra.saturn",
           "category": "mantra",
           "graha": "Saturn",
           "applies_when_rule_ids": [],
           "weight": 1,
           "locale": "en",
           "label": "Saturn mantra: a quiet daily practice",
           "summary": "Chant on Saturday morning, after a bath",
           "full_text": "Saturn stands for discipline, patience, hard work and the way you carry burdens. When Saturn is under strain, you may notice delays, heavy responsibility, tiredness and a sense of being alone with a load. A mantra is one of the gentlest ways to work with that. It costs nothing…",
           "kind": "mantra",
           "weekday": 6,
           "matched_by": "graha"
          },
          {
           "id": "vedic.L1.festival_remedy.offering.saturn",
           "category": "daan",
           "graha": "Saturn",
           "applies_when_rule_ids": [],
           "weight": 1,
           "locale": "en",
           "label": "Saturn offerings: a simple gift on Saturdays",
           "summary": "Give on Saturday",
           "full_text": "This week, Saturday gives you a simple chance to give for Saturn, which stands for discipline, patience, hard work and the way you carry burdens. Offer black sesame, urad dal, iron items, dark cloth or mustard oil to a labourer, an elderly person, or someone who works with the…",
           "kind": "daan",
           "weekday": 6,
           "matched_by": "graha"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/lal-kitab": {
   "get": {
    "summary": "Lal Kitab remedy (upay) catalog — optionally filtered by planet (10 credits)",
    "operationId": "remediesLalkitabList",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Lal Kitab remedy (upay) catalog — optionally filtered by planet. Costs 10 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedies": [
          {
           "id": "lk.remedy.jupiter_in_1",
           "planet": "jupiter",
           "house": 1,
           "actions": [
            {
             "action_index": 0,
             "timing": "Thursday morning",
             "weight": 1
            },
            {
             "action_index": 1,
             "timing": "Thursday evening",
             "weight": 0.9
            }
           ],
           "locale": "en",
           "headline": "Jupiter in the 1st house: giving and plain living for self",
           "body": "In the Lal Kitab, Jupiter in the 1st house is answered with small, harmless habits, repeated. Jupiter is the planet of guidance, generosity and growth, and in the Lal Kitab the remedies you use for it are acts of giving. The 1st house is you: your body, your temperament and th…",
           "caveat": "These are physical folk-tradition actions; their effect builds gradually with sincere, unhurried practice over several months.",
           "bullets": [
            "Thursday morning: give chana dal or a turmeric-cooked meal straight into the hands of someone who needs it, not left at a doorstep",
            "Thursday evening: eat simply and a little less than usual, with one course fewer or one meal lighter"
           ]
          },
          {
           "id": "lk.remedy.jupiter_in_2",
           "planet": "jupiter",
           "house": 2,
           "actions": [
            {
             "action_index": 0,
             "timing": "Thursday morning",
             "weight": 1
            },
            {
             "action_index": 1,
             "timing": "Thursday evening",
             "weight": 0.9
            }
           ],
           "locale": "en",
           "headline": "Jupiter in the 2nd house: giving and plain living for money",
           "body": "In the Lal Kitab, Jupiter in the 2nd house is answered with small, harmless habits, repeated. Jupiter is the planet of guidance, generosity and growth, and in the Lal Kitab the remedies you use for it are acts of giving. The 2nd house covers your money, savings, food and the w…",
           "caveat": "These are physical folk-tradition actions; results are gradual and depend on consistency over months rather than single grand gestures.",
           "bullets": [
            "Thursday morning: take chana dal in person to a temple, a community kitchen or any place that feeds people, and make it a weekly habit",
            "Thursday evening: speak truthfully and generously with your family, with no exaggeration and no holding back of praise someone has earned"
           ]
          }
         ],
         "count": 108
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/lal-kitab/{planet}/{house}": {
   "get": {
    "summary": "Lal Kitab remedies for a specific planet-in-house placement (e.g. Saturn in house 8) (10 credits)",
    "operationId": "remediesLalkitabForPlacement",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Lal Kitab remedies for a specific planet-in-house placement (e.g. Saturn in house 8). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "planet",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "house",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "id": "lk.remedy.saturn_in_7",
         "planet": "saturn",
         "house": 7,
         "actions": [
          {
           "action_index": 0,
           "timing": "Saturday morning",
           "weight": 1
          },
          {
           "action_index": 1,
           "timing": "Amavasya",
           "weight": 0.9
          }
         ],
         "locale": "en",
         "headline": "Saturn in the 7th house: steady service for marriage",
         "body": "In the Lal Kitab, Saturn in the 7th house is answered with small, harmless habits, repeated. Saturn stands for discipline, time and hard work, and its remedies ask you to be slow, humble and steady. The 7th house covers your marriage, partners and business deals. Here Saturn p…",
         "caveat": "The Saturday fast requires genuine restraint, one simple meal, not a modified eating schedule that avoids inconvenience.",
         "bullets": [
          "Saturday morning: eat only once, a simple afternoon meal with no elaborate cooking, as a fast you can keep",
          "Amavasya: give black sesame at a Peepal tree or Shani mandir and offer some to crows nearby"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/mantra/{id}": {
   "get": {
    "summary": "Mantra remedy — deity mantra + recitation count for a specific issue (10 credits)",
    "operationId": "remediesMantra",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Mantra remedy — deity mantra + recitation count for a specific issue. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedy": {
          "id": "vedic.L1.remedy.mantra.saturn",
          "category": "mantra",
          "graha": "Saturn",
          "applies_when_rule_ids": [],
          "weight": 1,
          "locale": "en",
          "label": "Saturn mantra: a quiet daily practice",
          "summary": "Chant on Saturday morning, after a bath",
          "full_text": "Saturn stands for discipline, patience, hard work and the way you carry burdens. When Saturn is under strain, you may notice delays, heavy responsibility, tiredness and a sense of being alone with a load. A mantra is one of the gentlest ways to work with that. It costs nothing…"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/pooja/{id}": {
   "get": {
    "summary": "Pooja remedy — ritual procedure and requirements (10 credits)",
    "operationId": "remediesPooja",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Pooja remedy — ritual procedure and requirements. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedy": {
          "id": "jupiter_dasha_shanti",
          "category": "pooja",
          "applies_when_rule_ids": [],
          "weight": 1,
          "locale": "en",
          "label": "Remedies for your Jupiter period: a steady routine",
          "summary": "Expect a 16-year stretch",
          "full_text": "Your Jupiter mahadasha lasts 16 years, and it colours learning, children, savings and your guides in life. Jupiter may be friendly in one life and demanding in another, so you can use the routine below whichever way your period is running. The period is long, so pick a plan th…"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/rudraksha/{id}": {
   "get": {
    "summary": "Rudraksha remedy — mukhi count, ruling planet, and wearing procedure (10 credits)",
    "operationId": "remediesRudraksha",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Rudraksha remedy — mukhi count, ruling planet, and wearing procedure. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedy": {
          "id": "vedic.L1.remedy.rudraksha.jupiter",
          "category": "rudraksha",
          "graha": "Jupiter",
          "applies_when_rule_ids": [],
          "weight": 1,
          "locale": "en",
          "label": "The 5-Mukhi Rudraksha, a gentle bead for Jupiter",
          "summary": "Choose a 5-faced bead, the one linked with Jupiter",
          "full_text": "Rudraksha beads are the dried seeds of a tree sacred to Shiva, and the mukhi is the number of natural lines, or faces, on the bead. The 5-Mukhi bead is linked with Jupiter, which stands for wisdom, teachers, children, savings and good fortune. It is a mild, wearable way to kee…"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/vrat/{id}": {
   "get": {
    "summary": "Vrat (fasting) remedy — day, procedure, deity (10 credits)",
    "operationId": "remediesVrat",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Vrat (fasting) remedy — day, procedure, deity. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedy": {
          "id": "kaalsarp_dosha_shanti",
          "category": "vrat",
          "applies_when_rule_ids": [],
          "weight": 1,
          "locale": "en",
          "label": "Remedies for Kaal Sarp Dosha, calm and in full",
          "summary": "Worship Shiva on Mondays and on Nag Panchami",
          "full_text": "Kaal Sarp Dosha is said to form when all seven planets from the Sun to Saturn sit on one side of the Rahu and Ketu axis. It is a common pattern, and many people with it lead full and successful lives, so you need not worry. The remedies below are traditional, gentle and low in…"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/vedic/remedies/yantra/{id}": {
   "get": {
    "summary": "Yantra remedy — purpose, installation procedure, direction, and mantra (10 credits)",
    "operationId": "remediesYantra",
    "tags": [
     "vedic_remedies"
    ],
    "description": "Yantra remedy — purpose, installation procedure, direction, and mantra. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "id",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "remedy": {
          "id": "vedic.L1.remedy.yantra.jupiter",
          "category": "yantra",
          "graha": "Jupiter",
          "applies_when_rule_ids": [],
          "weight": 1,
          "locale": "en",
          "label": "The Guru Yantra, a focus for steady practice",
          "summary": "Choose the Guru Yantra, the diagram linked with Jupiter",
          "full_text": "A yantra is a sacred geometric diagram, a point of focus for the mind. The Guru Yantra is the one linked with Jupiter, which stands for wisdom, teachers, children, savings and good fortune. Keeping one gives those themes a quiet place in your home and your day.\n\nPlace the Guru…"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/astrocartography/local-space": {
   "get": {
    "summary": "Local space chart directions from observer location (20 credits)",
    "operationId": "westernAstrocartographyLocalSpace",
    "tags": [
     "western"
    ],
    "description": "Local space chart directions from observer location. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "lat": 19.076,
         "lon": 72.8777,
         "lines": [
          {
           "planet": "Sun",
           "azimuth": 138.484156
          },
          {
           "planet": "Moon",
           "azimuth": 276.634553
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/astrocartography/planet-lines": {
   "get": {
    "summary": "Astrocartography planet lines — Asc/Desc/MC/IC lines for all planets (30 credits)",
    "operationId": "westernAstrocartographyPlanetLines",
    "tags": [
     "western"
    ],
    "description": "Astrocartography planet lines — Asc/Desc/MC/IC lines for all planets. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "lat_step": 2,
         "jd_ut": 2447906.708333,
         "lines": [
          {
           "planet": "Sun",
           "angle": "ASC",
           "points": [
            {
             "lat": -68,
             "lon": 56.312809
            },
            {
             "lat": -66,
             "lon": 43.300085
            }
           ]
          },
          {
           "planet": "Sun",
           "angle": "DSC",
           "points": [
            {
             "lat": -68,
             "lon": -270.610153
            },
            {
             "lat": -66,
             "lon": -257.597429
            }
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/compatibility/sun-sign": {
   "get": {
    "summary": "Sun-sign compatibility — score 0–100, element/modality analysis, strengths/challenges (10 credits)",
    "operationId": "westernCompatibilitySunSign",
    "tags": [
     "western"
    ],
    "description": "Sun-sign compatibility — score 0–100, element/modality analysis, strengths/challenges. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "sign_a",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Aries"
      }
     },
     {
      "name": "sign_b",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Leo"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "result": {
          "sign_a": "Aries",
          "sign_b": "Leo",
          "score": 92,
          "band": "excellent",
          "aspect_basis": "trine",
          "element_a": "fire",
          "element_b": "fire",
          "modality_a": "cardinal",
          "modality_b": "fixed",
          "element_match": "same",
          "strengths": [
           "Effortless harmony and understanding",
           "Shared element creates deep rapport"
          ],
          "challenges": [
           "Can grow complacent in comfort",
           "May lack the spark of challenging aspects"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/composite/aspects": {
   "get": {
    "summary": "Internal aspects within a composite chart (20 credits)",
    "operationId": "westernCompositeAspects",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/composite_method"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "composite_method": "midpoint_planets",
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": 1.171026,
           "orb_abs": 1.171026,
           "applying": false,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 0.426793,
           "orb_abs": 0.426793,
           "applying": false,
           "exact": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/composite/chart": {
   "get": {
    "summary": "Aggregate composite: ASC, MC, houses, planets, aspects (30 credits)",
    "operationId": "westernCompositeChart",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/composite_method"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "composite_method": "midpoint_planets",
         "ascendant": {
          "longitude": 13.183607,
          "sign_index": 0,
          "sign": "Aries",
          "degree_in_sign": 13.183607,
          "dms_in_sign": "13°11'00\"",
          "ruler": "Mars"
         },
         "mc": {
          "longitude": 278.668958,
          "sign_index": 9,
          "sign": "Capricorn",
          "degree_in_sign": 8.668958,
          "dms_in_sign": "08°40'08\"",
          "ruler": "Saturn"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 13.183607,
           "sign_index": 0,
           "sign": "Aries",
           "degree_in_sign": 13.183607,
           "dms_in_sign": "13°11'00\"",
           "ruler": "Mars"
          },
          {
           "house": 2,
           "longitude": 46.508494,
           "sign_index": 1,
           "sign": "Taurus",
           "degree_in_sign": 16.508494,
           "dms_in_sign": "16°30'30\"",
           "ruler": "Venus"
          }
         ],
         "planets": [
          {
           "name": "Sun",
           "longitude": 327.265458,
           "sign_index": 10,
           "sign": "Aquarius",
           "degree_in_sign": 27.265458,
           "dms_in_sign": "27°15'55\"",
           "speed": 0,
           "retrograde": false,
           "house": 11
          },
          {
           "name": "Moon",
           "longitude": 180.899706,
           "sign_index": 6,
           "sign": "Libra",
           "degree_in_sign": 0.899706,
           "dms_in_sign": "00°53'58\"",
           "speed": 0,
           "retrograde": false,
           "house": 6
          }
         ],
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": 1.171026,
           "orb_abs": 1.171026,
           "applying": false,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 0.426793,
           "orb_abs": 0.426793,
           "applying": false,
           "exact": false
          }
         ],
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/composite/houses": {
   "get": {
    "summary": "Composite Placidus houses + ASC + MC (20 credits)",
    "operationId": "westernCompositeHouses",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/composite_method"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "composite_method": "midpoint_planets",
         "ascendant": {
          "longitude": 13.183607,
          "sign_index": 0,
          "sign": "Aries",
          "degree_in_sign": 13.183607,
          "dms_in_sign": "13°11'00\"",
          "ruler": "Mars"
         },
         "mc": {
          "longitude": 278.668958,
          "sign_index": 9,
          "sign": "Capricorn",
          "degree_in_sign": 8.668958,
          "dms_in_sign": "08°40'08\"",
          "ruler": "Saturn"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 13.183607,
           "sign_index": 0,
           "sign": "Aries",
           "degree_in_sign": 13.183607,
           "dms_in_sign": "13°11'00\"",
           "ruler": "Mars"
          },
          {
           "house": 2,
           "longitude": 46.508494,
           "sign_index": 1,
           "sign": "Taurus",
           "degree_in_sign": 16.508494,
           "dms_in_sign": "16°30'30\"",
           "ruler": "Venus"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/composite/planets": {
   "get": {
    "summary": "Composite (midpoint) planet positions (20 credits)",
    "operationId": "westernCompositePlanets",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/composite_method"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "composite_method": "midpoint_planets",
         "planets": [
          {
           "name": "Sun",
           "longitude": 327.265458,
           "sign_index": 10,
           "sign": "Aquarius",
           "degree_in_sign": 27.265458,
           "dms_in_sign": "27°15'55\"",
           "speed": 0,
           "retrograde": false,
           "house": 11
          },
          {
           "name": "Moon",
           "longitude": 180.899706,
           "sign_index": 6,
           "sign": "Libra",
           "degree_in_sign": 0.899706,
           "dms_in_sign": "00°53'58\"",
           "speed": 0,
           "retrograde": false,
           "house": 6
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/davison/aspects": {
   "get": {
    "summary": "Internal aspects within a Davison chart (20 credits)",
    "operationId": "westernDavisonAspects",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "davison_midpoint": {
          "moment_utc": "1991-02-16T15:52:30Z",
          "jd_ut": 2448304.161458,
          "location": {
           "lat": 23.86007,
           "lon": 74.963456,
           "alt": 0
          },
          "house_system": "placidus"
         },
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": -1.206584,
           "orb_abs": 1.206584,
           "applying": true,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 0.594009,
           "orb_abs": 0.594009,
           "applying": false,
           "exact": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/davison/chart": {
   "get": {
    "summary": "Aggregate Davison chart (30 credits)",
    "operationId": "westernDavisonChart",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "davison_midpoint": {
          "moment_utc": "1991-02-16T15:52:30Z",
          "jd_ut": 2448304.161458,
          "location": {
           "lat": 23.86007,
           "lon": 74.963456,
           "alt": 0
          },
          "house_system": "placidus"
         },
         "ascendant": {
          "longitude": 188.435139,
          "sign_index": 6,
          "sign": "Libra",
          "degree_in_sign": 8.435139,
          "dms_in_sign": "08°26'06\"",
          "ruler": "Venus"
         },
         "mc": {
          "longitude": 98.479144,
          "sign_index": 3,
          "sign": "Cancer",
          "degree_in_sign": 8.479144,
          "dms_in_sign": "08°28'44\"",
          "ruler": "Moon"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 188.435139,
           "sign_index": 6,
           "sign": "Libra",
           "degree_in_sign": 8.435139,
           "dms_in_sign": "08°26'06\"",
           "ruler": "Venus"
          },
          {
           "house": 2,
           "longitude": 217.368424,
           "sign_index": 7,
           "sign": "Scorpio",
           "degree_in_sign": 7.368424,
           "dms_in_sign": "07°22'06\"",
           "ruler": "Pluto"
          }
         ],
         "planets": [
          {
           "name": "Sun",
           "longitude": 327.472475,
           "sign_index": 10,
           "sign": "Aquarius",
           "degree_in_sign": 27.472475,
           "dms_in_sign": "27°28'20\"",
           "speed": 1.009955,
           "retrograde": false,
           "house": 5,
           "latitude": 0.000087
          },
          {
           "name": "Moon",
           "longitude": 350.45777,
           "sign_index": 11,
           "sign": "Pisces",
           "degree_in_sign": 20.45777,
           "dms_in_sign": "20°27'27\"",
           "speed": 13.143854,
           "retrograde": false,
           "house": 6,
           "latitude": 4.146119
          }
         ],
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": -1.206584,
           "orb_abs": 1.206584,
           "applying": true,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 0.594009,
           "orb_abs": 0.594009,
           "applying": false,
           "exact": false
          }
         ],
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/davison/houses": {
   "get": {
    "summary": "Davison houses + ASC + MC (20 credits)",
    "operationId": "westernDavisonHouses",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "davison_midpoint": {
          "moment_utc": "1991-02-16T15:52:30Z",
          "jd_ut": 2448304.161458,
          "location": {
           "lat": 23.86007,
           "lon": 74.963456,
           "alt": 0
          },
          "house_system": "placidus"
         },
         "ascendant": {
          "longitude": 188.435139,
          "sign_index": 6,
          "sign": "Libra",
          "degree_in_sign": 8.435139,
          "dms_in_sign": "08°26'06\"",
          "ruler": "Venus"
         },
         "mc": {
          "longitude": 98.479144,
          "sign_index": 3,
          "sign": "Cancer",
          "degree_in_sign": 8.479144,
          "dms_in_sign": "08°28'44\"",
          "ruler": "Moon"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 188.435139,
           "sign_index": 6,
           "sign": "Libra",
           "degree_in_sign": 8.435139,
           "dms_in_sign": "08°26'06\"",
           "ruler": "Venus"
          },
          {
           "house": 2,
           "longitude": 217.368424,
           "sign_index": 7,
           "sign": "Scorpio",
           "degree_in_sign": 7.368424,
           "dms_in_sign": "07°22'06\"",
           "ruler": "Pluto"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/davison/planets": {
   "get": {
    "summary": "Davison composite planets at mid-time + mid-location (20 credits)",
    "operationId": "westernDavisonPlanets",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "davison_midpoint": {
          "moment_utc": "1991-02-16T15:52:30Z",
          "jd_ut": 2448304.161458,
          "location": {
           "lat": 23.86007,
           "lon": 74.963456,
           "alt": 0
          },
          "house_system": "placidus"
         },
         "planets": [
          {
           "name": "Sun",
           "longitude": 327.472475,
           "sign_index": 10,
           "sign": "Aquarius",
           "degree_in_sign": 27.472475,
           "dms_in_sign": "27°28'20\"",
           "speed": 1.009955,
           "retrograde": false,
           "latitude": 0.000087
          },
          {
           "name": "Moon",
           "longitude": 350.45777,
           "sign_index": 11,
           "sign": "Pisces",
           "degree_in_sign": 20.45777,
           "dms_in_sign": "20°27'27\"",
           "speed": 13.143854,
           "retrograde": false,
           "latitude": 4.146119
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/dignities/almuten": {
   "get": {
    "summary": "Almuten Figuris — planet with highest dignity score at the Ascendant (10 credits)",
    "operationId": "westernDignitiesAlmuten",
    "tags": [
     "western"
    ],
    "description": "Almuten Figuris — planet with highest dignity score at the Ascendant. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "asc_lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "120"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "asc_longitude": 120,
         "is_diurnal": true,
         "scheme": "dorothean",
         "almuten": "Sun"
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/dignities/bounds": {
   "get": {
    "summary": "Bound (term) ruler with full sign breakdown — Egyptian or Ptolemaic (10 credits)",
    "operationId": "westernDignitiesBounds",
    "tags": [
     "western"
    ],
    "description": "Bound (term) ruler with full sign breakdown — Egyptian or Ptolemaic. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "longitude": 72.8777,
         "scheme": "dorothean",
         "result": {
          "sign_idx": 2,
          "sign": "Gemini",
          "degree": 12,
          "bound_ruler": "Venus",
          "bound_start_deg": 12,
          "bound_end_deg": 17,
          "scheme": "egyptian",
          "all_bounds": [
           {
            "planet": "Mercury",
            "start_deg": 0,
            "end_deg": 6
           },
           {
            "planet": "Jupiter",
            "start_deg": 6,
            "end_deg": 12
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/dignities/face": {
   "get": {
    "summary": "Face (decan) ruler using Chaldean order for a zodiac degree (10 credits)",
    "operationId": "westernDignitiesFace",
    "tags": [
     "western"
    ],
    "description": "Face (decan) ruler using Chaldean order for a zodiac degree. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "longitude": 72.8777,
         "result": {
          "sign_idx": 2,
          "sign": "Gemini",
          "degree": 12,
          "face_number": 2,
          "face_start_deg": 10,
          "face_end_deg": 20,
          "face_ruler": "Mars"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/dignities/planet": {
   "get": {
    "summary": "Full essential-dignity profile for a planet at a given longitude (10 credits)",
    "operationId": "westernDignitiesPlanet",
    "tags": [
     "western"
    ],
    "description": "Full essential-dignity profile for a planet at a given longitude. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Venus"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "planet": "Venus",
         "longitude": 72.8777,
         "is_diurnal": true,
         "scheme": "dorothean",
         "dignities": {
          "longitude": 72.8777,
          "sign": "Gemini",
          "sign_degree": 12.8777,
          "domicile": false,
          "exaltation": false,
          "detriment": false,
          "fall": false,
          "triplicity": "Saturn",
          "triplicity_scheme": "dorothean",
          "bound": "Venus",
          "bound_scheme": "egyptian",
          "face": "Mars",
          "peregrine": false,
          "dignity_score": 2
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/dignities/receptions": {
   "get": {
    "summary": "Mutual and mixed dignity receptions between supplied planet longitudes (10 credits)",
    "operationId": "westernDignitiesReceptions",
    "tags": [
     "western"
    ],
    "description": "Mutual and mixed dignity receptions between supplied planet longitudes. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "sun",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "19"
      }
     },
     {
      "name": "moon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "45"
      }
     },
     {
      "name": "venus",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "210"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "planets_input": {
          "Moon": 45,
          "Sun": 19,
          "Venus": 210
         },
         "receptions": [],
         "count": 0
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/dignities/triplicity": {
   "get": {
    "summary": "Triplicity (element) ruler — day/night/active — for a zodiac degree (10 credits)",
    "operationId": "westernDignitiesTriplicity",
    "tags": [
     "western"
    ],
    "description": "Triplicity (element) ruler — day/night/active — for a zodiac degree. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "longitude": 72.8777,
         "scheme": "dorothean",
         "is_diurnal": true,
         "result": {
          "sign_idx": 2,
          "sign": "Gemini",
          "element": "air",
          "day_ruler": "Saturn",
          "night_ruler": "Mercury",
          "active_ruler": "Saturn",
          "scheme": "dorothean"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/eclipses/upcoming": {
   "get": {
    "summary": "Next solar and lunar eclipses with type, magnitude, path (20 credits)",
    "operationId": "westernEclipsesUpcoming",
    "tags": [
     "western"
    ],
    "description": "Next solar and lunar eclipses with type, magnitude, path. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": false,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "from_utc": "2026-11-15T06:23:34Z",
         "to_utc": "2027-11-15T12:23:34Z",
         "count": 5,
         "eclipses": [
          {
           "kind": "solar",
           "type": "annular",
           "peak_jd": 2461443.166422,
           "peak_utc": "2027-02-06T15:59:38Z",
           "nakshatra_index": 23,
           "nakshatra": "Shatabhisha",
           "visible_from_india": false
          },
          {
           "kind": "lunar",
           "type": "penumbral",
           "peak_jd": 2461457.467278,
           "peak_utc": "2027-02-20T23:12:52Z",
           "nakshatra_index": 11,
           "nakshatra": "Uttara Phalguni",
           "visible_from_india": true
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/eclipses/visibility": {
   "get": {
    "summary": "Eclipse visibility from a specific location (30 credits)",
    "operationId": "westernEclipsesVisibility",
    "tags": [
     "western"
    ],
    "description": "Eclipse visibility from a specific location. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Longitude in decimal degrees."
     },
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "First date of the range (YYYY-MM-DD)."
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-12-31"
      },
      "description": "Last date of the range (YYYY-MM-DD)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "lat": 19.076,
         "lon": 72.8777,
         "total_in_range": 5,
         "eclipses": [
          {
           "kind": "lunar",
           "type": "penumbral",
           "peak_jd": 2461457.467278,
           "peak_utc": "2027-02-20T23:12:52Z",
           "nakshatra_index": 11,
           "nakshatra": "Uttara Phalguni",
           "visible_from_india": true
          },
          {
           "kind": "lunar",
           "type": "penumbral",
           "peak_jd": 2461605.168755,
           "peak_utc": "2027-07-18T16:03:00Z",
           "nakshatra_index": 22,
           "nakshatra": "Dhanishta",
           "visible_from_india": true
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/firdaria": {
   "get": {
    "summary": "Persian Firdaria time-lords (diurnal / nocturnal scheme) (20 credits)",
    "operationId": "westernFirdaria",
    "tags": [
     "western"
    ],
    "description": "Abu Ma'shar, On the Revolutions of the Years of Nativities IV.1 and IV.7. Computes the active major and sub-lord. Planetary periods divide into seven equal parts in descending Chaldean order. The North Node and South Node come last for both sects and return an empty sub-lord. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "ref_date",
      "in": "query",
      "required": false,
      "description": "UTC date to evaluate (YYYY-MM-DD). Defaults to UTC today.",
      "schema": {
       "type": "string",
       "example": "2026-11-15"
      }
     },
     {
      "name": "diurnal",
      "in": "query",
      "required": false,
      "description": "Whether the birth was in daylight. Defaults to true (day chart).",
      "schema": {
       "type": "boolean",
       "example": false
      }
     },
     {
      "name": "include_all_majors",
      "in": "query",
      "required": false,
      "description": "Include the completed major periods from birth and the active major.",
      "schema": {
       "type": "boolean",
       "example": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. Example generated with the corrected calculation.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "ref_date": "2026-11-15",
         "result": {
          "sect": "nocturnal",
          "major": {
           "level": 1,
           "major_lord": "Mars",
           "start": "2022-01-15",
           "end": "2029-01-14",
           "duration_years": 7
          },
          "sub": {
           "level": 2,
           "major_lord": "Mars",
           "sub_lord": "Moon",
           "start": "2026-01-15",
           "end": "2027-01-15",
           "duration_years": 1
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/heliocentric/planets": {
   "get": {
    "summary": "Heliocentric planetary positions (20 credits)",
    "operationId": "westernHeliocentricPlanets",
    "tags": [
     "western"
    ],
    "description": "Heliocentric planetary positions. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "jd_ut": 2447906.708333,
         "planets": [
          {
           "name": "Mercury",
           "longitude": 143.10288,
           "latitude": 6.979544,
           "distance_au": 0.341864,
           "speed": 5.172896,
           "sign": "Leo",
           "sign_degree": 23.10288
          },
          {
           "name": "Venus",
           "longitude": 112.523776,
           "latitude": 1.993354,
           "distance_au": 0.718699,
           "speed": 1.621972,
           "sign": "Cancer",
           "sign_degree": 22.523776
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/horoscope/daily": {
   "get": {
    "summary": "Daily sun-sign horoscope (free)",
    "operationId": "westernHoroscopeDaily",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/narrative_sign"
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date",
       "example": "2026-04-25"
      },
      "description": "Calendar date YYYY-MM-DD."
     },
     {
      "$ref": "#/components/parameters/narrative_tone"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sign": "Aries",
         "date": "1990-01-15",
         "tone": "spiritual",
         "entry": {
          "sign": "Aries",
          "date": "1990-01-15",
          "tone": "spiritual",
          "headline": "Aries — Moon in Virgo (Waning Gibbous)",
          "body": "Moon in Virgo. The Moon is your emotional nature and what makes you feel safe. In Virgo, a mutable earth sign traditionally ruled by Mercury, it leads you to act through detail and correction. Virgo colours how the Moon shows itself in you, rather than adding or removing stren…",
          "source": "computed_moon_transit",
          "content_version": 1
         }
        }
       }
      }
     },
     "503": {
      "description": "Content authoring pending — entry not in bundled corpus yet (data_unavailable)."
     }
    }
   }
  },
  "/v1/western/horoscope/monthly": {
   "get": {
    "summary": "Monthly sun-sign horoscope (free)",
    "operationId": "westernHoroscopeMonthly",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/narrative_sign"
     },
     {
      "name": "year_month",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2026-04"
      },
      "description": "Year-month in YYYY-MM format."
     },
     {
      "$ref": "#/components/parameters/narrative_tone"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sign": "Aries",
         "year_month": "2026-04",
         "tone": "spiritual",
         "entry": {
          "sign": "Aries",
          "date": "yearly",
          "tone": "spiritual",
          "headline": "Aries solar year: a fresh start",
          "body": "Aries Sun people begin each solar year with a rush of initiative and a wish to start fresh. In your work, the weeks around your birthday are good for launching a plan, asking for a role or claiming a lead. Income grows with initiative, though impulse purchases can drain it, so…",
          "source": "yearly_theme_fallback",
          "content_version": 1
         }
        }
       }
      }
     },
     "503": {
      "description": "Content authoring pending."
     }
    }
   }
  },
  "/v1/western/horoscope/weekly": {
   "get": {
    "summary": "Weekly sun-sign horoscope (free)",
    "operationId": "westernHoroscopeWeekly",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/narrative_sign"
     },
     {
      "name": "week_start",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date",
       "example": "2026-04-20"
      },
      "description": "Any date in the target ISO week (YYYY-MM-DD); the handler resolves the week label internally."
     },
     {
      "$ref": "#/components/parameters/narrative_tone"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "sign": "Aries",
         "week": "2026-W17",
         "tone": "spiritual",
         "entry": {
          "sign": "Aries",
          "date": "2026-W17",
          "tone": "spiritual",
          "headline": "[PLACEHOLDER — content authoring pending]",
          "body": "[PLACEHOLDER — Phase 4a content authoring pending. Weekly horoscope structural demonstration only. Real body text to be authored by human astrologer per project policy (no AI-generated narrative).]",
          "source": "stub-3a-engineering-structural-only",
          "content_version": 1
         }
        }
       }
      }
     },
     "503": {
      "description": "Content authoring pending."
     }
    }
   }
  },
  "/v1/western/ingresses": {
   "get": {
    "summary": "Upcoming planet sign ingresses for a date range (20 credits)",
    "operationId": "westernIngresses",
    "tags": [
     "western"
    ],
    "description": "Upcoming planet sign ingresses for a date range. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "First date of the range (YYYY-MM-DD)."
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-03-31"
      },
      "description": "Last date of the range (YYYY-MM-DD)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "start_date": "2027-01-01",
         "end_date": "2027-03-31",
         "count": 12,
         "ingresses": [
          {
           "planet": "Venus",
           "sign": "Sagittarius",
           "sign_index": 8,
           "jd_ut": 2461412.870453,
           "utc": "2027-01-07T08:53:27Z",
           "retrograde": false
          },
          {
           "planet": "Mercury",
           "sign": "Aquarius",
           "sign_index": 10,
           "jd_ut": 2461418.754059,
           "utc": "2027-01-13T06:05:50Z",
           "retrograde": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/interpretation/aspect": {
   "get": {
    "summary": "Aspect interpretation snippet (free)",
    "operationId": "westernInterpretAspect",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "name": "planet_a",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Sun"
      },
      "description": "First body name. Aspect interpretation is direction-agnostic — (Sun, Mars) and (Mars, Sun) hit the same entry."
     },
     {
      "name": "planet_b",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Mars"
      },
      "description": "Second body name."
     },
     {
      "$ref": "#/components/parameters/narrative_aspect_kind"
     },
     {
      "$ref": "#/components/parameters/narrative_aspect_context"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "entry": {
          "planet_a": "Sun",
          "planet_b": "Mars",
          "kind": "square",
          "context": "natal",
          "headline": "Sun square Mars: will presses against drive",
          "body": "Your Sun stands for vitality, pride and the wish to lead, and your Mars stands for drive, courage and the will to act. Their square highlights a clash, so the two press on each other and push you.\n\nIn your work, Sun shows in leading and being seen and Mars in competing and sta…",
          "source": "",
          "content_version": 0
         }
        }
       }
      }
     },
     "503": {
      "description": "Content authoring pending — snippet not in bundled corpus yet."
     }
    }
   }
  },
  "/v1/western/interpretation/transit": {
   "get": {
    "summary": "Transit-on-natal aspect interpretation snippet (free)",
    "operationId": "westernInterpretTransit",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "name": "transit_planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Saturn"
      },
      "description": "Body that is transiting. Transit direction matters — Saturn-on-Sun is distinct from Sun-on-Saturn."
     },
     {
      "name": "natal_planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Sun"
      },
      "description": "Body in the natal chart that is being aspected."
     },
     {
      "$ref": "#/components/parameters/narrative_aspect_kind"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "entry": {
          "transit_planet": "Saturn",
          "natal_planet": "Sun",
          "kind": "square",
          "headline": "Saturn square natal Sun: friction that pushes you to act",
          "body": "Saturn stands for structure, limits and responsibility, and your natal Sun stands for identity, confidence and vitality. When Saturn squares your natal Sun, this transit creates friction that pressures you and drives you to act.\n\nIn your work, this square brings pressure, test…",
          "source": "",
          "content_version": 0
         }
        }
       }
      }
     },
     "503": {
      "description": "Content authoring pending."
     }
    }
   }
  },
  "/v1/western/lunar/phase": {
   "get": {
    "summary": "Birth-moment Moon phase — angle, illumination %, 8 named phases, age in days (10 credits)",
    "operationId": "westernLunarPhase",
    "tags": [
     "western"
    ],
    "description": "Birth-moment Moon phase — angle, illumination %, 8 named phases, age in days. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "result": {
          "phase_angle": 229.064,
          "illumination": 82.76,
          "phase": "waning_gibbous",
          "phase_label": "Waning Gibbous",
          "age_days": 18.79,
          "sun_longitude": 294.7813,
          "moon_longitude": 163.8452
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/decan": {
   "get": {
    "summary": "Authored decan (face) narrative for a zodiac degree (20 credits)",
    "operationId": "westernNarrativeDecan",
    "tags": [
     "western"
    ],
    "description": "Authored decan (face) narrative for a zodiac degree. Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/narrative_sign"
     },
     {
      "name": "decan",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "narrative": {
          "headline": "Aries, first decan: Aries in its own voice",
          "body": "The first decan of Aries covers the first ten degrees of the sign and is coloured by your own sign ruler, Mars, so the sign's drive is at its most direct and quick to act. This decan colours any planet or angle between 0 and 10 degrees of Aries. In your work, you do well start…",
          "caveat": "Check where Mars sits in your chart to see how this decan of Aries shows itself.",
          "citations": [
           "Manilius Astronomica Book 4",
           "Coppock 36 Faces ch.1"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/fixed-star/{name}": {
   "get": {
    "summary": "Authored narrative for a named fixed star (10 credits)",
    "operationId": "westernNarrativeFixedStarName",
    "tags": [
     "western"
    ],
    "description": "Authored narrative for a named fixed star. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "star": "Regulus",
         "narrative": {
          "headline": "Regulus: leadership and a royal bearing",
          "body": "Regulus marks the heart of Leo the Lion, one of the four Royal Stars, and a planet or angle placed close to it in your chart tends to favour leadership, ambition and a regal bearing. In your work, you can rise to authority in business, government, entertainment or any field wi…",
          "caveat": "Regulus holds the crown for those who rule themselves first.",
          "citations": [
           "Brady Predictive Astrology ch.4",
           "Robson Fixed Stars and Constellations ch.2"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/natal-summary": {
   "get": {
    "summary": "Composed multi-section natal-chart narrative (20 credits)",
    "operationId": "westernNatalSummary",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/narrative_verbosity"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "summary": {
          "sections": [
           {
            "heading": "Sun in Capricorn (11th house)",
            "body": "The Sun is your core identity, your confidence and your vitality. In Capricorn, a cardinal earth sign traditionally ruled by Saturn, it leads you to act through duty and patience. Capricorn colours how the Sun shows itself in you, rather than adding or removing strength.\n\nYour…"
           },
           {
            "heading": "Moon in Virgo (6th house)",
            "body": "The Moon is your emotional nature and what makes you feel safe. In Virgo, a mutable earth sign traditionally ruled by Mercury, it leads you to act through detail and correction. Virgo colours how the Moon shows itself in you, rather than adding or removing strength.\n\nYour need…"
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/sabian": {
   "get": {
    "summary": "Sabian symbol interpretation for an absolute zodiac degree (1–360) (10 credits)",
    "operationId": "westernNarrativeSabian",
    "tags": [
     "western"
    ],
    "description": "Sabian symbol interpretation for an absolute zodiac degree (1–360). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "degree",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "15"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "degree": 15,
         "sign_degree": "Aries 15°",
         "narrative": {
          "headline": "Aries 15°: A weaver making a blanket by hand",
          "body": "Aries 15° shows a weaver making a blanket by hand. Weaving is patient work, thread by thread, that ends in something warm and useful. A planet here favours craft, pattern and care that grows from slow, steady effort.\n\nIn your work, handwork, design, writing and any detailed cr…",
          "caveat": "The 15th degree of Aries covers the stretch from 14° to 15°, so a planet at 14°30' reads this symbol.",
          "citations": [
           "Jones Sabian Symbols in Astrology 1953",
           "Rudhyar Astrological Mandala 1973"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/timelord/firdaria": {
   "get": {
    "summary": "Firdaria time-lord narrative for a major lord (20 credits)",
    "operationId": "westernNarrativeTimelordFirdaria",
    "tags": [
     "western"
    ],
    "description": "Firdaria time-lord narrative for a major lord. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "lord",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Sun"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "lord": "Sun",
         "narrative": {
          "headline": "Sun Firdaria: ten years of identity and authority",
          "body": "The Sun's ten years bring identity, authority and visibility to the front in your Firdaria, a Persian time-lord system in which each major period belongs to a planet, and that planet colours the whole span. In your work, you may take a leading role, with recognition for work y…",
          "caveat": "Check the Sun by house and sign in your chart to see where the period shows.",
          "citations": [
           "Bonatti Liber Astronomiae Treatise 8",
           "Burnett Arabic Astrology ch.4"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/timelord/profection": {
   "get": {
    "summary": "Annual profection narrative for an activated house (1–12) (20 credits)",
    "operationId": "westernNarrativeTimelordProfection",
    "tags": [
     "western"
    ],
    "description": "Annual profection narrative for an activated house (1–12). Costs 20 credits per call.",
    "parameters": [
     {
      "name": "house",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "house": 1,
         "narrative": {
          "headline": "Profection year in your first house: self and new beginnings",
          "body": "In annual profection the year lands on your first house, and your body, appearance and sense of self move to the front. The ruler of that house's sign becomes your lord of the year, and transits to that planet highlight the dates when events land. In your work, new roles and f…",
          "caveat": "Check where the ruler of your rising sign sits to see which area the year flows toward.",
          "citations": [
           "Brennan Hellenistic Astrology ch.14",
           "Schmidt Project Hindsight ZR"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/timelord/zr": {
   "get": {
    "summary": "Zodiacal Releasing narrative for a planetary lord (20 credits)",
    "operationId": "westernNarrativeTimelordZr",
    "tags": [
     "western"
    ],
    "description": "Zodiacal Releasing narrative for a planetary lord. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "lord",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Sun"
      }
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "lord": "Sun",
         "narrative": {
          "headline": "Sun as your Zodiacal Releasing lord: identity and recognition",
          "body": "The Sun as your Zodiacal Releasing lord puts identity, vitality and recognition at the centre, and this chapter colours the years it covers. In your work, you step into visible roles, and recognition for your effort is likelier. Money follows reputation, so protect your name a…",
          "caveat": "The Sun's place in your chart decides whether the chapter feels warm or proud.",
          "citations": [
           "Brennan Hellenistic Astrology ch.15",
           "Valens Anthology Book IV"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/transit-summary": {
   "get": {
    "summary": "Composed transit-to-natal narrative at a moment (20 credits)",
    "operationId": "westernTransitSummary",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/narrative_verbosity"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "transit_at_jd": 2461420.520833,
         "summary": {
          "sections": [
           {
            "heading": "Transit Mars trine natal Mercury",
            "body": "Mars stands for drive, heat and urgency, and your natal Mercury stands for thinking, talking and learning. When Mars forms a trine with your natal Mercury, this transit flows easily, so your effort meets less resistance than usual.\n\nIn your work, this trine brings push, heat a…"
           },
           {
            "heading": "Transit Saturn square natal Mercury",
            "body": "Saturn stands for structure, limits and responsibility, and your natal Mercury stands for thinking, talking and learning. When Saturn squares your natal Mercury, this transit creates friction that pressures you and drives you to act.\n\nIn your work, this square brings pressure,…"
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/narrative/yearly": {
   "get": {
    "summary": "Annual solar-return theme for a Sun sign (authored for all 12 signs) (30 credits)",
    "operationId": "westernNarrativeYearly",
    "tags": [
     "western"
    ],
    "description": "Annual solar-return theme for a Sun sign (authored for all 12 signs). Costs 30 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/narrative_sign"
     },
     {
      "$ref": "#/components/parameters/lang"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "narrative": {
          "headline": "Aries solar year: a fresh start",
          "body": "Aries Sun people begin each solar year with a rush of initiative and a wish to start fresh. In your work, the weeks around your birthday are good for launching a plan, asking for a role or claiming a lead. Income grows with initiative, though impulse purchases can drain it, so…",
          "caveat": "Mars rules your sign, and its house in your solar-return chart shows where the year's push goes.",
          "citations": [
           "Ebertin Combination of Stellar Influences",
           "Ruperti Cycles of Becoming"
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/antiscia": {
   "get": {
    "summary": "Antiscia and contra-antiscia points for all planets (20 credits)",
    "operationId": "westernNatalAntiscia",
    "tags": [
     "western"
    ],
    "description": "Antiscia and contra-antiscia points for all planets. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "points": [
          {
           "name": "Sun",
           "longitude": 294.781269,
           "antiscia": 245.218731,
           "antiscia_sign": "Sagittarius",
           "contra_antiscia": 65.218731,
           "contra_antiscia_sign": "Gemini"
          },
          {
           "name": "Moon",
           "longitude": 163.845239,
           "antiscia": 16.154761,
           "antiscia_sign": "Aries",
           "contra_antiscia": 196.154761,
           "contra_antiscia_sign": "Libra"
          }
         ],
         "contacts": [
          {
           "body_a": "Uranus",
           "body_b": "Ceres",
           "kind": "contra_antiscia",
           "lon_a": 276.596367,
           "lon_b": 82.985866,
           "orb": 0.417767
          },
          {
           "body_a": "Uranus",
           "body_b": "Pholus",
           "kind": "contra_antiscia",
           "lon_a": 276.596367,
           "lon_b": 84.394252,
           "orb": 0.990619
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/ascendant": {
   "get": {
    "summary": "Tropical Ascendant with modern ruler (10 credits)",
    "operationId": "westernNatalAscendant",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "ascendant": {
          "longitude": 350.109617,
          "sign_index": 11,
          "sign": "Pisces",
          "degree_in_sign": 20.109617,
          "dms_in_sign": "20°06'34\"",
          "ruler": "Neptune"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/aspect-patterns": {
   "get": {
    "summary": "Detect multi-planet configurations — Grand Trine, T-Square, Grand Cross, Yod, Kite, Stellium, Grand Sextile, Mystic Rectangle (20 credits)",
    "operationId": "westernNatalAspectPatterns",
    "tags": [
     "western"
    ],
    "description": "Detect multi-planet configurations — Grand Trine, T-Square, Grand Cross, Yod, Kite, Stellium, Grand Sextile, Mystic Rectangle. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "patterns": [
          {
           "kind": "grand_trine",
           "planets": [
            "Admetos",
            "Mercury"
           ]
          },
          {
           "kind": "grand_trine",
           "planets": [
            "Admetos",
            "Moon"
           ]
          }
         ],
         "count": 126
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/aspects": {
   "get": {
    "summary": "Major Ptolemaic natal aspects (20 credits)",
    "operationId": "westernNatalAspects",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": -1.595334,
           "orb_abs": 1.595334,
           "applying": true,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 0.324897,
           "orb_abs": 0.324897,
           "applying": false,
           "exact": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/asteroid/{number}": {
   "get": {
    "summary": "Any numbered asteroid position by catalog number (20 credits)",
    "operationId": "westernNatalAsteroid",
    "tags": [
     "western"
    ],
    "description": "Any numbered asteroid position by catalog number. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "number",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "body": {
          "name": "Chiron",
          "longitude": 102.879192,
          "sign": "Cancer",
          "sign_degree": 12.879192,
          "speed": -0.066761,
          "retrograde": true
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/asteroids/big-four-plus": {
   "get": {
    "summary": "Big Four + (Ceres, Pallas, Juno, Vesta, Hygiea, Astraea, Eros, Psyche, Sappho) (20 credits)",
    "operationId": "westernNatalAsteroidsBigFourPlus",
    "tags": [
     "western"
    ],
    "description": "Big Four + (Ceres, Pallas, Juno, Vesta, Hygiea, Astraea, Eros, Psyche, Sappho). Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/centaurs": {
   "get": {
    "summary": "Centaur bodies — Pholus, Nessus, Asbolus, Chariklo (20 credits)",
    "operationId": "westernNatalCentaurs",
    "tags": [
     "western"
    ],
    "description": "Centaur bodies — Pholus, Nessus, Asbolus, Chariklo. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "bodies": [
          {
           "name": "Chiron",
           "longitude": 102.879192,
           "sign": "Cancer",
           "sign_degree": 12.879192,
           "speed": -0.066761,
           "retrograde": true
          },
          {
           "name": "Pholus",
           "longitude": 84.394252,
           "sign": "Gemini",
           "sign_degree": 24.394252,
           "speed": -0.061917,
           "retrograde": true
          }
         ],
         "unavailable": [
          "Nessus",
          "Asbolus"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/chart": {
   "get": {
    "summary": "Aggregate tropical natal chart: ASC, MC, houses, planets, aspects (30 credits)",
    "operationId": "westernNatalChart",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "ascendant": {
          "longitude": 350.109617,
          "sign_index": 11,
          "sign": "Pisces",
          "degree_in_sign": 20.109617,
          "dms_in_sign": "20°06'34\"",
          "ruler": "Neptune"
         },
         "mc": {
          "longitude": 262.900265,
          "sign_index": 8,
          "sign": "Sagittarius",
          "degree_in_sign": 22.900265,
          "dms_in_sign": "22°54'00\"",
          "ruler": "Jupiter"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 350.109617,
           "sign_index": 11,
           "sign": "Pisces",
           "degree_in_sign": 20.109617,
           "dms_in_sign": "20°06'34\"",
           "ruler": "Neptune"
          },
          {
           "house": 2,
           "longitude": 26.583999,
           "sign_index": 0,
           "sign": "Aries",
           "degree_in_sign": 26.583999,
           "dms_in_sign": "26°35'02\"",
           "ruler": "Mars"
          }
         ],
         "planets": [
          {
           "name": "Sun",
           "longitude": 294.781269,
           "sign_index": 9,
           "sign": "Capricorn",
           "degree_in_sign": 24.781269,
           "dms_in_sign": "24°46'52\"",
           "speed": 1.018256,
           "retrograde": false,
           "house": 11,
           "latitude": -0.000088
          },
          {
           "name": "Moon",
           "longitude": 163.845239,
           "sign_index": 5,
           "sign": "Virgo",
           "degree_in_sign": 13.845239,
           "dms_in_sign": "13°50'42\"",
           "speed": 12.579355,
           "retrograde": false,
           "house": 6,
           "latitude": -2.411875
          }
         ],
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": -1.595334,
           "orb_abs": 1.595334,
           "applying": true,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 0.324897,
           "orb_abs": 0.324897,
           "applying": false,
           "exact": false
          }
         ],
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/chart-shape": {
   "get": {
    "summary": "Jones planetary distribution pattern — Splash, Bundle, Locomotive, Bowl, Bucket, See-Saw, Splay (10 credits)",
    "operationId": "westernNatalChartShape",
    "tags": [
     "western"
    ],
    "description": "Jones planetary distribution pattern — Splash, Bundle, Locomotive, Bowl, Bucket, See-Saw, Splay. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "result": {
          "shape": "locomotive",
          "shape_label": "Locomotive",
          "largest_gap_deg": 152.5,
          "lead_planet": "Jupiter",
          "notes": "Planets span 240° with a 120° gap — driven by the leading planet, purposeful and self-starting."
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/declinations": {
   "get": {
    "summary": "Declination positions for all planets — parallel and contra-parallel aspects (20 credits)",
    "operationId": "westernNatalDeclinations",
    "tags": [
     "western"
    ],
    "description": "Declination positions for all planets — parallel and contra-parallel aspects. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "planets": [
          {
           "name": "Sun",
           "longitude": 294.781269,
           "declination": -21.173548,
           "out_of_bounds": false
          },
          {
           "name": "Moon",
           "longitude": 163.845239,
           "declination": 4.127786,
           "out_of_bounds": false
          }
         ],
         "parallels": [
          {
           "body_a": "Sun",
           "body_b": "Saturn",
           "kind": "parallel",
           "dec_a": -21.173548,
           "dec_b": -22.05075,
           "orb": 0.877202
          },
          {
           "body_a": "Sun",
           "body_b": "Neptune",
           "kind": "parallel",
           "dec_a": -21.173548,
           "dec_b": -22.007575,
           "orb": 0.834026
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/dominant": {
   "get": {
    "summary": "Chart dominance profile — element/modality distribution, most-aspected planet, Lilly dignity ranking, hemisphere balance (10 credits)",
    "operationId": "westernNatalDominant",
    "tags": [
     "western"
    ],
    "description": "Chart dominance profile — element/modality distribution, most-aspected planet, Lilly dignity ranking, hemisphere balance. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "is_diurnal": true,
         "result": {
          "elements": {
           "fire": 1,
           "earth": 6,
           "air": 1,
           "water": 2
          },
          "modalities": {
           "cardinal": 6,
           "fixed": 2,
           "mutable": 2
          },
          "hemispheres": {
           "northern": 2,
           "southern": 8,
           "eastern": 6,
           "western": 4
          },
          "dominant_element": "earth",
          "dominant_modality": "cardinal",
          "aspect_counts": [
           {
            "planet": "Admetos",
            "count": 15
           },
           {
            "planet": "Juno",
            "count": 14
           }
          ],
          "most_aspected_planet": "Admetos",
          "dignity_ranking": [
           {
            "planet": "Saturn",
            "count": 5
           },
           {
            "planet": "Jupiter",
            "count": 4
           }
          ],
          "strongest_by_dignity": "Saturn"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/fixed-stars": {
   "get": {
    "summary": "Fixed stars conjunct natal planets within orb — full set (30 credits)",
    "operationId": "westernNatalFixedStars",
    "tags": [
     "western"
    ],
    "description": "Fixed stars conjunct natal planets within orb — full set. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "stars": [
          {
           "name": "Achernar,alEri",
           "longitude": 345.166085,
           "sign": "Pisces",
           "latitude": -59.381532,
           "distance": 8818465.136914
          },
          {
           "name": "Alcyone,etTau",
           "longitude": 59.860116,
           "sign": "Taurus",
           "latitude": 4.050238,
           "distance": 25496255.857921
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/fixed-stars/{name}": {
   "get": {
    "summary": "Single fixed star position and natal conjunction check (10 credits)",
    "operationId": "westernNatalFixedStar",
    "tags": [
     "western"
    ],
    "description": "Single fixed star position and natal conjunction check. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "star": {
          "name": "Regulus,alLeo",
          "longitude": 149.698874,
          "sign": "Leo",
          "latitude": 0.464498,
          "distance": 5014934.674077
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/harmonic-aspects": {
   "get": {
    "summary": "Harmonic aspects across multiple harmonics simultaneously (30 credits)",
    "operationId": "westernNatalHarmonicAspects",
    "tags": [
     "western"
    ],
    "description": "Harmonic aspects across multiple harmonics simultaneously. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "families": [
          {
           "Name": "Quintile family (H5)",
           "Orb": 2,
           "Aspects": [
            72,
            144
           ]
          },
          {
           "Name": "Septile family (H7)",
           "Orb": 1.5,
           "Aspects": [
            51.43,
            102.86
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/harmonic/{n}": {
   "get": {
    "summary": "Harmonic chart for any integer harmonic N (20 credits)",
    "operationId": "westernNatalHarmonic",
    "tags": [
     "western"
    ],
    "description": "Harmonic chart for any integer harmonic N. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "n",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "harmonic": 5,
         "planets": [
          {
           "name": "Sun",
           "natal_longitude": 294.781269,
           "harmonic_longitude": 33.906346,
           "sign": "Taurus",
           "sign_degree": 3.906346
          },
          {
           "name": "Moon",
           "natal_longitude": 163.845239,
           "harmonic_longitude": 99.226197,
           "sign": "Cancer",
           "sign_degree": 9.226197
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/houses": {
   "get": {
    "summary": "Twelve Placidus house cusps + ASC + MC (10 credits)",
    "operationId": "westernNatalHouses",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "ascendant": {
          "longitude": 350.109617,
          "sign_index": 11,
          "sign": "Pisces",
          "degree_in_sign": 20.109617,
          "dms_in_sign": "20°06'34\"",
          "ruler": "Neptune"
         },
         "mc": {
          "longitude": 262.900265,
          "sign_index": 8,
          "sign": "Sagittarius",
          "degree_in_sign": 22.900265,
          "dms_in_sign": "22°54'00\"",
          "ruler": "Jupiter"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 350.109617,
           "sign_index": 11,
           "sign": "Pisces",
           "degree_in_sign": 20.109617,
           "dms_in_sign": "20°06'34\"",
           "ruler": "Neptune"
          },
          {
           "house": 2,
           "longitude": 26.583999,
           "sign_index": 0,
           "sign": "Aries",
           "degree_in_sign": 26.583999,
           "dms_in_sign": "26°35'02\"",
           "ruler": "Mars"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/lilith-set": {
   "get": {
    "summary": "Lilith set — Mean, True, Interpolated Black Moon + asteroid 1181 (10 credits)",
    "operationId": "westernNatalLilithSet",
    "tags": [
     "western"
    ],
    "description": "Lilith set — Mean, True, Interpolated Black Moon + asteroid 1181. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "bodies": [
          {
           "name": "MeanLilith",
           "longitude": 217.999832,
           "sign": "Scorpio",
           "sign_degree": 7.999832,
           "speed": 0.112013,
           "retrograde": false
          },
          {
           "name": "TrueLilith",
           "longitude": 226.564355,
           "sign": "Scorpio",
           "sign_degree": 16.564355,
           "speed": -3.301858,
           "retrograde": true
          }
         ],
         "unavailable": [
          "AsteroidLilith"
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/lot/{name}": {
   "get": {
    "summary": "Single Hellenistic Lot by name (fortune, spirit, eros, etc.) (10 credits)",
    "operationId": "westernNatalLot",
    "tags": [
     "western"
    ],
    "description": "Single Hellenistic Lot by name (fortune, spirit, eros, etc.). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "name",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "sect": "day",
         "lot": {
          "lot": "fortune",
          "longitude": 219.173588,
          "sign": "Scorpio",
          "deg_in_sign": 9.173588,
          "sect": "day",
          "formula": "ASC + Moon - Sun (day chart)"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/lots": {
   "get": {
    "summary": "Hellenistic Lots — Fortune, Spirit + 5 more with house placements (20 credits)",
    "operationId": "westernNatalLots",
    "tags": [
     "western"
    ],
    "description": "Hellenistic Lots — Fortune, Spirit + 5 more with house placements. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "sect": "day",
         "lots": [
          {
           "lot": "fortune",
           "longitude": 219.173588,
           "sign": "Scorpio",
           "deg_in_sign": 9.173588,
           "sect": "day",
           "formula": "ASC + Moon - Sun (day chart)"
          },
          {
           "lot": "spirit",
           "longitude": 121.045647,
           "sign": "Leo",
           "deg_in_sign": 1.045647,
           "sect": "day",
           "formula": "ASC + Sun - Moon (day chart)"
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/mc": {
   "get": {
    "summary": "Tropical Medium Coeli (MC) with modern ruler (10 credits)",
    "operationId": "westernNatalMC",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "mc": {
          "longitude": 262.900265,
          "sign_index": 8,
          "sign": "Sagittarius",
          "degree_in_sign": 22.900265,
          "dms_in_sign": "22°54'00\"",
          "ruler": "Jupiter"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/midpoint-tree": {
   "get": {
    "summary": "Ebertin midpoint tree — midpoints sorted by degree with natal contacts (30 credits)",
    "operationId": "westernNatalMidpointTree",
    "tags": [
     "western"
    ],
    "description": "Ebertin midpoint tree — midpoints sorted by degree with natal contacts. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "dial": 90,
         "orb": 1.5,
         "entries": [
          {
           "body_a": "Sun",
           "body_b": "Moon",
           "midpoint": 229.313254,
           "dial90": 40.686746,
           "score": 19,
           "contacts": [
            {
             "body_a": "Sun",
             "body_b": "Moon",
             "contact": "Cupido",
             "midpoint": 229.313254,
             "orb": 1.162628,
             "hard_only": false
            }
           ]
          },
          {
           "body_a": "Sun",
           "body_b": "Jupiter",
           "midpoint": 14.09081,
           "dial90": 14.09081,
           "score": 18,
           "contacts": [
            {
             "body_a": "Sun",
             "body_b": "Jupiter",
             "contact": "Chiron",
             "midpoint": 14.09081,
             "orb": 1.211618,
             "hard_only": false
            },
            {
             "body_a": "Sun",
             "body_b": "Jupiter",
             "contact": "Apollon",
             "midpoint": 14.09081,
             "orb": 1.005559,
             "hard_only": false
            }
           ]
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/midpoints": {
   "get": {
    "summary": "Cosmobiology midpoints — all planet-pair midpoints (30 credits)",
    "operationId": "westernNatalMidpoints",
    "tags": [
     "western"
    ],
    "description": "Cosmobiology midpoints — all planet-pair midpoints. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "bodies": [
          "Sun",
          "Moon"
         ],
         "pairs": [
          {
           "body_a": "ASC",
           "body_b": "MC",
           "longitude": 306.504941,
           "sign": "Aquarius",
           "deg_in_sign": 6.504941
          },
          {
           "body_a": "Admetos",
           "body_b": "ASC",
           "longitude": 16.642878,
           "sign": "Aries",
           "deg_in_sign": 16.642878
          }
         ],
         "contacts": [
          {
           "body_a": "Apollon",
           "body_b": "MC",
           "contact": "Juno",
           "midpoint": 228.998317,
           "orb": 1.488348,
           "hard_only": false
          },
          {
           "body_a": "Apollon",
           "body_b": "MC",
           "contact": "Cupido",
           "midpoint": 228.998317,
           "orb": 1.477565,
           "hard_only": false
          }
         ],
         "orb": 1.5
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/out-of-bounds": {
   "get": {
    "summary": "Out-of-bounds planets (declination > 23°27′) (10 credits)",
    "operationId": "westernNatalOutOfBounds",
    "tags": [
     "western"
    ],
    "description": "Out-of-bounds planets (declination > 23°27′). Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "limit_degrees": 23.4333,
         "out_of_bounds_planets": [
          {
           "name": "Uranus",
           "longitude": 276.596367,
           "declination": -23.550294
          },
          {
           "name": "Ceres",
           "longitude": 82.985866,
           "declination": 27.08554
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/parans": {
   "get": {
    "summary": "Paran aspects — fixed stars crossing the 4 angles (30 credits)",
    "operationId": "westernNatalParans",
    "tags": [
     "western"
    ],
    "description": "Paran aspects — fixed stars crossing the 4 angles. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "parans": [
          {
           "star": "Alnilam,epOri",
           "planet": "IC",
           "angle": "IC",
           "longitude": 83.333426,
           "orb_degrees": 0.433161
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/planet/{name}": {
   "get": {
    "summary": "Single tropical planet by name (10 credits)",
    "operationId": "westernNatalPlanet",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "name": "name",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "Sun",
        "Moon",
        "Mercury",
        "Venus",
        "Mars",
        "Jupiter",
        "Saturn",
        "Uranus",
        "Neptune",
        "Pluto",
        "MeanNode",
        "TrueNode",
        "SouthNode"
       ],
       "example": "Sun"
      },
      "description": "Planet name (case-insensitive). Aliases: rahu, north_node → MeanNode."
     },
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "planet": {
          "name": "Sun",
          "longitude": 294.781269,
          "sign_index": 9,
          "sign": "Capricorn",
          "degree_in_sign": 24.781269,
          "dms_in_sign": "24°46'52\"",
          "speed": 1.018256,
          "retrograde": false,
          "house": 11,
          "latitude": -0.000088
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/planets": {
   "get": {
    "summary": "Tropical natal planet positions (10 credits)",
    "operationId": "westernNatalPlanets",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "planets": [
          {
           "name": "Sun",
           "longitude": 294.781269,
           "sign_index": 9,
           "sign": "Capricorn",
           "degree_in_sign": 24.781269,
           "dms_in_sign": "24°46'52\"",
           "speed": 1.018256,
           "retrograde": false,
           "house": 11,
           "latitude": -0.000088
          },
          {
           "name": "Moon",
           "longitude": 163.845239,
           "sign_index": 5,
           "sign": "Virgo",
           "degree_in_sign": 13.845239,
           "dms_in_sign": "13°50'42\"",
           "speed": 12.579355,
           "retrograde": false,
           "house": 6,
           "latitude": -2.411875
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/tnos": {
   "get": {
    "summary": "Trans-Neptunian Objects — Eris, Sedna, Haumea, Makemake, Quaoar, Orcus, Varuna (20 credits)",
    "operationId": "westernNatalTnos",
    "tags": [
     "western"
    ],
    "description": "Trans-Neptunian Objects — Eris, Sedna, Haumea, Makemake, Quaoar, Orcus, Varuna. Costs 20 credits per call.",
    "parameters": [
     {
      "$ref": "#/components/parameters/natal_date"
     },
     {
      "name": "time",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth local time (HH:MM or HH:MM:SS). Defaults to 12:00."
     },
     {
      "$ref": "#/components/parameters/natal_tz"
     },
     {
      "$ref": "#/components/parameters/natal_lat"
     },
     {
      "$ref": "#/components/parameters/natal_lon"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/uranian-hypotheticals": {
   "get": {
    "summary": "Uranian/Hamburg school hypothetical planets (Cupido, Hades, Zeus, Kronos, Apollon, Admetos, Vulkanus, Poseidon) (20 credits)",
    "operationId": "westernNatalUranianHypotheticals",
    "tags": [
     "western"
    ],
    "description": "Uranian/Hamburg school hypothetical planets (Cupido, Hades, Zeus, Kronos, Apollon, Admetos, Vulkanus, Poseidon). Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "bodies": [
          {
           "name": "Cupido",
           "longitude": 230.475883,
           "sign": "Scorpio",
           "sign_degree": 20.475883,
           "speed": 0.014418,
           "retrograde": false
          },
          {
           "name": "Hades",
           "longitude": 67.735121,
           "sign": "Gemini",
           "sign_degree": 7.735121,
           "speed": -0.01098,
           "retrograde": true
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/natal/vertex-set": {
   "get": {
    "summary": "Vertex, Anti-Vertex, and East Point positions (10 credits)",
    "operationId": "westernNatalVertexSet",
    "tags": [
     "western"
    ],
    "description": "Vertex, Anti-Vertex, and East Point positions. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "vertex": {
          "name": "Vertex",
          "longitude": 170.109617,
          "sign": "Virgo",
          "sign_degree": 20.109617,
          "speed": 0,
          "retrograde": false
         },
         "anti_vertex": {
          "name": "AntiVertex",
          "longitude": 350.109617,
          "sign": "Pisces",
          "sign_degree": 20.109617,
          "speed": 0,
          "retrograde": false
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/primary-directions/placidus-mundane": {
   "get": {
    "summary": "Placidus mundane primary directions — promissor moved through house framework (20 credits)",
    "operationId": "westernPrimaryDirectionsPlacidusMundane",
    "tags": [
     "western"
    ],
    "description": "Placidus mundane primary directions — promissor moved through house framework. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "result": {
          "method": "placidus_mundane",
          "key": "naibod",
          "max_age_years": 80,
          "geo_lat": 19.076,
          "armc": 262.2689,
          "events": [
           {
            "promissor": "Mars",
            "significator": "Moon",
            "aspect": "conjunction",
            "aspect_angle": 0,
            "arc_degrees": 2.6308,
            "age_years": 2.67,
            "is_converse": false
           },
           {
            "promissor": "MC",
            "significator": "Mars",
            "aspect": "conjunction",
            "aspect_angle": 0,
            "arc_degrees": 3.4869,
            "age_years": 3.54,
            "is_converse": false
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/primary-directions/placidus-zodiacal": {
   "get": {
    "summary": "Placidus zodiacal primary directions — all planet pairs + aspects, sorted chronologically (20 credits)",
    "operationId": "westernPrimaryDirectionsPlacidusZodiacal",
    "tags": [
     "western"
    ],
    "description": "Placidus zodiacal primary directions — all planet pairs + aspects, sorted chronologically. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "result": {
          "method": "placidus_zodiacal",
          "key": "naibod",
          "max_age_years": 80,
          "geo_lat": 19.076,
          "armc": 262.2689,
          "events": [
           {
            "promissor": "Saturn",
            "significator": "Pluto",
            "aspect": "sextile",
            "aspect_angle": 60,
            "arc_degrees": 0.1497,
            "age_years": 0.15,
            "is_converse": false
           },
           {
            "promissor": "Mercury",
            "significator": "Neptune",
            "aspect": "conjunction",
            "aspect_angle": 0,
            "arc_degrees": 1.0668,
            "age_years": 1.08,
            "is_converse": false
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/primary-directions/regiomontanus": {
   "get": {
    "summary": "Regiomontanus primary directions — equatorial arc method (20 credits)",
    "operationId": "westernPrimaryDirectionsRegiomontanus",
    "tags": [
     "western"
    ],
    "description": "Regiomontanus primary directions — equatorial arc method. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "birth_time": "10:30",
         "location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "tz": "Asia/Kolkata",
         "house_system": "placidus",
         "result": {
          "method": "regiomontanus",
          "key": "naibod",
          "max_age_years": 80,
          "geo_lat": 19.076,
          "armc": 262.2689,
          "events": [
           {
            "promissor": "Saturn",
            "significator": "Pluto",
            "aspect": "sextile",
            "aspect_angle": 60,
            "arc_degrees": 0.5496,
            "age_years": 0.56,
            "is_converse": false
           },
           {
            "promissor": "Neptune",
            "significator": "Moon",
            "aspect": "trine",
            "aspect_angle": 120,
            "arc_degrees": 0.6293,
            "age_years": 0.64,
            "is_converse": false
           }
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/profections/annual": {
   "get": {
    "summary": "Annual profection — activated sign, house, lord-of-the-year (20 credits)",
    "operationId": "westernProfectionsAnnual",
    "tags": [
     "western"
    ],
    "description": "Annual profection — activated sign, house, lord-of-the-year. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "asc_sign",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Aries"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "ref_date": "2026-11-15",
         "asc_sign": "Aries",
         "period": {
          "age": 36,
          "profected_sign": "Aries",
          "profected_house": 1,
          "lord_of_period": "Mars"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/profections/daily": {
   "get": {
    "summary": "Daily profection drill-down (10 credits)",
    "operationId": "westernProfectionsDaily",
    "tags": [
     "western"
    ],
    "description": "Daily profection drill-down. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "asc_sign",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Aries"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "ref_date": "2026-11-15",
         "asc_sign": "Aries",
         "period": {
          "age": 0,
          "profected_sign": "Aquarius",
          "profected_house": 11,
          "lord_of_period": "Saturn"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/profections/monthly": {
   "get": {
    "summary": "Monthly profection sub-period (20 credits)",
    "operationId": "westernProfectionsMonthly",
    "tags": [
     "western"
    ],
    "description": "Monthly profection sub-period. Costs 20 credits per call.",
    "parameters": [
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "asc_sign",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Aries"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "ref_date": "2026-11-15",
         "asc_sign": "Aries",
         "period": {
          "age": 10,
          "profected_sign": "Aquarius",
          "profected_house": 11,
          "lord_of_period": "Saturn"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/progressions/aspects-to-natal": {
   "get": {
    "summary": "Aspects from progressed planets to natal planets (20 credits)",
    "operationId": "westernProgressionAspectsToNatal",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/age_in_years"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "age_in_years": 30,
         "progressed_jd_ut": 2447936.708333,
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Admetos",
           "kind": "conjunction",
           "angle": 0,
           "orb": 0.019861,
           "orb_abs": 0.019861,
           "applying": false,
           "exact": false,
           "projected_longitude": 43.195999,
           "natal_longitude": 43.176138
          },
          {
           "planet_a": "Admetos",
           "planet_b": "Chiron",
           "kind": "sextile",
           "angle": 60,
           "orb": 0.316807,
           "orb_abs": 0.316807,
           "applying": false,
           "exact": false,
           "projected_longitude": 43.195999,
           "natal_longitude": 102.879192
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/progressions/lunation": {
   "get": {
    "summary": "Progressed Sun-Moon lunation phase (20 credits)",
    "operationId": "westernProgressionLunation",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/age_in_years"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "age_in_years": 30,
         "progressed_jd_ut": 2447936.708333,
         "lunation": {
          "phase": "waning_gibbous",
          "angle_deg": 230.970024,
          "sun_sign": "Aquarius",
          "moon_sign": "Libra"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/progressions/planets": {
   "get": {
    "summary": "Secondary progressed planets at given age (20 credits)",
    "operationId": "westernProgressionPlanets",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/age_in_years"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "age_in_years": 30,
         "progressed_jd_ut": 2447936.708333,
         "planets": [
          {
           "name": "Sun",
           "longitude": 325.237337,
           "sign_index": 10,
           "sign": "Aquarius",
           "degree_in_sign": 25.237337,
           "dms_in_sign": "25°14'14\"",
           "speed": 1.010233,
           "retrograde": false,
           "house": 11,
           "latitude": -0.000138
          },
          {
           "name": "Moon",
           "longitude": 196.207361,
           "sign_index": 6,
           "sign": "Libra",
           "degree_in_sign": 16.207361,
           "dms_in_sign": "16°12'26\"",
           "speed": 12.088967,
           "retrograde": false,
           "house": 6,
           "latitude": -4.559077
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/retrograde-window/{planet}": {
   "get": {
    "summary": "Next retrograde station window for a planet (station-retrograde → station-direct) (20 credits)",
    "operationId": "westernRetrogradeWindow",
    "tags": [
     "western"
    ],
    "description": "Next retrograde station window for a planet (station-retrograde → station-direct). Costs 20 credits per call.",
    "parameters": [
     {
      "name": "planet",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string"
      }
     },
     {
      "name": "start_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-01-01"
      },
      "description": "First date of the range (YYYY-MM-DD)."
     },
     {
      "name": "end_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "2027-12-31"
      },
      "description": "Last date of the range (YYYY-MM-DD)."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "planet": "Saturn",
         "windows": [
          {
           "planet": "Saturn",
           "station_rx_jd_ut": 2461627.254089,
           "station_rx_utc": "2027-08-09T18:05:53Z",
           "station_direct_jd_ut": 2461763.615784,
           "station_direct_utc": "2027-12-24T02:46:43Z",
           "peak_rx_sign": "Aries",
           "duration_days": 136.361694
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/returns/lunar": {
   "get": {
    "summary": "Next lunar return after `from` (30 credits)",
    "operationId": "westernReturnsLunar",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "name": "from",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time",
       "example": "2026-04-25T00:00:00Z"
      },
      "description": "Search-start moment for the next lunar return (RFC3339 UTC). Required — no implicit \"now\""
     },
     {
      "$ref": "#/components/parameters/relocate_lat"
     },
     {
      "$ref": "#/components/parameters/relocate_lon"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "from_utc": "2026-04-25T00:00:00Z",
         "return_jd_ut": 2461157.609066,
         "return_utc": "2026-04-27T02:37:03Z",
         "relocated": false,
         "chart_location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "ascendant": {
          "longitude": 66.893079,
          "sign_index": 2,
          "sign": "Gemini",
          "degree_in_sign": 6.893079,
          "dms_in_sign": "06°53'35\"",
          "ruler": "Mercury"
         },
         "mc": {
          "longitude": 324.963086,
          "sign_index": 10,
          "sign": "Aquarius",
          "degree_in_sign": 24.963086,
          "dms_in_sign": "24°57'47\"",
          "ruler": "Uranus"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 66.893079,
           "sign_index": 2,
           "sign": "Gemini",
           "degree_in_sign": 6.893079,
           "dms_in_sign": "06°53'35\"",
           "ruler": "Mercury"
          },
          {
           "house": 2,
           "longitude": 92.740555,
           "sign_index": 3,
           "sign": "Cancer",
           "degree_in_sign": 2.740555,
           "dms_in_sign": "02°44'25\"",
           "ruler": "Moon"
          }
         ],
         "planets": [
          {
           "name": "Sun",
           "longitude": 36.863458,
           "sign_index": 1,
           "sign": "Taurus",
           "degree_in_sign": 6.863458,
           "dms_in_sign": "06°51'48\"",
           "speed": 0.97275,
           "retrograde": false,
           "house": 12,
           "latitude": -0.000035
          },
          {
           "name": "Moon",
           "longitude": 163.84521,
           "sign_index": 5,
           "sign": "Virgo",
           "degree_in_sign": 13.84521,
           "dms_in_sign": "13°50'42\"",
           "speed": 12.878085,
           "retrograde": false,
           "house": 4,
           "latitude": -0.576413
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/returns/lunar/aspects": {
   "get": {
    "summary": "Aspects formed between planets in the lunar return chart (10 credits)",
    "operationId": "westernReturnsLunarAspects",
    "tags": [
     "western"
    ],
    "description": "Aspects formed between planets in the lunar return chart. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "from",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date",
       "example": "2027-01-01T00:00:00Z"
      },
      "description": "Start of the range."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "return_jd_ut": 2461430.818052,
         "return_utc": "2027-01-25T07:38:00Z",
         "relocated": false,
         "chart_location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": -0.190624,
           "orb_abs": 0.190624,
           "applying": true,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 3.192695,
           "orb_abs": 3.192695,
           "applying": false,
           "exact": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/returns/solar": {
   "get": {
    "summary": "Solar return chart for given calendar year (30 credits)",
    "operationId": "westernReturnsSolar",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/return_year"
     },
     {
      "$ref": "#/components/parameters/relocate_lat"
     },
     {
      "$ref": "#/components/parameters/relocate_lon"
     },
     {
      "$ref": "#/components/parameters/western_rulership"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "return_year": 2026,
         "return_jd_ut": 2461055.449312,
         "return_utc": "2026-01-14T22:47:01Z",
         "relocated": false,
         "chart_location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "ascendant": {
          "longitude": 252.371884,
          "sign_index": 8,
          "sign": "Sagittarius",
          "degree_in_sign": 12.371884,
          "dms_in_sign": "12°22'18\"",
          "ruler": "Jupiter"
         },
         "mc": {
          "longitude": 168.082949,
          "sign_index": 5,
          "sign": "Virgo",
          "degree_in_sign": 18.082949,
          "dms_in_sign": "18°04'58\"",
          "ruler": "Mercury"
         },
         "houses": [
          {
           "house": 1,
           "longitude": 252.371884,
           "sign_index": 8,
           "sign": "Sagittarius",
           "degree_in_sign": 12.371884,
           "dms_in_sign": "12°22'18\"",
           "ruler": "Jupiter"
          },
          {
           "house": 2,
           "longitude": 282.377801,
           "sign_index": 9,
           "sign": "Capricorn",
           "degree_in_sign": 12.377801,
           "dms_in_sign": "12°22'40\"",
           "ruler": "Saturn"
          }
         ],
         "planets": [
          {
           "name": "Sun",
           "longitude": 294.781268,
           "sign_index": 9,
           "sign": "Capricorn",
           "degree_in_sign": 24.781268,
           "dms_in_sign": "24°46'52\"",
           "speed": 1.018845,
           "retrograde": false,
           "house": 2,
           "latitude": -0.000147
          },
          {
           "name": "Moon",
           "longitude": 251.493575,
           "sign_index": 8,
           "sign": "Sagittarius",
           "degree_in_sign": 11.493575,
           "dms_in_sign": "11°29'36\"",
           "speed": 11.916243,
           "retrograde": false,
           "house": 12,
           "latitude": -5.123399
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/returns/solar/aspects": {
   "get": {
    "summary": "Aspects formed between planets in the solar return chart (10 credits)",
    "operationId": "westernReturnsSolarAspects",
    "tags": [
     "western"
    ],
    "description": "Aspects formed between planets in the solar return chart. Costs 10 credits per call.",
    "parameters": [
     {
      "name": "date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "$ref": "#/components/parameters/return_year"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "return_year": 2027,
         "return_jd_ut": 2461420.686489,
         "return_utc": "2027-01-15T04:28:33Z",
         "relocated": false,
         "chart_location": {
          "lat": 19.076,
          "lon": 72.8777,
          "alt": 0
         },
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Vulkanus",
           "kind": "sextile",
           "angle": 60,
           "orb": -0.243019,
           "orb_abs": 0.243019,
           "applying": true,
           "exact": false
          },
          {
           "planet_a": "Apollon",
           "planet_b": "Vulkanus",
           "kind": "square",
           "angle": 90,
           "orb": 3.036202,
           "orb_abs": 3.036202,
           "applying": false,
           "exact": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/returns/solar/exact-jd": {
   "get": {
    "summary": "Just the precise solar return JD (cheap discovery) (10 credits)",
    "operationId": "westernReturnsSolarExactJD",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/return_year"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "return_year": 2026,
         "return_jd_ut": 2461055.449312,
         "return_utc": "2026-01-14T22:47:01Z"
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/solar-arc/aspects-to-natal": {
   "get": {
    "summary": "Aspects from solar-arc directed planets to natal (20 credits)",
    "operationId": "westernSolarArcAspectsToNatal",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/age_in_years"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "age_in_years": 30,
         "arc_deg": 30.456068,
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Apollon",
           "kind": "trine",
           "angle": 120,
           "orb": 1.464163,
           "orb_abs": 1.464163,
           "applying": false,
           "exact": false,
           "projected_longitude": 73.632206,
           "natal_longitude": 195.096369
          },
          {
           "planet_a": "Admetos",
           "planet_b": "Hades",
           "kind": "conjunction",
           "angle": 0,
           "orb": 5.897085,
           "orb_abs": 5.897085,
           "applying": false,
           "exact": false,
           "projected_longitude": 73.632206,
           "natal_longitude": 67.735121
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/solar-arc/planets": {
   "get": {
    "summary": "Solar-arc directed planets at given age (20 credits)",
    "operationId": "westernSolarArcPlanets",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/lat"
     },
     {
      "$ref": "#/components/parameters/lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/age_in_years"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "age_in_years": 30,
         "arc_deg": 30.456068,
         "planets": [
          {
           "name": "Sun",
           "longitude": 325.237337,
           "sign_index": 10,
           "sign": "Aquarius",
           "degree_in_sign": 25.237337,
           "dms_in_sign": "25°14'14\"",
           "speed": 1.018256,
           "retrograde": false,
           "latitude": -0.000088
          },
          {
           "name": "Moon",
           "longitude": 194.301307,
           "sign_index": 6,
           "sign": "Libra",
           "degree_in_sign": 14.301307,
           "dms_in_sign": "14°18'04\"",
           "speed": 12.579355,
           "retrograde": false,
           "latitude": -2.411875
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/synastry/aspects": {
   "get": {
    "summary": "Inter-aspects between two natal charts (30 credits)",
    "operationId": "westernSynastryAspects",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Admetos",
           "planet_b": "Admetos",
           "kind": "conjunction",
           "angle": 0,
           "orb": 1.445531,
           "orb_abs": 1.445531,
           "applying": false,
           "exact": false,
           "person_a_longitude": 43.176138,
           "person_b_longitude": 44.621669
          },
          {
           "planet_a": "Admetos",
           "planet_b": "Jupiter",
           "kind": "trine",
           "angle": 120,
           "orb": 6.006325,
           "orb_abs": 6.006325,
           "applying": false,
           "exact": false,
           "person_a_longitude": 43.176138,
           "person_b_longitude": 157.169813
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/synastry/grid": {
   "get": {
    "summary": "Full N×M synastry aspect matrix for visualization (30 credits)",
    "operationId": "westernSynastryGrid",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "grid": {
          "planets_a": [
           "Sun",
           "Moon"
          ],
          "planets_b": [
           "Sun",
           "Moon"
          ],
          "cells": [
           [
            {
             "planet_a": "Sun",
             "planet_b": "Sun",
             "kind": "sextile",
             "angle": 60,
             "orb": -4.968377,
             "orb_abs": 4.968377,
             "applying": true,
             "exact": false
            },
            {
             "planet_a": "Sun",
             "planet_b": "Moon",
             "kind": "square",
             "angle": 90,
             "orb": -6.827096,
             "orb_abs": 6.827096,
             "applying": true,
             "exact": false
            }
           ],
           [
            null,
            null
           ]
          ]
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/synastry/score": {
   "get": {
    "summary": "Aggregate harmony score breakdown (scheme=v1) (30 credits)",
    "operationId": "westernSynastryScore",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/personA_date"
     },
     {
      "name": "personA.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "06:30"
      },
      "description": "Person A birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personA_tz"
     },
     {
      "$ref": "#/components/parameters/personA_lat"
     },
     {
      "$ref": "#/components/parameters/personA_lon"
     },
     {
      "$ref": "#/components/parameters/personB_date"
     },
     {
      "name": "personB.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "14:00"
      },
      "description": "Person B birth local time (HH:MM)."
     },
     {
      "$ref": "#/components/parameters/personB_tz"
     },
     {
      "$ref": "#/components/parameters/personB_lat"
     },
     {
      "$ref": "#/components/parameters/personB_lon"
     },
     {
      "$ref": "#/components/parameters/western_house_system"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "person_a": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "person_b": {
          "birth_date": "1992-03-20",
          "birth_time": "08:15",
          "location": {
           "lat": 28.6139,
           "lon": 77.209,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "score": {
          "total": 218.806036,
          "harmonious": 407.695807,
          "challenging": -212.317235,
          "neutral": 23.427464,
          "per_aspect": {
           "Admetos-Admetos-conjunction": 0.819309,
           "Admetos-Jupiter-trine": 2.39241,
           "Admetos-MeanLilith-square": -0.226245,
           "Admetos-MeanNode-trine": 0.220563,
           "Admetos-Neptune-trine": 1.741647,
           "Admetos-Saturn-square": -4.185853,
           "Admetos-TrueNode-trine": 0.273732,
           "Admetos-Uranus-trine": 2.529783,
           "Admetos-Venus-sextile": 0.312969,
           "Admetos-Vesta-trine": 5.121165,
           "Admetos-Vulkanus-sextile": 3.173125,
           "Apollon-Apollon-conjunction": 0.899912,
           "Apollon-Hades-trine": 2.58882,
           "Apollon-Kronos-trine": 1.441114,
           "Apollon-Mercury-opposition": -1.341567,
           "Apollon-Moon-conjunction": 0.964162,
           "Apollon-Neptune-square": -1.704149,
           "Apollon-Saturn-trine": 8.527552,
           "Apollon-TrueLilith-trine": 0.949681,
           "Apollon-Uranus-square": -2.267103,
           "Apollon-Vulkanus-square": -4.805701,
           "Ceres-Apollon-trine": 0.911211,
           "Ceres-Juno-square": -4.21205,
           "Ceres-Kronos-conjunction": 0.833674,
           "Ceres-Mars-trine": 7.162654,
           "Ceres-Moon-trine": 4.45246,
           "Ceres-Poseidon-trine": 0.447718,
           "Ceres-Sun-square": -0.253093,
           "Ceres-TrueLilith-trine": 7.160822,
           "Ceres-Vesta-square": -0.049362,
           "Ceres-Zeus-square": -1.292643,
           "Chiron-Admetos-sextile": 3.547936,
           "Chiron-Apollon-square": -2.844368,
           "Chiron-Jupiter-sextile": 0.290621,
           "Chiron-MeanNode-opposition": -0.138389,
           "Chiron-Mercury-square": -3.424778,
           "Chiron-Moon-square": -2.06252,
           "Chiron-Neptune-opposition": -0.575169,
           "Chiron-SouthNode-conjunction": 0.04613,
           "Chiron-TrueNode-opposition": -0.158327,
           "Chiron-Uranus-opposition": -0.87072,
           "Chiron-Venus-trine": 2.672509,
           "Chiron-Vesta-sextile": 2.353516,
           "Chiron-Vulkanus-conjunction": 0.688851,
           "Cupido-Admetos-opposition": -0.80467,
           "Cupido-Cupido-conjunction": 0.635849,
           "Cupido-Juno-trine": 4.386886,
           "Cupido-Mars-square": -2.60905,
           "Cupido-Neptune-sextile": 2.45711,
           "Cupido-Pholus-trine": 2.012563,
           "Cupido-Pluto-conjunction": 0.497695,
           "Cupido-Saturn-square": -1.078634,
           "Cupido-TrueLilith-square": -3.806567,
           "Cupido-Uranus-sextile": 1.80033,
           "Cupido-Vesta-sextile": 1.315909,
           "Cupido-Vulkanus-trine": 2.892505,
           "Hades-Chiron-sextile": 1.457355,
           "Hades-Hades-conjunction": 0.756241,
           "Hades-Jupiter-square": -5.515451,
           "Hades-MeanLilith-trine": 6.75776,
           "Hades-Mercury-sextile": 2.551033,
           "Hades-Saturn-trine": 0.975074,
           "Hades-Venus-square": -4.868986,
           "Juno-Admetos-opposition": -1.916888,
           "Juno-Cupido-conjunction": 0.26511,
           "Juno-Juno-trine": 1.420972,
           "Juno-Mars-square": -0.49054,
           "Juno-Neptune-sextile": 2.812774,
           "Juno-Pluto-conjunction": 0.238178,
           "Juno-Saturn-square": -3.408995,
           "Juno-TrueLilith-square": -1.688058,
           "Juno-Uranus-sextile": 3.469553,
           "Juno-Vesta-sextile": 3.787504,
           "Juno-Vulkanus-trine": 5.858419,
           "Jupiter-Jupiter-sextile": 2.676646,
           "Jupiter-MeanNode-opposition": -1.301195,
           "Jupiter-Pallas-opposition": -3.536166,
           "Jupiter-Poseidon-trine": 6.165356,
           "Jupiter-SouthNode-conjunction": 0.433732,
           "Jupiter-Sun-square": -4.306236,
           "Jupiter-TrueNode-opposition": -1.277269,
           "Jupiter-Venus-trine": 4.618381,
           "Jupiter-Zeus-square": -1.522127,
           "Kronos-Apollon-trine": 3.382355,
           "Kronos-Juno-square": -2.446946,
           "Kronos-Kronos-conjunction": 0.857433,
           "Kronos-Mars-trine": 4.691509,
           "Kronos-Moon-trine": 8.159177,
           "Kronos-Saturn-trine": 2.567365,
           "Kronos-TrueLilith-trine": 6.368033,
           "Kronos-Vesta-square": -1.814466,
           "Mars-Apollon-sextile": 1.829672,
           "Mars-Juno-square": -1.866053,
           "Mars-Kronos-opposition": -2.267331,
           "Mars-Mars-sextile": 1.565215,
           "Mars-Moon-sextile": 5.315878,
           "Mars-Saturn-sextile": 1.051617,
           "Mars-TrueLilith-sextile": 2.962318,
           "Mars-Vesta-square": -2.395359,
           "MeanLilith-Admetos-opposition": -0.516811,
           "MeanLilith-Chiron-square": -1.774368,
           "MeanLilith-Jupiter-sextile": 5.169981,
           "MeanLilith-MeanLilith-square": -3.923606,
           "MeanLilith-MeanNode-sextile": 1.507263,
           "MeanLilith-Pallas-sextile": 1.048888,
           "MeanLilith-Poseidon-conjunction": 0.06729,
           "MeanLilith-Saturn-square": -0.118755,
           "MeanLilith-SouthNode-trine": 2.808716,
           "MeanLilith-TrueNode-sextile": 1.551571,
           "MeanLilith-Venus-trine": 7.551869,
           "MeanLilith-Vulkanus-trine": 0.631444,
           "MeanNode-Admetos-square": -1.397278,
           "MeanNode-Apollon-trine": 3.093893,
           "MeanNode-Cupido-square": -0.471499,
           "MeanNode-Kronos-trine": 2.027017,
           "MeanNode-Mars-conjunction": 0.11788,
           "MeanNode-Moon-trine": 5.816338,
           "MeanNode-Pluto-square": -0.480338,
           "MeanNode-Saturn-conjunction": 0.353334,
           "MeanNode-TrueLilith-conjunction": 0.222663,
           "Mercury-Admetos-trine": 4.939521,
           "Mercury-Apollon-square": -1.902938,
           "Mercury-Jupiter-trine": 4.330347,
           "Mercury-MeanNode-conjunction": 0.128505,
           "Mercury-Mercury-square": -4.366208,
           "Mercury-Moon-square": -0.650376,
           "Mercury-Neptune-conjunction": 0.076398,
           "Mercury-SouthNode-opposition": -0.385514,
           "Mercury-TrueNode-conjunction": 0.135151,
           "Mercury-Uranus-conjunction": 0.174915,
           "Mercury-Venus-sextile": 1.658758,
           "Mercury-Vesta-trine": 3.506217,
           "Mercury-Vulkanus-opposition": -1.572301,
           "Moon-Admetos-trine": 10.835355,
           "Moon-Hades-square": -3.042804,
           "Moon-Jupiter-conjunction": 0.894087,
           "Moon-Neptune-trine": 3.315027,
           "Moon-Uranus-trine": 4.49723,
           "Moon-Venus-opposition": -0.959884,
           "Moon-Vesta-conjunction": 1.085675,
           "Moon-Vulkanus-sextile": 5.596064,
           "Neptune-Admetos-trine": 4.153275,
           "Neptune-Apollon-square": -1.828921,
           "Neptune-Jupiter-trine": 2.196511,
           "Neptune-MeanNode-conjunction": 0.046478,
           "Neptune-Mercury-square": -2.559481,
           "Neptune-Moon-square": -1.200559,
           "Neptune-Neptune-conjunction": 0.114344,
           "Neptune-SouthNode-opposition": -0.139433,
           "Neptune-TrueNode-conjunction": 0.05113,
           "Neptune-Uranus-conjunction": 0.183306,
           "Neptune-Venus-sextile": 0.581456,
           "Neptune-Vesta-trine": 3.149962,
           "Neptune-Vulkanus-opposition": -1.361464,
           "Pallas-Chiron-trine": 6.405073,
           "Pallas-Hades-sextile": 1.161404,
           "Pallas-MeanLilith-sextile": 3.821661,
           "Pallas-MeanNode-square": -2.307718,
           "Pallas-Mercury-conjunction": 0.300624,
           "Pallas-Pallas-square": -3.699731,
           "Pallas-SouthNode-square": -2.307718,
           "Pallas-Sun-conjunction": 0.50077,
           "Pallas-TrueNode-square": -2.26974,
           "Pallas-Zeus-opposition": -0.411485,
           "Pholus-Juno-square": -4.781961,
           "Pholus-Kronos-conjunction": 0.657625,
           "Pholus-Mars-trine": 7.428961,
           "Pholus-Moon-trine": 2.339882,
           "Pholus-Poseidon-trine": 1.856104,
           "Pholus-Sun-square": -1.762077,
           "Pholus-TrueLilith-trine": 5.752437,
           "Pholus-Zeus-square": -2.298633,
           "Pluto-Admetos-opposition": -1.364859,
           "Pluto-Cupido-conjunction": 0.177898,
           "Pluto-Juno-trine": 0.933248,
           "Pluto-Mars-square": -0.299498,
           "Pluto-Neptune-sextile": 1.933106,
           "Pluto-Pluto-conjunction": 0.161349,
           "Pluto-Saturn-square": -2.434565,
           "Pluto-TrueLilith-square": -1.13776,
           "Pluto-Uranus-sextile": 2.392852,
           "Pluto-Vesta-sextile": 2.702446,
           "Pluto-Vulkanus-trine": 4.162326,
           "Poseidon-Ceres-square": -2.869156,
           "Poseidon-Chiron-square": -2.368196,
           "Poseidon-Mars-trine": 2.023792,
           "Poseidon-MeanLilith-square": -0.218957,
           "Poseidon-MeanNode-sextile": 0.075899,
           "Poseidon-Pallas-sextile": 2.117436,
           "Poseidon-Pholus-square": -2.617071,
           "Poseidon-Poseidon-conjunction": 0.907659,
           "Poseidon-SouthNode-trine": 1.091078,
           "Poseidon-TrueLilith-trine": 0.347268,
           "Poseidon-TrueNode-sextile": 0.031591,
           "Poseidon-Venus-trine": 0.24772,
           "Saturn-Admetos-trine": 5.87571,
           "Saturn-Apollon-square": -4.413328,
           "Saturn-Mercury-square": -0.309388,
           "Saturn-Moon-square": -7.455574,
           "Saturn-Neptune-conjunction": 0.634484,
           "Saturn-Pluto-sextile": 0.315813,
           "Saturn-Uranus-conjunction": 0.742853,
           "Saturn-Vesta-trine": 7.452345,
           "Saturn-Vulkanus-opposition": -2.511413,
           "SouthNode-Admetos-square": -1.397278,
           "SouthNode-Apollon-sextile": 1.744911,
           "SouthNode-Cupido-square": -0.471499,
           "SouthNode-Kronos-sextile": 0.855848,
           "SouthNode-Mars-opposition": -0.35364,
           "SouthNode-Mercury-trine": 0.482295,
           "SouthNode-Moon-sextile": 3.596949,
           "SouthNode-Pluto-square": -0.480338,
           "SouthNode-Saturn-opposition": -1.060001,
           "SouthNode-TrueLilith-opposition": -0.667988,
           "Sun-Ceres-conjunction": 1.118443,
           "Sun-Cupido-sextile": 5.759779,
           "Sun-Juno-sextile": 6.634659,
           "Sun-Moon-square": -0.277881,
           "Sun-Neptune-conjunction": 0.250268,
           "Sun-Pholus-opposition": -3.553846,
           "Sun-Pluto-sextile": 3.505835,
           "Sun-Poseidon-square": -1.331915,
           "Sun-Sun-sextile": 1.934293,
           "Sun-Uranus-conjunction": 0.102492,
           "Sun-Zeus-trine": 6.907654,
           "TrueLilith-Admetos-opposition": -2.271493,
           "TrueLilith-Cupido-conjunction": 0.146908,
           "TrueLilith-Juno-trine": 0.475359,
           "TrueLilith-Neptune-sextile": 2.261166,
           "TrueLilith-Pluto-conjunction": 0.155437,
           "TrueLilith-Saturn-square": -4.151977,
           "TrueLilith-TrueLilith-square": -1.012619,
           "TrueLilith-Uranus-sextile": 2.917946,
           "TrueLilith-Vesta-sextile": 4.575515,
           "TrueLilith-Vulkanus-trine": 6.804033,
           "TrueNode-Admetos-square": -1.803815,
           "TrueNode-Apollon-trine": 3.663045,
           "TrueNode-Cupido-square": -0.064962,
           "TrueNode-Hades-trine": 0.557101,
           "TrueNode-Kronos-trine": 1.457866,
           "TrueNode-Mars-conjunction": 0.046736,
           "TrueNode-Mercury-sextile": 0.042873,
           "TrueNode-Moon-trine": 4.96261,
           "TrueNode-Pluto-square": -0.195762,
           "TrueNode-Saturn-conjunction": 0.431592,
           "TrueNode-TrueLilith-conjunction": 0.151519,
           "Uranus-Jupiter-trine": 6.238305,
           "Uranus-MeanNode-conjunction": 0.307164,
           "Uranus-Mercury-square": -1.461243,
           "Uranus-Pallas-conjunction": 0.407936,
           "Uranus-SouthNode-opposition": -0.921493,
           "Uranus-Sun-square": -0.114959,
           "Uranus-TrueNode-conjunction": 0.311816,
           "Uranus-Venus-sextile": 2.942722,
           "Venus-Ceres-conjunction": 0.494726,
           "Venus-Chiron-opposition": -2.015431,
           "Venus-MeanLilith-conjunction": 0.295694,
           "Venus-Pholus-opposition": -1.351834,
           "Venus-Poseidon-square": -4.771227,
           "Venus-Sun-sextile": 6.114021,
           "Venus-Zeus-trine": 5.317737,
           "Vesta-Cupido-square": -4.491097,
           "Vesta-Kronos-trine": 5.5537,
           "Vesta-Mars-conjunction": 0.965207,
           "Vesta-Moon-trine": 2.778926,
           "Vesta-Pluto-square": -2.843191,
           "Vesta-Poseidon-trine": 1.563408,
           "Vesta-TrueLilith-conjunction": 0.755642,
           "Vulkanus-Admetos-sextile": 4.875164,
           "Vulkanus-Apollon-square": -4.195997,
           "Vulkanus-Mercury-square": -2.073149,
           "Vulkanus-Moon-square": -4.089964,
           "Vulkanus-Neptune-opposition": -1.071893,
           "Vulkanus-Uranus-opposition": -1.367444,
           "Vulkanus-Venus-trine": 0.780228,
           "Vulkanus-Vesta-sextile": 3.930416,
           "Vulkanus-Vulkanus-conjunction": 0.925386,
           "Zeus-Ceres-trine": 7.521603,
           "Zeus-Cupido-sextile": 1.74538,
           "Zeus-Juno-opposition": -1.797885,
           "Zeus-Kronos-square": -0.971871,
           "Zeus-Pallas-square": -0.740099,
           "Zeus-Pholus-sextile": 4.307237,
           "Zeus-Pluto-sextile": 0.871093,
           "Zeus-Sun-opposition": -3.119057,
           "Zeus-Zeus-conjunction": 0.889809
          },
          "scheme": "v1"
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/transits/calendar": {
   "get": {
    "summary": "Day-by-day transit aspects over a date range (max 30 days, noon UTC per day) (20 credits)",
    "operationId": "westernTransitsCalendar",
    "tags": [
     "western"
    ],
    "description": "Day-by-day transit aspects over a date range (max 30 days, noon UTC per day). Costs 20 credits per call.",
    "parameters": [
     {
      "name": "birth.date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "birth.time",
      "in": "query",
      "required": false,
      "schema": {
       "type": "string",
       "example": "10:30"
      },
      "description": "Birth time (HH:MM, 24-hour, local). Defaults to 12:00."
     },
     {
      "name": "birth.tz",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Asia/Kolkata"
      },
      "description": "Birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30)."
     },
     {
      "name": "birth.lat",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "19.076"
      },
      "description": "Birth place latitude in decimal degrees."
     },
     {
      "name": "birth.lon",
      "in": "query",
      "required": true,
      "schema": {
       "type": "number",
       "format": "double",
       "example": "72.8777"
      },
      "description": "Birth place longitude in decimal degrees."
     },
     {
      "name": "from",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date",
       "example": "2027-01-01"
      },
      "description": "Start of the range."
     },
     {
      "name": "to",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date",
       "example": "2027-01-30"
      },
      "description": "End of the range."
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "from": "2027-01-01",
         "to": "2027-01-30",
         "days": [
          {
           "date": "2027-01-02",
           "noon_jd_ut": 2461407.5,
           "aspects": [
            {
             "planet_a": "Apollon",
             "planet_b": "Admetos",
             "kind": "opposition",
             "angle": 180,
             "orb": -5.066855,
             "orb_abs": 5.066855,
             "applying": true,
             "exact": false,
             "natal_longitude": 43.176138,
             "transit_longitude": 218.109283
            },
            {
             "planet_a": "Ceres",
             "planet_b": "Admetos",
             "kind": "sextile",
             "angle": 60,
             "orb": -5.385683,
             "orb_abs": 5.385683,
             "applying": true,
             "exact": false,
             "natal_longitude": 43.176138,
             "transit_longitude": 108.561822
            }
           ]
          },
          {
           "date": "2027-01-03",
           "noon_jd_ut": 2461408.5,
           "aspects": [
            {
             "planet_a": "Apollon",
             "planet_b": "Admetos",
             "kind": "opposition",
             "angle": 180,
             "orb": -5.058782,
             "orb_abs": 5.058782,
             "applying": true,
             "exact": false,
             "natal_longitude": 43.176138,
             "transit_longitude": 218.117356
            },
            {
             "planet_a": "Ceres",
             "planet_b": "Admetos",
             "kind": "sextile",
             "angle": 60,
             "orb": -5.153352,
             "orb_abs": 5.153352,
             "applying": true,
             "exact": false,
             "natal_longitude": 43.176138,
             "transit_longitude": 108.329491
            }
           ]
          }
         ],
         "day_count": 30
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/transits/exact": {
   "get": {
    "summary": "Exact transit-to-natal aspect events via bisection (30 credits)",
    "operationId": "westernTransitsExact",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "name": "transit_planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Saturn"
      },
      "description": "Transit body name."
     },
     {
      "name": "natal_planet",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Sun"
      },
      "description": "Natal body name."
     },
     {
      "name": "aspect",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "conjunction",
        "sextile",
        "square",
        "trine",
        "opposition"
       ],
       "example": "square"
      },
      "description": "Aspect kind to bisect for."
     },
     {
      "name": "from",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time",
       "example": "2026-01-01T00:00:00Z"
      },
      "description": "Start of search window (RFC3339 UTC). Required — cannot"
     },
     {
      "name": "to",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "format": "date-time",
       "example": "2027-01-01T00:00:00Z"
      },
      "description": "End of search window (RFC3339 UTC). Window capped at 5 years."
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "query": {
          "transit_planet": "Saturn",
          "natal_planet": "Sun",
          "aspect": "square",
          "from": "2026-01-01T00:00:00Z",
          "to": "2027-01-01T00:00:00Z"
         },
         "events": [],
         "not_found": true
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/transits/positions": {
   "get": {
    "summary": "Tropical transit positions at a moment (10 credits)",
    "operationId": "westernTransitsPositions",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "date": "1990-01-15",
         "time": "10:30",
         "tz": "Asia/Kolkata",
         "at_jd": 2447906.708333,
         "planets": [
          {
           "name": "Sun",
           "longitude": 294.781269,
           "sign_index": 9,
           "sign": "Capricorn",
           "degree_in_sign": 24.781269,
           "dms_in_sign": "24°46'52\"",
           "speed": 1.018256,
           "retrograde": false
          },
          {
           "name": "Moon",
           "longitude": 163.845239,
           "sign_index": 5,
           "sign": "Virgo",
           "degree_in_sign": 13.845239,
           "dms_in_sign": "13°50'42\"",
           "speed": 12.579355,
           "retrograde": false
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/transits/to-natal": {
   "get": {
    "summary": "Transit-to-natal aspects (20 credits)",
    "operationId": "westernTransitsToNatal",
    "tags": [
     "western"
    ],
    "parameters": [
     {
      "$ref": "#/components/parameters/birth_date"
     },
     {
      "$ref": "#/components/parameters/birth_time"
     },
     {
      "$ref": "#/components/parameters/birth_tz"
     },
     {
      "$ref": "#/components/parameters/birth_lat"
     },
     {
      "$ref": "#/components/parameters/birth_lon"
     },
     {
      "$ref": "#/components/parameters/date"
     },
     {
      "$ref": "#/components/parameters/time"
     },
     {
      "$ref": "#/components/parameters/tz"
     },
     {
      "$ref": "#/components/parameters/western_orb_conjunction"
     },
     {
      "$ref": "#/components/parameters/western_orb_opposition"
     },
     {
      "$ref": "#/components/parameters/western_orb_trine"
     },
     {
      "$ref": "#/components/parameters/western_orb_square"
     },
     {
      "$ref": "#/components/parameters/western_orb_sextile"
     },
     {
      "$ref": "#/components/parameters/XFeatureHeader"
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. The example is a real response from the API (long lists trimmed to two items).",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth": {
          "birth_date": "1990-01-15",
          "birth_time": "10:30",
          "location": {
           "lat": 19.076,
           "lon": 72.8777,
           "alt": 0
          },
          "tz": "Asia/Kolkata",
          "house_system": "placidus"
         },
         "transit_at_jd": 2461420.520833,
         "orbs_used": {
          "conjunction": 8,
          "opposition": 8,
          "sextile": 6,
          "square": 7,
          "trine": 8
         },
         "aspects": [
          {
           "planet_a": "Apollon",
           "planet_b": "Admetos",
           "kind": "opposition",
           "angle": 180,
           "orb": -4.979484,
           "orb_abs": 4.979484,
           "applying": true,
           "exact": false,
           "natal_longitude": 43.176138,
           "transit_longitude": 218.196655
          },
          {
           "planet_a": "Ceres",
           "planet_b": "Admetos",
           "kind": "sextile",
           "angle": 60,
           "orb": -2.316051,
           "orb_abs": 2.316051,
           "applying": true,
           "exact": false,
           "natal_longitude": 43.176138,
           "transit_longitude": 105.492189
          }
         ]
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/zodiacal-releasing/fortune": {
   "get": {
    "summary": "Zodiacal Releasing from Lot of Fortune (L1–L4 with Loosing of the Bond) (30 credits)",
    "operationId": "westernZodiacalReleasingFortune",
    "tags": [
     "western"
    ],
    "description": "Valens, Anthologies IV.4–7. Computes L1–L4 with 360-day years, 30-day months and the Loosing of the Bond. Periods use half-open UTC bounds (start_utc inclusive, end_utc exclusive). The legacy start and end fields are UTC dates. is_lb_peak marks a period that begins with the Loosing of the Bond. is_angular is measured from the Lot of Fortune and is false when that reference is unavailable. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "lot_sign",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Aries"
      }
     },
     {
      "name": "ref_date",
      "in": "query",
      "required": false,
      "description": "UTC date to evaluate (YYYY-MM-DD). Defaults to UTC today.",
      "schema": {
       "type": "string",
       "example": "2026-11-15"
      }
     },
     {
      "name": "include_all_l1",
      "in": "query",
      "required": false,
      "description": "Include major periods from birth through the active L1.",
      "schema": {
       "type": "boolean",
       "example": false
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. Example generated with the corrected calculation.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "ref_date": "2026-11-15",
         "result": {
          "lot": "fortune",
          "lot_sign": "Aries",
          "fortune_sign": "Aries",
          "ref_date": "2026-11-15",
          "l1": {
           "level": 1,
           "sign": "Gemini",
           "lord": "Mercury",
           "start": "2012-09-16",
           "end": "2032-06-03",
           "start_utc": "2012-09-16T00:00:00Z",
           "end_utc": "2032-06-03T00:00:00Z",
           "duration_years": 20,
           "is_lb_peak": false,
           "is_angular": false
          },
          "l2": {
           "level": 2,
           "sign": "Aquarius",
           "lord": "Saturn",
           "start": "2024-09-13",
           "end": "2027-03-02",
           "start_utc": "2024-09-13T00:00:00Z",
           "end_utc": "2027-03-02T00:00:00Z",
           "duration_years": 2.5,
           "is_lb_peak": false,
           "is_angular": false
          },
          "l3": {
           "level": 3,
           "sign": "Aquarius",
           "lord": "Saturn",
           "start": "2026-11-02",
           "end": "2027-01-16",
           "start_utc": "2026-11-02T00:00:00Z",
           "end_utc": "2027-01-16T00:00:00Z",
           "duration_years": 0.20833333333333334,
           "is_lb_peak": false,
           "is_angular": false
          },
          "l4": {
           "level": 4,
           "sign": "Taurus",
           "lord": "Venus",
           "start": "2026-11-13",
           "end": "2026-11-15",
           "start_utc": "2026-11-13T21:00:00Z",
           "end_utc": "2026-11-15T13:00:00Z",
           "duration_years": 0.004629629629629629,
           "is_lb_peak": false,
           "is_angular": false
          }
         }
        }
       }
      }
     }
    }
   }
  },
  "/v1/western/zodiacal-releasing/spirit": {
   "get": {
    "summary": "Zodiacal Releasing from Lot of Spirit (30 credits)",
    "operationId": "westernZodiacalReleasingSpirit",
    "tags": [
     "western"
    ],
    "description": "Valens, Anthologies IV.4–7. Computes L1–L4 with 360-day years, 30-day months and the Loosing of the Bond. Periods use half-open UTC bounds (start_utc inclusive, end_utc exclusive). The legacy start and end fields are UTC dates. is_lb_peak marks a period that begins with the Loosing of the Bond. is_angular is measured from the Lot of Fortune and is false when that reference is unavailable. Costs 30 credits per call.",
    "parameters": [
     {
      "name": "birth_date",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "1990-01-15"
      },
      "description": "Birth date (YYYY-MM-DD)."
     },
     {
      "name": "lot_sign",
      "in": "query",
      "required": true,
      "schema": {
       "type": "string",
       "example": "Gemini"
      }
     },
     {
      "name": "ref_date",
      "in": "query",
      "required": false,
      "description": "UTC date to evaluate (YYYY-MM-DD). Defaults to UTC today.",
      "schema": {
       "type": "string",
       "example": "2026-11-15"
      }
     },
     {
      "name": "include_all_l1",
      "in": "query",
      "required": false,
      "description": "Include major periods from birth through the active L1.",
      "schema": {
       "type": "boolean",
       "example": false
      }
     },
     {
      "name": "fortune_sign",
      "in": "query",
      "required": false,
      "description": "Optional tropical sign of the Lot of Fortune, by name or index 0–11. Used for angularity when releasing from Spirit.",
      "schema": {
       "type": "string",
       "example": "Taurus"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "Successful response. Example generated with the corrected calculation.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        },
        "example": {
         "birth_date": "1990-01-15",
         "ref_date": "2026-11-15",
         "result": {
          "lot": "spirit",
          "lot_sign": "Gemini",
          "fortune_sign": "Taurus",
          "ref_date": "2026-11-15",
          "l1": {
           "level": 1,
           "sign": "Cancer",
           "lord": "Moon",
           "start": "2009-10-02",
           "end": "2034-05-24",
           "start_utc": "2009-10-02T00:00:00Z",
           "end_utc": "2034-05-24T00:00:00Z",
           "duration_years": 25,
           "is_lb_peak": false,
           "is_angular": false
          },
          "l2": {
           "level": 2,
           "sign": "Gemini",
           "lord": "Mercury",
           "start": "2025-06-10",
           "end": "2027-01-31",
           "start_utc": "2025-06-10T00:00:00Z",
           "end_utc": "2027-01-31T00:00:00Z",
           "duration_years": 1.6666666666666667,
           "is_lb_peak": false,
           "is_angular": false
          },
          "l3": {
           "level": 3,
           "sign": "Taurus",
           "lord": "Venus",
           "start": "2026-10-30",
           "end": "2026-11-19",
           "start_utc": "2026-10-30T12:00:00Z",
           "end_utc": "2026-11-19T12:00:00Z",
           "duration_years": 0.05555555555555555,
           "is_lb_peak": false,
           "is_angular": true
          },
          "l4": {
           "level": 4,
           "sign": "Virgo",
           "lord": "Mercury",
           "start": "2026-11-14",
           "end": "2026-11-18",
           "start_utc": "2026-11-14T12:00:00Z",
           "end_utc": "2026-11-18T16:00:00Z",
           "duration_years": 0.011574074074074073,
           "is_lb_peak": false,
           "is_angular": false
          }
         }
        }
       }
      }
     }
    }
   }
  }
 },
 "tags": [],
 "externalDocs": {
  "description": "API reference with real request and response examples",
  "url": "https://lifeastroapi.com/docs/reference/"
 }
}
