> 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/products/pt-br/web-scraper-api/web-scraper-api-playground.md).

# Web Scraper API Playground

[**Ambiente de testes do Web Scraper API**](https://dashboard.oxylabs.io/?route=/api-playground) é uma ferramenta interativa disponível no painel da Oxylabs. Ela permite criar e testar solicitações do Web Scraper API em um ambiente simplificado.

Com o Web Scraper API Playground, você pode testar diferentes alvos, ajustar parâmetros da solicitação, visualizar resultados e exportar trechos de código prontos para uso. Ele foi projetado tanto para usuários iniciantes quanto avançados, para prototipagem rápida e para verificar configurações de solicitação.

Ele também integra [**OxyCopilot**](https://developers.oxylabs.io/scraping-solutions/oxycopilot), um assistente com IA que ajuda a gerar regras de parsing, criar predefinições de parser, construir scrapers e gerar instruções de navegador a partir de prompts em linguagem natural.

## Principais recursos

O Web Scraper API Playground é o ambiente principal para experimentar solicitações do Web Scraper API. Suas principais funções incluem:

* **Construtor interativo de solicitações** – escolha uma fonte (Universal, Amazon, Google, YouTube etc.), insira uma URL ou consulta e execute uma solicitação diretamente pelo painel.
* **Personalização de parâmetros** – ajuste opções como renderização de JavaScript, geolocalização, localidade, parsing, tipo de user agent e muito mais.
* **Pré-visualização de resultados** – veja a resposta em HTML bruto ou JSON processado para confirmar a saída da sua solicitação.
* **Opções de exportação** – copie trechos de código gerados (cURL, Python etc.) ou payloads da solicitação para uso posterior.
* [**OxyCopilot**](https://developers.oxylabs.io/scraping-solutions/oxycopilot) **integração** – use o assistente integrado para criar automaticamente payloads de solicitação do scraper, lógica de parsing, predefinições de parser reutilizáveis ou instruções do navegador usando linguagem natural.

{% hint style="info" %}
Ao fazer scraping, o Web Scraper API Playground foi criado para **testes e exploração**. Para fluxos de trabalho automatizados ou de alto volume, use os métodos padrão de integração do Web Scraper API ([Realtime](/products/pt-br/web-scraper-api/integration-methods/realtime.md), [Push-Pull](/products/pt-br/web-scraper-api/integration-methods/push-pull.md), ou [Proxy Endpoint](/products/pt-br/web-scraper-api/integration-methods/proxy-endpoint.md)).
{% endhint %}

## Como usar

Usar o Web Scraper API Playground é bem fácil. Siga estas etapas:

{% stepper %}
{% step %}

### Acesse o Web Scraper API Playground

Faça login no [painel da Oxylabs](https://dashboard.oxylabs.io/) e abra o Web Scraper API Playground.

<figure><img src="/files/7ba05bc419e75ede5dcf120bfb559bbe73ea6688" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Selecione uma fonte

Escolha uma fonte dedicada – um site específico (por exemplo, Google, Amazon, YouTube e muitos outros) e uma fonte de scraper (por exemplo, URL, `amazon_product`, `google_search`ou "--Any other website--" para sites não mencionados no menu suspenso.

<figure><img src="/files/130007b98c4d9aa5d4881a6f016c4159bf2bb3b3" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Insira uma consulta ou URL

Forneça a consulta de pesquisa ou a URL da página que você deseja coletar.

<figure><img src="/files/ef5831d4d765aa3f8b01c4bd36696c3f81d707d7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Adicione parâmetros adicionais (opcional)

Ajuste renderização, parsing, localização ou outras opções para o seu caso de uso.

<figure><img src="/files/32fe2f79e9f1492bd39c4b79bf6beb4bbf69fc39" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Execute a solicitação

Envie sua solicitação e visualize instantaneamente os dados retornados.

<figure><img src="/files/ce3c98cd552c7c1042af7f91c9da9188f09114d7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Exportar

Se você estiver satisfeito com os resultados, copie o trecho de código gerado ou o payload da solicitação na linguagem de programação de sua preferência e use-o em seus scripts ou aplicativos. Você também pode exportar resultados em JSON ou HTML usando o menu suspenso no canto superior direito.

<figure><img src="/files/a9895ac1c3aff6a9e7008af299637d3147d6d65f" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Acesso e avaliação

O Web Scraper API Playground está disponível para todos os usuários do painel da Oxylabs para testar os recursos do Oxylabs Web Scraper API.


---

# 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/products/pt-br/web-scraper-api/web-scraper-api-playground.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.
