Do you have any questions? Write us an email or ask us through the feedback section.

Developer tools

Here you have simple examples of requests to the Text Clustering API. You can use them to test a sample request and get an example response in a quick and easy way, right in your favorite programming language.

import requests

url = ""

    'key': 'YOUR API KEY',
    'lang': 'LANG HERE',
    'txt': 'YOUR TEXT HERE'

response =, data=payload)

print('Status code:', response.status_code)
curl '' \
    --form 'key=YOUR API KEY' \
    --form 'lang=YOUR LANG HERE' \
    --form 'txt=YOUR TEXT HERE'
const formdata = new FormData();
formdata.append("key", "YOUR API KEY");
formdata.append("lang", "LANG HERE");
formdata.append("txt", "YOUR TEXT HERE");

const requestOptions = {
  method: 'POST',
  body: formdata,
  redirect: 'follow'

const response = fetch("", requestOptions)
  .then(response => ({
    status: response.status, 
    body: response.json()
  .then(({ status, body }) => console.log(status, body))
  .catch(error => console.log('error', error));

use GuzzleHttp\Client;

$client = new GuzzleHttp\Client();

$response = $client->post('', [
    'multipart' => [
            'name'     => 'key',
            'contents' => 'YOUR API KEY'
            'name'     => 'lang',
            'contents' => 'LANG HERE'
            'name'     => 'txt',
            'contents' => 'YOUR TEXT HERE'

$status = $response->getStatusCode();
$body = json_decode($response->getBody()->getContents(), true);