The rotation endpoint selects one proxy that matches your filters. Your application still needs to configure that address as its outbound proxy; this API returns a proxy and does not tunnel your application traffic.
GET https://proxy11.com/api/rotate?key=YOUR_API_KEY&strategy=random
# Random: selects a matching proxy each call; repeats are possible
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
# Example JSON response
{"ip":"62.255.12.3","port":"80","country":"United States",
"country_code":"us","time":0.31,"type":1,
"strategy":"random","session":"a1b2...","pool_size":412}
random selects from the matching candidate pool on each API call; it does not promise a unique address every time. sticky selects deterministically for a session and time bucket. sticky_seconds defaults to 600 and is clamped by the service to 60–3600 seconds.
The JSON response includes the selected ip and port along with country, check time, anonymity type, strategy, and pool size. Configure the returned address in your HTTP client's proxy option. Use a stable, non-sensitive session label when you need sticky behavior; do not put personal information in it.