# Autocompletar

Con el `youtube_autocomplete` origen, los usuarios pueden obtener sugerencias de palabras clave relacionadas para cualquier término de búsqueda de su elección. Estas sugerencias se pueden usar con el `youtube_search` origen para descubrir videos más relevantes y ampliar tus flujos de trabajo de datos de YouTube.

### Ejemplos de solicitud

Los siguientes ejemplos muestran cómo recuperar sugerencias de términos de búsqueda para una consulta dada.

{% tabs %}
{% tab title="cURL" %}

```shell
curl 'https://realtime.oxylabs.io/v1/queries' \
--user 'USERNAME:PASSWORD' \
-H 'Content-Type: application/json' \
-d '{
        "source": "youtube_autocomplete",
        "query": "what is",
        "language": "en",
        "location": "US"
    }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
from pprint import pprint

# Estructura la carga útil.
payload = {
    "source": "youtube_autocomplete",
    "query": "what is",
    "language": "en",
    "location": "US"
}

# Obtén la respuesta.
response = requests.request(
    "POST",
    "https://realtime.oxylabs.io/v1/queries",
    auth=("USERNAME", "PASSWORD"),
    json=payload,
)

# Imprime la respuesta JSON con el resultado.
pprint(response.json())
```

{% endtab %}

{% tab title="Node.js" %}

```javascript
const https = require("https");

const username = "USERNAME";
const password = "PASSWORD";
const body = {
    source: "youtube_autocomplete",
    query: "what is",
    language: "en",
    location: "US"
};

const options = {
    hostname: "realtime.oxylabs.io",
    path: "/v1/queries",
    method: "POST",
    headers: {
        "Content-Type": "application/json",
        Authorization:
            "Basic " + Buffer.from(`${username}:${password}`).toString("base64"),
    },
};

const request = https.request(options, (response) => {
    let data = "";

    response.on("data", (chunk) => {
        data += chunk;
    });

    response.on("end", () => {
        const responseData = JSON.parse(data);
        console.log(JSON.stringify(responseData, null, 2));
    });
});

request.on("error", (error) => {
    console.error("Error:", error);
});

request.write(JSON.stringify(body));
request.end();

```

{% endtab %}

{% tab title="HTTP" %}

```http
# Toda la cadena que envíes debe estar codificada en URL.
https://Realtime.oxylabs.io/v1/queries?source=youtube_autocomplete&query=what%20is&language=en&location=US&access_token=12345abcde

```

{% endtab %}

{% tab title="PHP" %}

```php
<?php

$params = array(
    'source' => 'youtube_autocomplete',
    'query' => 'what is',
    'language' => 'en',
    'location' => 'US'
);

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "https://realtime.oxylabs.io/v1/queries");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_USERPWD, "USERNAME" . ":" . "PASSWORD");

$headers = array();
$headers[] = "Content-Type: application/json";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
echo $result;

if (curl_errno($ch)) {
    echo 'Error:' . curl_error($ch);
}

curl_close($ch);
```

{% endtab %}

{% tab title="Golang" %}

```go
package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"io/ioutil"
	"net/http"
)

func main() {
	const Username = "USERNAME"
	const Password = "PASSWORD"

	// Define la carga útil
	payload := map[string]interface{}{
		"source":   "youtube_autocomplete",
		"query":    "what is",
		"language": "en",
		"location": "US",
	}

	jsonValue, err := json.Marshal(payload)
	if err != nil {
		fmt.Println("Error al serializar JSON:", err)
		return
	}

	client := &http.Client{}
	request, err := http.NewRequest("POST", "https://Realtime.oxylabs.io/v1/queries", bytes.NewBuffer(jsonValue))
	if err != nil {
		fmt.Println("Error al crear la solicitud:", err)
		return
	}

	request.SetBasicAuth(Username, Password)
	request.Header.Set("Content-Type", "application/json")

	response, err := client.Do(request)
	if err != nil {
		fmt.Println("Error al hacer la solicitud:", err)
		return
	}
	defer response.Body.Close()

	responseText, err := ioutil.ReadAll(response.Body)
	if err != nil {
		fmt.Println("Error al leer la respuesta:", err)
		return
	}

	fmt.Println(string(responseText))
}
```

{% endtab %}

{% tab title="C#" %}

