Rotating or fixed IP (sticky session)

    The difference between a rotating IP and a sticky session of 1 to 120 minutes, and how to use the ports starting at 10000.

    View as Markdown

    The RH7 proxy works in two ways: rotating IP or a fixed IP for a set time (sticky session).

    Rotating IP

    On ports 823 (HTTP) and 824 (SOCKS5), each new connection can exit through a different IP. This is best for data collection, price checks and any task with many independent requests.

    Sticky session

    With a sticky session, the same IP stays with you for the time you choose, from 1 to 120 minutes. It is the right choice for logins, carts, multi-step forms and logged-in accounts: any flow that breaks if the IP changes halfway through.

    How to use it:

    1. Turn on the sticky session for the proxy and choose the minutes (in the panel or through the API).
    2. Connect to a port starting at 10000.

    Each port holds one IP. To have several fixed IPs at the same time, use several ports:

    text
    auto-rh7proxys.com:10000:username:password   # profile 1
    auto-rh7proxys.com:10001:username:password   # profile 2
    auto-rh7proxys.com:10002:username:password   # profile 3

    Ports go from 10000 to 19999. In an antidetect browser, use a different port for each profile.

    Turn it on and off through the API

    bash
    # 30-minute sticky session
    curl -X PATCH https://api.rh7proxys.com/v1/proxies/12345 \
      -H "Authorization: Bearer rh7k_your_key" \
      -H "Content-Type: application/json" \
      -d '{"session_minutes": 30}'
    
    # Back to rotating
    curl -X PATCH https://api.rh7proxys.com/v1/proxies/12345 \
      -H "Authorization: Bearer rh7k_your_key" \
      -H "Content-Type: application/json" \
      -d '{"session_minutes": null}'

    When the time runs out

    When the minutes run out, the port starts using another IP. If the website needs the same IP for longer, choose a longer time.

    By product

    ProductRotatingSticky session
    Residential ProxyYesYes
    Mobile 4G/5G ProxyYesYes
    Rotativa CPAYesNo