> ## 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.

# Быстрый старт

> MCP-сервер, CLI, TypeScript/Python SDK и REST API для ISP, Datacenter, резидентских и мобильных прокси — с песочницей (pl_test_...) и детальными scopes.

> [card] [MCP-сервер](https://docs.proxy-layer.com/ru/mcp-server.md)
>
> Подключите Claude, Cursor или любой MCP-клиент через OAuth или API-ключ.

> [card] [CLI](https://docs.proxy-layer.com/ru/cli.md)
>
> Каталог, расчёт цены, покупка прокси и выгрузка строк из терминала.

> [card] [SDK](https://docs.proxy-layer.com/ru/sdk.md)
>
> Клиенты для TypeScript и Python без зависимостей — с адаптерами для Playwright, httpx, requests и undici.

> [card] [API](https://docs.proxy-layer.com/ru/api.md)
>
> Прямой HTTPS JSON API с детальными scopes, песочницей (`pl_test_...`) и OpenAPI 3.0.

## Первый запрос

Каталог и расчёт цены для новых покупок публичны — API-ключ не нужен.

```bash CLI icon="https://mintcdn.com/lyvra-ltd/Tue5FxdTaCV18-T9/images/cli.svg?fit=max&auto=format&n=Tue5FxdTaCV18-T9&q=85&s=b9a1c970c0ccb7e3a905402866a88018" theme={}
npx @proxylayer/cli catalog
npx @proxylayer/cli quote isp US 2 30d
```

```ts TypeScript icon="https://mintcdn.com/lyvra-ltd/ykDSqb4QNuqsHmua/images/typescript.svg?fit=max&auto=format&n=ykDSqb4QNuqsHmua&q=85&s=02fdfe93a244fa1eb710e29c011dea28" theme={}
import { ProxyLayer } from "@proxylayer/cli"

const client = new ProxyLayer()
const quote = await client.quote({
  productSlug: "isp",
  durationDays: 30,
  items: [{ countryCode: "US", quantity: 2 }],
})
console.log(quote.amountCents)
```

```python Python icon="https://mintcdn.com/lyvra-ltd/MoR-cFFJNKVBeKg3/images/python.svg?fit=max&auto=format&n=MoR-cFFJNKVBeKg3&q=85&s=f90e47ff458268ce55e480e02379fda7" theme={}
from proxylayer import ProxyLayer

client = ProxyLayer()
quote = client.quote({
    "productSlug": "isp",
    "durationDays": 30,
    "items": [{"countryCode": "US", "quantity": 2}],
})
print(quote["amountCents"])
```

```bash cURL icon="https://mintcdn.com/lyvra-ltd/Tue5FxdTaCV18-T9/images/curl.svg?fit=max&auto=format&n=Tue5FxdTaCV18-T9&q=85&s=1bce3dd543c34bc39109e87cb5d7ea3e" theme={}
curl https://app.proxy-layer.com/api/v1/catalog
```

Создавайте боевые (`pl_live_...`) или тестовые (`pl_test_...`) ключи с детальными scopes в [кабинете](https://app.proxy-layer.com/docs#keys) или через [Email OTP](https://docs.proxy-layer.com/ru/api-reference/auth/request-email-otp.md).

## Продукты и цены

> [card] [ISP-прокси](https://docs.proxy-layer.com/ru/products/isp.md)
>
> Статические ISP IP в 23 странах от \$1.76/мес (\$2.00 / 30 дн.).

> [card] [Прокси дата-центра](https://docs.proxy-layer.com/ru/products/datacenter.md)
>
> Статические серверные IP в 197 странах от \$1.43/мес (\$1.60 / 30 дн.).

> [card] [Резидентские прокси](https://docs.proxy-layer.com/ru/products/residential.md)
>
> От \$1.40/ГБ — страна/город/штат/ASN, ротация на портах 823/824 и sticky-порты (10000–30000).

> [card] [Мобильные прокси](https://docs.proxy-layer.com/ru/products/mobile.md)
>
> Мобильные прокси в 197 странах от \$1.43/мес — выбор оператора/ASN и shared-ротация.

## Процесс покупки

```mermaid theme={}
flowchart LR
  A["Каталог"] --> B["Расчёт"]
  B --> C["Оплата"]
  C --> D["Выдача"]
  D --> E["Подключение"]
```

Передавайте один и тот же объект `purchase` от расчёта цены до чекаута.

**1. Получите каталог**

Вызовите [Каталог](https://docs.proxy-layer.com/ru/api-reference/buy-proxies/list-products-and-prices.md), чтобы узнать актуальные `slug`, страны, сроки (`durationsDays`) и лимиты. Наличие может меняться между запросами.

**2. Рассчитайте цену**

Отправьте объект `purchase` в [Проверить цену](https://docs.proxy-layer.com/ru/api-reference/buy-proxies/check-the-price.md) — ответ вернёт итоговую сумму в `amountCents`. Расчёт не резервирует цену или наличие. Для простых запросов также доступен `GET /api/v1/quotes?product=isp&country=US&qty=2&days=30`.

**3. Создайте чекаут**

Вызовите [Создать чекаут](https://docs.proxy-layer.com/ru/api-reference/buy-proxies/create-checkout.md) с ключом полного доступа и `paymentMethod`: `stripe` (вернёт `paymentUrl`), `crypto` (адрес депозита и `paymentUrl`) или `balance` (сразу спишет баланс).

**4. Дождитесь выдачи**

Завершите оплату по `paymentUrl` (для Stripe/крипты), затем опрашивайте [Статус чекаута](https://docs.proxy-layer.com/ru/api-reference/buy-proxies/get-checkout-status.md) по `checkoutSessionId`. Оплата (`status: "completed"`) и выдача (`fulfillmentStatus: "FULFILLED"`) разделены — забирайте прокси только после `FULFILLED`.

Чтобы оплатить сразу с баланса без выбора способа оплаты, используйте [Оплатить с баланса](https://docs.proxy-layer.com/ru/api-reference/buy-proxies/create-an-order-and-pay-from-balance.md) (`POST /api/v1/orders`). Метод возвращает `201` с `orderId`, `checkoutSessionId` и остатком `balanceCents`; выдача выполняется асинхронно.

***

**Вся документация одним файлом (для ИИ и инструментов):** [llms-full.txt](https://docs.proxy-layer.com/llms-full.txt) · [OpenAPI 3.0](https://docs.proxy-layer.com/openapi.json) · [llms.txt](https://docs.proxy-layer.com/llms.txt) · [SKILL.md](https://docs.proxy-layer.com/SKILL.md)


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