Google Cloud Translation Projects API

The Projects API from Google Cloud Translation — 4 operation(s) for projects.

Operations 5

POST /projects/{projectId}/locations/{location}:translateText Google Cloud Translation Translate text #
POST /projects/{projectId}/locations/{location}:detectLanguage Google Cloud Translation Detect language #
GET /projects/{projectId}/locations/{location}/supportedLanguages Google Cloud Translation Get supported languages #
GET /projects/{projectId}/locations/{location}/glossaries Google Cloud Translation List glossaries #
POST /projects/{projectId}/locations/{location}/glossaries Google Cloud Translation Create a glossary #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-cloud-translation-projects-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-cloud-translation-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Cloud Translation Projects API
  description: Dynamically translates text between thousands of language pairs using Google's Neural Machine Translation technology.
  version: v3
  contact:
    name: Google Cloud
    url: https://cloud.google.com/translate
servers:
- url: https://translation.googleapis.com/v3
tags:
- name: Projects
paths:
  /projects/{projectId}/locations/{location}:translateText:
    post:
      operationId: translateText
      summary: Google Cloud Translation Translate text
      description: Translates input text from one language to another.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: location
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TranslateTextRequest'
      responses:
        '200':
          description: Successful translation response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TranslateTextResponse'
      tags:
      - Projects
  /projects/{projectId}/locations/{location}:detectLanguage:
    post:
      operationId: detectLanguage
      summary: Google Cloud Translation Detect language
      description: Detects the language of the provided text.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: location
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DetectLanguageRequest'
      responses:
        '200':
          description: Successful language detection response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetectLanguageResponse'
      tags:
      - Projects
  /projects/{projectId}/locations/{location}/supportedLanguages:
    get:
      operationId: getSupportedLanguages
      summary: Google Cloud Translation Get supported languages
      description: Returns a list of supported languages for translation.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: location
        in: path
        required: true
        schema:
          type: string
      - name: displayLanguageCode
        in: query
        schema:
          type: string
      responses:
        '200':
          description: Successful response with supported languages.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportedLanguages'
      tags:
      - Projects
  /projects/{projectId}/locations/{location}/glossaries:
    get:
      operationId: listGlossaries
      summary: Google Cloud Translation List glossaries
      description: Lists all glossaries for the specified project.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: location
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful response with glossaries list.
          content:
            application/json:
              schema:
                type: object
                properties:
                  glossaries:
                    type: array
                    items:
                      $ref: '#/components/schemas/Glossary'
      tags:
      - Projects
    post:
      operationId: createGlossary
      summary: Google Cloud Translation Create a glossary
      description: Creates a glossary for custom terminology.
      parameters:
      - name: projectId
        in: path
        required: true
        schema:
          type: string
      - name: location
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Glossary'
      responses:
        '200':
          description: Successful glossary creation (long-running operation).
          content:
            application/json:
              schema:
                type: object
      tags:
      - Projects
components:
  schemas:
    SupportedLanguages:
      type: object
      properties:
        languages:
          type: array
          items:
            type: object
            properties:
              languageCode:
                type: string
              displayName:
                type: string
              supportSource:
                type: boolean
              supportTarget:
                type: boolean
    TranslateTextRequest:
      type: object
      required:
      - contents
      - targetLanguageCode
      properties:
        contents:
          type: array
          items:
            type: string
        mimeType:
          type: string
        sourceLanguageCode:
          type: string
        targetLanguageCode:
          type: string
        glossaryConfig:
          type: object
          properties:
            glossary:
              type: string
    DetectLanguageRequest:
      type: object
      properties:
        content:
          type: string
        mimeType:
          type: string
    TranslateTextResponse:
      type: object
      properties:
        translations:
          type: array
          items:
            type: object
            properties:
              translatedText:
                type: string
              detectedLanguageCode:
                type: string
    DetectLanguageResponse:
      type: object
      properties:
        languages:
          type: array
          items:
            type: object
            properties:
              languageCode:
                type: string
              confidence:
                type: number
    Glossary:
      type: object
      properties:
        name:
          type: string
        languagePair:
          type: object
          properties:
            sourceLanguageCode:
              type: string
            targetLanguageCode:
              type: string
        languageCodesSet:
          type: object
          properties:
            languageCodes:
              type: array
              items:
                type: string
        inputConfig:
          type: object
          properties:
            gcsSource:
              type: object
              properties:
                inputUri:
                  type: string