---
title: AI Audio Language Detection API
slug: ai-detect-audio-language
url: https://apyhub.com/apyhub/service/ai-detect-audio-language
provider: ApyHub
categories: [Artificial Intelligence, Audio Processing]
auth: api_key
---

# AI Audio Language Detection API

Detect the spoken language in an audio file or public audio URL. Returns a locale code and confidence score for routing transcription and voice workflows.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/ai/audio/detect/language/file` | What it does Detects the language of an uploaded audio file. The request sends an audio file binary… | 500 |
| POST | `/ai/audio/detect/language/url` | What it does Detects the language of an audio file provided as a publicly accessible URL and return… | 500 |

## About

## What it does
Audio Language Detector identifies the spoken language in an audio file and returns a locale code with a confidence score. Send a WAV, MP3, or another supported audio file, or point the API at a publicly accessible audio URL.

Use it when you need to route recordings to the right transcription pipeline, pre-sort call-center audio by language, or add language-aware logic to voice apps before transcription starts. The API is useful when you only need a fast language check and not a full transcript.

The `/file` endpoint accepts a binary `file` upload in the request body. The `/url` endpoint accepts a public `url` to the audio asset. Both endpoints return `data.azure.language` as a locale such as `en-US`, along with `data.azure.confidence` as a score from 0.0 to 1.0.

`Audio Language Detector` is a good fit when you want a lightweight classification step for audio ingestion, moderation, or localization workflows without building your own model pipeline.

| Provider (requested_service) | Atoms |
|------------------------------|------:|
| Azure                        |   500 |

## Usage

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