You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`host`| Yes | Proxy server hostname or IP address |
65
-
|`port`| Yes | Proxy server port |
66
-
|`username`| No | Username for proxy authentication |
67
-
|`password`| No*| Password for proxy authentication |
68
-
69
-
*Note: When creating a proxy with authentication, provide the password. The API response will only indicate if a password exists (`has_password: true`) but won't return the actual password for security reasons.
67
+
<Note>
68
+
When creating a proxy with authentication, provide the password. The API response will only indicate if a password exists (`has_password: true`) but won't return the actual password for security reasons.
|`country`| No*| ISO 3166 country code (required if `city` is provided) |
64
-
|`carrier`| No | Mobile carrier name (see supported carriers below) |
65
-
|`state`| No | Two-letter US state code |
66
-
|`city`| No | City name without spaces |
67
-
|`zip`| No | US ZIP code |
68
-
|`asn`| No | Autonomous System Number |
59
+
|`country`| No | ISO 3166 country code (e.g., `US`, `GB`) |
60
+
|`carrier`| No | Mobile carrier name (e.g., `verizon`, `att`) |
61
+
|`state`| No | Two-letter state code (e.g., `NY`, `CA`). Only supported for US and Australia. **Cannot be used with `city`**.|
62
+
|`city`| No | City name (lowercase letters only, no spaces, e.g., `newyork`, `losangeles`). Required if `zip` is provided.|
63
+
|`zip`| No | US ZIP code (5 digits only, e.g., `10001`). **Requires `city` to be provided**. |
64
+
|`asn`| No | Autonomous System Number (e.g., `AS15169`, `15169`). **Mutually exclusive with geo-location targeting** (`country`, `city`, `state`, `zip`). |
Target specific operating systems for platform-specific content:
150
-
151
-
<CodeGroup>
152
-
153
-
```typescript Typescript/Javascript
154
-
const proxy =awaitkernel.proxies.create({
155
-
type: 'residential',
156
-
name: 'Windows Residential',
157
-
config: {
158
-
country: 'US',
159
-
os: 'windows'
160
-
}
161
-
});
162
-
163
-
// Use for Windows-specific sites or apps
164
-
```
165
-
166
-
```Python Python
167
-
proxy = client.proxies.create(
168
-
type='residential',
169
-
name='Windows Residential',
170
-
config={
171
-
'country': 'US',
172
-
'os': 'windows'
173
-
}
174
-
)
175
-
176
-
# Use for Windows-specific sites or apps
177
-
```
178
-
179
-
</CodeGroup>
180
-
181
-
## Benefits
182
-
183
-
- Excellent bot detection avoidance
184
-
- Real residential IP addresses
185
-
- Fine-grained geographic targeting
186
-
- Operating system targeting
187
-
188
-
## Limitations
189
-
190
-
- Slower than datacenter and ISP proxies
191
-
- IP addresses may rotate
192
-
- Higher cost than other proxy types
64
+
|`asn`| No | Autonomous System Number (e.g., `AS7922`, `7922`). **Mutually exclusive with geo-location targeting** (`country`, `city`, `state`, `zip`). |
0 commit comments