Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

IBM Language Translator Translation API

Operations for translating text

IBM Language Translator Translation API is one of 4 APIs that IBM Language Translator publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Translation. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a GitHub repository, and pricing.

This API exposes 2 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version 3.0.0.

Requests are made against 7 base URLs: https://api.us-south.language-translator.watson.cloud.ibm.com, https://api.us-east.language-translator.watson.cloud.ibm.com, https://api.eu-de.language-translator.watson.cloud.ibm.com, https://api.eu-gb.language-translator.watson.cloud.ibm.com, https://api.au-syd.language-translator.watson.cloud.ibm.com, https://api.jp-tok.language-translator.watson.cloud.ibm.com, https://api.kr-seo.language-translator.watson.cloud.ibm.com.

2 operations 2 paths 6 schemas 2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
3.0.0
Base URL
https://api.us-south.language-translator.watson.cloud.ibm.com
Authentication
HTTP Bearer
Contact
License
Resource Areas
1

Authentication & Security 1

IBM Language Translator Translation API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (BearerAuth). By default, every request must be authenticated.

  • BearerAuth — IBM Cloud IAM token authentication

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.

Translation 2

Operations for translating text

POST
/v3/translate
Translate
translate 1 param body → 200400401403404500
POST
/v3/identify
Identify language
identify 1 param body → 200400401500

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are TranslationResult (5 properties), TranslateRequest (4 properties), ErrorResponse (3 properties), IdentifiedLanguage (2 properties). Each schema is shown below with its type and property counts.

IdentifiedLanguage
object
IdentifiedLanguage is the language and confidence score.
2 properties
IdentifiedLanguages
object
IdentifiedLanguages is the list of identified languages.
1 property
Translation
object
Translation represents the translation result.
1 property
TranslationResult
object
TranslationResult is the result returned from a call to the translate a list of strings.
5 properties
TranslateRequest
object
The request body for translate calls.
4 properties 1 required
ErrorResponse
object
Error response object.
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ibm-translate-translation-api-openapi.yml Raw ↑

Other APIs IBM Language Translator publishes across the network.

IBM Language Translator Documents API
IBM Language Translator Languages API
IBM Language Translator Models API