# How do I connect to LatamProxies residential proxies?

> Connect LatamProxies residential proxies: host, HTTP port 7777 or SOCKS5 7778, country and city in the username, sticky up to 30 minutes.

- URL: https://latamproxies.com/help/connect-residential-proxies/
- Last updated: 2026-11-13
- Publisher: LatamProxies (https://latamproxies.com)

**Quick answer — How do I connect to LatamProxies residential proxies?**

Open Residential in the **LatamProxies** client area, then your plan: Connection details give the host gw.latamproxies.com, HTTP port 7777, SOCKS5 port 7778, a username and a password. The Proxy generator adds the country, city and session to the username and exports up to 1,000 lines.

**In brief**

- **Gateway**: gw.latamproxies.com, port 7777 for HTTP and HTTPS, port 7778 for SOCKS5.
- **Targeting goes in the username**: country, city, internet provider (ASN) and session, each one optional.
- **Rotating or sticky**: without a session, each new connection gets a new IP from the pool; with one, the IP is kept up to 30 minutes (the IP can change earlier).
- **Logins**: the main username, sub-users with their own password and traffic limit, or an IP whitelist without a password.
- **Test**: the client area shows a curl command that prints the IP and location the target sees.

## Which settings do you need in your tool?

**LatamProxies counted 4 tabs on each residential plan in its client area: Overview, Proxy generator, Sub-users and Statistics.** The connection settings sit in Overview, under Connection details.

*LatamProxies residential connection settings and where each one is shown*

| Setting | Value | Where it is shown |
| --- | --- | --- |
| Host | gw.latamproxies.com | Overview, Connection details |
| HTTP(S) port | 7777 | Overview, Connection details |
| SOCKS5 port | 7778 | Overview, Connection details |
| Username | Your login, plus targeting parts | Overview; built in Proxy generator |
| Password | Shown hidden; Create a new password replaces it | Overview, Connection details |
| Session duration | 1 to 30 minutes (5, 10, 15 or 30 suggested) | Proxy generator, Session |
| Lines per export | 1 to 1,000 | Proxy generator, Output |
| Export formats | host:port:user:pass, user:pass@host:port, proxy URL, curl, Python requests | Proxy generator, Output |

## How do you generate a proxy list for Brazil or Mexico?

Six steps in the Proxy generator; the list updates as the settings change.

1. **Open the plan** — In the client area, open Residential, then the plan, then the Proxy generator tab.
2. **Choose the login** — Use the main login, or a sub-user if the list is for one tool, client or team member.
3. **Set the location** — Pick a country such as Brazil, then a city if the list offers one, and an internet provider if needed; leave a field empty for any.
4. **Pick the session type** — Rotating gives a new IP per connection; Sticky keeps one IP per line for the duration you set, up to 30 minutes.
5. **Choose protocol and format** — HTTP(S) or SOCKS5, then a format your tool reads, and the number of lines.
6. **Copy or download** — Copy the list or click Download .txt, then run the test command shown under Test it.

## How does the username carry the targeting?

**The location and the session are written into the username, so one host and one port serve every country.** The format is USERNAME-country-{cc}-city-{city}-asn-{asn}-session-{id}-ttl-{minutes}, where each part after the login is optional. Country codes are two lower-case letters, such as br for a [Brazil residential proxy](https://latamproxies.com/residential-proxies/brazil/ "Where can I buy a Brazil residential proxy with crypto?") or mx for Mexico, and city names use lower case with underscores, such as sao_paulo.

The Proxy generator builds the string for you and shows the username of the first line, for tools that ask for the username and password in separate fields. City targeting depends on the country: when a country has no city list yet, the generator says so. The plan rule reads: Country and city targeting on every plan; ASN targeting at no extra cost. City availability varies.

For browser profiles, scrapers and scripts, the [proxy setup guide](https://latamproxies.com/guides/proxy-setup/ "How do I set up a residential or mobile proxy in my tool?") gives settings tool by tool.

## Should you use rotating or sticky sessions?

**Rotating fits page-by-page scraping; sticky fits anything that must keep one IP, such as a login or a checkout flow.** Rotating mode: each new connection gets an IP from the pool, usually a different one; to get a new IP on every request, send one request per connection (turn off keep-alive). Sticky mode keeps one IP for the session time you set, up to 30 minutes; the IP can change earlier.

- **Rotating**: no session part in the username. For [Mercado Libre price monitoring](https://latamproxies.com/use-cases/mercado-libre-price-monitoring/ "How do I monitor Mercado Libre prices with residential proxies?") across many listings, each request can leave from a different home connection.
- **Sticky**: a session ID and a duration from 1 to 30 minutes. Each line of the list keeps its IP for that time, and the New sessions button issues fresh IDs, so each line gets a new IP.

A sticky IP can change before the end of its time when the home device goes offline. Scripts that need a fixed exit should handle a reconnect, or use a dedicated 4G/5G port whose IP changes only on request, as explained on [change a mobile IP](https://latamproxies.com/help/rotate-mobile-ip/ "How do I change the IP of my LatamProxies 4G/5G mobile port?").

## How do sub-users and the IP whitelist work?

**Sub-users are extra logins that share the plan's traffic; the IP whitelist lets a server connect without any password.** Each sub-user has its own username, its own password and an optional traffic limit in GB. A sub-user that reaches its limit stops until the limit is raised, and Disable stops its login at once without deleting it.

The whitelist lives under API & IP whitelist. It accepts a public IPv4 address or a range from /24 to /32, or IPv6 from /48 to /128, and changes apply within a minute. Up to 10 addresses fit on the list, and API keys used by scripts can be revoked at any time.

Traffic is counted on every login, upload and download together, headers included, with 1 GB equal to one billion bytes; a connection that fails before it reaches the target costs nothing. The Statistics tab shows daily use per login and per country, with a CSV export.

## Frequently asked questions

### What are the LatamProxies proxy host and ports?

LatamProxies uses the host gw.latamproxies.com, port 7777 for HTTP and HTTPS and port 7778 for SOCKS5. The username and password are under Connection details.

### How long can a sticky session last at LatamProxies?

Up to 30 minutes, set per list in the Proxy generator. LatamProxies notes that the IP can change earlier if the home device goes offline.

### Can I target a city in Brazil or Mexico?

Yes, where LatamProxies lists cities for that country in the Proxy generator, such as São Paulo or Mexico City; availability varies by country.

### Does SOCKS5 work in Python?

Yes. The Proxy generator exports Python requests code; for SOCKS5, Python needs one extra package, installed with pip install requests[socks].

### What happens when the plan runs out of traffic?

The proxies pause until traffic is added; LatamProxies keeps the login, sub-users and settings. With Auto-renew on, the same plan is bought again from the balance when under 5% of the traffic is left.

**Verdict**

- **Use the Proxy generator** rather than typing usernames by hand: it writes the country, city and session parts and exports up to 1,000 lines.
- **Pick rotating for scraping and sticky for sessions**, and give each tool its own sub-user to read its use in Statistics.

## Sources

1. [SOCKS Protocol Version 5 (RFC 1928)](https://www.rfc-editor.org/rfc/rfc1928) — IETF (read 2026-11-13)
2. [Requests: proxies and SOCKS](https://requests.readthedocs.io/en/latest/user/advanced/#proxies) — Python Requests (read 2026-11-13)

**Get residential traffic for Latin America** 10 GB for $5.94, every country, traffic never expires. [Buy 10 GB](https://latamproxies.com/app/checkout/?plan=res-10&product=residential&from=help-connect-residential-proxies&lang=en) · [Open my residential plans](https://latamproxies.com/app/residential?from=help-connect-residential-proxies&lang=en)

---

LatamProxies: LatamProxies is a no-KYC residential and 4G/5G mobile proxy provider for Latin America and the Caribbean — Brazil, Mexico, Argentina, Colombia, Chile, Peru and more — paid only in crypto (USDT, BTC, USDC, ETH, LTC, SOL). Residential traffic starts at $0.50/GB.
