One of the most common questions: “How do I get a Static IP?” or “Why did my IP change?”Documentation Index
Fetch the complete documentation index at: https://anyip.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Rotating Mode (Default)
Best for: Web scraping, crawling, bulk data collection. If you do not add a session flag, every request you make will be routed through a fresh IP address.Sticky Sessions (“Static” IPs)
Best for: Account management (FB, IG, Amazon), filling forms, checkout bots. To keep the same IP across multiple requests, define a Session ID.| Flag | Example |
|---|---|
session_[name] | user_XXXX,country_US,session_googleaccount1 |
session_googleaccount1, we will route you through the same device.
Why Did My Sticky IP Change?
How to Manually Rotate a Sticky IP
If your current sticky IP gets blocked or is too slow, you can force a change:Method A: Change the Session Name
Simply rename your session in your code/bot:Method B: Use the Change IP URL (Rotation Link)
You can rotate your IP programmatically without changing your code by calling a special URL. Where to find it:- Go to Dashboard > Proxies.
- Click “Get Proxy Details”.
- Look for the “Change IP URL” under the Proxy credentials section.
twitter3, your rotation link would look like:
- Click the link in a browser
- Call it from a script:
curl "https://dashboard.anyip.io/api/proxy_accounts/.../session/twitter3" - Set it as a “Rotate” button in your bot/tool
Advanced Session Options
Set a Custom Session Duration
By default, sessions last up to 7 days. You can set a shorter duration (1 to 10,080 minutes) with thesesstime_[minutes] flag:
Disable Auto-Replacement When IP Disconnects
By default, if your sticky IP goes offline, we assign you a new one automatically. To disable this always keep the same IP, you can use the flagsessreplace_false:
peer_not_found error instead of being switched to a new IP.
Avoid IP Collision Across Sessions
Managing multiple accounts? Usesessipcollision_strict to ensure no two sessions ever share the same IP:
Keep the Same ISP/ASN When IP Changes
If an IP disconnects, we try to find a replacement in the same area. To strictly require the same ISP (ASN), you can use the flagsessasn_strict: