# Get Supported Languages

`GET /languages`

Authentication: no security requirement declared for this operation.

Responses:

- 200: List of supported languages

Content type: application/json

Type: array

Schema: [languages](https://sourcey-libretranslate.pages.dev/fr/api/models/languages/index.md)

Items:
  Type: object
  
  Supported language
  
  - `code` (optional)
    Type: string
    
    Language code
  
  - `name` (optional)
    Type: string
    
    Human-readable language name (in English)
  
  - `targets` (optional)
    Type: array
    
    Supported target language codes
    
    Items:
      Type: string

## Examples

### cURL

```bash
curl -X GET 'https://libretranslate.com/languages'
```

### JavaScript

```javascript
const response = await fetch('https://libretranslate.com/languages', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('https://libretranslate.com/languages')
print(response.text)
```
