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 field | Value |
|---|---|
| Proxy type | HTTPS |
| Hostname | proxy.crawlhub.ai |
| Proxy port | 8443 |
| Username | The username shown in Residential |
| Password | The 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.
: "${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
| Parameter | Username suffix | Example | Default |
|---|---|---|---|
| Country | __cc_ + two lowercase country letters | __cc_us | Any available country |
| Sticky session | __sid_ + 1–32 letters or digits | __sid_job01 | Rotating |
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.
: "${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.