Configure Rotating Residential Proxies
Introduction
The documentation below describes how to use ScrapingAnt service.
ScrapingAnt services are compatible with many software platforms and tools, from operating systems to browser add-ons. Explore our step-by-step integration guides and learn how to set up your proxies.
If you cannot find something or need help, contact us at support@scrapingant.com.
Endpoints
ScrapingAnt supports:
- HTTPS proxy protocol HTTP proxy with CONNECT method)
- HTTP proxy protocol
Service is accessed using the following entry data:
- Host: residential.scrapingant.com
- Ports:
8080
for HTTP and443
for HTTPS - Authorization: Basic
- Username/Password: Check your account settings
You can test it via any application that has HTTP(s) proxy feature (Chrome, SwitchyOmega, Profixier, Foxy Proxy, Proxy Switcher, Bright Data etc.) or simply a terminal command:
curl --proxytunnel --proxy "https://residential.scrapingant.com" --proxy-user "USERNAME:PASSWORD" https://scrapingbin.link/ip
Parameters
This section describes IP targeting and controlling via parameters in Username.
Country
To target IP of a specific country, specify the 2-letter country code (US, GB, FR, IN, AU etc.):
curl --proxytunnel --proxy "https://residential.scrapingant.com" --proxy-user "customer-USERNAME-country-us:PASSWORD" https://scrapingbin.link/ip
Session-ID
A sticky session will issue a different IP for each unique session ID and will return the same IP in case the same ID is used. The maximum session time is up to 10 minutes.
curl --proxytunnel --proxy "https://residential.scrapingant.com" --proxy-user "customer-USERNAME-country-us-sessionid-123456789:PASSWORD" https://scrapingbin.link/ip
State
To target IP of a specific state:
curl --proxytunnel --proxy "https://residential.scrapingant.com" --proxy-user "customer-USERNAME-state-us_california:PASSWORD" https://scrapingbin.link/ip
Note: The state parameter will have priority against Country, so if used together those headers will be ignored.
City
To target IP of a specific city:
curl --proxytunnel --proxy "https://residential.scrapingant.com" --proxy-user "customer-USERNAME-city-us_los_angeles:PASSWORD" https://scrapingbin.link/ip
Note: The city header will have priority against State and Country, so if used together those headers will be ignored.