Developers

Datacenter proxies

Technical guide

Datacenter proxy rotation

Select a new address from your allocated datacenter pool.

Pool rotation

Connect to proxy.crawlhub.ai:8000 with user-USERNAME to rotate through the allocated pool. Separate requests can choose different addresses. A small pool can return the same IP again; rotation does not promise a never-repeated address.

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/

Country pool

Append country-us, for example, to limit rotation to the US addresses in your allocation. This selects from addresses you already have; it does not relocate a fixed IP or add inventory.

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

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

Fixed connection

For consistency, use the specific access port from your proxy list. Use the settings assigned to that product. Persistent client connections can keep their current route until closed.

Search documentation

Search guides, products and reference pages.