# Cloud Translation API API

> Cloud Translation API API on Apizie: 32 endpoints (Detects the language of text within a request., Returns a list of supported languages for translation., Romanize input text written in non-Latin scripts to Latin text., Translates input text and returns translated text., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://www.apizie.tech/v1/analytics:googleapis-translate/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-translate`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/translate/docs/quickstarts
- Page: https://www.apizie.tech/api/analytics/googleapis-translate
- OpenAPI: https://www.apizie.tech/api/analytics/googleapis-translate/openapi.json

Integrates text translation into your website or application.

## Endpoints

### Detects the language of text within a request.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-detect-language` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Project or location to make a call. Must refer to a caller's project. Format:… |
| body | object | yes | JSON request body |

### Returns a list of supported languages for translation.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-get-supported-languages` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| displayLanguageCode | string | no | Optional. The language to use to return localized, human readable names of supported languages. If missing, then display names are not… |
| model | string | no | Optional. Get supported languages of this model. The format depends on model type: - AutoML Translation models:… |
| parent | string | yes | Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or… |

### Romanize input text written in non-Latin scripts to Latin text.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-romanize-text` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Project or location to make a call. Must refer to a caller's project. Format:… |
| body | object | yes | JSON request body |

### Translates input text and returns translated text.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-translate-text` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Project or location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}` or… |
| body | object | yes | JSON request body |

### Translate text using Adaptive MT.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-adaptive-mt-translate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. |
| body | object | yes | JSON request body |

### Translates a large volume of document in asynchronous batch mode. This function provides real-time output as…
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-batch-translate-document` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. The `global` location is… |
| body | object | yes | JSON request body |

### Translates a large volume of text in asynchronous batch mode. This function provides real-time output as the…
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-batch-translate-text` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Location to make a call. Must refer to a caller's project. Format: `projects/{project-number-or-id}/locations/{location-id}`.… |
| body | object | yes | JSON request body |

### Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-operations-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource. |

### Updates a glossary entry.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-glossaries-glossary-entries-pat` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*` |
| body | object | yes | JSON request body |

### Deletes a long-running operation. This method indicates that the client is no longer interested in the…
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-operations-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to be deleted. |

### Lists information about the supported locations for this service. This method lists locations based on the…
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| extraLocationTypes | string | no | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter | string | no | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is… |
| name | string | yes | The resource that owns the locations collection, if applicable. |
| pageSize | integer | no | The maximum number of results to return. If not set, the service selects a default. |
| pageToken | string | no | A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. |

### Refines the input translated text to improve the quality.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-refine-text` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Project or location to make a call. Must refer to a caller's project. Format:… |
| body | object | yes | JSON request body |

### Translates documents in synchronous mode.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-translate-document` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Location to make a regional call. Format: `projects/{project-number-or-id}/locations/{location-id}`. For global calls, use… |
| body | object | yes | JSON request body |

### Lists all Adaptive MT datasets for which the caller has read permission.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-adaptive-mt-datasets-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. An expression for filtering the results of the request. Filter is not supported yet. |
| pageSize | integer | no | Optional. Requested page size. The server may return fewer results than requested. If unspecified, the server picks an appropriate default. |
| pageToken | string | no | Optional. A token identifying a page of results the server should return. Typically, this is the value of… |
| parent | string | yes | Required. The resource name of the project from which to list the Adaptive MT datasets.… |

### Creates an Adaptive MT dataset.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-adaptive-mt-datasets-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}` |
| body | object | yes | JSON request body |

### Imports an AdaptiveMtFile and adds all of its sentences into the AdaptiveMtDataset.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-adaptive-mt-datasets-import-ada` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the file, in form of `projects/{project-number-or-id}/locations/{location_id}/adaptiveMtDatasets/{dataset}` |
| body | object | yes | JSON request body |

### Lists all AdaptiveMtFiles associated to an AdaptiveMtDataset.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-adaptive-mt-datasets-adaptive-m` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. |
| pageToken | string | no | Optional. A token identifying a page of results the server should return. Typically, this is the value of… |
| parent | string | yes | Required. The resource name of the dataset from which to list the Adaptive MT files.… |

### Lists all AdaptiveMtSentences under a given file/dataset.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-adaptive-mt-datasets-adaptive-m-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no |  |
| pageToken | string | no | A token identifying a page of results the server should return. Typically, this is the value of… |
| parent | string | yes | Required. The resource name of the Adaptive MT file from which to list the sentences. The following format lists all sentences under a… |

### Lists datasets.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-datasets-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. Requested page size. The server can return fewer results than requested. |
| pageToken | string | no | Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of… |
| parent | string | yes | Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}` |

### Creates a Dataset.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-datasets-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project name. |
| body | object | yes | JSON request body |

### Exports dataset's data to the provided output location.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-datasets-export-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}` |
| body | object | yes | JSON request body |

