Retrieve proxy credentials
Returns the proxy username and password stored in the authenticated account profile.
Credentials are returned only for active customer or trial accounts with a usable datacenter subscription.
Rate limit10 requests / 60 seconds
RequiredX-API-Key header
Endpoint details
AuthenticationSend the account API key in the X-API-Key header. The apiKey query parameter is also accepted.
Allowed rolesOnly accounts whose role is customer or trial can retrieve proxy credentials.
Returned fieldsThe response contains only the proxy username and proxy password, never the account-login password.
Missing credentialsThe API returns HTTP 404 when proxy credentials have not been configured.
Sensitive responseResponses are marked no-store. Use HTTPS and do not write the returned password to application logs.
Request · Python requests
import requests
response = requests.get(
"https://rotatingproxyhub.com/api/v1.0/datacenter/proxies/credentials",
headers={"X-API-Key": "xxx"},
timeout=30
)
print(response.json())Example response
{
"success": true,
"message": "Proxy credentials retrieved successfully.",
"data": {
"username": "proxy-user-example",
"password": "proxy-pass-example"
}
}