Detect the language of the given text. The API returns a list of languages and their confidence scores. The confidence score is a value between 0 and 1, where 1 means the language was detected with 100% confidence. The API supports text in 22 languages.
[
{
"language": "de",
"confidence": 0.34
},
{
"language": "et",
"confidence": 0.22
},
{
"language": "fi",
"confidence": 0.13
},
{
"language": "sv",
"confidence": 0.11
},
{
"language": "it",
"confidence": 0.11
},
{
"language": "es",
"confidence": 0.05
},
{
"language": "pt",
"confidence": 0.03
},
{
"language": "lt",
"confidence": 0.01
}
]
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}