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:
8080for HTTP and443for HTTPS - Authorization: Basic
- Username/Password: Check your account settings
- Reset the password: see Reset your proxy credentials
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 an IP in a specific country, add the country header to the username, using a 2-letter ISO 3166-1 alpha-2 country code, such as DE for Germany, GB for the United Kingdom or ES for Spain. The code is case-insensitive.
| Country | Parameter |
|---|---|
| United States | country-us |
| United Kingdom | country-gb |
| Japan | country-jp |
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 an IP in a specific state, add the state header to the username, starting with the 2-letter country code, such as state-us_illinois, state-us_ohio or state-us_california.
| State | Parameter |
|---|---|
| Alabama | state-us_alabama |
| Colorado | state-us_colorado |
| Florida | state-us_florida |
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 an IP in a specific city, add the city header to the username, starting with the 2-letter country code. For example, customer-USERNAME-city-us_chicago requests a proxy from Chicago.
| City | Parameter |
|---|---|
| Los Angeles | city-us_los_angeles |
| London | city-gb_london |
| Munich | city-de_munich |
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.