# Muhurat: Name change

`POST https://api.astroway.info/v1/vedic/muhurat/name-change`

Auspicious-window scanner for legal or sacramental name change (uses Namkaran-derived rules with widened tithi set). Preferred nakshatras: Hasta/Chitra/Swati/Pushya/Anuradha/Revati/U.Phalguni/U.Ashadha/U.Bhadrapada.

Group: Vedic. Auth: `X-Api-Key` header. Operation ID: `vedic_muhurat_name-change`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `fields` | query | no | string | Comma-separated dotted paths, relative to `data`, to keep in the response. A path is applied to every element of an array, so `planets.name` means the name of each planet. Paths that match nothing come back in `_fields_unmatched`; a list where nothing matches at all is a 400, because an empty object would be a confident wrong answer. |
| `precision` | query | no | integer | Round every non-integer number in the response to this many decimal places. Integers are left alone, because an id is not a measurement. Ecliptic longitudes ship with fourteen decimals by default; 2 is about a tenth of an arcminute. |

## Request body

| Field | Type | Required | Description |
|---|---|---|---|
| `search_window_start` | string | yes |  |
| `search_window_end` | string | no |  |
| `latitude` | number | no |  |
| `longitude` | number | no |  |
| `timezoneOffset` | number | no | Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. |
| `ayanamsaId` | number | no |  |
| `ayanamsa` | "fagan-bradley" \| "lahiri" \| "de-luce" \| "raman" \| "krishnamurti" \| "kp" \| "yukteshwar" \| "jn-bhasin" \| … | no | Sidereal school by name. Lahiri when omitted. Equivalent to ayanamsaId; send either. |
| `topN` | integer | no |  |

```json
{
  "search_window_start": "2026-05-15",
  "search_window_end": "2026-05-31",
  "latitude": 28.61,
  "longitude": 77.21,
  "timezoneOffset": 5.5
}
```

## Responses

| Status | Meaning |
|---|---|
| 200 | Successful calculation |
| 400 | Validation error |
| 401 | Missing or invalid API key |

### Success fields, under `data`

| Field | Type | Required | Description |
|---|---|---|---|
| `activity` | string | no |  |
| `search_window` | object | no |  |
| `search_window.start` | string | no |  |
| `search_window.end` | string | no |  |
| `search_window.daysScanned` | number | no |  |
| `location` | object | no |  |
| `location.latitude` | number | no |  |
| `location.longitude` | number | no |  |
| `location.timezoneOffset` | number | no |  |
| `ayanamsa` | number | no |  |
| `auspiciousWindows` | object[] | no |  |
| `nextAuspiciousWindow` | string | no |  |

## Example

```bash
curl -X POST https://api.astroway.info/v1/vedic/muhurat/name-change \
  -H "X-Api-Key: aw_live_..." \
  -H "Content-Type: application/json" \
  -d '{ "search_window_start": "2026-05-15", "search_window_end": "2026-05-31", "latitude": 28.61, "longitude": 77.21, "timezoneOffset": 5.5 }'
```

---

Rendered from https://api.astroway.info/v1/openapi.json. HTML page: https://api.astroway.info/docs/api/operations/vedic_muhurat_name-change/
