API Reference / Vedic Astrology / Matchmaking (Milan)
/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.
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.
Request
All requests require an Authorization header with your dv_live_* API key.
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.
| Name | Required | Example | Description |
|---|---|---|---|
boy.date | yes | 1990-01-15 | Boy's birth date (YYYY-MM-DD). |
boy.tz | yes | Asia/Kolkata | Boy's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
girl.date | yes | 1992-03-20 | Girl's birth date (YYYY-MM-DD). |
girl.tz | yes | Asia/Kolkata | Girl's birth place timezone: IANA name (Asia/Kolkata) or UTC offset (+05:30). |
boy.lat | yes | 19.076 | Boy's birth place latitude in decimal degrees. |
boy.lon | yes | 72.8777 | Boy's birth place longitude in decimal degrees. |
girl.lat | yes | 28.6139 | Girl's birth place latitude in decimal degrees. |
girl.lon | yes | 77.209 | Girl's birth place longitude in decimal degrees. |
boy.time | no | 10:30 | Boy's birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
girl.time | no | 08:15 | Girl's birth time (HH:MM, 24-hour, local). Defaults to 12:00. |
marriage_windows | no | true | Add the D-MarriageWindows1 tag to every timeline interval (implies timeline=true; needs boy.lat/lon and girl.lat/lon). Default false. |
from | no | 2027-01-15 | Timeline start YYYY-MM-DD (local midnight in tz). Defaults to the date= moment, else now. |
years | no | 3 | Timeline span in calendar years. Default 10, max 30. |
person1.date | no | — | |
person1.tz | no | — | |
person2.date | no | — | |
person2.tz | no | — | |
ayanamsa | no | — | Ayanamsa (sidereal offset) to use. Defaults to lahiri. |
timeline | no | — | Add the aligned MD/AD timeline of both partners. Default false. |
lang | no | — | 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.
{
"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.
| Field | Type | Meaning |
|---|---|---|
| boy_current_md, girl_current_md | string | Lord of the Vimshottari Maha Dasha each partner is running at the check moment. example: "Rahu", "Jupiter" |
| boy_md_end_jd, girl_md_end_jd | number | End of each running Maha Dasha as a Julian Day (UT). example: 2466464.719622, 2463509.559176 |
| overlap | boolean | 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 |
| note | string | Fixed explanatory text. example: "MDs overlap if their windows intersect at the current moment" |
| timeline | object (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, .girl | object | 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[].tag | string, 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.skipped | object | Fields that could not be computed, as {field: reason}. example: {} |
Usage tips
How to use it
- Marriage timing viewCall 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 datePass the planned date as date, time and tz (unprefixed) to get the Maha Dashas running on that day.
- Then pick the dayInside 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.