> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/api-targets/pt-br/video-and-social-media/youtube/autocomplete.md).

# Autocompletar

Recupere sugestões de palavras-chave do autocomplete do YouTube para qualquer termo de pesquisa, com idioma e localização configuráveis.

Com a `youtube_autocomplete` fonte, você pode obter sugestões de palavras-chave relacionadas para qualquer termo de pesquisa. Para encontrar vídeos para uma sugestão, passe-a como valor de query para `youtube_search`. Cada fonte é chamada separadamente: autocomplete retorna as sugestões, search retorna os vídeos para o termo escolhido.

### Exemplos de requisição

Os exemplos a seguir demonstram como recuperar sugestões de termos de pesquisa para uma consulta específica.

{% 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": "how to make",
        "language": "en",
        "location": "US"
    }'
```

{% endtab %}

{% tab title="Python" %}

```python
import requests
from pprint import pprint

# Structure payload.
payload = {
    "source": "youtube_autocomplete",
    "query": "how to make",
    "language": "en",
    "location": "US"
}

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

# Print the JSON response with the result.
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: "how to make",
    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="PHP" %}

```php
<?php

$params = array(
    'source' => 'youtube_autocomplete',
    'query' => 'how to make',
    '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 the payload
	payload := map[string]interface{}{
		"source":   "youtube_autocomplete",
		"query":    "how to make",
		"language": "en",
		"location": "US",
	}

	jsonValue, err := json.Marshal(payload)
	if err != nil {
		fmt.Println("Error marshalling 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 creating request:", err)
		return
	}

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

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

	responseText, err := ioutil.ReadAll(response.Body)
	if err != nil {
		fmt.Println("Error reading response:", 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 = "how to make",
                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($"Request error: {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() {
        // Construct JSON payload
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("source", "youtube_autocomplete");
        jsonObject.put("query", "how to make");
        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": "how to make",
    "language": "en",
    "location": "US"
}
```

{% endtab %}
{% endtabs %}

Usamos o método de integração síncrona do [**Realtime**](/products/pt-br/web-scraper-api/integration-methods/realtime.md)  em nossos exemplos. Se você quiser usar [**Proxy Endpoint**](/products/pt-br/web-scraper-api/integration-methods/proxy-endpoint.md)  ou a integração assíncrona [**Push-Pull**](/products/pt-br/web-scraper-api/integration-methods/push-pull.md) , consulte a [**seção de métodos de integração**](/products/pt-br/web-scraper-api/integration-methods.md) .

### Exemplo de saída

```json
{
    "results": [
        {
            "content": "window.google.ac.h([\"how to make\",[[\"how to make a paper airplane\",0,[512,433,131]],[\"how to make slime\",0,[512,433]],[\"how to make a paper dart\",0,[512]],[\"how to make french toast\",0,[512,433]],[\"how to make a bow out of ribbon\",0,[512]],[\"how to make pancakes\",0,[512,433]],[\"how to make paper stars\",0,[512]],[\"how to make slime without glue and activator\",0,[512,433]],[\"how to make paper nails\",0,[512]],[\"how to make an omelette\",0,[512,433]],[\"how to make scrambled eggs\",0,[512,433]],[\"how to make fried rice\",0,[512]],[\"how to make a roblox game\",0,[512,433]],[\"how to make a youtube channel\",0,[512,433]]],{\"j\":\"5\",\"k\":1}])",
            "created_at": "2026-09-17 13:03:21",
            "updated_at": "2026-09-17 13:03:23",
            "page": 1,
            "url": "https://suggestqueries-clients6.youtube.com/complete/search?ds=yt&hl=en-lt&gl=US&client=youtube&gs_ri=youtube&sugexp=uqap13nms10n_e1,ytpso.bo.me%3D1,ytpsoso.bo.me%3D1,ytpso.bo.bro.mi%3D51488868,ytpsoso.bo.bro.mi%3D51488868,ytpso.bo.bro.vsw%3D1.0,ytpso.bo.bro.lsw%3D0.0,ytpsoso.bo.bro.vsw%3D1.0,ytpsoso.bo.bro.lsw%3D0.0&h=180&w=320&ytvs=1&gs_id=5&q=how%20to%20make",
            "job_id": "7506336999448568833",
            "is_render_forced": false,
            "status_code": 200,
            "type": "raw"
        }
    ]
}
```

