Skip to content
BestAstroAPI

Panchang & timing

Muhurta finder

POST/v1/muhurta/find

Finds and scores auspicious windows for an activity over a date range.

  • Costs one call for every started 10 days searched.
  • Windows are clear of Rahu Kaal, Yamaganda, Gulika, Durmuhurta, Varjyam and Bhadra.
  • Lagna-specific checks, Kharmas, and Guru or Shukra asta are not applied.
  • Check these yourself before you use a window.
  • Pass birth to personalise with tarabala and chandrabala.
  • weekday is the vara, the Vedic day from sunrise to sunrise.
  • A window before sunrise belongs to the previous vara: 03:04 on Saturday 12 December is still Friday.
  • Show the date from start, and label weekday as the vara.

Request

FieldTypeDescription
purposestringrequiredPurpose id from /v1/muhurta/purposes, e.g. marriage, griha_pravesh
fromstringrequiredFirst date, YYYY-MM-DD
daysintegerDays to search, 1-90 (default 30)
latnumberLatitude, -90 to 90 (north positive). Send lat, lon and tz, or place, or place_id
lonnumberLongitude, -180 to 180 (east positive)
tzstringIANA zone (Asia/Kolkata) or offset (+05:30). Needed with lat and lon; filled in with a place
placestringPlace name instead of lat, lon and tz, for example Gorakhpur, Uttar Pradesh. If the name is not unique: ambiguous_place with choices
place_idintegerThe id of a place from place search, instead of lat, lon and tz
birthobjectOptional birth object to personalise
ayanamsastringlahiri (default) | raman | krishnamurti
limitintegerBest windows to return, 1-200 (default 20)

Example

curl -X POST "https://api.bestastroapi.in/v1/muhurta/find" \
  -H "x-api-key: $BESTASTRO_KEY" \
  -H "content-type: application/json" \
  -d '{"purpose":"griha_pravesh","from":"2026-12-01","days":30,"lat":28.6139,"lon":77.209,"tz":"Asia/Kolkata","limit":3}'

Try it live

Sends a real request from your browser.

Response

  • [] is a list. {key} is a key that varies.
  • An optional field can be missing. That means it does not apply.
  • Times carry the UTC offset of the place. A time after midnight has the next date.
FieldTypeMeaning
purposeobjectActivity
purpose.idstringPurpose id
purpose.namestringPurpose name
fromstringYYYY-MM-DDFirst date searched
daysintegerDays searched
placeobjectPlace you sent
place.latnumberdegreesLatitude
place.lonnumberdegreesLongitude
place.tzstringZone
place.idintegerId of the place we looked up. Only when you sent place or place_id, like the next two optional
place.namestringIts name optional
place.labelstringIts name with district or state and country optional
personalisedbooleanTrue when you sent a birth
windows_foundintegerWindows found before limit was applied
windowsobject[]The best windows by score, listed by time. Can be empty
windows[].startstringISO 8601Start
windows[].endstringISO 8601End
windows[].duration_minutesnumberminutesLength, at least 30
windows[].scoreinteger0 to 100, higher is better
windows[].tithistringTithi
windows[].pakshastringBright or dark halfShukla | Krishna
windows[].nakshatrastringMoon's nakshatra
windows[].weekdaystringVara, from sunrise to sunrise. Before sunrise it is the previous daySunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday
windows[].reasonsstring[]Why the window scored, in plain words
notestringWhat the rules do not check
Raw sample
200 application/json
{
  "days": 30,
  "from": "2026-12-01",
  "note": "General classical rules per activity. Lagna-specific checks are not applied.",
  "personalised": false,
  "place": {
    "lat": 28.6139,
    "lon": 77.209,
    "tz": "Asia/Kolkata"
  },
  "purpose": {
    "id": "griha_pravesh",
    "name": "House warming (Griha Pravesh)"
  },
  "windows": [
    {
      "duration_minutes": 239,
      "end": "2026-12-12T07:03:54+05:30",
      "nakshatra": "Uttara Ashadha",
      "paksha": "Shukla",
      "reasons": [
        "nakshatra, tithi and weekday suit the activity",
        "clear of Rahu Kaal, Yamaganda, Gulika, Durmuhurta, Varjyam and Bhadra",
        "waxing moon (Shukla paksha)"
      ],
      "score": 65,
      "start": "2026-12-12T03:04:35+05:30",
      "tithi": "Tritiya",
      "weekday": "Friday"
    },
    {
      "duration_minutes": 290,
      "end": "2026-12-19T04:04:18+05:30",
      "nakshatra": "Revati",
      "paksha": "Shukla",
      "reasons": [
        "nakshatra, tithi and weekday suit the activity",
        "clear of Rahu Kaal, Yamaganda, Gulika, Durmuhurta, Varjyam and Bhadra",
        "waxing moon (Shukla paksha)"
      ],
      "score": 65,
      "start": "2026-12-18T23:14:43+05:30",
      "tithi": "Dashami",
      "weekday": "Friday"
    },
    {
      "duration_minutes": 89,
      "end": "2026-12-19T07:08:10+05:30",
      "nakshatra": "Revati",
      "paksha": "Shukla",
      "reasons": [
        "nakshatra, tithi and weekday suit the activity",
        "clear of Rahu Kaal, Yamaganda, Gulika, Durmuhurta, Varjyam and Bhadra",
        "waxing moon (Shukla paksha)"
      ],
      "score": 65,
      "start": "2026-12-19T05:39:30+05:30",
      "tithi": "Dashami",
      "weekday": "Friday"
    }
  ],
  "windows_found": 11
}

Real output for the example request above.

Errors use one format. See error codes. Also in openapi.json.

Welcome! How will you use it?

We'll show you what matters to you. You can switch any time at the top.