CUSTOMER API DOCUMENTATION
Download the connections you generated.
Export the saved proxy list as ready-to-use URIs or host:port lines. Export never changes the active configuration.
On this page
Configure once, then export↗
Use PUT /customer/proxies/configuration to choose the count, location, IP behavior, protocol and authentication. Use GET /customer/proxies to inspect the saved result.
Export requires active access and a nonempty, synchronized configuration. It returns the complete saved list; dashboard search filters do not affect this API download.
Download your proxy list↗
/api/v1.0/customer/proxies/exportAuthorization: Bearer <PS_API_KEY>120 requests / minute / account
These examples save the response to a file rather than printing credential-bearing connections. Store it with the same care as a password.
http://ps_user_7_example:[email protected]:40300
http://ps_user_7_example:[email protected]:40301
Python 3.10+ · pip install requests · Set PS_API_KEY in your environment.import os
from pathlib import Path
import requests
base = os.getenv("PS_API_BASE_URL", "https://proxysight.com/api/v1.0").rstrip("/")
key = os.environ["PS_API_KEY"]
response = requests.request(
"GET",
f"{base}/customer/proxies/export?format=uri",
headers={"Authorization": f"Bearer {key}"},
timeout=30,
)
response.raise_for_status()
Path("proxysight-proxies.txt").write_text(response.text, encoding="utf-8")
Request parameters 2 inputs +
| Parameter | Where | Value |
|---|---|---|
formatstring · optional | query | uri (default) or host-port. |
revisionstring · optional | query | The active revision returned by GET /customer/proxies. A mismatch returns 409 instead of downloading a different version. |
Response fields 2 fields +
| Field | Meaning |
|---|---|
uri linestext | http:// or socks5:// URIs. Credentials are percent-encoded when authentication is credentials. |
host-port linestext | One host:port per line. With credential authentication your client still needs the separate credentials. |
Errors & recovery 6 cases +
| HTTP | What happened | What to do |
|---|---|---|
401 | The API key is missing, revoked, or its account is unavailable. | Use the current Bearer key from Settings → API key. |
429 | The account request limit was reached. | Wait for the Retry-After header before retrying. |
500 | The request could not be completed. | Retry reads with backoff. After a write, read the saved state before sending it again. |
403 | Active proxy access is required. | Check /customer/account. |
409 | No synchronized usable list is available. | Read /customer/proxies; finish configuration before exporting. |
422 | The export format is unsupported. | Choose uri or host-port. |
Choose a format your client understands↗
| Format | Returned line | Use when |
|---|---|---|
| uri | http://user:password@host:port or socks5://user:password@host:port | Your client accepts a complete proxy URL. IP-authenticated URIs omit credentials. |
| host-port | host:port | Your client stores credentials separately, or you use IP authentication. |
Saved versions and safe changes↗
GET /customer/proxies reads your saved endpoint snapshot; it does not reallocate ports. Read revision, deliveryReady and pending before using a list.
There is one active configuration per account. A write is saved as pending, synchronized across all three gateways, then committed. If synchronization fails, check pending and retry the exact request with the same requestId. New settings do not become the active snapshot until synchronization succeeds.
Use expectedRevision to avoid overwriting a change made in another session. Download with ?revision= followed by the returned revision; the backend checks current access and refuses outdated or unavailable lists. Growing or shrinking a compatible setup preserves existing eligible ports where possible.
Dashboard presets and recent configurations fill the form only. Apply changes when you want the account configuration to change.
Common questions
Can I export a larger list than my plan allows?
No. First configure a supported count within both your allowance and the location capacity. Export returns that saved list.