### Valores dos parâmetros da requisição

<table><thead><tr><th width="227">Parâmetro</th><th width="289.3333333333333">Descrição</th><th>Valor padrão</th></tr></thead><tbody><tr><td><mark style="background-color:green;"><strong><code>source</code></strong></mark></td><td>Define o scraper.</td><td><code>youtube_autocomplete</code></td></tr><tr><td><mark style="background-color:green;"><strong><code>query</code></strong></mark></td><td>O termo de pesquisa para o qual as sugestões de palavras-chave devem ser retornadas.</td><td>–</td></tr><tr><td><code>location</code></td><td>Local da pesquisa (código de país de 2 letras).</td><td><code>US</code></td></tr><tr><td><code>language</code></td><td>Código do idioma da pesquisa.</td><td><code>en</code></td></tr><tr><td><code>callback_url</code></td><td>URL para seu endpoint de callback. <a href="/products/pt-br/web-scraper-api/integration-methods/push-pull.md"><strong>Mais informações</strong></a></td><td>–</td></tr></tbody></table>

– parâmetro obrigatório

### Localização

Para os valores disponíveis `location`  e `language`  valores de parâmetro, consulte as tabelas abaixo.

<details>

<summary>Locais disponíveis para <code>youtube_autocomplete</code></summary>