```csharp
using System;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text;
using System.Threading.Tasks;

namespace OxyApi
{
    class Program
    {
        static async Task Main()
        {
            const string Username = "USERNAME";
            const string Password = "PASSWORD";

            var parameters = new
            {
                source = "youtube_autocomplete",
                query = "what is",
                language = "en",
                location = "US"
            };

            var client = new HttpClient();

            Uri baseUri = new Uri("https://realtime.oxylabs.io");
            client.BaseAddress = baseUri;

            var requestMessage = new HttpRequestMessage(HttpMethod.Post, "/v1/queries");
            requestMessage.Content = JsonContent.Create(parameters);

            var authenticationString = $"{Username}:{Password}";
            var base64EncodedAuthenticationString = Convert.ToBase64String(Encoding.UTF8.GetBytes(authenticationString));
            requestMessage.Headers.Add("Authorization", "Basic " + base64EncodedAuthenticationString);

            try
            {
                var response = await client.SendAsync(requestMessage);
                response.EnsureSuccessStatusCode();

                var contents = await response.Content.ReadAsStringAsync();
                Console.WriteLine(contents);
            }
            catch (HttpRequestException e)
            {
                Console.WriteLine($"Error de solicitud: {e.Message}");
            }
        }
    }
}
```

{% endtab %}

{% tab title="Java" %}

```java
package org.example;

import okhttp3.*;
import org.json.JSONObject;
import java.util.concurrent.TimeUnit;

public class Main implements Runnable {
    private static final String AUTHORIZATION_HEADER = "Authorization";
    public static final String USERNAME = "USERNAME";
    public static final String PASSWORD = "PASSWORD";

    public void run() {
        // Construye la carga útil JSON
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("source", "youtube_autocomplete");
        jsonObject.put("query", "what is");
        jsonObject.put("language", "en");
        jsonObject.put("location", "US");

        Authenticator authenticator = (route, response) -> {
            String credential = Credentials.basic(USERNAME, PASSWORD);
            return response
                    .request()
                    .newBuilder()
                    .header(AUTHORIZATION_HEADER, credential)
                    .build();
        };

        var client = new OkHttpClient.Builder()
                .authenticator(authenticator)
                .readTimeout(180, TimeUnit.SECONDS)
                .build();

        var mediaType = MediaType.parse("application/json; charset=utf-8");
        var body = RequestBody.create(jsonObject.toString(), mediaType);
        var request = new Request.Builder()
                .url("https://realtime.oxylabs.io/v1/queries")
                .post(body)
                .build();

        try (var response = client.newCall(request).execute()) {
            if (response.body() != null) {
                try (var responseBody = response.body()) {
                    System.out.println(responseBody.string());
                }
            }
        } catch (Exception exception) {
            System.out.println("Error: " + exception.getMessage());
        }

        System.exit(0);
    }

    public static void main(String[] args) {
        new Thread(new Main()).start();
    }
}
```

{% endtab %}

{% tab title="JSON" %}

```json
{
    "source": "youtube_autocomplete",
    "query": "what is",
    "language": "en",
    "location": "US"
}
```

{% endtab %}
{% endtabs %}

Usamos el método de integración síncrona [**Realtime**](/products/es/web-scraper-api/integration-methods/realtime.md) en nuestros ejemplos. Si deseas usar [**Proxy Endpoint**](/products/es/web-scraper-api/integration-methods/proxy-endpoint.md) o la integración asíncrona [**Push-Pull**](/products/es/web-scraper-api/integration-methods/push-pull.md) consulta la sección de [**métodos de integración**](/products/es/web-scraper-api/integration-methods.md) .

### Ejemplo de salida

```json
{
    "results": [
        {
            "content": "window.google.ac.h([\"what is\",[[\"what is love\",0,[512,433]],[\"what is this feeling wicked\",0,[512,433,131]],[\"what is love baby dont hurt me no\",0,[512,433]],[\"what is 67\",0,[512,433,131]],[\"what is\",0,[512]],[\"what is you nba youngboy\",0,[512,433,131]],[\"what is love haddaway\",0,[512,433]],[\"what is this feeling wicked karaoke\",0,[512,433]],[\"what is love twice\",0,[512,433,131]],[\"what is you\",0,[512,433,131,650]],[\"what is sounds like\",0,[512,433]],[\"what is scientology\",0,[512]],[\"what is the big beautiful bill\",0,[512]],[\"what is a woman\",0,[512,433]]],{\"j\":\"5\",\"k\":1,\"q\":\"fxuDygqjaW7TVwu4-jEjTrWp6b8\"}])",
            "type": "raw",
            ...
}
```

