Language Identification API
Overview
The Language Identification (LID) API identifies the language (e.g., en-IN, hi-IN) and script (e.g., Latin, Devanagari) of the input text. It supports multiple Indian languages and scripts, making it ideal for multilingual text processing.
Detection Types
Code Examples
Response Format
Supported Languages and Scripts
API Response Format
Supported languages: en-IN, hi-IN, bn-IN, gu-IN, kn-IN, ml-IN, mr-IN, od-IN, pa-IN, ta-IN, te-IN
Script Codes Reference
Error Responses
All errors return a JSON object with an error field (message, code, request_id). The full error-code table, retry guidance, and SDK exception reference live on the central Errors & Troubleshooting page.
Errors specific to this endpoint:
Error Handling Code Example
Check out our detailed API Reference to explore Language Identification and all available options.
For detailed pricing information and usage tiers, visit our pricing page.