| Valor do parâmetro | País                                       |
| ------------------ | ------------------------------------------ |
| af                 | Afeganistão                                |
| al                 | Albânia                                    |
| dz                 | Argélia                                    |
| as                 | Samoa Americana                            |
| ad                 | Andorra                                    |
| ao                 | Angola                                     |
| ai                 | Anguila                                    |
| aq                 | Antártida                                  |
| ag                 | Antígua e Barbuda                          |
| ar                 | Argentina                                  |
| am                 | Armênia                                    |
| aw                 | Aruba                                      |
| au                 | Austrália                                  |
| at                 | Áustria                                    |
| az                 | Azerbaijão                                 |
| bs                 | Bahamas                                    |
| bh                 | Bahrein                                    |
| bd                 | Bangladesh                                 |
| bb                 | Barbados                                   |
| by                 | Bielorrússia                               |
| be                 | Bélgica                                    |
| bz                 | Belize                                     |
| bj                 | Benim                                      |
| bm                 | Bermudas                                   |
| bt                 | Butão                                      |
| bo                 | Bolívia                                    |
| ba                 | Bósnia e Herzegovina                       |
| bw                 | Botsuana                                   |
| bv                 | Ilha Bouvet                                |
| br                 | Brasil                                     |
| io                 | Território Britânico do Oceano Índico      |
| bn                 | Brunei Darussalam                          |
| bg                 | Bulgária                                   |
| bf                 | Burkina Faso                               |
| bi                 | Burundi                                    |
| kh                 | Camboja                                    |
| cm                 | Camarões                                   |
| ca                 | Canadá                                     |
| cv                 | Cabo Verde                                 |
| ky                 | Ilhas Cayman                               |
| cf                 | República Centro-Africana                  |
| td                 | Chade                                      |
| cl                 | Chile                                      |
| cn                 | China                                      |
| cx                 | Ilha Christmas                             |
| cc                 | Ilhas Cocos (Keeling)                      |
| co                 | Colômbia                                   |
| km                 | Comores                                    |
| cg                 | Congo                                      |
| cd                 | Congo, República Democrática do            |
| ck                 | Ilhas Cook                                 |
| cr                 | Costa Rica                                 |
| ci                 | Costa do Marfim                            |
| hr                 | Croácia                                    |
| cu                 | Cuba                                       |
| cy                 | Chipre                                     |
| cz                 | República Tcheca                           |
| dk                 | Dinamarca                                  |
| dj                 | Djibuti                                    |
| dm                 | Dominica                                   |
| do                 | República Dominicana                       |
| ec                 | Equador                                    |
| eg                 | Egito                                      |
| sv                 | El Salvador                                |
| gq                 | Guiné Equatorial                           |
| er                 | Eritreia                                   |
| ee                 | Estônia                                    |
| et                 | Etiópia                                    |
| fk                 | Ilhas Falkland (Malvinas)                  |
| fo                 | Ilhas Faroe                                |
| fj                 | Fiji                                       |
| fi                 | Finlândia                                  |
| fr                 | França                                     |
| gf                 | Guiana Francesa                            |
| pf                 | Polinésia Francesa                         |
| tf                 | Territórios Franceses do Sul               |
| ga                 | Gabão                                      |
| gm                 | Gâmbia                                     |
| ge                 | Geórgia                                    |
| de                 | Alemanha                                   |
| gh                 | Gana                                       |
| gi                 | Gibraltar                                  |
| gr                 | Grécia                                     |
| gl                 | Groenlândia                                |
| gd                 | Granada                                    |
| gp                 | Guadalupe                                  |
| gu                 | Guam                                       |
| gt                 | Guatemala                                  |
| gn                 | Guiné                                      |
| gw                 | Guiné-Bissau                               |
| gy                 | Guiana                                     |
| ht                 | Haiti                                      |
| hm                 | Ilha Heard e Ilhas McDonald                |
| va                 | Santa Sé (Cidade do Vaticano)              |
| hn                 | Honduras                                   |
| hk                 | Hong Kong                                  |
| hu                 | Hungria                                    |
| is                 | Islândia                                   |
| in                 | Índia                                      |
| id                 | Indonésia                                  |
| ir                 | Irã, República Islâmica do                 |
| iq                 | Iraque                                     |
| ie                 | Irlanda                                    |
| il                 | Israel                                     |
| it                 | Itália                                     |
| jm                 | Jamaica                                    |
| jp                 | Japão                                      |
| jo                 | Jordânia                                   |
| kz                 | Cazaquistão                                |
| ke                 | Quênia                                     |
| ki                 | Kiribati                                   |
| kp                 | Coreia do Norte                            |
| kr                 | Coreia do Sul                              |
| kw                 | Kuwait                                     |
| kg                 | Quirguistão                                |
| la                 | República Democrática Popular do Laos      |
| lv                 | Letônia                                    |
| lb                 | Líbano                                     |
| ls                 | Lesoto                                     |
| lr                 | Libéria                                    |
| ly                 | Líbia                                      |
| li                 | Liechtenstein                              |
| lt                 | Lituânia                                   |
| lu                 | Luxemburgo                                 |
| mo                 | Macau                                      |
| mk                 | Macedônia do Norte                         |
| mg                 | Madagascar                                 |
| mw                 | Malawi                                     |
| my                 | Malásia                                    |
| mv                 | Maldivas                                   |
| ml                 | Mali                                       |
| mt                 | Malta                                      |
| mh                 | Ilhas Marshall                             |
| mq                 | Martinica                                  |
| mr                 | Mauritânia                                 |
| mu                 | Maurício                                   |
| yt                 | Mayotte                                    |
| mx                 | México                                     |
| fm                 | Micronésia, Estados Federados da           |
| md                 | Moldávia, República da                     |
| mc                 | Mônaco                                     |
| mn                 | Mongólia                                   |
| ms                 | Montserrat                                 |
| ma                 | Marrocos                                   |
| mz                 | Moçambique                                 |
| mm                 | Mianmar                                    |
| na                 | Namíbia                                    |
| nr                 | Nauru                                      |
| np                 | Nepal                                      |
| nl                 | Países Baixos                              |
| nc                 | Nova Caledônia                             |
| nz                 | Nova Zelândia                              |
| ni                 | Nicarágua                                  |
| ne                 | Níger                                      |
| ng                 | Nigéria                                    |
| nu                 | Niue                                       |
| nf                 | Ilha Norfolk                               |
| mp                 | Ilhas Marianas do Norte                    |
| no                 | Noruega                                    |
| om                 | Omã                                        |
| pk                 | Paquistão                                  |
| pw                 | Palau                                      |
| ps                 | Território Palestino Ocupado               |
| pa                 | Panamá                                     |
| pg                 | Papua-Nova Guiné                           |
| py                 | Paraguai                                   |
| pe                 | Peru                                       |
| ph                 | Filipinas                                  |
| pn                 | Pitcairn                                   |
| pl                 | Polônia                                    |
| pt                 | Portugal                                   |
| pr                 | Porto Rico                                 |
| qa                 | Catar                                      |
| re                 | Reunião                                    |
| ro                 | Romênia                                    |
| ru                 | Federação Russa                            |
| rw                 | Ruanda                                     |
| sh                 | Santa Helena                               |
| kn                 | São Cristóvão e Névis                      |
| lc                 | Santa Lúcia                                |
| pm                 | São Pedro e Miquelão                       |
| vc                 | São Vicente e Granadinas                   |
| ws                 | Samoa                                      |
| sm                 | San Marino                                 |
| st                 | São Tomé e Príncipe                        |
| sa                 | Arábia Saudita                             |
| sn                 | Senegal                                    |
| rs                 | Sérvia e Montenegro                        |
| sc                 | Seychelles                                 |
| sl                 | Serra Leoa                                 |
| sg                 | Singapura                                  |
| sk                 | Eslováquia                                 |
| si                 | Eslovênia                                  |
| sb                 | Ilhas Salomão                              |
| so                 | Somália                                    |
| za                 | África do Sul                              |
| gs                 | Geórgia do Sul e Ilhas Sandwich do Sul     |
| es                 | Espanha                                    |
| lk                 | Sri Lanka                                  |
| sd                 | Sudão                                      |
| sr                 | Suriname                                   |
| sj                 | Svalbard e Jan Mayen                       |
| sz                 | Suazilândia                                |
| se                 | Suécia                                     |
| ch                 | Suíça                                      |
| sy                 | República Árabe da Síria                   |
| tw                 | Taiwan                                     |
| tj                 | Tajiquistão                                |
| tz                 | Tanzânia, República Unida da               |
| th                 | Tailândia                                  |
| tl                 | Timor-Leste                                |
| tg                 | Togo                                       |
| tk                 | Tokelau                                    |
| to                 | Tonga                                      |
| tt                 | Trinidad e Tobago                          |
| tn                 | Tunísia                                    |
| tr                 | Turquia                                    |
| tm                 | Turcomenistão                              |
| tc                 | Ilhas Turks e Caicos                       |
| tv                 | Tuvalu                                     |
| ug                 | Uganda                                     |
| ua                 | Ucrânia                                    |
| ae                 | Emirados Árabes Unidos                     |
| uk                 | Reino Unido                                |
| gb                 | Reino Unido                                |
| us                 | Estados Unidos                             |
| um                 | Ilhas Menores Distantes dos Estados Unidos |
| uy                 | Uruguai                                    |
| uz                 | Uzbequistão                                |
| vu                 | Vanuatu                                    |
| ve                 | Venezuela                                  |
| vn                 | Vietnã                                     |
| vg                 | Ilhas Virgens Britânicas                   |
| vi                 | Ilhas Virgens Americanas                   |
| wf                 | Wallis e Futuna                            |
| eh                 | Saara Ocidental                            |
| ye                 | Iêmen                                      |
| zm                 | Zâmbia                                     |
| zw                 | Zimbábue                                   |
| gg                 | Guernsey                                   |
| je                 | Jersey                                     |
| im                 | Ilha de Man                                |
| me                 | Montenegro                                 |

