# Wedding date and muhurta search for planners

> A wedding-planning product has to turn "find us a good date" into a shortlist a family will accept. That needs the couple's match, each partner's personal filters from their own Moon, and the day's panchang and windows at the venue - then a final check of the exact ceremony time, which is where most date pickers stop one step short.

Source: https://astronode.dev/use-cases/wedding-muhurta · Updated: 2026-12-02

**Plan needed:** Plan: **Hobby** covers the whole flow (Gun Milan, Tara/Chandra Bala, Chandrashtama and the muhurta windows are Hobby; panchang, Mangal dosha and birth details are Free). A Free key gets `403 PLAN_REQUIRED` from `/v1/compatibility`, and refusals are not billed.

## The mistake that bites first: The panchang's nakshatra is the sunrise one, not the ceremony's

`/v1/panchang` reports tithi with `start` and `end`, but `nakshatra` is the Moon's nakshatra **at sunrise** and carries no end time. The Moon changes nakshatra roughly once a day, so evening pheras often fall under the next one. In New Delhi on 23 February 2027 the panchang says Uttara Phalguni; `/v1/birth-details` for 20:30 that evening says Hasta. For a bride born under Ashlesha, her `/v1/strength/tara-bala` table marks Uttara Phalguni Kshema (Good) and Hasta Pratyari (Bad) - the same date passes at breakfast and fails at the ceremony. Re-check the shortlisted slot at its real start time.

## 1. Settle the match before the calendar

Planners are usually handed a couple who are already engaged, but families still ask for the score, and a Mangal dosha conversation is easier before dates are on the table than after.

- [`POST /v1/compatibility`](https://astronode.dev/capabilities/compatibility/compatibility) - 36-point Gun Milan for the pair; pass `genders` so the directional koots slot the right way round.
- [`POST /v1/dosha/mangal`](https://astronode.dev/capabilities/vedic/dosha-mangal) - Per partner, with the cancellation reasoning families will ask about.

## 2. Each partner's personal filters - computed once

These are lookup tables keyed by each person's natal Moon, not calendars. Fetch them once per partner at onboarding and store them; every candidate day is then a join, not another call.

- [`POST /v1/strength/tara-bala`](https://astronode.dev/capabilities/vedic/strength-tara-bala) - All 27 nakshatras rated Good / Bad / Neutral from this partner's birth star - join with the day's nakshatra.
- [`POST /v1/strength/chandra-bala`](https://astronode.dev/capabilities/vedic/strength-chandra-bala) - All 12 signs rated by house from the natal Moon - join with the transiting Moon's sign.
- [`POST /v1/chandrashtama-periods`](https://astronode.dev/capabilities/vedic/chandrashtama-periods) - Up to 13 upcoming ~2-day windows when the Moon transits 8th from this partner's Moon. Pass `anchor_date`, or the windows start from the server's today.

## 3. Walk the candidate days

There is no range endpoint: each muhurta route takes one `date` and rejects anything else (`end_date` is a `400 VALIDATION_ERROR`). A 90-day search is 90 calls per endpoint, so cache by venue and date - every couple marrying in the same city shares them.

- [`POST /v1/panchang`](https://astronode.dev/capabilities/vedic/panchang) - Tithi (with start and end), sunrise nakshatra, yoga and karana at the venue's coordinates.
- [`POST /v1/muhurta/inauspicious`](https://astronode.dev/capabilities/vedic/muhurta-inauspicious) - Rahu Kaal, Yamaganda and Gulika to subtract from the day.
- [`POST /v1/muhurta/auspicious`](https://astronode.dev/capabilities/vedic/muhurta-auspicious) - Abhijit, Brahma Muhurat and Amrit Kaal as candidate ceremony windows.
- [`POST /v1/gowri-nalla-neram`](https://astronode.dev/capabilities/vedic/gowri-nalla-neram) - The Tamil-tradition day table, for South-Indian weddings that read Gowri rather than choghadiya.

## 4. Confirm the exact slot

Treat the proposed ceremony start like a birth moment: date, time and venue in, the Moon's nakshatra and pada and the rising sign at that instant out. Then compare the Chandrashtama windows as instants, not dates - they are UTC timestamps that begin and end mid-day.

- [`POST /v1/birth-details`](https://astronode.dev/capabilities/vedic/birth-details) - Nakshatra, pada and ascendant at the ceremony time - the check the sunrise panchang cannot give you.

## Quick answers

**Which endpoints does a wedding planning & muhurta build use?**

10 endpoints across 4 stages: Kundli Matching (Ashtakoot Gun Milan) (`POST /v1/compatibility`); Mangal Dosha (Manglik) (`POST /v1/dosha/mangal`); Tara Bala (`POST /v1/strength/tara-bala`); Chandra Bala (`POST /v1/strength/chandra-bala`); Chandrashtama Periods (`POST /v1/chandrashtama-periods`); Panchang (`POST /v1/panchang`); Rahu Kaal, Yamaganda and Gulika (`POST /v1/muhurta/inauspicious`); Auspicious Muhurta (Abhijit, Amrit Kaal) (`POST /v1/muhurta/auspicious`); Gowri Nalla Neram (`POST /v1/gowri-nalla-neram`); Birth Details (Rashi, Nakshatra, Lagna) (`POST /v1/birth-details`).

**Which plan does it need?**

Plan: **Hobby** covers the whole flow (Gun Milan, Tara/Chandra Bala, Chandrashtama and the muhurta windows are Hobby; panchang, Mangal dosha and birth details are Free). A Free key gets `403 PLAN_REQUIRED` from `/v1/compatibility`, and refusals are not billed.

**What goes wrong first?**

The panchang's nakshatra is the sunrise one, not the ceremony's. `/v1/panchang` reports tithi with `start` and `end`, but `nakshatra` is the Moon's nakshatra **at sunrise** and carries no end time. The Moon changes nakshatra roughly once a day, so evening pheras often fall under the next one. In New Delhi on 23 February 2027 the panchang says Uttara Phalguni; `/v1/birth-details` for 20:30 that evening says Hasta. For a bride born under Ashlesha, her `/v1/strength/tara-bala` table marks Uttara Phalguni Kshema (Good) and Hasta Pratyari (Bad) - the same date passes at breakfast and fails at the ceremony. Re-check the shortlisted slot at its real start time.

## Go deeper

- [Recipe: search muhurta windows across a date range](https://astronode.dev/recipes/muhurta-search-date-range)
- [Recipe: a Gun Milan score widget](https://astronode.dev/recipes/gun-milan-score-widget)
- [Guide: how muhurta windows are computed](https://astronode.dev/guides/muhurta-time-windows)
- [Guide: Ashtakoot scoring and cancellations](https://astronode.dev/guides/ashtakoot-gun-milan-scoring)
- [Tool: plan a 90-day search against your rate limit](https://astronode.dev/tools/rate-limit-planner)
