OkHttp (Java / Kotlin) proxy setup
The HTTP client behind most Android and JVM apps. Point it at the Eveses residential pool with the configuration below — the geo lives in the username, so nothing else in your setup has to change to move country.
proxy.eveses.com:12321 · SOCKS5 on 32325 · 199 countries · from $7.35/GB
OkHttp asks for proxy credentials through a `proxyAuthenticator`, and it is called again on every 407. Return null the second time or the client loops until it gives up.
Configuration
import okhttp3.*;
import java.net.*;
String creds = Credentials.basic(
"eveses_user_country-us", "YOUR_PROXY_PASSWORD");
OkHttpClient client = new OkHttpClient.Builder()
.proxy(new Proxy(Proxy.Type.HTTP, new InetSocketAddress("proxy.eveses.com", 12321)))
.proxyAuthenticator((route, response) -> {
// Give up after the first attempt, or this retries forever.
if (response.request().header("Proxy-Authorization") != null) return null;
return response.request().newBuilder()
.header("Proxy-Authorization", creds).build();
})
.build();Change country without touching OkHttp (Java / Kotlin)
eveses_user_country-deeveses_user_country-de_session-ab12cd34_lifetime-30mThe geo and the session live in the username, not in the host or the port. Every configuration on this page stays exactly as it is when you move country — you edit one string. 199 countries are addressable, with city and state tokens inside most of them.
FAQ
How do I set a proxy in OkHttp (Java / Kotlin)?›
How do I choose the country OkHttp (Java / Kotlin) exits from?›
How do I keep the same IP across requests in OkHttp (Java / Kotlin)?›
What does this cost?›
Other integrations
Run OkHttp (Java / Kotlin) through residential IPs
$7.35/GB at 1 GB, $2.57/GB in volume — same credentials in every tool.
Get proxies →