</details>

<details>

<summary>Idiomas disponíveis para <code>youtube_autocomplete</code></summary>

| Valor do parâmetro | Idioma                      |
| ------------------ | --------------------------- |
| ach                | Luo                         |
| af                 | Africâner                   |
| ak                 | Akan                        |
| am                 | Amárico                     |
| ar                 | Árabe                       |
| az                 | Azerbaijano                 |
| be                 | Bielorrusso                 |
| bem                | Bemba                       |
| bg                 | Búlgaro                     |
| bh                 | Bihari                      |
| bn                 | Bengali                     |
| br                 | Bretão                      |
| bs                 | Bósnio                      |
| bt                 | Butanês                     |
| ca                 | Catalão                     |
| chr                | Cherokee                    |
| ckb                | Curdo (soranî)              |
| co                 | Corso                       |
| crs                | Crioulo seichelense         |
| cs                 | Tcheco                      |
| cy                 | Galês                       |
| da                 | Dinamarquês                 |
| de                 | Alemão                      |
| ee                 | Ewe                         |
| el                 | Grego                       |
| en                 | Inglês                      |
| eo                 | Esperanto                   |
| es                 | Espanhol                    |
| es-419             | Espanhol (latino-americano) |
| et                 | Estoniano                   |
| eu                 | Basco                       |
| fa                 | Persa                       |
| fi                 | Finlandês                   |
| fo                 | Feroês                      |
| fr                 | Francês                     |
| fy                 | Frísio                      |
| ga                 | Irlandês                    |
| gaa                | Ga                          |
| gd                 | Gaélico escocês             |
| gl                 | Galego                      |
| gn                 | Guarani                     |
| gu                 | Guzerate                    |
| ha                 | Hauçá                       |
| haw                | Havaiano                    |
| he                 | Hebraico                    |
| hi                 | Hindi                       |
| hr                 | Croata                      |
| ht                 | Crioulo haitiano            |
| hu                 | Húngaro                     |
| hy                 | Armênio                     |
| ia                 | Interlíngua                 |
| id                 | Indonésio                   |
| ig                 | Igbo                        |
| is                 | Islandês                    |
| it                 | Italiano                    |
| iw                 | Hebraico                    |
| ja                 | Japonês                     |
| jw                 | Javanês                     |
| ka                 | Georgiano                   |
| kg                 | Kongo                       |
| kk                 | Cazaque                     |
| kl                 | Groenlandês                 |
| km                 | Cambojano                   |
| kn                 | Kannada                     |
| ko                 | Coreano                     |
| kri                | Krio (Serra Leoa)           |
| ku                 | Curdo                       |
| ky                 | Quirguiz                    |
| la                 | Latim                       |
| lg                 | Luganda                     |
| ln                 | Lingala                     |
| lo                 | Laosiano                    |
| loz                | Lozi                        |
| lt                 | Lituano                     |
| lua                | Tshiluba                    |
| lv                 | Letão                       |
| mfe                | Crioulo mauriciano          |
| mg                 | Malagasy                    |
| mi                 | Maori                       |
| mk                 | Macedônio                   |
| ml                 | Malaiala                    |
| mn                 | Mongol                      |
| mo                 | Moldávio                    |
| mr                 | Marathi                     |
| ms                 | Malaio                      |
| mt                 | Maltês                      |
| mv                 | Maldivas                    |
| my                 | Mianmar                     |
| ne                 | Nepalês                     |
| nl                 | Holandês                    |
| nn                 | Norueguês (nynorsk)         |
| no                 | Norueguês                   |
| nso                | Soto do Norte               |
| ny                 | Chichewa                    |
| nyn                | Runyakitara                 |
| oc                 | Occitano                    |
| om                 | Oromo                       |
| or                 | Oriá                        |
| pa                 | Punjabi                     |
| pcm                | Pidgin nigeriano            |
| pl                 | Polonês                     |
| ps                 | Paxto                       |
| pt                 | Português                   |
| pt-br              | Português (Brasil)          |
| pt-pt              | Português (Portugal)        |
| qu                 | Quéchua                     |
| rm                 | Romanche                    |
| rn                 | Kirundi                     |
| ro                 | Romeno                      |
| ru                 | Russo                       |
| rw                 | Kinyarwanda                 |
| sd                 | Sindhi                      |
| sh                 | Servo-croata                |
| si                 | Cingalês                    |
| sk                 | Eslovaco                    |
| sl                 | Esloveno                    |
| sn                 | Shona                       |
| so                 | Somali                      |
| sq                 | Albanês                     |
| sr                 | Sérvio                      |
| sr-me              | Montenegrino                |
| st                 | Sesoto                      |
| su                 | Sundanês                    |
| sv                 | Sueco                       |
| sw                 | Suaíli                      |
| ta                 | Tâmil                       |
| te                 | Telugu                      |
| tg                 | Tajique                     |
| th                 | Tailandês                   |
| ti                 | Tigrinya                    |
| tk                 | Turcomeno                   |
| tl                 | Filipino                    |
| tn                 | Setsuana                    |
| to                 | Tonga                       |
| tr                 | Turco                       |
| tt                 | Tártaro                     |
| tum                | Tumbuka                     |
| tw                 | Twi                         |
| ug                 | Uigur                       |
| uk                 | Ucraniano                   |
| ur                 | Urdu                        |
| uz                 | Uzbeque                     |
| vi                 | Vietnamita                  |
| vu                 | Vanuatu                     |
| wo                 | Wolof                       |
| ws                 | Samoa                       |
| xh                 | Xhosa                       |
| yi                 | Iídiche                     |
| yo                 | Iorubá                      |
| zh-cn              | Chinês (Simplificado)       |
| zh-tw              | Chinês (Tradicional)        |
| zu                 | Zulu                        |

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/api-targets/pt-br/video-and-social-media/youtube/autocomplete.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
