Kmart Australia restocks on Australian exits

2026-11-11 · Bazyl

After this post you can run Kmart Australia restocks as two separate jobs on Australian exits: a watcher that reads pages on rotating lines, and buying tasks that each keep one sticky address per account. The thing most people get wrong is the account side. They regenerate strings before every restock, so the same account turns up from a new address every time.

Two jobs, two kinds of line

A restock is a watcher plus buyers, and they want opposite things from a proxy. kmart.com.au is an Australian shop selling in Australian dollars, so both jobs use -cc-au. After that they split:

  • The watcher reads product pages over and over and never signs in. A rotating line, no -sess- token, gives it a new Australian IP on every request.
  • The buyers sign in, fill a cart and pay. Each one wants a single sticky exit for the whole visit, and the same one next time.
# Watcher: rotating, a new Australian IP every request
ap-residential2.basilproxies.com:2115:USER-cc-au:PASS

# Buyer: sticky, one account, 24 hours
ap-residential2.basilproxies.com:2115:USER-cc-au-sess-a81f0c2e9b4d-ttl-1440:PASS

Both lines use the same login, the same port and the same pool. Only the tokens differ. The ap gateway suits a bot hosted in the region; from anywhere else, swap in eu or us, and the exit stays in Australia because -cc-au says so.

One session id per account, derived from the account

A buyer's session id should belong to the account, not to the run. Restocks don't come on a timetable you know in advance, so an account may sit signed in for hours and then buy. If every restart writes it a fresh random id, every restart moves it to a new address.

The fix is to compute the id from the account name. Same name in, same id out, as often as you regenerate:

#!/usr/bin/env bash
# accounts.txt: one account label per line (an email or a nickname).
# Prints one sticky Australian line per account. The session id is the first
# 12 hex characters of a hash of the label, so it never changes between runs.
while IFS= read -r acct; do
  [ -z "$acct" ] && continue
  id=$(printf '%s' "$acct" | shasum | cut -c1-12)
  echo "ap-residential2.basilproxies.com:2115:USER-cc-au-sess-${id}-ttl-1440:PASS"
done < accounts.txt

Hex output is lowercase letters and digits, which is exactly what -sess- takes (1 to 32 characters). -ttl-1440 is the ceiling: 24 hours. Leave the ttl off and the session lasts 15 minutes, which is far shorter than a restock wait.

Two accounts never share an id. Two accounts on one id are one address, and that part is arithmetic, not a guess about Kmart.

When an account's exit goes away

A sticky session holds while the household device behind it stays online. Residential IPs are real home connections whose owners opted in, and home connections drop. When that happens the gateway answers E50 exit failed, retry with a new session, an HTTP 502.

The script above makes the id permanent, so the recovery is one changed character: append a suffix to the label ([email protected]#2) and regenerate. The account gets a new id and a new exit, and every other account keeps its own. Retrying the old id doesn't bring the old exit back.

The 24-hour ceiling means even a healthy session ends after a day. Regenerate the morning after a long wait; the derived id comes out the same and picks up a fresh session.

The watcher's 60-second habit

An idle tunnel closes after about 60 seconds of silence. A watcher that polls every 30 seconds keeps its connection busy; one that polls every two minutes opens a new tunnel each time. On a rotating line that changes nothing you can see, since every request is a new IP anyway.

On a buyer it matters more. A signed-in account that sits silent for five minutes loses its tunnel, and its next request opens a new one on the same session id. Same id, same exit, as long as the session is alive. The bot just has to reconnect without regenerating the string.

Narrower than a country, usually not worth it

-cc-au is enough for a shop that sells to all of Australia. A -city- token (the dashboard picker's code, lowercase, no spaces) or an -isp- token with the ISP's ASN narrows the pool, needs -cc-au beside it, and the two can't be combined.

The cost is supply. When nothing is free in that city or on that ISP, the gateway answers E20 no exit for this targeting, change it or retry and never widens to the rest of the country. For account sessions you want to hold for a day, the whole country is the safer pool to draw from.

Budget from your own numbers, then set an alert

We don't publish gigabytes per restock; it depends on the pages and the bot. Here is the shape of the sum on made-up numbers. Say the watcher pulls a 200 KB product page every 10 seconds: 8,640 requests a day, about 1.7 GB. Say each buying attempt moves 5 MB and twenty accounts try three times in a week: 300 MB. The watcher is most of the bill. That's why the watcher's poll interval deserves more care than the buyers, and why how many proxies per task is worth a read before you scale either side.

Read the real figure from the statistics page's per-domain table after the first week. Then DM the Basil bot /alerts and set a threshold above one day's use. When the balance reaches zero the gateway answers E02 and keeps refusing until you top up, so the alert is what stands between a quiet Tuesday and a dead bot.

Pay as you go starts at 1 GB and never expires. As of 1 October 2026, in euros, 5 to 14 GB cost €3.00 a gigabyte and 15 to 29 GB €2.50.

Checkout charges in USD, EUR, GBP or PLN; there is no Australian dollar option.

Accounts you keep for months: Australian ISP

If the same accounts buy every week, a dedicated Australian ISP IP per account is the other answer. ISP IPs are announced under our own ASN, one user per IP, and renewals keep the same IPs, so the account's address doesn't depend on anyone's home router. The minimum is 25 IPs a month; the ISP page has the current prices, and residential vs ISP walks through the trade.

We answer for the proxy being live and reachable from Australia. What kmart.com.au does with an order is Kmart's.

The full retail setup, watcher and buyers together, is on the sneakers and retail page.

Common questions

Should a Kmart Australia restock watcher use sticky or rotating proxies?
Rotating. A line with no -sess- token gets a new Australian IP on every request, which suits a watcher that only reads product pages. Keep sticky sessions for the tasks that sign in and pay, one session id per account.
How do I keep the same proxy for a Kmart account across several days?
Give the account its own session id and the 24-hour ttl, -ttl-1440, and build the id from the account name so it comes out the same every time you regenerate. The same id keeps the same exit while that household device stays online; if it drops, the gateway answers E50 and the account needs a new id.
Which country token do I need for kmart.com.au?
-cc-au on every line. kmart.com.au is an Australian shop selling in Australian dollars, and the token is what puts the exit in Australia. The gateway you connect through only changes latency.
What happens when my balance runs out in the middle of a restock?
The gateway answers E02 no data left on this login and refuses new tunnels until you top up; the bot does not recover on its own. Set a threshold with /alerts in a DM to the Basil bot so you hear about it before it happens.