### Valores de los parámetros de solicitud

<table><thead><tr><th width="227">Parámetro</th><th width="289.3333333333333">Descripción</th><th>Valor predeterminado</th></tr></thead><tbody><tr><td><mark style="background-color:green;"><strong><code>source</code></strong></mark></td><td>Establece el scraper.</td><td><code>youtube_autocomplete</code></td></tr><tr><td><mark style="background-color:green;"><strong><code>query</code></strong></mark></td><td>El término de búsqueda para el que se deben devolver sugerencias de palabras clave.</td><td>–</td></tr><tr><td><code>ubicación</code></td><td>Ubicación de búsqueda (código de país de 2 letras).</td><td><code>US</code></td></tr><tr><td><code>idioma</code> </td><td>Código de idioma de búsqueda.</td><td><code>en</code></td></tr><tr><td><code>callback_url</code></td><td>URL de tu endpoint de callback. <a href="/spaces/xofNngbwiAAH0MB3lMAb/pages/28181dba27c108c1684f7f17f5d8fef78bd80d90"><strong>Más información</strong></a></td><td>–</td></tr></tbody></table>

&#x20;    – parámetro obligatorio

### Localización

Para los valores de `ubicación` y `idioma` parámetro disponibles, consulta las tablas a continuación.

<details>

<summary>Ubicaciones disponibles para <code>youtube_autocomplete</code></summary>