### Import sentence pairs into translation Dataset.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-datasets-import-data` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| dataset | string | yes | Required. Name of the dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}` |
| body | object | yes | JSON request body |

### Lists sentence pairs in the dataset.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-datasets-examples-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. An expression for filtering the examples that will be returned. Example filter: * `usage=TRAIN` |
| pageSize | integer | no | Optional. Requested page size. The server can return fewer results than requested. |
| pageToken | string | no | Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of… |
| parent | string | yes | Required. Name of the parent dataset. In form of `projects/{project-number-or-id}/locations/{location-id}/datasets/{dataset-id}` |

### Lists glossaries in a project. Returns NOT_FOUND, if the project doesn't exist.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-glossaries-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. Filter specifying constraints of a list operation. Specify the constraint by the format of "key=value", where key must be "src"… |
| pageSize | integer | no | Optional. Requested page size. The server may return fewer glossaries than requested. If unspecified, the server picks an appropriate… |
| pageToken | string | no | Optional. A token identifying a page of results the server should return. Typically, this is the value of… |
| parent | string | yes | Required. The name of the project from which to list all of the glossaries. |

### Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-glossaries-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project name. |
| body | object | yes | JSON request body |

### List the entries for the glossary.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-glossaries-glossary-entries-lis` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. Requested page size. The server may return fewer glossary entries than requested. If unspecified, the server picks an… |
| pageToken | string | no | Optional. A token identifying a page of results the server should return. Typically, this is the value of… |
| parent | string | yes | Required. The parent glossary resource name for listing the glossary's entries. |

### Creates a glossary entry.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-glossaries-glossary-entries-cre` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The resource name of the glossary to create the entry under. |
| body | object | yes | JSON request body |

### Lists models.
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-models-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | Optional. An expression for filtering the models that will be returned. Supported filter: `dataset_id=${dataset_id}` |
| pageSize | integer | no | Optional. Requested page size. The server can return fewer results than requested. |
| pageToken | string | no | Optional. A token identifying a page of results for the server to return. Typically obtained from next_page_token field in the response of… |
| parent | string | yes | Required. Name of the parent project. In form of `projects/{project-number-or-id}/locations/{location-id}` |

### Creates a Model.
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-models-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project name, in form of `projects/{project}/locations/{location}` |
| body | object | yes | JSON request body |

### Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the…
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-operations-cancel` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to be cancelled. |
| body | object | yes | JSON request body |

### Lists operations that match the specified filter in the request. If the server doesn't support this method,…
`GET https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-operations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | The standard list filter. |
| name | string | yes | The name of the operation's parent resource. |
| pageSize | integer | no | The standard list page size. |
| pageToken | string | no | The standard list page token. |
| returnPartialSuccess | boolean | no | When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the… |

### Waits until the specified long-running operation is done or reaches at most a specified timeout, returning…
`POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-operations-wait` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource to wait on. |
| body | object | yes | JSON request body |

## Example
```
curl "https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-detect-language" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Cloud Translation API API?
Create a free Apizie key, then send POST https://www.apizie.tech/v1/analytics:googleapis-translate/translate-projects-locations-detect-language with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Cloud Translation API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Cloud Translation API itself also needs your own key from googleapis.com.

### Can AI agents use the Cloud Translation API API?
Yes. Add the Apizie MCP server (https://www.apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-translate.

### What is the status of the Cloud Translation API API?
Needs your own provider key (bring your own key)
