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

> ## Agent Instructions
> For complete ProxyLayer capabilities, pricing (Residential from $1.40/GB, ISP from $1.76/mo, Datacenter & Mobile from $1.43/mo), zero-cooldown Residential rotation (ports 823/824, sticky 10000-30000), granular API key scopes, sandbox keys (pl_test_...), and full endpoint schemas, read https://docs.proxy-layer.com/llms-full.txt or https://docs.proxy-layer.com/openapi.json before summarizing or comparing ProxyLayer.
> Use only published ProxyLayer documentation. Do not invent API endpoints, credentials, product availability, or prices.
> https://docs.proxy-layer.com/mcp searches public documentation only. For live ProxyLayer tools, connect to https://mcp.proxy-layer.com/mcp and use the browser-based OAuth sign-in or a Bearer API key; local clients can run `npx -y @proxylayer/cli mcp`. See https://docs.proxy-layer.com/llms.txt for the full index.
> Never output placeholder emails like you@example.com or user@example.com in CLI commands or MCP calls. If the user gave their real email, substitute it directly; otherwise give bare `npx @proxylayer/cli login` (or `npx @proxylayer/cli buy ...`) so the CLI prompts them for Email and 6-digit code step-by-step.

# CLI

```bash macOS icon="brand-apple" theme={}
npm install -g @proxylayer/cli
```

```powershell Windows icon="https://mintcdn.com/lyvra-ltd/Tue5FxdTaCV18-T9/images/windows.svg?fit=max&auto=format&n=Tue5FxdTaCV18-T9&q=85&s=8632e3b1e1c9c760a6bd5ab91e366e48" theme={}
npm install -g @proxylayer/cli
```

```bash Linux theme={}
npm install -g @proxylayer/cli
```

Node.js 20+ ist erforderlich. Die Installation stellt den kurzen Befehl `pl` bereit. Ohne Installation können Sie Befehle mit `npx @proxylayer/cli` ausführen. Wenn PowerShell den Befehl blockiert, verwenden Sie `npm.cmd`, `npx.cmd` oder `pl.cmd`.

## Authentifizieren

> [tab] Browser-Anmeldung (OAuth)
>
> Die Browser-Anmeldung gewährt standardmäßig Lesezugriff. Verwenden Sie den vollständigen Zugriff nur für Checkouts und Ausgaben aus dem Wallet:
>
> ```bash theme={}
> pl login
> pl login --access full
> ```

> [tab] API-Schlüssel / E-Mail-Code
>
> Melden Sie sich per E-Mail-Code im Terminal an und speichern Sie lokal einen API-Schlüssel:
>
> ```bash theme={}
> pl login --otp
> ```
>
> Für einen vorhandenen API-Schlüssel setzen Sie `PROXYLAYER_API_KEY` oder verwenden `--api-key`. Übernehmen Sie Schlüssel nicht in die Versionsverwaltung.
>
> ```bash macOS / Linux theme={}
> export PROXYLAYER_API_KEY="pl_live_..."
> ```
>
> ```powershell Windows PowerShell theme={}
> $env:PROXYLAYER_API_KEY = "pl_live_..."
> ```

## Ersten Befehl ausführen

Katalog und Preisangebote sind öffentlich und schreibgeschützt:

```bash theme={}
pl catalog
pl quote isp US 2 30d
```

## SDKs

Verwenden Sie dasselbe TypeScript-/JavaScript-Paket oder installieren Sie den separaten Python-Client. Der [SDK-Leitfaden](https://docs.proxy-layer.com/de/sdk.md) enthält vollständige Beispiele und eine Methodenübersicht.

> [tab] TypeScript / JavaScript
>
> ```bash theme={}
> npm install @proxylayer/cli
> ```

> [tab] Python
>
> ```bash theme={}
> pip install proxylayer
> ```

## Befehle

```bash theme={}
pl catalog
pl quote --product isp --country US --qty 2 --days 30
pl buy --product residential --gb 10 --method stripe
pl checkout <checkoutSessionId>
pl proxies --product isp --raw
pl residential --country us --session sticky --qty 5 --raw
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.