Skip to content

Get Proxy

Obtain a proxy endpoint optimized for your target.

GET /v1/proxy
ParameterTypeRequiredDescription
targetstringYesTarget domain (e.g. amazon.com)
session_lockbooleanNoKeep same IP for session (default: false)
countrystringNoISO 3166-1 alpha-2 country code
ip_typestringNoresidential, datacenter, or dedicated
session_ttlintegerNoSession timeout in seconds (default: 1800)
auto_healbooleanNoEnable auto-failover (default: true)
Terminal window
curl "https://api.hydraskill.ai/v1/proxy?target=amazon.com&session_lock=true&country=US" \
-H "Authorization: Bearer sk-your-key"
{
"proxy_id": "px_abc123",
"host": "us-res-42.proxy.hydraskill.ai",
"port": 8080,
"username": "session_abc123",
"password": "px_token_xyz",
"ip": "203.0.113.42",
"country": "US",
"type": "residential",
"session_lock": true,
"expires_at": "2026-05-30T16:30:00Z",
"protocol": "http"
}
proxy = client.get_proxy(target="amazon.com", session_lock=True)
# Convert to requests-compatible dict
proxies = proxy.to_dict()
# {'http': 'http://user:pass@host:port', 'https': 'http://user:pass@host:port'}
response = requests.get(url, proxies=proxies)
CodeMeaning
400Missing required parameter target
401Invalid API key
402Insufficient balance / plan limit reached
429Rate limit exceeded
503No available proxies for requested criteria