Walmart Canada drops: a Canadian exit through the us gateway
2026-11-23 · Bazyl

After this post you can run walmart.ca from a machine in North America on Canadian exits,
with a script that writes one sticky string per task in a second. The thing people get
wrong is thinking the gateway decides the country. It doesn't. The -cc- token does, and
the gateway is just the closest door.
Walmart's Canadian store is walmart.ca. It prices in Canadian dollars and sells in English and French. Releases go live at the time the store picks. The rest of this post is the proxy side.
The country is on the username, the gateway is about distance
Three gateways, one pool: eu-, us- and ap-residential2.basilproxies.com. There is no
Canadian gateway, and there doesn't need to be. Every gateway can hand you a Canadian exit
if the username says -cc-ca.
So the choice is distance between your bot and us. A bot on a server in Toronto, Montreal
or anywhere in the US uses us-residential2.basilproxies.com. The same login on a box in
Frankfurt uses eu- with the same -cc-ca, and the exit is just as Canadian.
To see how much the door matters, we measured from a server in Germany on 1 October 2026:
the eu- gateway connected in 7 to 21 ms and the us- one in 113 to 148 ms. Run the same
measurement from your own box and pick the smallest number. No credentials needed: the
gateway answers the CONNECT with 407, and curl times the handshake either way.
for g in eu us ap; do
printf '%s ' "$g"
curl -s -o /dev/null -w '%{time_connect}\n' \
-x "http://$g-residential2.basilproxies.com:2115" https://example.com
done
What /proxies gives you without asking
If you pull lines from the account API's /proxies or DM the Basil bot /proxies on
Discord, the lines already sit on the gateway matched to your account's country. The
Americas get us-, Asia-Pacific gets ap-, everyone else gets eu-. Each sticky line
carries its own fresh 8-character session id and -ttl-1440.
Two consequences. An account registered in Canada already gets us- lines, so there is
nothing to change. And a 24-hour ttl is the ceiling, not a recommendation: for a task that
ends in half an hour, a shorter ttl is easier to reason about. Use the lines as returned or
build your own; both are fine.
curl -s "https://api.basilproxies.com/api/v1/proxies?product=residential&country=ca&session=sticky&count=20" \
-H "Authorization: Bearer $BASIL_API_KEY"
count goes up to 1,000, default 10. The call builds lines from credentials you already
hold: nothing is created and no data is spent. The account API allows 60 requests a minute.
One sticky string per task, written by a script
A checkout task wants one address from basket to confirmation: a -sess- id and a -ttl-.
A stock monitor wants the opposite: no session token, a new Canadian IP on every request.
Every checkout task needs its own id. Twenty tasks is twenty ids, never one id pasted
twenty times.
This writes the twenty, in the host:port:user:pass shape most bots take:
#!/usr/bin/env bash
# walmart-ca.sh: 20 checkout strings + 1 monitor string, Canadian exits via the us gateway
HOST=us-residential2.basilproxies.com
LOGIN=USER # your basl_ login, e.g. basl_7k2m9x4z
PASS=PASS
for i in $(seq -w 1 20); do
SESS="ca$i$(LC_ALL=C tr -dc 'a-z0-9' </dev/urandom | head -c 6)"
echo "$HOST:2115:$LOGIN-cc-ca-sess-$SESS-ttl-45:$PASS"
done > checkout.txt
echo "$HOST:2115:$LOGIN-cc-ca:$PASS" > monitor.txt
wc -l checkout.txt monitor.txt
Session ids take 1 to 32 lowercase letters or digits. The ca01 prefix keeps the task
number readable in your logs. -ttl-45 is a made-up choice for a checkout that takes a
few minutes plus some waiting; size yours to your own task. Leave it off and the session
lasts 15 minutes.
Logins that start res2_ predate 27 October 2026 and keep the legacy format with ports
4242 and 4243: the docs have it.
Province targeting is a city token, and it costs supply
There is no province token. If a task needs an exit in a particular city, -city- takes
the dashboard picker's code, lowercase with spaces and punctuation removed, and needs
-cc-ca beside it. It can't be combined with -isp-. Copy the code from the picker rather
than guessing how an accented name was flattened.
For a national store, I'd leave it off. A city narrows the exits you draw from, and
targeting that can't fill at that moment answers E20 no exit for this targeting with no
fallback to the rest of Canada. A Canadian exit in the wrong province is still a Canadian
exit; an E20 is no exit at all.
Reading the gateway's answers
Every refusal comes with one line from us. The ones a Walmart Canada setup meets:
E01 invalid proxy login: the pair doesn't match, usually because a token landed on the password. Tokens ride the username.E53 login not ready yet: a brand-new login reaching every gateway. Wait a minute or two. A fresh login can also answer407in that window.E20: the targeting couldn't fill. New session id; if it repeats, drop the city.E50 exit failed, retry with a new session: the exit went away. New id, carry on.E02 no data left on this login: the balance hit zero. Top up; retrying won't help.
There is no SOCKS5 on this pool. Port 2115 speaks HTTP proxy and https:// targets tunnel
through CONNECT. Set the bot to HTTP proxy, not SOCKS5.
Paying for it
We charge in USD, EUR, GBP or PLN. Canadian dollars aren't on the list, so a buyer in Canada usually picks USD. As of September 2026 (re-read unchanged on 1 October), pay as you go is $4.20 for 1 GB, $3.90 a gigabyte for 2 to 4 GB and $3.60 for 5 to 14 GB, and it never expires.
A made-up budget: a monitor loading a 500 KB product page every 8 seconds for 4 hours is 1,800 loads, 900 MB. Twenty checkout tasks at an invented 20 MB each add 400 MB. About 1.3 GB, so a 2 GB purchase covers it with room. The statistics page's per-domain table gives you your real walmart.ca number the morning after; budget from that next time.
We answer for the proxy being live and reachable from Canada. Stock and checkout are the store's.
More retail setups in the same shape are on the sneakers and retail page.
Common questions
- Why use the us gateway for a Canadian store?
- The gateway only sets the latency between your bot and us; the exit country comes from the -cc- token on the username. A bot in Canada or the US is closest to us-residential2.basilproxies.com, so it uses that gateway with -cc-ca for a Canadian exit.
- Do the lines from /proxies already use the us gateway?
- If your account's country is in the Americas, yes. The account API's /proxies and the Discord /proxies put lines on the gateway matched to the account's country: us- for the Americas, ap- for Asia-Pacific, eu- for everywhere else. Each sticky line gets its own random session id and -ttl-1440.
- My bot runs in Europe. Which gateway then?
- eu-residential2.basilproxies.com, still with -cc-ca. Swapping the host changes latency only, never the exit country. Pick the gateway nearest the machine running the tasks.
- Can I pay in Canadian dollars?
- No. We charge in USD, EUR, GBP or PLN, detected from you and switchable. USD is the usual pick for a buyer in Canada.