Business Muhurta API with Wix

Integrate Business Muhurta API in Wix. Complete code examples and SDK documentation.

Operation

POST /v2/astrology/business-muhurta

Abhijit, Brahma, Durmuhurta, Gulika, Rahu Kaal and Yamaghanta periods with sunrise and sunset for the day and place.

Send datetime (or date with time) together with latitude and longitude, or send an empty object: with no birth fields the current moment in New Delhi is used. Sending some birth fields without the rest returns 400.

Parameters

NameInTypeDescription
datetimebodystringDate and time the calculation is for, in ISO 8601, for example 1990-05-15T10:30:00+05:30. Send this, or date with time.
datebodystringDate as YYYY-MM-DD. Used when datetime is not sent.
timebodystringTime as HH:MM, used with date. Defaults to 12:00 when omitted.
latitudebodynumberLatitude of the place in decimal degrees, -90 to 90. Alias lat. Send it together with longitude.
longitudebodynumberLongitude of the place in decimal degrees, -180 to 180. Aliases lon, lng, long. Send it together with latitude.
timezonebodystringIANA zone name or UTC offset such as +05:30. Inferred from the coordinates when omitted.

Request example for Wix

Call the API with backend code that can send an HTTP request (Velo backend code, or your own backend). Set these fields:

{
  "datetime": "1990-05-15T10:30:00+05:30",
  "latitude": 28.6139,
  "longitude": 77.209,
  "timezone": "Asia/Kolkata"
}

Store the key in the tool's credential or secret field, not in the body or in a shared template.

Wix runs page scripts in the visitor's browser, so do not put the API key in a page script. Send the request from a server-side step and let the page read the result.

Try it in the keyless sandbox

The sandbox mirrors the production route and needs no API key:

curl -X POST https://api.vedika.io/sandbox/astrology/business-muhurta \
  -H "Content-Type: application/json" \
  -d '{"datetime":"1990-05-15T10:30:00+05:30","latitude":28.6139,"longitude":77.209,"timezone":"Asia/Kolkata"}'

Sandbox response from POST /sandbox/astrology/business-muhurta, abridged (billing block, long text fields and long lists trimmed). The sandbox answers with a fixed demo result and ignores your inputs; a production call computes the result for the details you send.

{
  "data": {
    "avoid": {
      "nakshatras": [
        "Bharani",
        "Krittika"
      ],
      "periods": [
        "Pitru Paksha",
        "Kharmas (Sun in Sagittarius or Pisces)"
      ],
      "tithis": [
        "Chaturthi",
        "Navami"
      ],
      "weekdays": [
        "Tuesday",
        "Saturday"
      ],
      "windows": [
        {
          "durationMinutes": 41.5,
          "end": "1995-01-01T06:33:47Z",
          "localEnd": "12:03",
          "localStart": "11:22",
          "name": "Durmuhurta (first)",
          "start": "1995-01-01T05:52:20Z"
        },
        {
          "durationMinutes": 77.7,
          "end": "1995-01-01T08:12:15Z",
          "localEnd": "13:42",
          "localStart": "12:24",
          "name": "Yamaghanta",
          "start": "1995-01-01T06:54:31Z"
        }
      ]
    },
    "bestWindows": [],
    "date": "1995-01-01",
    "event": {
      "matter": "opening a new business or commercial venture",
      "name": "Business Opening (Vyapara Arambha)",
      "slug": "business"
    },
    "favourable": [
      {
        "effect": "supports",
        "factor": "karana",
        "reason": "The karana is Naga, not Vishti (Bhadra).",
        "value": "Naga"
      },
      {
        "effect": "raises the score",
        "factor": "yoga",
        "reason": "The Dhruva yoga is auspicious.",
        "value": "Dhruva"
      }
    ],
    "method": "Commerce favours the swift (Kshipra), soft and fixed nakshatras and the Mercury, Jupiter and Venus weekdays.",
    "notes": [
      "Auspicious and inauspicious are labels from the Muhurta tradition. This is a rule-table reading of the panchang, not a prediction or a guarantee. Regional and family customs differ, so confirm the final date with your priest."
    ],
    "place": {
      "latitude": 28.6139,
      "longitude": 77.209,
      "timezone": "Asia/Kolkata"
    },
    "rating": "avoid",
    "referenceTime": "1995-01-01T06:30:00Z",
    "score": 0,
    "suitable": false,
    "unfavourable": [
      {
        "effect": "bars the day",
        "factor": "nakshatra",
        "reason": "The Moon is in Purva Ashadha, which is not on the favoured nakshatra list for Business Opening.",
        "value": "Purva Ashadha"
      },
      {
        "effect": "bars the day",
        "factor": "tithi",
        "reason": "The tithi is Amavasya (new Moon day), which is barred.",
        "value": "Amavasya"
      }
    ],
    "weekday": "Sunday",
    "windowsNote": "No window is offered: the day does not meet the rules for this event at local midday."
  },
  "meta": {
    "contentMode": "fixture",
    "engine": "vedika-intelligence",
    "fixtureId": "demo-birth-1995-new-delhi",
    "inputUsage": "ignored",
    "mode": "sandbox",
    "sample": true,
    "version": "2.1.0"
  },
  "success": true
}

Related

Last updated: 22 November 2026

Start 14-day trial