MarsProxies Residential Proxies use a parameter-based password system. This means you can control key settings such as country, state, city, rotation, and session duration directly within the password.
The key advantage of this approach is flexibility. You can easily adjust location targeting or IP rotation without accessing the MarsProxies dashboard.
Here’s an example of MarsProxies credentials in host:port:username:password format:
ultra.marsproxies.com:44445:mr74269FQZ:MIUueQWK9n_country-us_city-ashburn_session-wabqla82_lifetime-30m
Let’s break down the structure:
Host: ultra.marsproxies.com
Port: 44443 for HTTP/HTTPS, 44445 for SOCKS5
Username: mr74269FQZ
Password: MIUueQWK9n_country-us_city-ashburn_session-wabqla82_lifetime-30m
Breaking Down the Password Parameters
Each parameter in the password plays a specific role. Here’s how:
Authentication (MIUueQWK9n)
This is your base password used to verify access to your proxies. You should only change it using the MarsProxies dashboard.
Country parameter (country-us)
Sets the geographic location of your proxy IP address on the country level. Replace the two-letter code with any supported option (e.g., country-ca for Canada, country-fr for France). This is useful when you only need to target a specific country without narrowing down to a particular state, region, or city.
State/Region parameter (city-ashburn)
Defines the exact state, region, or city your IP address comes from. You can replace this with another supported city or specify a state or region (e.g., state-california).
Session parameter (session-wabqla82)
Determines which IP address you receive. Changing this 8-character string will generate a different IP address. For example, session-wabqla82 will give a different IP address than session-wabqla83 or session-wabqla84, and so on. By keeping the same session parameter, you can maintain a static IP address for the duration of your task.
Session duration parameter (lifetime-30m)
Controls how long your proxy session remains active before it rotates automatically. A value such as lifetime-30 keeps the same IP address for 30 minutes, while lifetime-1h maintains it for an hour and lifetime-24h maintains it for a day.
Practical Applications
Consistent sessions
Use the same session string with a longer session duration parameter if you need stability, such as logging into accounts or completing more complex processes.
Rotating IPs
Randomize the session parameter to continuously generate fresh IP addresses, ensuring high anonymity and reducing the chances of detection.
Geo-targeted tasks
Adjust the state/region parameter by using a specific country, state, or city to match your needs, such as specific testing environments, market research locations, or accessing region-restricted platforms.
Best Practices
Always keep your base password intact - only modify the appended parameters (country, state/region, session, and session duration).
Use two-letter ISO country codes to maintain consistency (e.g., us, ca, uk).
If you need a large volume of fresh IPs, consider automating session parameter randomization in your software.
Choose the session lifetime carefully, depending on your workflow.
Note: The credentials shown in the example are for demonstration purposes only and are not active.