---
title: "Translate (astro-aware)"
method: POST
path: "/translate/astro"
tags: ["Content Localization"]
---

# Translate (astro-aware)

`POST /translate/astro`

Translate one text into any of 21 languages with astrology-domain glossary pinning. Source defaults to English; pass source_lang to override. Credits: 15 + ceil(chars/40). Max 3000 chars.

## Request body

- object

## Response `200`

Successful calculation

- object
  - `ok` boolean
  - `data` object
    - `translated` string, nullable
    - `source_lang` string, nullable
    - `target_lang` string, nullable
    - `domain` string, nullable
    - `provider` string, nullable
    - `chars` number, nullable
    - `credits` number, nullable

## Other responses

- `400` — Validation error
- `401` — Missing or invalid API key

---

[API](https://skmtc.dev/astroway/apis/astroway-calculation-api.md) · [All operations](https://skmtc.dev/astroway/apis/astroway-calculation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/astroway/apis/astroway-calculation-api/revisions/793e5c2dbcdf?raw)
