OpenAPI Specification
openapi: 3.0.3
info:
title: Detect Language Account Languages API
description: 'The Detect Language API identifies the language of a given text with high
accuracy, supporting 164 languages. It accepts single or batch detection
requests and returns confidence scores and reliability indicators.
'
version: '0.2'
contact:
name: Detect Language Support
url: https://detectlanguage.com/
license:
name: Proprietary
url: https://detectlanguage.com/terms
servers:
- url: https://ws.detectlanguage.com/0.2
description: Production
security:
- bearerAuth: []
tags:
- name: Languages
description: Supported languages
paths:
/languages:
get:
tags:
- Languages
summary: List supported languages
description: Returns the list of all languages supported by the API.
operationId: listLanguages
responses:
'200':
description: Supported languages
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Language'
components:
schemas:
Language:
type: object
properties:
code:
type: string
name:
type: string
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: Bearer token using the API key issued in the Detect Language dashboard.