| Valor del parámetro | País                                          |
| ------------------- | --------------------------------------------- |
| af                  | Afganistán                                    |
| al                  | Albania                                       |
| dz                  | Argelia                                       |
| as                  | Samoa Americana                               |
| ad                  | Andorra                                       |
| ao                  | Angola                                        |
| ai                  | Anguila                                       |
| aq                  | Antártida                                     |
| ag                  | Antigua y Barbuda                             |
| ar                  | Argentina                                     |
| am                  | Armenia                                       |
| aw                  | Aruba                                         |
| au                  | Australia                                     |
| at                  | Austria                                       |
| az                  | Azerbaiyán                                    |
| bs                  | Bahamas                                       |
| bh                  | Baréin                                        |
| bd                  | Bangladés                                     |
| bb                  | Barbados                                      |
| by                  | Bielorrusia                                   |
| be                  | Bélgica                                       |
| bz                  | Belice                                        |
| bj                  | Benín                                         |
| bm                  | Bermudas                                      |
| bt                  | Bután                                         |
| bo                  | Bolivia                                       |
| ba                  | Bosnia y Herzegovina                          |
| bw                  | Botsuana                                      |
| bv                  | Isla Bouvet                                   |
| br                  | Brasil                                        |
| io                  | Territorio Británico del Océano Índico        |
| bn                  | Brunéi Darussalam                             |
| bg                  | Bulgaria                                      |
| bf                  | Burkina Faso                                  |
| bi                  | Burundi                                       |
| kh                  | Camboya                                       |
| cm                  | Camerún                                       |
| ca                  | Canadá                                        |
| cv                  | Cabo Verde                                    |
| ky                  | Islas Caimán                                  |
| cf                  | República Centroafricana                      |
| td                  | Chad                                          |
| cl                  | Chile                                         |
| cn                  | China                                         |
| cx                  | Isla de Navidad                               |
| cc                  | Islas Cocos (Keeling)                         |
| co                  | Colombia                                      |
| km                  | Comoras                                       |
| cg                  | Congo                                         |
| cd                  | Congo, República Democrática del              |
| ck                  | Islas Cook                                    |
| cr                  | Costa Rica                                    |
| ci                  | Côte d'Ivoire                                 |
| hr                  | Croacia                                       |
| cu                  | Cuba                                          |
| cy                  | Chipre                                        |
| cz                  | República Checa                               |
| dk                  | Dinamarca                                     |
| dj                  | Yibuti                                        |
| dm                  | Dominica                                      |
| do                  | República Dominicana                          |
| ec                  | Ecuador                                       |
| eg                  | Egipto                                        |
| sv                  | El Salvador                                   |
| gq                  | Guinea Ecuatorial                             |
| er                  | Eritrea                                       |
| ee                  | Estonia                                       |
| et                  | Etiopía                                       |
| fk                  | Islas Malvinas (Falkland)                     |
| fo                  | Islas Feroe                                   |
| fj                  | Fiyi                                          |
| fi                  | Finlandia                                     |
| fr                  | Francia                                       |
| gf                  | Guayana Francesa                              |
| pf                  | Polinesia Francesa                            |
| tf                  | Territorios Australes Franceses               |
| ga                  | Gabón                                         |
| gm                  | Gambia                                        |
| ge                  | Georgia                                       |
| de                  | Alemania                                      |
| gh                  | Ghana                                         |
| gi                  | Gibraltar                                     |
| gr                  | Grecia                                        |
| gl                  | Groenlandia                                   |
| gd                  | Granada                                       |
| gp                  | Guadalupe                                     |
| gu                  | Guam                                          |
| gt                  | Guatemala                                     |
| gn                  | Guinea                                        |
| gw                  | Guinea-Bisáu                                  |
| gy                  | Guyana                                        |
| ht                  | Haití                                         |
| hm                  | Islas Heard y McDonald                        |
| va                  | Santa Sede (Estado de la Ciudad del Vaticano) |
| hn                  | Honduras                                      |
| hk                  | Hong Kong                                     |
| hu                  | Hungría                                       |
| is                  | Islandia                                      |
| in                  | India                                         |
| id                  | Indonesia                                     |
| ir                  | Irán, República Islámica de                   |
| iq                  | Irak                                          |
| ie                  | Irlanda                                       |
| il                  | Israel                                        |
| it                  | Italia                                        |
| jm                  | Jamaica                                       |
| jp                  | Japón                                         |
| jo                  | Jordania                                      |
| kz                  | Kazajistán                                    |
| ke                  | Kenia                                         |
| ki                  | Kiribati                                      |
| kp                  | Corea del Norte                               |
| kr                  | Corea del Sur                                 |
| kw                  | Kuwait                                        |
| kg                  | Kirguistán                                    |
| la                  | República Democrática Popular Lao             |
| lv                  | Letonia                                       |
| lb                  | Líbano                                        |
| ls                  | Lesoto                                        |
| lr                  | Liberia                                       |
| ly                  | Libia                                         |
| li                  | Liechtenstein                                 |
| lt                  | Lituania                                      |
| lu                  | Luxemburgo                                    |
| mo                  | Macao                                         |
| mk                  | Macedonia del Norte                           |
| mg                  | Madagascar                                    |
| mw                  | Malaui                                        |
| my                  | Malasia                                       |
| mv                  | Maldivas                                      |
| ml                  | Malí                                          |
| mt                  | Malta                                         |
| mh                  | Islas Marshall                                |
| mq                  | Martinica                                     |
| mr                  | Mauritania                                    |
| mu                  | Mauricio                                      |
| yt                  | Mayotte                                       |
| mx                  | México                                        |
| fm                  | Micronesia, Estados Federados de              |
| md                  | Moldova, República de                         |
| mc                  | Mónaco                                        |
| mn                  | Mongolia                                      |
| ms                  | Montserrat                                    |
| ma                  | Marruecos                                     |
| mz                  | Mozambique                                    |
| mm                  | Myanmar                                       |
| na                  | Namibia                                       |
| nr                  | Nauru                                         |
| np                  | Nepal                                         |
| nl                  | Países Bajos                                  |
| nc                  | Nueva Caledonia                               |
| nz                  | Nueva Zelanda                                 |
| ni                  | Nicaragua                                     |
| ne                  | Níger                                         |
| ng                  | Nigeria                                       |
| nu                  | Niue                                          |
| nf                  | Isla Norfolk                                  |
| mp                  | Islas Marianas del Norte                      |
| no                  | Noruega                                       |
| om                  | Omán                                          |
| pk                  | Pakistán                                      |
| pw                  | Palaos                                        |
| ps                  | Territorio Palestino Ocupado                  |
| pa                  | Panamá                                        |
| pg                  | Papúa Nueva Guinea                            |
| py                  | Paraguay                                      |
| pe                  | Perú                                          |
| ph                  | Filipinas                                     |
| pn                  | Pitcairn                                      |
| pl                  | Polonia                                       |
| pt                  | Portugal                                      |
| pr                  | Puerto Rico                                   |
| qa                  | Qatar                                         |
| re                  | Reunión                                       |
| ro                  | Rumania                                       |
| ru                  | Federación de Rusia                           |
| rw                  | Ruanda                                        |
| sh                  | Santa Elena                                   |
| kn                  | San Cristóbal y Nieves                        |
| lc                  | Santa Lucía                                   |
| pm                  | San Pedro y Miquelón                          |
| vc                  | San Vicente y las Granadinas                  |
| ws                  | Samoa                                         |
| sm                  | San Marino                                    |
| st                  | Santo Tomé y Príncipe                         |
| sa                  | Arabia Saudita                                |
| sn                  | Senegal                                       |
| rs                  | Serbia y Montenegro                           |
| sc                  | Seychelles                                    |
| sl                  | Sierra Leona                                  |
| sg                  | Singapur                                      |
| sk                  | Eslovaquia                                    |
| si                  | Eslovenia                                     |
| sb                  | Islas Salomón                                 |
| so                  | Somalia                                       |
| za                  | Sudáfrica                                     |
| gs                  | Georgia del Sur y las Islas Sandwich del Sur  |
| es                  | España                                        |
| lk                  | Sri Lanka                                     |
| sd                  | Sudán                                         |
| sr                  | Surinam                                       |
| sj                  | Svalbard y Jan Mayen                          |
| sz                  | Suazilandia                                   |
| se                  | Suecia                                        |
| ch                  | Suiza                                         |
| sy                  | República Árabe Siria                         |
| tw                  | Taiwán                                        |
| tj                  | Tayikistán                                    |
| tz                  | Tanzania, República Unida de                  |
| th                  | Tailandia                                     |
| tl                  | Timor-Leste                                   |
| tg                  | Togo                                          |
| tk                  | Tokelau                                       |
| a                   | Tonga                                         |
| tt                  | Trinidad y Tobago                             |
| tn                  | Túnez                                         |
| tr                  | Turquía                                       |
| tm                  | Turkmenistán                                  |
| tc                  | Islas Turcas y Caicos                         |
| tv                  | Tuvalu                                        |
| ug                  | Uganda                                        |
| ua                  | Ucrania                                       |
| ae                  | Emiratos Árabes Unidos                        |
| uk                  | Reino Unido                                   |
| gb                  | Reino Unido                                   |
| us                  | Estados Unidos                                |
| um                  | Islas menores alejadas de los Estados Unidos  |
| uy                  | Uruguay                                       |
| uz                  | Uzbekistán                                    |
| vu                  | Vanuatu                                       |
| ve                  | Venezuela                                     |
| vn                  | Vietnam                                       |
| vg                  | Islas Vírgenes Británicas                     |
| vi                  | Islas Vírgenes de EE. UU.                     |
| wf                  | Wallis y Futuna                               |
| eh                  | Sáhara Occidental                             |
| ye                  | Yemen                                         |
| zm                  | Zambia                                        |
| zw                  | Zimbabue                                      |
| gg                  | Guernsey                                      |
| je                  | Jersey                                        |
| im                  | Isla de Man                                   |
| me                  | Montenegro                                    |

