|
| 1 | +--- |
| 2 | +title: "Proxies" |
| 3 | +--- |
| 4 | + |
| 5 | +Manage proxy configurations for enhanced browser sessions. Proxy configurations help avoid bot detection by routing browser traffic through different IP addresses and locations. |
| 6 | + |
| 7 | +<Warning> |
| 8 | +This feature is currently in beta and available under the `kernel beta proxies` command. |
| 9 | +</Warning> |
| 10 | + |
| 11 | +## Overview |
| 12 | + |
| 13 | +### `kernel beta proxies list` |
| 14 | +List all proxy configurations. |
| 15 | + |
| 16 | +### `kernel beta proxies get <id>` |
| 17 | +Get detailed information about a specific proxy configuration. |
| 18 | + |
| 19 | +| Argument | Description | |
| 20 | +|----------|-------------| |
| 21 | +| `<id>` | Proxy configuration ID. Required. | |
| 22 | + |
| 23 | +### `kernel beta proxies create` |
| 24 | +Create a new proxy configuration. |
| 25 | + |
| 26 | +| Flag | Description | |
| 27 | +|------|-------------| |
| 28 | +| `--type <type>` | Proxy type: `datacenter`, `isp`, `residential`, `mobile`, or `custom`. Required. | |
| 29 | +| `--name <name>` | Proxy configuration name. Optional. | |
| 30 | + |
| 31 | +#### Location Flags (for datacenter, isp, residential, mobile types) |
| 32 | + |
| 33 | +| Flag | Description | |
| 34 | +|------|-------------| |
| 35 | +| `--country <code>` | ISO 3166 country code or EU. Required for `datacenter` and `isp` types. | |
| 36 | +| `--city <name>` | City name (no spaces, e.g., `sanfrancisco`). Optional. | |
| 37 | +| `--state <code>` | Two-letter state code. Optional. | |
| 38 | +| `--zip <code>` | US ZIP code. Optional. | |
| 39 | +| `--asn <number>` | Autonomous system number (e.g., `AS15169`). Optional. | |
| 40 | + |
| 41 | +#### Additional Flags |
| 42 | + |
| 43 | +| Flag | Description | |
| 44 | +|------|-------------| |
| 45 | +| `--os <system>` | Operating system for residential proxies: `windows`, `macos`, or `android`. Optional. | |
| 46 | +| `--carrier <name>` | Mobile carrier for mobile proxies. Optional. | |
| 47 | + |
| 48 | +#### Custom Proxy Flags |
| 49 | + |
| 50 | +| Flag | Description | |
| 51 | +|------|-------------| |
| 52 | +| `--host <address>` | Proxy host address or IP. Required for `custom` type. | |
| 53 | +| `--port <number>` | Proxy port. Required for `custom` type. | |
| 54 | +| `--username <user>` | Username for proxy authentication. Optional. | |
| 55 | +| `--password <pass>` | Password for proxy authentication. Optional. | |
| 56 | + |
| 57 | +### `kernel beta proxies delete <id>` |
| 58 | +Delete a proxy configuration. |
| 59 | + |
| 60 | +| Argument | Description | |
| 61 | +|----------|-------------| |
| 62 | +| `<id>` | Proxy configuration ID. Required. | |
| 63 | + |
| 64 | +| Flag | Description | |
| 65 | +|------|-------------| |
| 66 | +| `--yes`, `-y` | Skip confirmation prompt. Optional. | |
| 67 | + |
| 68 | +## Proxy Types |
| 69 | + |
| 70 | +Proxy types are ranked from best to worst for bot detection avoidance: |
| 71 | + |
| 72 | +1. **mobile** - Mobile carrier proxies (highest anonymity) |
| 73 | +2. **residential** - Residential IP proxies |
| 74 | +3. **isp** - ISP proxies |
| 75 | +4. **datacenter** - Datacenter proxies |
| 76 | +5. **custom** - Your own proxy server (depends on your setup) |
| 77 | + |
| 78 | +## Examples |
| 79 | + |
| 80 | +### Create a datacenter proxy |
| 81 | +```bash |
| 82 | +kernel beta proxies create --type datacenter --country US --name "US Datacenter" |
| 83 | +``` |
| 84 | + |
| 85 | +### Create a residential proxy with location |
| 86 | +```bash |
| 87 | +kernel beta proxies create --type residential --country US --city sanfrancisco --state CA |
| 88 | +``` |
| 89 | + |
| 90 | +### Create a mobile proxy |
| 91 | +```bash |
| 92 | +kernel beta proxies create --type mobile --country US --carrier verizon |
| 93 | +``` |
| 94 | + |
| 95 | +### Create a custom proxy |
| 96 | +```bash |
| 97 | +kernel beta proxies create --type custom --host proxy.example.com --port 8080 --username myuser --password mypass |
| 98 | +``` |
| 99 | + |
| 100 | +### List all proxies |
| 101 | +```bash |
| 102 | +kernel beta proxies list |
| 103 | +``` |
| 104 | + |
| 105 | +### Get proxy details |
| 106 | +```bash |
| 107 | +kernel beta proxies get proxy_123abc |
| 108 | +``` |
| 109 | + |
| 110 | +### Delete a proxy |
| 111 | +```bash |
| 112 | +kernel beta proxies delete proxy_123abc --yes |
| 113 | +``` |
| 114 | + |
| 115 | +## Using Proxies with Browsers |
| 116 | + |
| 117 | +Once you've created a proxy configuration, you can use it with browser sessions through the API. See the [API Reference](/api-reference/proxies/create-proxy) for details on integrating proxies with browser creation. |
0 commit comments