Instead of fetching a list and rotating proxies in your own code, Proxy11's rotation endpoint returns one proxy per call. Choose random for a fresh IP each request, or sticky to keep the same IP for a session window.
GET https://proxy11.com/api/rotate?key=YOUR_API_KEY&strategy=random
# Random: fresh proxy every call
GET /api/rotate?key=YOUR_API_KEY&country=us&type=anonymous
# Sticky: same proxy for 10 minutes per session
GET /api/rotate?key=YOUR_API_KEY&strategy=sticky&session=scraper-1&sticky_seconds=600
# Response
{"ip":"62.255.12.3","port":"80","country":"United States",
"country_code":"us","time":0.31,"type":1,
"strategy":"sticky","session":"scraper-1","sticky_seconds":600}