</details>

<details>

<summary>Idiomas disponibles para <code>youtube_autocomplete</code></summary>

| Valor del parámetro | Idioma                  |
| ------------------- | ----------------------- |
| ach                 | Luo                     |
| af                  | Afrikáans               |
| ak                  | Akan                    |
| am                  | Amárico                 |
| ar                  | Árabe                   |
| az                  | Azerbaiyano             |
| be                  | Bielorruso              |
| bem                 | Bemba                   |
| bg                  | Búlgaro                 |
| bh                  | Bihari                  |
| bn                  | Bengalí                 |
| br                  | Bretón                  |
| bs                  | Bosnio                  |
| bt                  | Bhutanés                |
| ca                  | Catalán                 |
| chr                 | Cherokee                |
| ckb                 | Kurdish (Soranî)        |
| co                  | Corso                   |
| crs                 | Criollo seychellense    |
| cs                  | Checo                   |
| cy                  | Galés                   |
| da                  | Danés                   |
| de                  | Alemán                  |
| ee                  | Ewe                     |
| el                  | Griego                  |
| en                  | Inglés                  |
| eo                  | Esperanto               |
| es                  | Español                 |
| es-419              | Español (Latinoamérica) |
| et                  | Estonio                 |
| eu                  | Vasco                   |
| fa                  | Persa                   |
| fi                  | Finés                   |
| fo                  | Feroés                  |
| fr                  | Francés                 |
| fy                  | Frisón                  |
| ga                  | Irlandés                |
| gaa                 | Ga                      |
| gd                  | Gaélico escocés         |
| gl                  | Gallego                 |
| gn                  | Guaraní                 |
| gu                  | Guyaratí                |
| ha                  | Hausa                   |
| haw                 | Hawaiano                |
| he                  | Hebreo                  |
| hi                  | Hindi                   |
| hr                  | Croata                  |
| ht                  | Criollo haitiano        |
| hu                  | Húngaro                 |
| hy                  | Armenio                 |
| ia                  | Interlingua             |
| id                  | Indonesio               |
| ig                  | Igbo                    |
| is                  | Islandés                |
| it                  | Italiano                |
| iw                  | Hebreo                  |
| ja                  | Japonés                 |
| jw                  | Javanés                 |
| ka                  | Georgiano               |
| kg                  | Kongo                   |
| kk                  | Kazajo                  |
| kl                  | Groenlandés             |
| km                  | Camboyano               |
| kn                  | Canarés                 |
| ko                  | Coreano                 |
| kri                 | Krio (Sierra Leona)     |
| ku                  | Kurdish                 |
| ky                  | Kirguís                 |
| la                  | Latín                   |
| lg                  | Luganda                 |
| ln                  | Lingala                 |
| lo                  | Laosiano                |
| loz                 | Lozi                    |
| lt                  | Lituano                 |
| lua                 | Tshiluba                |
| lv                  | Letón                   |
| mfe                 | Criollo mauriciano      |
| mg                  | Malgache                |
| mi                  | Maorí                   |
| mk                  | Macedonio               |
| ml                  | Malayalam               |
| mn                  | Mongol                  |
| mo                  | Moldavo                 |
| mr                  | Maratí                  |
| ms                  | Malayo                  |
| mt                  | Maltés                  |
| mv                  | Maldivas                |
| my                  | Myanmar                 |
| ne                  | Nepalí                  |
| nl                  | Neerlandés              |
| nn                  | Noruego (Nynorsk)       |
| no                  | Noruego                 |
| nso                 | Sotho del norte         |
| ny                  | Chichewa                |
| nyn                 | Runyakitara             |
| oc                  | Occitano                |
| om                  | Oromo                   |
| o                   | Oriya                   |
| pa                  | Panyabí                 |
| pcm                 | Pidgin nigeriano        |
| pl                  | Polaco                  |
| ps                  | Pastún                  |
| pt                  | Portugués               |
| pt-br               | Portugués (Brasil)      |
| pt-pt               | Portugués (Portugal)    |
| qu                  | Quechua                 |
| rm                  | Romanche                |
| rn                  | Kirundi                 |
| ro                  | Rumano                  |
| ru                  | Ruso                    |
| rw                  | Kinyarwanda             |
| sd                  | Sindhi                  |
| sh                  | Serbocroata             |
| si                  | Cingalés                |
| sk                  | Eslovaco                |
| sl                  | Esloveno                |
| sn                  | Shona                   |
| so                  | Somalí                  |
| sq                  | Albanés                 |
| sr                  | Serbio                  |
| sr-me               | Montenegrino            |
| st                  | Sesotho                 |
| su                  | Sundanés                |
| sv                  | Sueco                   |
| sw                  | Suajili                 |
| ta                  | Tamil                   |
| te                  | Telugu                  |
| tg                  | Tayiko                  |
| th                  | Tailandés               |
| ti                  | Tigrinya                |
| tk                  | Turcomano               |
| tl                  | Filipino                |
| tn                  | Setsuana                |
| a                   | Tonga                   |
| tr                  | Turco                   |
| tt                  | Tártaro                 |
| tum                 | Tumbuka                 |
| tw                  | Twi                     |
| ug                  | Uigur                   |
| uk                  | Ucraniano               |
| ur                  | Urdu                    |
| uz                  | Uzbeko                  |
| vi                  | Vietnamita              |
| vu                  | Vanuatu                 |
| wo                  | Wolof                   |
| ws                  | Samoa                   |
| xh                  | Xhosa                   |
| yi                  | Yidis                   |
| yo                  | Yoruba                  |
| zh-cn               | Chino (simplificado)    |
| zh-tw               | Chino (tradicional)     |
| zu                  | Zulú                    |

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/api-targets/es/video-y-redes-sociales/youtube/autocomplete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
