> For AI agents: the complete documentation index is available at https://proxykite.com/docs/llms.txt, the full documentation bundle is available at https://proxykite.com/docs/llms-full.txt.

# Export

## All connection strings


`GET /export`

**Ability:** `read` · One line per proxy user of every proxy your login can see. Answers **plain text** (or CSV),
not JSON.

| Query `format`       | Line format               | Content-Type |
| -------------------- | ------------------------- | ------------ |
| `hostport` (default) | `host:port:user:pass`     | `text/plain` |
| `hostport_at`        | `host:port@user:pass`     | `text/plain` |
| `userpass`           | `user:pass@host:port`     | `text/plain` |
| `csv`                | header + one row per user | `text/csv`   |

CSV columns: `id, label, host, port, username, password, http_url, socks5_url, status, current_ip, rotation_url`
(`status` is the `disabled_reason` when the proxy is disabled).



**curl**

```bash
curl 'https://proxykite.com/api/v1/export?format=hostport_at' \
  -H "Authorization: Bearer $HYP_TOKEN" \
  -H 'Accept: text/plain'
```


**Python**

```python
import os
import requests

r = requests.get(
    "https://proxykite.com/api/v1/export?format=hostport_at",
    headers={"Authorization": f"Bearer {os.environ['HYP_TOKEN']}", "Accept": "application/json"},
    timeout=30,
)
print(r.status_code)
print(r.text)
```


**Node.js**

```js
const res = await fetch('https://proxykite.com/api/v1/export?format=hostport_at', {
  headers: {
    Authorization: `Bearer ${process.env.HYP_TOKEN}`,
    Accept: 'application/json',
  },
  signal: AbortSignal.timeout(30000),
});
console.log(res.status, await res.text());
```


**PHP**

```php
<?php
$ch = curl_init('https://proxykite.com/api/v1/export?format=hostport_at');
curl_setopt_array($ch, [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('HYP_TOKEN'),
        'Accept: application/json',
    ],
]);
$body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
echo $status, PHP_EOL, $body;
```



**Response `200`**

```text
ind1.proxykite.com:30007@u7abc:s3cret
ind1.proxykite.com:30008@u8xyz:an0ther
```

See [Proxy formats](https://proxykite.com/docs/guide/proxy-formats.md) for how to use each format.
