Developers

Datacenter proxies

Technical guide

Making Datacenter requests

Authenticate a datacenter connection and test one target.

Product credentials

Use your product’s proxy username and password. These credentials are separate from your dashboard login and API credentials. Keep username and password in separate client fields. Encode them only when constructing a URL. Choose credential authentication or source-IP authentication for a connection; do not combine both methods. For IP-authenticated connections, register the public egress address of the machine sending the request, including any NAT or VPN.

Prefix your assigned Datacenter product user with user-. The password remains unchanged. Use the credentials for the intended product pool.

Rotating request

cURL
: "${PROXY_PASSWORD:?Set your proxy password}"

curl --proxy "http://proxy.crawlhub.ai:8000" \
  --proxy-user "user-USERNAME:$PROXY_PASSWORD" \
  --connect-timeout 10 --max-time 60 \
  https://example.com/

Fixed assignment

Fixed-IP request
: "${CRAWLHUB_ASSIGNED_PORT:?Set the port from your proxy list}"
: "${PROXY_PASSWORD:?Set your proxy password}"

curl --proxy "http://proxy.crawlhub.ai:$CRAWLHUB_ASSIGNED_PORT" \
  --proxy-user "user-USERNAME:$PROXY_PASSWORD" \
  --connect-timeout 10 --max-time 60 https://example.com/

Next steps

Inspect the allocation list and verify one exit before adding concurrency. The same client configuration works with the integration guides.

Search documentation

Search guides, products and reference pages.