---
title: Basic Language Detection API
slug: basic-detect-language
url: https://apyhub.com/dosvak/service/basic-detect-language
provider: Dosvak LLC
tags: [language-detection, nlp, text-classification, multilingual, content-analysis]
auth: api_key
---

# Basic Language Detection API

What it does Language Detection identifies the language of text you send in q and returns the detected language with a confidence score. It works with a single string or an array of strings, so you can classify one snippet or batch multiple texts in one request. Use Language Detection when you need…

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| GET | `` | What it does Returns a JSON array of supported language objects for the requested target. Each arra… | 10 |
| POST | `` | What it does Detects the language for the submitted text in q and returns the detection result as a… | 10 |

## About

## What it does
Language Detection identifies the language of text you send in `q` and returns the detected `language` with a `confidence` score. It works with a single string or an array of strings, so you can classify one snippet or batch multiple texts in one request.

Use Language Detection when you need to route incoming support messages, auto-select translation targets, or sort multilingual content before downstream processing. The response stays compact: each result includes only the detected language label and its confidence value.

Send raw text in `q` and read back the language prediction for each item. If you pass an array, the response is shaped as an array of result arrays, matching the input batch structure.

This is a fit for apps that ingest user-generated content, analytics pipelines that need language grouping, and localization workflows that need a quick language check before translation or moderation.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/basic-detect-language
