Documentation
Connect to Exitway
Exitway exposes one hostname. The port selects the product, the username selects the location and the session behaviour. Both HTTP(S) and SOCKS5 are accepted on every port.
Quick start
- Create an account — your proxy username and password are generated immediately.
- Top up your wallet with crypto, then buy bandwidth on a product.
- Send a request:
curl -x http://USERNAME:PASSWORD@gw.exitway.net:7777 https://ipinfo.io/json
Endpoints
| Product | Endpoint | Protocols | From |
|---|---|---|---|
| Residential | gw.exitway.net:7777 | HTTP, HTTPS (CONNECT), SOCKS5 | $0.70/GB |
| Datacenter | gw.exitway.net:8888 | HTTP, HTTPS (CONNECT), SOCKS5 | $0.30/GB |
Use socks5h:// (not socks5://) in tools that support it, so DNS is resolved at the exit node and never leaks locally.
Authentication
Authenticate with your proxy credentials from the Proxies page — they are different from your account password. The same credentials work on every product; the bandwidth is debited from the product of the port you use.
Parameters are appended to the username with dashes: USERNAME-key-value-key-value. The password never changes. If a password leaks, regenerate it from the dashboard: every connection using the old one is closed within seconds.
Parameters
| Parameter | Example | Description |
|---|---|---|
| -country-… | -country-us | Exit country, ISO 3166-1 alpha-2 code. (244 values) |
| -session-… | -session-k3x9a2 | Any identifier you choose. Requests sharing the same session keep the same IP. Omit it to rotate on every connection. |
| -lifetime-… | -lifetime-30 | How long (in minutes) a sticky session keeps its IP. (1–1440) |
Values may contain letters, digits, _ and .. Countries use their ISO code (us, de, jp). Unknown parameters are rejected with an explicit error rather than silently ignored, so you never get an IP from the wrong place.
Rotation & sticky sessions
Rotating (default): every new TCP connection gets a new IP. Note that HTTP keep-alive reuses the connection — and therefore the IP — for several requests.
Sticky: add -session-anything123 to keep the same IP, and -lifetime-30 to choose how long (minutes). Use a different session id per identity you want to keep. Session ids are private to your account: another customer using the same id never gets your IP.
Code examples
# Rotating IP in the United States
curl -x http://USERNAME-country-us:[email protected]:7777 https://ipinfo.io/json
# Sticky session (same IP for 30 minutes), over SOCKS5
curl -x socks5h://USERNAME-country-us-session-abc123-lifetime-30:[email protected]:7777 https://ipinfo.io/jsonError codes
Errors are returned by the gateway with a short explanation in the body and an X-Exitway-Error header (HTTP).
| HTTP | SOCKS5 | Meaning |
|---|---|---|
| 407 | auth failure | Missing or wrong credentials. Check your username/password in the dashboard. |
| 400 | rejected (0x02) | Invalid parameter: unknown key, value out of format, or a combination no route supports. |
| 402 | rejected (0x02) | No bandwidth left on the product behind this port. Buy more GB. |
| 403 | rejected (0x02) | Account suspended, or destination port blocked (SMTP ports 25, 465, 587). |
| 429 | rejected (0x02) | Too many concurrent connections, or too many failed logins from your IP. |
| 502 | 0x01 / 0x04 / 0x05 | The exit node could not reach the target. Retry — rotating requests get a new IP. |
| 503 | 0x01 | No route available for this product right now. See the status page. |
| 503 no_exit_available | 0x03 | No IP is available for these parameters right now (e.g. a country without peers). Retry later or pick another location. |
| 504 | 0x06 | The connection timed out. Retry, or pick a closer location. |
Limits & fair use
- Traffic is counted in both directions (upload + download), 1 GB = 1,000,000,000 bytes.
- Outgoing email ports (25, 465, 587) are blocked. Read the Acceptable Use Policy.
- Concurrent connections are capped per account to protect the network; contact support if you need more.
- Idle tunnels are closed after a few minutes without traffic.