---
title: "API Documentation"
description: "Complete API reference for WebScraping.AI. Learn how to scrape websites, extract data with AI, and integrate with your applications."
url: https://webscraping.ai/docs#authentication
markdown_index: https://webscraping.ai/llms.txt
---
## Authentication

All API requests require an API key. Pass your key as a query parameter:

**HTTP**

```http
GET https://api.webscraping.ai/html?url=https://example.com&api_key=YOUR_API_KEY
```

**Keep your API key secure!** Don't expose it in client-side code. Use environment variables or a backend proxy for production applications.
