No KYC — no ID, no selfie, no documents · City, state and ZIP targeting on every plan
Language: English
Get started

Docs

US city proxy docs: setup, username format and code

Everything you need to send city-targeted requests: connection details, the username format, code samples and the API.

Last updated:

Quick answer

How do I connect to MetroProxies?

Connect to gw.metroproxies.com on port 7777 (HTTP/HTTPS) or 7778 (SOCKS5) with your proxy username and password, and add targeting segments such as -country-us-state-ca-city-sacramento. MetroProxies plans start at $1.50 for 1 GB (October 2026), and every code sample here is syntax-checked. No KYC; crypto.

Where should I start?

What are the connection details?

Gatewaygw.metroproxies.com
Ports7777 (HTTP and HTTPS via CONNECT), 7778 (SOCKS5)
Username formatUSERNAME-country-{cc}-state-{state}-city-{city}-zip-{zip}-asn-{asn}-session-{id}-ttl-{minutes}
AuthenticationUsername and password on every plan, or an IP allowlist (up to 10 IPs). Sub-users with their own credentials and traffic cap. API keys you can revoke at any time
RotationEach 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 sessionsup to 30 minutes, set per session with the ttl parameter; the IP can change earlier
Traffic countingUsage counts all data sent and received through the proxy (upload and download, headers included). 1 GB = 1,000,000,000 bytes. Connection attempts that fail before reaching the target are not counted
Blocked targetsBanking, government and payment-portal sites, plus SMTP (email-sending) ports 25, 465 and 587

How are the code samples checked?

Every Python sample on this site is compiled with python -I -m py_compile and every JavaScript sample is checked with node --check before publication, with USERNAME and PASSWORD as placeholders. They target IP lookup services (ipinfo.io, api.ipify.org) or YOUR-SITE.example, never search engine result pages, and they set timeouts and stop on errors.

If a sample fails with your credentials, write to [email protected] with the error message and the username you used (never your password).

What else do people ask about the docs?

Is there an API for orders and top-ups?

Yes. The API reference covers the account, top-ups, orders and API keys, with curl, Python and Node.js examples. API keys can be revoked at any time.

Do you have SDKs?

No. The proxy works with any HTTP or SOCKS5 client, and the API is plain HTTPS with JSON, so the standard libraries in the examples are enough.

Where are the city segments?

On each city page, in the data table and the username section.

1 GB $1.50 · no KYC

Get started