Developers

Residential proxies

Technical guide

Making residential requests

Send and verify your first residential proxy request.

Credentials

Open Residential in your dashboard. If you have access, select Generate credentials once, then copy the username and password. Residential saves your password to your account, so you can copy it after signing in again. The same card shows the proxy host and port.

Client fieldValue
Proxy typeHTTPS
Hostnameproxy.crawlhub.ai
Proxy port8443
UsernameThe username shown in Residential
PasswordThe password you generated in Residential

Scroll horizontally to read all columns.

If your client asks for one URL, use https://USERNAME:PASSWORD@proxy.crawlhub.ai:8443. Open Proxy generator in Residential to copy a URL with your selected settings.

Send a request

Set PROXY_USERNAME and PROXY_PASSWORD in your shell or load them from your secret manager. Use the base username from Residential in the examples below. The target must be a public HTTPS URL on port 443.

First request with cURL
: "${PROXY_USERNAME:?Set your CrawlHub proxy username}"
: "${PROXY_PASSWORD:?Set your CrawlHub proxy password}"

curl --proxy "https://proxy.crawlhub.ai:8443" \
  --proxy-user "${PROXY_USERNAME}:${PROXY_PASSWORD}" \
  --noproxy "" --connect-timeout 10 --max-time 30 \
  https://example.com/

Add a country or session

ParameterUsername suffixExampleDefault
Country__cc_ + two lowercase country letters__cc_usAny available country
Sticky session__sid_ + 1–32 letters or digits__sid_job01Rotating

Scroll horizontally to read all columns.

Append each suffix once. When you use both, put the country before the session. Leave the password as issued. For example, append __cc_us__sid_job01 to the base username. The live Residential gateway supports these two username parameters.

US exit with a sticky session
: "${PROXY_USERNAME:?Set your CrawlHub proxy username}"
: "${PROXY_PASSWORD:?Set your CrawlHub proxy password}"

curl --proxy "https://proxy.crawlhub.ai:8443" \
  --proxy-user "${PROXY_USERNAME}__cc_us__sid_job01:${PROXY_PASSWORD}" \
  --noproxy "" --connect-timeout 10 --max-time 30 \
  https://example.com/

Verify before scaling

Check that the test page returned a successful status. Use the proxy checker to confirm the exit IP and reported country.

Search documentation

Search guides, products and reference pages.