Sticky Session Information
Evan avatar
Written by Evan
Updated over a week ago

Here you can view more information about the IP that has been assigned to your sticky session. The API response will list the session ID (if you have specified one, otherwise the ID will simply be the port number), the port number, the expiration time, the request parameters, and the proxy information.

In order to see the sticky session information, you will need to make a request through your proxies to "api.proxyrack.net/v1-beta/sessions/{port number or session ID}". You will need to replace "{port number or session ID}" with the port number or session ID that you would like the information for.

Please note that cURL is used below as an example. You do not need to use cURL in order to make a request to this API endpoint. You can do this wherever you have configured your proxies, such as in a browser, code, etc.

Examples

Unmetered Residential:

Please note: Unmetered Residential proxies are no longer available for purchase. Existing subscriptions will continue to work, however.
curl -x unmetered.residential.proxyrack.net:10000 -U username:password http://api.proxyrack.net/v1-beta/sessions/10000

Live example here. Please note that this currently does not show the v1-beta API.

Premium Residential:
curl -x premium.residential.proxyrack.net:10000 -U username:password http://api.proxyrack.net/v1-beta/sessions/10000

Live example here. Please note that this currently does not show the v1-beta API.

Private Residential:
curl -x private.residential.proxyrack.net:10000 -U username:password http://api.proxyrack.net/v1-beta/sessions/10000

Live example here. Please note that this currently does not show the v1-beta API.

USA Rotating Datacenter:
curl -x usa.rotating.proxyrack.net:10000 -U username:password http://api.proxyrack.net/v1-beta/sessions/10000

Live example here. Please note that this currently does not show the v1-beta API.

Global Rotating Datacenter:
curl -x global.rotating.proxyrack.net:10000 -U username:password http://api.proxyrack.net/v1-beta/sessions/10000

Live example here. Please note that this currently does not show the v1-beta API.

Static USA Datacenter:
curl -x usa.static.proxyrack.net:10000 -U username:password http://api.proxyrack.net/v1-beta/sessions/10000

Live example here. Please note that this currently does not show the v1-beta API.

Result:

{
"id": "10000",
"port": 10000,
"expireTime": "2024-03-19T14:22:36Z",
"requestParams": {
"autoReplace": "city",
"country": "us",
"timeout": "15s",
"ttl": "600s"
},
"proxy": {
"online": true,
"id": "PRI6VMPXNN",
"ip": "73.63.173.196",
"country": "US",
"city": "San Francisco",
"isp": "Comcast Cable"
}
}

Did this answer your question?