# Term dictionary

`GET https://api.astroway.info/v1/reference/terms`

Names of closed sets (signs, planets, aspects, Moon phases, elements, modalities, Chinese signs and solar terms) in every language we write texts in, the same table our horoscopes and reports substitute. Nominative forms only. Pass ?lang= for one language.

Group: Reference. Auth: none, this endpoint answers without a key. Operation ID: `reference_terms_get`.

## Parameters

| Name | In | Required | Type | Description |
|---|---|---|---|---|
| `lang` | query | no | string | One language. Without it every language comes back, keyed by code. An unknown code is a 400 listing the codes we carry. |
| `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 |
|---|---|---|---|
| `lang` | string | no |  |
| `count` | number | no |  |
| `terms` | object | no |  |
| `terms.sign.aries` | string | no |  |
| `terms.planet.moon` | string | no |  |
| `terms.phase.fullMoon` | string | no |  |

## Example

```bash
curl -X GET https://api.astroway.info/v1/reference/terms \
  -H "Content-Type: application/json"
```

---

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