> 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

Domine o Web Scraper API Playground para criar e testar requisições. Prototipe scrapers, use OxyCopilot para análise por IA e exporte trechos de código.

[**Playground 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 experimentar diferentes alvos, ajustar parâmetros da solicitação, pré-visualizar resultados e exportar trechos de código prontos para uso. Ele foi projetado para usuários iniciantes e avançados, prototipagem rápida e verificação de configurações de solicitação.

Ele também integra [**OxyCopilot**](/products/pt-br/web-scraper-api/web-scraper-api-playground/oxycopilot.md), um assistente com IA que ajuda a gerar regras de parsing, criar presets 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 principal ambiente 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 mais.
* **Pré-visualização de resultados** – veja a resposta em HTML bruto ou JSON analisado 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 de solicitação para uso posterior.
* [**OxyCopilot**](/products/pt-br/web-scraper-api/web-scraper-api-playground/oxycopilot.md) **integração** – use o assistente integrado para criar automaticamente payloads de solicitação do scraper, lógica de parsing, presets reutilizáveis de parser ou instruções de navegador usando linguagem natural.

{% hint style="info" %}
Ao fazer scraping, o Web Scraper API Playground é destinado a **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 usá-lo

Usar o Web Scraper API Playground é muito fácil. Siga estes passos:

{% 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="https://1795063165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-3e10b6b7334f5b00aebb407a0c4eb48c038281f3%2Foxy-dashboard-playground.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Selecione uma fonte

Escolha uma fonte dedicada – website específico (por exemplo, Google, Amazon, YouTube e muitos outros) e 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="https://1795063165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-203f4a4b1f224c47039e8656414a6542dad80ab5%2Fplayground-select-source.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Insira uma consulta ou URL

Informe a consulta de busca ou URL da página que você quer raspar.

<figure><img src="https://1795063165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-67eb6bb75b2977bd49796c0064693d4b4501f2a3%2Fplayground-enter-query.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Adicione parâmetros adicionais (opcional)

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

<figure><img src="https://1795063165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-fb3228fc83d4487d5b8adac7fbef26da6565f40d%2Fplayground-add-parameters.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Execute a solicitação

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

<figure><img src="https://1795063165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-313b3c7c6003ebeacd5f44076c4a8d6e85e609d1%2Fplayground-run-request.png?alt=media" 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="https://1795063165-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBQ7Zf9paoN3FTeGcyfY1%2Fuploads%2Fgit-blob-e50596b59d04edd04fadd9e4392f8ffa98155864%2Fplayground-export-results.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Acesso e teste

O Web Scraper API Playground está disponível para todos os usuários do painel da Oxylabs para testar os recursos do 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.
