TranslationResult

The result returned from a call to translate a list of strings using IBM Watson Language Translator V3.

TranslationNatural Language ProcessingMachine TranslationIBM WatsonArtificial IntelligenceText AnalysisDeprecated

Properties

Name Type Description
word_count integer Number of words in the input text.
character_count integer Number of characters in the input text.
detected_language string The language code of the source text if the source language was automatically detected. Omitted if source language was explicitly provided.
detected_language_confidence number A score between 0 and 1 indicating the confidence of source language detection. Present only when the service detects the source language automatically.
translations array List of translation outputs in UTF-8 encoding, corresponding to the input text entries.
View JSON Schema on GitHub

JSON Schema

translation-result.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ibm-translate/main/json-schema/translation-result.json",
  "title": "TranslationResult",
  "description": "The result returned from a call to translate a list of strings using IBM Watson Language Translator V3.",
  "type": "object",
  "properties": {
    "word_count": {
      "type": "integer",
      "description": "Number of words in the input text.",
      "minimum": 0,
      "example": 2
    },
    "character_count": {
      "type": "integer",
      "description": "Number of characters in the input text.",
      "minimum": 0,
      "example": 13
    },
    "detected_language": {
      "type": "string",
      "description": "The language code of the source text if the source language was automatically detected. Omitted if source language was explicitly provided.",
      "example": "en"
    },
    "detected_language_confidence": {
      "type": "number",
      "description": "A score between 0 and 1 indicating the confidence of source language detection. Present only when the service detects the source language automatically.",
      "minimum": 0,
      "maximum": 1,
      "example": 0.998
    },
    "translations": {
      "type": "array",
      "description": "List of translation outputs in UTF-8 encoding, corresponding to the input text entries.",
      "items": {
        "type": "object",
        "properties": {
          "translation": {
            "type": "string",
            "description": "Translation output in UTF-8 encoding.",
            "example": "Hola, mundo!"
          }
        },
        "required": ["translation"]
      }
    }
  },
  "required": ["word_count", "character_count", "translations"]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/translation-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.