# Remedies for one graha

`GET https://api.astroway.info/v1/vedic/remedies/by-graha`

Remedies of one graha (`graha`: sun, moon, mars, mercury, jupiter, venus, saturn, rahu, ketu): the Vedic mantra with its BPHS japa count, the beeja mantra, the graha shanti (image material, contemplation, samidh, food), dakshina, colour and weekday, rudraksha mukhi, yantra, fasting day, and links to the gemstone and Lal Kitab routes. `doshas` lists the doshas that draw on this graha. Optional `type` filter.

Group: Vedic. Auth: `X-Api-Key` header. Operation ID: `vedic_remedies_by-graha_get`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `graha` | query | yes | "sun" \| "moon" \| "mars" \| "mercury" \| "jupiter" \| "venus" \| "saturn" \| "rahu" \| … | The graha, lowercase English name. |
| `type` | query | no | string | Remedy type, or a comma list of them: mantra, puja, deity, yantra, rudraksha, fasting, charity, colour, gemstone, lal-kitab. All types when omitted. |
| `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. |

## Responses

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

### Success fields, under `data`

| Field | Type | Required | Description |
|---|---|---|---|
| `graha` | string | no |  |
| `grahaId` | number | no |  |
| `name` | string | no |  |
| `sanskrit` | string | no |  |
| `remedies` | object[] | no |  |
| `doshas` | string[] | no |  |
| `basisNote` | string | no |  |
| `disclaimer` | string | no |  |

## Example

```bash
curl -X GET https://api.astroway.info/v1/vedic/remedies/by-graha?graha=saturn \
  -H "X-Api-Key: aw_live_..." \
  -H "Content-Type: application/json"
```

---

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