LifeAstroAPILifeAstroAPI

API Reference / Vedic Astrology / Muhurta

GET
20 credits

/v1/muhurta/naamkaran

Baby-naming muhurta.

Try it in the Playground

What this tells you

Scores one proposed naming-ceremony (Naamkaran) date and time. It checks that the ceremony is at least 10 days after birth, the Moon nakshatra, Rahu Kaal and the weekday, and returns a 0–100 score with a grade. It does not suggest name syllables.

Params: date, time, tz, lat, lon and birth_date (YYYY-MM-DD, required), plus optional ayanamsa.

Request

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

example request
curl "https://api.lifeastroapi.com/v1/muhurta/naamkaran?date=2027-01-15&tz=Asia%2FKolkata&lat=28.6139&lon=77.209&birth_date=2026-03-01&time=10%3A00" \
  -H "Authorization: Bearer YOUR_API_KEY"

Query parameters

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

NameRequiredExampleDescription
dateyes2027-01-15Date (YYYY-MM-DD).
tzyesAsia/KolkataTimezone: IANA name (Asia/Kolkata) or UTC offset (+05:30).
latyes28.6139Latitude in decimal degrees.
lonyes77.209Longitude in decimal degrees.
birth_dateyes2026-03-01Child's birth date (YYYY-MM-DD). Minimum 10 days before ceremony.
timeno10:00Local time (HH:MM, 24-hour). Defaults to 12:00.
ayanamsano—Ayanamsa (sidereal offset) to use. Defaults to lahiri.
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
{
  "date": "2027-01-15",
  "time": "10:00",
  "birth_date": "2026-03-01",
  "lat": 28.6139,
  "lon": 77.209,
  "ayanamsa": "lahiri",
  "days_since_birth": 320.1875,
  "day_number": 321,
  "result": {
    "score": 89,
    "grade": "good",
    "factors": [
      {
        "name": "DaysAfterBirth",
        "value": "day 321",
        "weight": 20,
        "score": 10,
        "ok": false
      },
      {
        "name": "Tithi",
        "value": "Saptami",
        "weight": 12,
        "score": 12,
        "ok": true
      }
    ],
    "warnings": null,
    "is_acceptable": true,
    "prohibited_by": []
  },
  "source": "Muhurta Chintamani, Samskara-prakarana (ch. 5) v. 11, cross-checked with B.V. Raman, Muhurtha p. 58; Bhadra, Vyatipata and Vaidhriti from Shubhashubha-prakarana v. 34-35."
}

Field reference

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

FieldTypeMeaning
date, timestring
Local date and time of the proposed ceremony, echoed from `date` and `time` (time defaults to 12:00).
example: "2027-01-15", "10:00"
birth_datestring
Baby's birth date, echoed from `birth_date`.
example: "2026-03-01"
lat, lonnumber
Location, used for sunrise, sunset and Rahu Kaal.
example: 28.6139, 77.209
ayanamsastring
Ayanamsa used for the Moon nakshatra.
example: "lahiri"
days_since_birthnumber
Days from birth_date 00:00 UTC to the ceremony moment.
example: 320.1875
result.scoreinteger (0–100)
Points earned × 100 / total weight, rounded down.
example: 100
result.gradestring
excellent (90+), good (80–89), acceptable (60–79), inauspicious (below 60).
example: "excellent"
result.is_acceptableboolean
True when score is 60 or more and no classical prohibition applies.
example: true
result.prohibited_bystring[]
Classical prohibitions that apply. No factor of naamkaran is a prohibition, so it is always empty.
example: []
result.factors[]array
The 4 factors checked: DaysAfterBirth, Nakshatra, RahuKaal, Vara.
example: […]
result.factors[].namestring
Factor name.
example: "DaysAfterBirth"
result.factors[].valuestring
Value at the scored moment (day count, nakshatra or weekday). Left out for RahuKaal.
example: "320 days"
result.factors[].weightinteger
Maximum points for the factor: DaysAfterBirth 20, Nakshatra 20, RahuKaal 15, Vara 10 (65 in total).
example: 20
result.factors[].scoreinteger
Points earned, from 0 to weight. A nakshatra outside the list earns 8 of 20.
example: 20
result.factors[].okboolean
True when the factor is auspicious. DaysAfterBirth is true from 10 days after birth.
example: true
result.warningsstring[] | null
Problems found, as plain sentences. null when there are none.
example: null

Usage tips

How to use it

  • Ten-day rule
    If the ceremony is less than 10 days after birth, DaysAfterBirth earns 0 points and a warning is added.
  • Scan a date range
    To find the best slots in a range, call /v1/muhurta/best-time with purpose=naamkaran and birth_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.