BuyProxy logo
Log inSign up

Concepts

Session types

Rotating sessions assign a new residential IP on every request. This is the default mode and best suited for high-volume scraping where each request is independent.

// No sticky setting: every request leaves from a new IP
const { proxies } = await bp.plans.generate(plan.id, { country: "US" });

Sticky sessions

Sticky sessions keep the same IP across requests, letting you complete multi-step flows without changing identity mid-way. On Premium Residential you choose the length, from 3 minutes to 24 hours; Core Residential holds the IP without a set length.

const { proxies } = await bp.plans.generate(plan.id, {
  country: "DE",
  stickyMinutes: 10, // Premium Residential: 3 minutes to 24 hours
});

Choosing a session type

Use rotating sessions for independent page fetches at scale. Use sticky sessions for logins, checkouts, or any flow where the target site expects a consistent IP across multiple requests.

Was this page helpful?