Evomi runs a separate residential endpoint per protocol, rp.evomi.com:1000 for HTTP, rp.evomi-proxy.com:1001 for HTTPS and rp.evomi.com:1002 for SOCKS5, and reads every targeting option from the password. This guide uses the HTTP endpoint to give NSLSolver an Evomi residential IP, so that Kasada x-kpsdk headers, Akamai _abck cookies and Cloudflare cf_clearance cookies are earned on the IP your requests then use, in Python and Node.js.
NSLSolver solves on its servers without a browser and bills only successful solves. Cloudflare Challenge, reCAPTCHA v3 and Akamai require a proxy, because the result is tied to the IP that earned it. This guide pays particular attention to geo-matching: the examples pin the exit IP to a country and city and send a matching Accept-Language.
Evomi residential proxy format at a glance
- Endpoints
- HTTP rp.evomi.com:1000 · HTTPS rp.evomi-proxy.com:1001 · SOCKS5 rp.evomi.com:1002
- Authentication
- USERNAME:PASSWORD_<option>_<option>...
- Sticky session
- _session-<6 to 10 alphanumeric characters>
- Session length
- _lifetime-<minutes> (30 by default, up to 1440)
- Geo-targeting
- _country-US _city-new.york _region-california
- Full example
- http://USERNAME:PASSWORD_country-FR_city-paris_session-a1b2c3d4e5_lifetime-30@rp.evomi.com:1000
From Evomi's residential proxy documentation (docs.evomi.com), checked 1 December 2026. USERNAME and PASSWORD are your proxy credentials from the Evomi dashboard.
Which NSLSolver solves need an Evomi proxy?
Put the Evomi URL in the proxy field of POST https://api.nslsolver.com/solve, then send your own requests through exactly the same URL. Reuse the exact string rather than rebuilding it, so the session ID cannot drift.
| Solve type | Proxy | What is bound to the IP | NSLSolver price per 1,000 |
|---|---|---|---|
| Cloudflare Challenge | Required | cf_clearance cookie | $1.00 |
| Akamai Bot Manager (beta) | Required | _abck and bm_sz cookies | $2.00 |
| reCAPTCHA v3 | Required | The score depends on the IP | $1.00 |
| Kasada | Optional, recommended | The x-kpsdk-ct session | $1.50 |
| Cloudflare Turnstile | Optional (proxyless by default) | Nothing by default | $0.80 |
Only successful solves are billed. Evomi bills its proxy traffic separately, under your Evomi plan.
Evomi endpoints and password options
Each protocol has its own host and port. Use rp.evomi.com:1000 with an http:// URL, as this guide does. The HTTPS endpoint is rp.evomi-proxy.com on port 1001; Evomi notes that a client which verifies certificates rejects rp.evomi.com on that port, so do not mix the two hostnames.
Targeting options are appended to the password, separated by underscores: PASSWORD_country-FR_city-paris_session-a1b2c3d4e5_lifetime-30. Without _session, each request gets a new IP.
| Option | Example | Notes from Evomi's docs |
|---|---|---|
| _country- | _country-US | Uppercase ISO code, or a full name such as UnitedStates. |
| _city- | _city-new.york | Lowercase, with dots instead of spaces. |
| _region- | _region-california | Region or state. Evomi says to set either the country or the region. |
| _session- | _session-a1b2c3d4e5 | 6 to 10 alphanumeric characters. |
| _lifetime- | _lifetime-30 | Minutes; 30 by default, 1440 at most. |
| _hardsession- / _lockedsession- | _lockedsession-a1b2c3 | _hardsession favours keeping the IP longer; _lockedsession never switches to a replacement IP and fails the request instead. Neither works with _lifetime. |
Evomi also documents _isp-, _asn- and _continent- options (for example _continent-north.america).
Sticky sessions and geo-matching for cf_clearance replay
cf_clearance is accepted only from the IP that earned it, for the site's Challenge Passage window (30 minutes by default). Evomi's default lifetime is also 30 minutes, so _session with the default lifetime already covers a default Challenge Passage; set _lifetime higher, up to 1440, if the site allows a longer pass. Akamai's _abck and Kasada's x-kpsdk-ct session are tied to one IP in the same way.
Geo-matching is about more than the IP. A cookie earned from a Paris IP is only consistent if the replay comes from that same IP and the browser signals agree with it. The examples keep the country and city in the Evomi password for the solve and the replay, pass the matching accept_language to the Challenge solve, and send the same Accept-Language afterwards.
If the sticky IP changes before the lifetime ends, the next request typically meets a challenge or a 403. Treat that as the signal to generate a new session ID and solve again, rather than retrying with the old cookie. Evomi's _lockedsession- makes the change explicit, since it fails the request instead of switching to a replacement IP, but it cannot be combined with _lifetime.
Python: a cf_clearance from a Paris residential IP
evomi_proxy() appends the options to the password; secrets.token_hex(5) gives a 10-character session ID, the upper end of what Evomi allows. The same proxy string goes to NSLSolver and to curl_cffi.
# evomi_nslsolver.py (pip install curl_cffi)
import secrets
from curl_cffi import requests
NSL_API_KEY = "nsl_YOUR_API_KEY"
EVOMI_USERNAME = "YOUR_EVOMI_USERNAME"
EVOMI_PASSWORD = "YOUR_EVOMI_PASSWORD"
UA = ("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 "
"(KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36")
# Geo-matching: send an Accept-Language that fits the exit country.
ACCEPT_LANGUAGE = {"FR": "fr-FR,fr;q=0.9", "DE": "de-DE,de;q=0.9", "US": "en-US,en;q=0.9"}
def evomi_proxy(country="FR", city=None, session=None, lifetime=30):
"""Evomi residential over HTTP (rp.evomi.com:1000). Options are appended to
the PASSWORD with underscores. _session- is 6-10 alphanumeric characters;
_lifetime- is in minutes (default 30, max 1440)."""
password = f"{EVOMI_PASSWORD}_country-{country}"
if city:
password += f"_city-{city}" # lowercase, dots for spaces: new.york
if session:
password += f"_session-{session}_lifetime-{lifetime}"
return f"http://{EVOMI_USERNAME}:{password}@rp.evomi.com:1000"
def solve(payload):
r = requests.post("https://api.nslsolver.com/solve",
headers={"X-API-Key": NSL_API_KEY}, json=payload, timeout=180)
data = r.json()
if r.status_code != 200 or not data.get("success"):
raise RuntimeError(f"NSLSolver {r.status_code}: {data.get('error', data)}")
return data
def browser_session(proxy, user_agent, accept_language=None, impersonate="chrome"):
# TLS fingerprint must match the UA: "chrome" for a Chrome UA, "safari_ios"
# for the iPhone Safari UA that a Challenge solve returns
s = requests.Session(impersonate=impersonate)
s.proxies = {"http": proxy, "https": proxy}
s.headers["User-Agent"] = user_agent
if accept_language:
s.headers["Accept-Language"] = accept_language
return s
def clearance_for(url, site_key, country="FR", city="paris"):
"""cf_clearance earned and replayed from one French residential IP."""
lang = ACCEPT_LANGUAGE[country]
proxy = evomi_proxy(country, city, session=secrets.token_hex(5), lifetime=30) # 10 chars
cf = solve({"type": "challenge", "url": url, "site_key": site_key,
"proxy": proxy, "accept_language": lang})
s = browser_session(proxy, cf["user_agent"], lang, impersonate="safari_ios")
for name, value in cf["cookies"].items(): # cf_clearance
s.cookies.set(name, value)
return s
site = clearance_for("https://cf-protected.example.com/", "0x4AAAAAAA...")
r = site.get("https://cf-protected.example.com/catalog")
print(r.status_code, r.headers.get("cf-mitigated")) # 200 None when acceptedPython: Kasada x-kpsdk headers through Evomi
p_js_path, fp_host and tl_host come from the browser's Network tab. A 15-minute lifetime is plenty for a short burst of protected calls; solve again for each one, since x-kpsdk-cd is single-use on most sites.
# Same file: Kasada headers through an Evomi session.
kasada_proxy = evomi_proxy("FR", session=secrets.token_hex(5), lifetime=15)
k = solve({
"type": "kasada",
"url": "https://www.kasada-site.example.com/login",
"user_agent": UA,
"ua_version": 145,
"kasada_config": {
"p_js_path": "/<uuid-1>/<uuid-2>/p.js", # the target's real p.js path (DevTools > Network)
"fp_host": "www.kasada-site.example.com", # host serving /fp
"tl_host": "api.kasada-site.example.com", # host receiving POST /tl
},
"proxy": kasada_proxy,
})
api = browser_session(kasada_proxy, UA, ACCEPT_LANGUAGE["FR"])
r = api.post("https://api.kasada-site.example.com/v1/search",
headers=k["headers"], json={"q": "..."})
print(r.status_code) # x-kpsdk-cd is single-use: solve again for the next callPython: Akamai _abck cookies through Evomi
Here the exit is New York, written new.york as Evomi expects. Replay all returned cookies with the same User-Agent. Akamai is in beta on NSLSolver.
# Same file: Akamai cookies through an Evomi session in the US.
akamai_proxy = evomi_proxy("US", city="new.york", session=secrets.token_hex(5), lifetime=60)
ak = solve({
"type": "akamai",
"url": "https://akamai-site.example.com/login",
"user_agent": UA,
"proxy": akamai_proxy, # required for akamai
})
shop = browser_session(akamai_proxy, UA, ACCEPT_LANGUAGE["US"])
for name, value in ak["cookies"].items(): # _abck, bm_sz, ...
shop.cookies.set(name, value)
r = shop.get("https://akamai-site.example.com/api/products")
print(r.status_code) # 403 "Access Denied" = solve againNode.js: the same flows with undici
Use undici's ProxyAgent with the dispatcher option. Encode the password with encodeURIComponent before putting it in the URL, since it carries the options.
// evomi-nslsolver.mjs (Node 18+, npm i undici)
// Use undici's ProxyAgent: node-fetch has no proxy option, and current
// https-proxy-agent versions export { HttpsProxyAgent } (not a default export).
import { randomBytes } from "node:crypto";
import { fetch, ProxyAgent } from "undici";
const NSL_API_KEY = "nsl_YOUR_API_KEY";
const EVOMI_USERNAME = "YOUR_EVOMI_USERNAME";
const EVOMI_PASSWORD = "YOUR_EVOMI_PASSWORD";
const UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 " +
"(KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36";
// Options go in the PASSWORD; session ids are 6-10 chars (5 random bytes = 10 hex chars).
function evomiProxy({ country = "FR", city, lifetime = 30 } = {}) {
let password = EVOMI_PASSWORD + "_country-" + country;
if (city) password += "_city-" + city;
password += "_session-" + randomBytes(5).toString("hex") + "_lifetime-" + lifetime;
return "http://" + EVOMI_USERNAME + ":" + encodeURIComponent(password) + "@rp.evomi.com:1000";
}
async function solve(payload) {
const res = await fetch("https://api.nslsolver.com/solve", {
method: "POST",
headers: { "X-API-Key": NSL_API_KEY, "Content-Type": "application/json" },
body: JSON.stringify(payload),
});
const data = await res.json();
if (!res.ok || !data.success) {
throw new Error("NSLSolver " + res.status + ": " + (data.error || JSON.stringify(data)));
}
return data;
}
const cookieHeader = (cookies) =>
Object.entries(cookies).map(([k, v]) => k + "=" + v).join("; ");
// 1) Cloudflare Challenge from a Paris residential IP
const cfProxy = evomiProxy({ country: "FR", city: "paris" });
const cf = await solve({
type: "challenge",
url: "https://cf-protected.example.com/",
site_key: "0x4AAAAAAA...",
proxy: cfProxy,
accept_language: "fr-FR,fr;q=0.9",
});
const page = await fetch("https://cf-protected.example.com/catalog", {
dispatcher: new ProxyAgent(cfProxy),
headers: { "User-Agent": cf.user_agent, "Accept-Language": "fr-FR,fr;q=0.9", Cookie: cookieHeader(cf.cookies) },
});
console.log("challenge", page.status);
// 2) Kasada
const kProxy = evomiProxy({ country: "FR", lifetime: 15 });
const k = await solve({
type: "kasada",
url: "https://www.kasada-site.example.com/login",
user_agent: UA,
ua_version: 145,
kasada_config: {
p_js_path: "/<uuid-1>/<uuid-2>/p.js", // the target's real p.js path (DevTools > Network)
fp_host: "www.kasada-site.example.com", // host serving /fp
tl_host: "api.kasada-site.example.com", // host receiving POST /tl
},
proxy: kProxy,
});
const api = await fetch("https://api.kasada-site.example.com/v1/search", {
method: "POST",
dispatcher: new ProxyAgent(kProxy),
headers: { ...k.headers, "User-Agent": UA, "Content-Type": "application/json" },
body: JSON.stringify({ q: "..." }),
});
console.log("kasada", api.status);
// 3) Akamai from New York
const akProxy = evomiProxy({ country: "US", city: "new.york", lifetime: 60 });
const ak = await solve({ type: "akamai", url: "https://akamai-site.example.com/login", user_agent: UA, proxy: akProxy });
const products = await fetch("https://akamai-site.example.com/api/products", {
dispatcher: new ProxyAgent(akProxy),
headers: { "User-Agent": UA, "Accept-Language": "en-US,en;q=0.9", Cookie: cookieHeader(ak.cookies) },
});
console.log("akamai", products.status);
// Node's fetch does not copy Chrome's TLS fingerprint; if a strict site still
// blocks it, send the follow-up requests from Python with curl_cffi.Troubleshooting Evomi with NSLSolver
For the meaning of each NSLSolver status code and of the Cloudflare, Kasada and Akamai errors, see the anti-bot error-code reference.
| Symptom | Likely cause | Fix |
|---|---|---|
| Certificate error on port 1001 | rp.evomi.com used with the HTTPS port. | Use rp.evomi-proxy.com:1001 for HTTPS, or rp.evomi.com:1000 with http://. |
| Session changes on every request | Session ID shorter than 6 or longer than 10 characters, or not alphanumeric. | Generate one 6-10 character ID and reuse the exact proxy string. |
| _lifetime has no effect | Combined with _hardsession- or _lockedsession-. | Use _session- with _lifetime-, or the other session type without it. |
| City targeting ignored | Spaces or hyphens in the city name. | Write it lowercase with dots: _city-new.york. |
| NSLSolver 400 Validation failed | Proxy without a scheme, or a missing required field. | Send the full http:// URL and check the field named in the error. |
| NSLSolver 503 Solve failed | The solve did not complete; it is not billed. | Retry with backoff; if it repeats on one session, start a new one. |
Related
- Anti-bot error-code reference: Cloudflare, Kasada, Akamai and NSLSolver errors with fixes.
- The cf_clearance cookie: what it is bound to and how long it lasts.
- Kasada 429 error: why Kasada answers 429 and how to fix it.
- Akamai _abck cookie: recognising Akamai and replaying cookies.
Sources (checked 1 December 2026)