---
title: "Estimate Translation"
method: POST
path: "/v1/projects/{project_id}/translations/estimate"
tags: ["translation"]
---

# Estimate Translation

`POST /v1/projects/{project_id}/translations/estimate`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/projects/{project_id}/translations/estimate`
- Auth: none declared

## Path parameters

- `project_id` string, required

## Request body

- AppRoutesTranslateEstimateIn
  - `tier` 'standard' | 'premium', required
  - `language_codes` string[], required: Target BCP-47 codes
  - `namespace_uuid` string, nullable
  - `key_uuids` string[], nullable: Restrict to these keys

## Response `200`

Successful Response

- EstimateOut
  - `tier` 'standard' | 'premium', required
  - `units` integer, required
  - `credit_cost_per_unit` integer, required
  - `credits_required` integer, required
  - `balance` integer, required
  - `sufficient` boolean, required
  - `on_demand_credit_price_cents` number

## Other responses

- `422`: Validation Error

---

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