# Is web scraping legal?

Web scraping is entirely legal when it is done without breaching any laws regarding the source targets or data itself. However, we highly encourage you to read a [dedicated article](https://oxylabs.io/blog/is-web-scraping-legal) that goes into more depth on the topic and consult your legal advisor before conducting any scraping projects to avoid risks.

***

<a href="https://dashboard.oxylabs.io/en/" class="button primary">Head back to the dashboard</a>


---

# 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/help-center/products-and-features/is-web-scraping-legal.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.
