> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proxyscrape.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

> Send your API key in the api-token header and use the correct base URL and path prefix.

To call the Account API with an API key, send the key in the `api-token` header and use the base URL and path prefix below.

## Sending the API key

Include your key in every request using the `api-token` header:

```bash theme={null}
api-token: <your-key>
```

Example with cURL:

```bash theme={null}
curl -X GET "https://api.proxyscrape.com/v4/account/api-keys" \
  -H "api-token: YOUR_64_CHARACTER_API_KEY"
```

<Warning>
  Keep your API key secret. Do not commit it to version control or expose it in client-side code.
</Warning>

## Base URL and path prefix

* **Base URL:** `https://api.proxyscrape.com`
* **Path prefix:** `/v4/account` for account and API key management (e.g. `/v4/account/api-keys`).

All Account API endpoints are under this base URL and prefix.

<Card title="Create a key" icon="plus" href="/api/account/create">
  Create an API key and use it with the api-token header.
</Card>
