LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Matchmaking (Milan)

GET
20 credits

/v1/milan/dasha-sync

Current Vimshottari Maha Dasha of both partners and whether they overlap. Optional timeline=true adds both partners' MD/AD periods on one aligned timeline; marriage_windows=true tags each span favourable, neutral or avoid.

Try it in the Playground

What this tells you

Shows which Vimshottari Maha Dasha each partner is running at one moment and when each one ends. With timeline=true it also lays both partners' Maha and Antar Dashas on one aligned timeline, and with marriage_windows=true it tags each span favourable, neutral or avoid for marriage by a stated rule, with the reason ids. It is data, not a muhurta: pick the exact date with the muhurta endpoints. Each partner's Moon uses the ayanamsa of their own birth moment, so the MD/AD dates are identical to /v1/dasha/vimshottari for each partner.

Births: `boy.date`, `boy.time`, `boy.tz` and the same with `girl.`. marriage_windows=true also needs `boy.lat`/`boy.lon` and `girl.lat`/`girl.lon` (for the lagna). The check moment is now unless you pass `date` (with `time`, `tz`); the timeline starts at `from`, else that moment.

Request

All requests require an Authorization header with your dv_live_* API key.

example request
curl "https://api.lifeastroapi.com/v1/milan/dasha-sync?boy.date=1990-01-15&boy.tz=Asia%2FKolkata&girl.date=1992-03-20&girl.tz=Asia%2FKolkata&boy.lat=19.076&boy.lon=72.8777&girl.lat=28.6139&girl.lon=77.209&boy.time=10%3A30&girl.time=08%3A15&marriage_windows=true&from=2027-01-15&years=3" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

Checked against the API: a parameter is marked required when the request fails without it.

NameRequiredExampleDescription
boy.dateyes1990-01-15Boy's birth date (YYYY-MM-DD).
boy.tzyesAsia/KolkataBoy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
girl.dateyes1992-03-20Girl's birth date (YYYY-MM-DD).
girl.tzyesAsia/KolkataGirl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
boy.latyes19.076Boy's birth place latitude in decimal degrees.
boy.lonyes72.8777Boy's birth place longitude in decimal degrees.
girl.latyes28.6139Girl's birth place latitude in decimal degrees.
girl.lonyes77.209Girl's birth place longitude in decimal degrees.
boy.timeno10:30Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00.
girl.timeno08:15Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00.
marriage_windowsnotrueAdd the D-MarriageWindows1 tag to every timeline interval (implies timeline=true; needs boy.lat/lon and girl.lat/lon). Default false.
fromno2027-01-15Timeline start YYYY-MM-DD (local midnight in tz). Defaults to the date= moment, else now.
yearsno3Timeline span in calendar years. Default 10, max 30.
person1.dateno—
person1.tzno—
person2.dateno—
person2.tzno—
ayanamsano—Ayanamsa (sidereal offset) to use. Defaults to lahiri.
timelineno—Add the aligned MD/AD timeline of both partners. Default false.
langno—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.

Response (200 OK)

The real response to the example request above, generated from the API itself. Long arrays are trimmed to their first two items. Field names are stable across versions.

200 response
{
  "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": {}
  }
}

Field reference

Every field in the response, with its type, a real example, and what it means.

FieldTypeMeaning
boy_current_md, girl_current_mdstring
Lord of the Vimshottari Maha Dasha each partner is running at the check moment.
example: "Rahu", "Jupiter"
boy_md_end_jd, girl_md_end_jdnumber
End of each running Maha Dasha as a Julian Day (UT).
example: 2466464.719622, 2463509.559176
overlapboolean
Whether the two running Maha Dasha windows intersect. Both contain the check moment, so this is true whenever the moment falls inside both 120-year cycles.
example: true
notestring
Fixed explanatory text.
example: "MDs overlap if their windows intersect at the current moment"
timelineobject (optional)
With timeline=true or marriage_windows=true: both partners' Maha and Antar Dashas on one aligned timeline from `from` for `years` (default 10, max 30).
example: { "system": "vimshottari", "tz": "Asia/Kolkata", "from_local": "2027-01-15T00:00:00+05:30", "years": 3, "intervals": [ … ] }
timeline.intervals[]array
One item per span in which the pair of running Antar Dashas stays the same (*_local + *_jd).
example: [{ "start_local": "2027-01-15T00:00:00+05:30", "end_local": "2027-04-17T14:07:13+05:30", "boy": { … }, "girl": { … }, "tag": { … } }]
timeline.intervals[].boy, .girlobject
Each partner's md and ad (planet ids) and the running AD's full start and end.
example: { "md": "rahu", "ad": "jupiter", "ad_start_local": "2025-07-20T02:58:15+05:30", "ad_end_local": "2027-12-13T17:22:15+05:30", … }
timeline.marriage_rule, intervals[].tagstring, object
With marriage_windows=true: favourable, neutral or avoid per partner and for the pair, with reason ids.
example: "D-MarriageWindows1", { "marriage": "favourable", "reason": ["boy.ad.jupiter", "girl.ad_lord_of_7"], "boy": "favourable", "girl": "favourable" }
Jyotish: Per partner: AD lord Rahu or Ketu → avoid; AD lord is the 7th lord, Venus or Jupiter, or occupies or aspects the 7th house → favourable; AD lord rules the 6th, 8th or 12th → avoid; else neutral. Pair: avoid if either is avoid; favourable if both are favourable or one favourable and the other neutral. Basis: Phaladeepika 20.8, BPHS 48.4–48.7, BPHS 32.34 and 18.18; Jupiter and the Rahu/Ketu rule are marriage-timing conventions.
timeline.skippedobject
Fields that could not be computed, as {field: reason}.
example: {}

Usage tips

How to use it

  • Marriage timing view
    Call with marriage_windows=true&years=5 and draw the intervals as a band coloured by tag.marriage. Show tag.reason so users see why a span is marked.
  • Check a wedding date
    Pass the planned date as date, time and tz (unprefixed) to get the Maha Dashas running on that day.
  • Then pick the day
    Inside a favourable span, use /v1/muhurta/best-time with purpose=vivah to choose the date.

Errors

Every error follows the same envelope. Use the error.code field (not the message) for conditional logic in your integration.

401 Unauthorized

{
  "error": {
    "code": "unauthorized",
    "message": "unknown or revoked API key",
    "request_id": "52a520f261d3db37"
  }
}

402 Payment Required

{
  "error": {
    "code": "daily_cap_exceeded",
    "message": "free-plan daily limit reached — try again tomorrow or upgrade to a paid plan",
    "request_id": "52a520f261d3db37"
  }
}

429 Too Many Requests

{
  "error": {
    "code": "rate_limited",
    "message": "rate limit exceeded — retry after 12 seconds",
    "request_id": "52a520f261d3db37"
  }
}

Try it

Get a dv_live_* key from your dashboard and paste into the cURL snippet above. New accounts get 7,500 welcome credits plus 1,500 free credits a month. Sign up.