Reliable proxy solutions for your next project. View pricing →
Home/Developers
Everything you need to connect, authenticate and manage proxies programmatically.
Make your first request in minutes.
Username, password or IP allowlist.
Endpoints, parameters and responses.
Guides for popular tools and languages.
Send your first request through a proxy in three steps. Hostnames, ports and endpoints below are placeholders — replace them with your real values.
Copy your username, password and endpoint from the dashboard.
Use HTTP(S) or SOCKS5 depending on your tool.
Route a test request and check the returned IP.
# cURL (placeholders)
curl -x "http://USERNAME:PASSWORD@HOST:PORT" https://httpbin.org/ip# Python (placeholders)
import requests
proxies = {
"http": "http://USERNAME:PASSWORD@HOST:PORT",
"https": "http://USERNAME:PASSWORD@HOST:PORT",
}
r = requests.get("https://httpbin.org/ip", proxies=proxies)
print(r.text)<?php
$ch = curl_init('https://httpbin.org/ip');
curl_setopt($ch, CURLOPT_PROXY, 'HOST:PORT');
curl_setopt($ch, CURLOPT_PROXYUSERPWD, 'USERNAME:PASSWORD');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($ch);// Node.js (placeholders)
const axios = require('axios');
axios.get('https://httpbin.org/ip', {
proxy: { host: 'HOST', port: PORT,
auth: { username: 'USERNAME', password: 'PASSWORD' } }
}).then(r => console.log(r.data));// Go (placeholders)
proxyURL, _ := url.Parse("http://USERNAME:PASSWORD@HOST:PORT")
client := &http.Client{Transport: &http.Transport{Proxy: http.ProxyURL(proxyURL)}}
resp, _ := client.Get("https://httpbin.org/ip")Authenticate with a username and password, or authorize your server IPs in the dashboard to send requests without credentials.
| Method | Description | Use when |
|---|---|---|
| user:pass | Credentials sent with each request | Most tools and languages |
| ip_allowlist | Authorize fixed server IPs | Servers with static IPs |
Manage proxies, usage and sub-users programmatically. Base URL is a placeholder: https://api.example.com/v1
/v1/usageReturns traffic usage for your account over a period.
| Name | Type | Description |
|---|---|---|
| from | string | Start date (YYYY-MM-DD) |
| to | string | End date (YYYY-MM-DD) |
| group_by | string | Optional: day or location |
{
"from": "2026-01-01",
"to": "2026-01-31",
"traffic_gb": 0,
"requests": 0
}Errors use standard HTTP status codes with a JSON body describing the problem.
| Code | Meaning | What to do |
|---|---|---|
| 400 | Bad request | Check parameters |
| 401 | Unauthorized | Verify credentials |
| 403 | Forbidden | Check plan or allowlist |
| 429 | Too many requests | Slow down and retry |
| 500 | Server error | Retry or contact support |
Rate limits depend on your plan. Replace with your confirmed limits. Exceeding them returns a 429 response.
Our support team can help with setup and API questions.