A ttl cheat sheet by site type: queues, checkouts, monitors
2026-11-24 · Bazyl

This is the ttl I'd put on each kind of task, with the reason, so you can stop copying
-ttl-1440 onto everything. The most common mistake runs the other way, though: leaving
the ttl off and getting 15 minutes, which is shorter than most queues.
Two rules frame everything below. -ttl- takes minutes, 1 to 1440, and 1440 (24 hours)
is the ceiling. And a ttl only means something next to a -sess- token.
The rule: longer than the task, with margin, and no longer
A session should outlive the task it serves, so the exit doesn't end mid-task. It should not outlive it by much, because a session still alive after the task is over is doing nothing for you.
So the method is the same for every row below. Estimate how long the task takes on a bad
day. Add a third. Round up to a tidy number. A task that runs 45 minutes on a bad day gets
-ttl-60.
The ttl is a ceiling, not a promise. A residential exit is a household connection, and households switch off routers. When the IP changes before the ttl is up, start that task again on a new session id.
Monitors: no session, no ttl
A stock or page monitor polls the same URL over and over and has nothing to keep. It runs
on a rotating line: no -sess-, so no -ttl-, and every request leaves from a new IP.
eu-residential2.basilproxies.com:2115:USER-cc-gb:PASS
Writing -ttl- on that line without a session isn't ignored. It is one of the malformed
username errors in the E10–E15 range, a 400, and the line says which key is wrong. The
sticky vs rotating post explains which tasks go
where.
Queues: an estimate of the queue, plus a third
A waiting room holds a place for one visitor, and a visitor who changes IP partway is a different visitor. The queue task needs a session from the moment it joins until it is through to the shop. How long that is depends on the site and the day, and the only good source is your own last run.
As an example: a queue that took 70 minutes last time gets 70 plus a third, about 93,
rounded to -ttl-120. A queue you have never seen gets your guess, generously.
us-residential2.basilproxies.com:2115:USER-cc-us-sess-k4mz61pq-ttl-120:PASS
The queue and the checkout that follows it are one task, on one session. Don't plan a second session for the checkout half.
Checkouts without a queue: 30 minutes
A restock checkout with no waiting room is cart, details, payment. On a good day that's
two minutes. On a bad day it's a bank confirmation on your phone and a retry, ten to
fifteen. -ttl-30 covers that with margin.
This is the row where the default bites. With no ttl a sticky line lasts 15 minutes, so a checkout that runs long loses its exit at minute 15, most often during payment. Write the ttl out.
Raffle and draw entries: short, one per entry
An entry form is a minute of work: open, fill, submit. -ttl-10 is plenty, and each
entry gets its own session id. The value here is the id, not the ttl: fifty entries on one
session are one person entering fifty times.
Signed-in accounts you return to: up to 24 hours, then think again
An account you sign into and come back to over a day wants the same exit for that day.
-ttl-1440 is the ceiling and the right value here. Keep the session id with the account
in your config, so the same account always reconnects on the same session.
Past 24 hours a residential session can't help. If an account needs the same IP for weeks, that's an ISP IP, which is yours for as long as the subscription runs and keeps the same address at renewal. The residential vs ISP post covers the trade.
The 60-second idle close is not your ttl
Separate from the ttl: an idle tunnel closes after about 60 seconds of silence. A task that opens a connection, sits for three minutes, then sends on the same socket finds it closed. That's the connection ending, not the session.
The fix lives in the bot: open a new connection with the same string. The session id still points at the same exit until the ttl runs out. Here's a check you can run as written, with your own login, password and session id:
P="http://USER-cc-gb-sess-r8tq3n6w-ttl-30:[email protected]:2115"
curl -s -x "$P" https://api.ipify.org; echo
sleep 90 # longer than the idle close
curl -s -x "$P" https://api.ipify.org; echo # same IP: the session outlived the tunnel
Same IP twice means the session held across a closed tunnel. A different IP means the household behind it went away: new session id.
The whole sheet, in one list
- Monitor: rotating line, no
-sess-, no-ttl-. - Queue into checkout: one session,
-ttl-of your last queue plus a third, often-ttl-120. - Checkout without a queue:
-ttl-30. - Raffle or draw entry:
-ttl-10, one id per entry. - Signed-in account over a day:
-ttl-1440, the session id stored with the account. - Same IP for weeks: an ISP IP, not a ttl.
- No ttl at all on a sticky line: 15 minutes, which is a choice you didn't make.
A login that starts with res2_ predates 27 October 2026 and writes the same idea with
different tokens: the docs show the legacy format. Everything above is the
2115 format.
Pick the row that matches your next task and start from the strings on the Pokémon Center page.
Common questions
- What is the -ttl- token on a proxy string?
- It sets how long a sticky session keeps its exit, in minutes, from 1 to 1440. It only works together with a -sess- token; a ttl without a session is a malformed username and the gateway refuses it with a 400. A sticky line without a ttl lasts 15 minutes.
- What ttl should a queue task use?
- A little longer than the queue you expect, not as long as it could possibly go. For a queue that tends to clear in about an hour and a half, -ttl-120 gives two hours. A session that outlives its task by a day only parks traffic on one address.
- Does a monitor need a ttl?
- No. A monitor runs on a rotating line, which has no -sess- token and therefore no ttl: every request leaves from a new IP. Putting a ttl on a monitor line without a session is an error, and adding a session to a monitor makes every poll come from one address.
- Why does my sticky connection drop after a minute even with a long ttl?
- An idle tunnel closes after about 60 seconds of silence. That closes the connection, not the session: open a new connection with the same string and the same session id keeps the same exit until its ttl runs out.