---
description: This methob use to get proxy (IP Viet Nam)
---

# Get Proxy

`GET /api/change_proxy?api_key={API_KEY}`

`HOST` [`https://www.betacaptcha.com`](https://www.betacaptcha.com)

## Object structure

<table><thead><tr><th width="119">Parameter</th><th width="85">Type</th><th width="111">Required</th><th>Value</th></tr></thead><tbody><tr><td>API_KEY</td><td>string</td><td>yes</td><td>API Key proxy in page: <a href="https://betacaptcha.com/proxy">https://betacaptcha.com/proxy</a></td></tr></tbody></table>

## Code example (Python)

```python
import requests

API_KEY = "YOUR_API_KEY_PROXY"

change_proxy= requests.get(f"https://www.betacaptcha.com/api/change_proxy?api_key={API_KEY}")

print(change_proxy.json())
```

### Response Success

```json
{
    "next_change": 60,
    "proxy": "IP:PORT",
    "success": true,
    "timeout": 90
}
```

### Response Fail

```json
{
    "current_IP": "IP:PORT",
    "next_change": 10,
    "proxy": null,
    "success": true,
    "timeout": 90
}
```

```json
{
    "success": false,
    "description": "Please slow down your requests or your account will be locked."
}
```
