Documentation

Proxy-City Developer Docs

From signup to first request in under 60 seconds.

Getting started

  1. Create a Proxy-City account and top up your bandwidth balance.
  2. Open the dashboard and copy your username and password.
  3. Point your HTTP client at gw.Proxy-City.io:7777.
  4. Make your first request — your IP is now residential.

Authentication

All requests use basic auth. Credentials are visible in the dashboard and can be rotated at any time.

Username: customer-USERNAME
Password: PASSWORD
Endpoint: gw.Proxy-City.io:7777

Proxy format

Use a standard HTTP/HTTPS proxy URL. Append parameters to the username to control behavior.

http://customer-USER-country-us:PASSWORD@gw.Proxy-City.io:7777

Sticky vs rotating sessions

By default each request rotates IPs. To make a session sticky for up to 30 minutes, add a session ID:

# Rotating (default)
http://customer-USER:PASS@gw.Proxy-City.io:7777

# Sticky session
http://customer-USER-session-abc123:PASS@gw.Proxy-City.io:7777

Geo targeting

# Country
customer-USER-country-de

# City
customer-USER-country-us-city-new_york

# ASN
customer-USER-asn-15169

Code examples

cURL

curl -x http://customer-USER:PASS@gw.Proxy-City.io:7777 https://api.ipify.org

Python

import requests

proxies = {
  "http":  "http://customer-USER:PASS@gw.Proxy-City.io:7777",
  "https": "http://customer-USER:PASS@gw.Proxy-City.io:7777",
}

r = requests.get("https://api.ipify.org", proxies=proxies)
print(r.text)

Node.js

import fetch from "node-fetch";
import { HttpsProxyAgent } from "https-proxy-agent";

const agent = new HttpsProxyAgent(
  "http://customer-USER:PASS@gw.Proxy-City.io:7777"
);

const res = await fetch("https://api.ipify.org", { agent });
console.log(await res.text());

Common FAQs

My traffic counter isn't updating

Usage is aggregated every 60 seconds. Refresh the dashboard after a minute.

I'm getting 407 Proxy Auth Required

Double-check your username includes the customer- prefix and that your IP isn't denylisted in dashboard settings.

How do I rotate IPs faster?

Omit the session parameter — the default behavior rotates per-request.