PerimeterX and HUMAN are the same bot defense: HUMAN Security merged with PerimeterX in 2022 and sells it today as HUMAN Bot Defender, with the "Press & Hold" check as its HUMAN Challenge. Knowing how to bypass PerimeterX comes down to three things it checks on every visit: the IP, the browser, and whether the session behaves like one consistent person. Below: how to spot it, what it scores, three methods to scrape a PerimeterX protected website, and the proxy setup that keeps sessions alive.
Key takeaways
- PerimeterX is HUMAN Bot Defender. Its cookies (_px3, _pxhd, _pxvid, pxcts) and the 'Access to this page has been denied' page with a Reference ID give it away.
- Blocks come back as a 403, or a 307 redirect to the block page, once a session's risk score crosses the site's threshold.
- A patched browser such as Patchright on a sticky mobile IP passes the sensor; plain HTTP clients without its cookies get blocked on the first request.
- The _px session cookie lasts about 5.5 minutes, so browser-minted sessions need refreshing on the same IP that minted them.
- Residential proxies usually fail on setup, not IP type: rotating mid-session or mismatched geo. Mobile carrier IPs on sticky sessions hold up best.
Intended use
Use this for collecting public data you are allowed to access. It is not meant for account takeover, checkout automation or getting around a site's terms. Check a site's terms and robots.txt before you scrape it.
How to Tell a Site Uses PerimeterX (HUMAN)
Open DevTools before you write a line of code, because HUMAN leaves clear marks on every site it protects:
- Cookies. Under Application, then Cookies, look for
_px3or_px2,_pxhd,_pxvidandpxcts. According to HUMAN's cookie documentation, the_pxsession cookies last about 5.5 minutes, while_pxhdand_pxvidlast a year. - Sensor script. In the standard snippet,
window._pxAppIdis set andclient.perimeterx.net/APP_ID/main.min.jsloads. App IDs start with PX, and sites in first-party mode serve the same sensor from their own domain, on a path built from the ID without that prefix, such as/abc123xyz/init.jsfor an app ID ofPXabc123xyz. Search the page source for_pxAppIdrather than the domain. - Block page. Blocked sessions see "Access to this page has been denied" or a "Press & Hold to confirm you are a human" prompt, with a Reference ID underneath. Its challenge renders inside an element with the ID
px-captcha. - Blocked API calls. Fetch or XHR requests that ask for JSON get HUMAN's Advanced Blocking Response instead: a 403 whose JSON body carries fields such as
appId,vid,uuidandblockScript, according to HUMAN's ABR documentation.
From code, a quick request shows the same signals:
1import requests2 3r = requests.get("https://www.example.com/", headers={"User-Agent": "Mozilla/5.0"}, timeout=20)4html = r.text5 6signals = {7 "status": r.status_code,8 "_pxhd cookie set": "_pxhd" in r.headers.get("set-cookie", ""),9 "_pxAppId in page": "_pxAppId" in html,10 "perimeterx script": "perimeterx" in html,11 "block page": "Access to this page has been denied" in html,12 "challenge": "px-captcha" in html or "Press & Hold" in html,13 "ABR JSON block": "blockScript" in html,14}15print(signals)Two or more hits mean HUMAN is in front of the site. It isn't the most common anti-bot: Zyte's State of Web Access 2026 found PerimeterX (HUMAN) behind 5% of anti-bot vendor mentions, against 75.9% for Cloudflare.
How PerimeterX / HUMAN Detects Scrapers
HUMAN splits the work three ways: a JavaScript sensor collects data in the browser, a cloud detector scores it in real time, and an enforcer installed on the site's server, load balancer or CDN acts on the verdict to allow, block or challenge. Usually the verdict arrives in a cookie, and when that cookie is missing, expired or invalid, the enforcer asks the detector directly before serving the page.
Per its enforcer configuration docs, the default blocking score is 100, and a blocked session gets a 403, or a 307 redirect to the block page. New installs start in monitor mode, so a site can score you for weeks before it blocks anything.
Four layers feed the score:
- Network. IP type and reputation, and how many requests one IP sends. HUMAN's own "why was I blocked" page lists a high volume of requests among the reasons for a block.
- TLS and HTTP. Python clients send a handshake, HTTP/2 settings and header order that look nothing like Chrome, the same checks our Akamai bypass guide breaks down.
- Browser sensor. Running in the page, the JavaScript sensor fingerprints the browser and reports automation tools. Disabled JavaScript, blocked cookies and privacy extensions that strip the sensor all count against you.
- Behavior and session. Mouse, touch and keyboard events, page order and dwell time, plus whether the cookies, IP and fingerprint stay together across the visit.
That last point explains most failed scrapers. A session isn't a cookie, it's a cookie bound to one IP and one fingerprint for a few minutes at a time.
How to Bypass PerimeterX: 3 Methods
Each method trades cost against durability. Pick by volume:
| Feature | Method 1: Patched browser | Method 2: Mint and reuse | Method 3: Unguarded path |
|---|---|---|---|
| Passes the sensor | Yes, it runs it | Yes, once per session | No sensor to pass |
| Pages per hour | Low | High | Highest |
| Breaks when | The browser leaks automation | Cookies move to another IP or expire | The site adds protection to that path |
| Best for | Most jobs, and every start | Volume after Method 1 works | Sites that expose JSON or feeds |
Method 1: Patchright and a Mobile Proxy
The most reliable way to bypass PerimeterX with Playwright is Patchright, a drop-in Playwright build that removes the automation leaks HUMAN's sensor looks for, including the Runtime.enable leak and the --enable-automation flag. It also launches Chrome without the AutomationControlled flag, so navigator.webdriver stops reporting true. Its README recommends a persistent profile, the real Chrome channel, a visible window and no custom headers or user agent. Run it on a server with a virtual display rather than headless mode.
1# pip install patchright && patchright install chrome2from patchright.sync_api import sync_playwright3 4PROXY = {5 "server": "http://proxy.voidmob.com:10000",6 "username": "<list-username>",7 "password": "<list-password>",8}9 10with sync_playwright() as p:11 ctx = p.chromium.launch_persistent_context(12 user_data_dir="profiles/profile-1", # one profile per sticky IP13 channel="chrome",14 headless=False,15 no_viewport=True,16 proxy=PROXY,17 )18 page = ctx.new_page()19 page.goto("https://www.example.com/", wait_until="domcontentloaded")20 page.wait_for_timeout(5000) # give the sensor time to report21 22 if "Access to this page has been denied" in page.content():23 print("Blocked: rotate the IP and start a fresh profile")24 else:25 print(page.title())26 ctx.close()Patchright PerimeterX results depend on what the browser still leaks, so run each profile through a browser fingerprint test first. Timezone, language and WebGL renderer should all match the proxy's country and the operating system you claim.
Then make the session behave like one visitor, since the behavior layer scores the whole visit, not one page:
- Land on the homepage or a category page first, then move to the target pages.
- Stay a few seconds on each page and scroll before opening the next one.
- Vary the order and timing instead of firing identical requests in a loop.
- When a page hangs, wait 10 to 15 seconds for a real element to appear rather than the load event, since the sensor needs time to report.
Method 2: Mint the Session in a Browser, Reuse It at Volume
Once Method 1 passes, a real browser can mint the _px cookies while a fast HTTP client does the bulk fetching. It's the same pattern as in our Kasada bypass guide, with one HUMAN-specific rule: the session cookie lasts about 5.5 minutes, so refresh it every few minutes, always on the same sticky IP.
1import time2from curl_cffi import requests3from patchright.sync_api import sync_playwright4 5PROXY = {"server": "http://proxy.voidmob.com:10000",6 "username": "<list-username>", "password": "<list-password>"}7PROXY_URL = "http://<list-username>:<list-password>@proxy.voidmob.com:10000"8START = "https://www.example.com/"9urls = ["https://www.example.com/page-1", "https://www.example.com/page-2"]10 11def mint_cookies():12 with sync_playwright() as p:13 ctx = p.chromium.launch_persistent_context(14 "profiles/profile-1", channel="chrome", headless=False,15 no_viewport=True, proxy=PROXY)16 page = ctx.new_page()17 page.goto(START)18 page.wait_for_timeout(8000) # let the sensor run19 cookies = ctx.cookies()20 ctx.close()21 return cookies22 23# Same sticky proxy list as the browser, so cookies and IP stay together24session = requests.Session(impersonate="chrome",25 proxies={"http": PROXY_URL, "https": PROXY_URL})26minted_at = 027for url in urls:28 if time.time() - minted_at > 240: # _px session cookies last about 5.5 minutes29 for c in mint_cookies():30 session.cookies.set(c["name"], c["value"], domain=c["domain"])31 minted_at = time.time()32 r = session.get(url)33 print(url, r.status_code)34 time.sleep(2)curl_cffi's Chrome impersonation keeps the TLS handshake close to the browser that minted the cookies. Keep its Chrome version near the one Patchright runs, or the mismatch becomes a signal of its own. On top of that, the HTTP client fetches only the HTML, not every script, image and font a browser loads, which cuts the data each page costs on a per-GB proxy.
Method 3: Find a Path HUMAN Doesn't Guard
HUMAN protects the routes a site chooses. Product data often also lives in a JSON endpoint, a sitemap or a feed the page loads, and some of those are served without the sensor. Check the Network tab for the request that actually carries the data before you automate the page around it, and stay within what the site allows. If that request comes back as a 403 with a JSON body holding blockScript, HUMAN guards it too: send it with cookies minted by Method 2, on the same IP. Older guides suggest scraping Google's cached copy instead, but Google retired its search cache in 2024, so that route no longer exists.
PerimeterX Captcha Bypass: Why Solving the HUMAN Challenge Fails
A PerimeterX captcha bypass through a solving service rarely holds. HUMAN's challenge documentation says it tracks mouse, touch and keyboard events, plants honeypots such as fake tokens and extra iframes, and flags replayed tokens, headless browser callbacks and known CAPTCHA-solving tools. Scripted press-and-hold attempts carry every one of those signals.
Treat the challenge as a verdict on the session, not a puzzle. When it appears, the IP, the fingerprint or the pace already looked wrong, so change the part that failed and start a fresh profile. If you hit the same check in your own everyday browser, our Press & Hold loop fixes cover the user side.
Best Proxies for PerimeterX
The best proxies for PerimeterX keep one IP per session and come from networks HUMAN can't block without blocking real customers:
| Feature | Datacenter | Residential | Mobile |
|---|---|---|---|
| IP source | Server ranges | Home ISP connections | 4G and 5G carrier networks |
| Network score | Low from the first request | Good on fresh, geo-matched IPs | High: one carrier IP is shared by many real phone users |
| Typical failure | Blocked before the sensor runs | Rotating mid-session or mismatched geo | Pace too high on one IP |
| Fits | Testing your setup | Lighter jobs on less strict sites | Volume on strict sites, long sessions |
Why Residential Proxies Fail PerimeterX
Residential proxies mostly fail on setup, not on the IP type. Per-request rotation moves the same _px and _pxvid cookies across several homes in a few minutes, which no real visitor does. Pairing a residential exit in one city with a browser set to another timezone and language reads as a mismatch too. Fix both, with sticky sessions and geo-matched browser settings, before you blame the pool.
Mobile proxies for PerimeterX remove most of that work. VoidMob mobile proxies run on real 4G and 5G carrier IPs. One package holds up to 100 proxy lists, each with its own credentials, country targeting and sticky or rotating setting, so every browser profile gets its own IP; set the list to sticky for the browser and cookie-reuse methods above. Premium dedicated devices also include a p0f control for the TCP fingerprint, so you can match the browser's operating system (Windows, macOS, iPhone or Android), the same idea our DataDome bypass guide applies to the network layer. Proxy lists take HTTP and SOCKS5 on the same host and port, so Patchright and curl_cffi share one connection string.
Before you point a scraper at a HUMAN-protected site, check what your current IP shows to it:
What does your IP reveal right now?
PerimeterX 403 Forbidden Fix and Other Blocks
Most HUMAN Security 403 blocks while scraping trace back to one broken link between IP, fingerprint and session:
| What you see | Likely cause | Fix |
|---|---|---|
| 403 on the first request from an HTTP client | No sensor ran, so there is no valid _ | Start with Method 1, or mint cookies with Method 2 |
| 403 with a JSON body holding appId, vid and blockScript | Advanced Blocking Response on an API call | Send the call with browser-minted cookies on the same IP |
| 307 redirect to 'Access to this page has been denied' | The session's risk score crossed the site's threshold | New IP and fresh profile, then check the fingerprint |
| Press & Hold on every page | An automation leak or a flagged IP | Patchright with a visible window on a sticky mobile IP |
| Works, then blocked after a few minutes | The _ | Refresh the session on the same IP every few minutes |
| Page hangs and the sensor never finishes | The script waits on the load event while the sensor still runs | Wait 10 to 15 seconds for a page element instead |
| 429 Too Many Requests | A separate rate limiter on top of HUMAN | Lower requests per IP and spread profiles across IPs |
PerimeterX Rate Limit 429 Bypass
HUMAN's documented block responses are a 403 and a 307, so a 429 on a PerimeterX site usually comes from a rate limiter running alongside it. Zyte found rate limiting on 61.5% of sites that run an anti-bot service, against 13.2% of sites that don't. So a PerimeterX rate limit 429 bypass comes down to fewer requests per IP: pace each profile at a few seconds per page, and add sticky IPs rather than speed.
Real carrier IPs for HUMAN-protected sites
Mobile proxies on 4G and 5G networks, with sticky sessions per browser profile and dedicated mobile devices.
FAQ
Is PerimeterX the same as HUMAN?
Yes. HUMAN Security merged with PerimeterX in 2022, and PerimeterX's bot protection now runs as HUMAN Bot Defender. The _px cookies, the client.perimeterx.net sensor and the Press & Hold challenge all belong to the same system.
How do I know if a website uses PerimeterX?
Look for _px3, _pxhd, _pxvid or pxcts cookies in DevTools, a window._pxAppId variable or client.perimeterx.net script in the page source, and a block page reading 'Access to this page has been denied' with a Reference ID.
Can you bypass the PerimeterX captcha?
Solving it rarely holds. HUMAN's challenge tracks mouse, touch and keyboard events, plants honeypots and flags known solving tools and headless callbacks. Avoid triggering it instead: a patched browser, a sticky mobile IP and human pacing.
Why do residential proxies fail PerimeterX?
Mostly because of setup. Rotating the IP on every request moves the same _px cookies across many homes, and a proxy location that doesn't match the browser's timezone and language reads as a mismatch. Sticky sessions and geo-matched settings fix most of it.
How do I fix a PerimeterX 403 Forbidden error?
A 403 means the session has no valid _px cookie or its risk score crossed the threshold. Run a patched browser so the sensor completes, keep cookies on the IP that minted them, and switch to a fresh profile and IP after a block.
Is it legal to scrape PerimeterX-protected websites?
US courts have read the Computer Fraud and Abuse Act narrowly: Van Buren v. United States (2021) limited it to areas of a system the user is not entitled to enter, and in hiQ v. LinkedIn the Ninth Circuit found serious questions about whether scraping public profiles counts as access "without authorization." hiQ still lost on breach of the site's user agreement in 2022, so contract, copyright and privacy law apply whether or not a site runs HUMAN. Personal data also falls under GDPR and CCPA, and logged-in areas fall under the account's own terms. This is general information, not legal advice.
Why does PerimeterX let a scraper through, then block it?
HUMAN scores the whole session, not just the first request. Its _px session cookie expires after about 5.5 minutes, and page order, dwell time and request volume keep feeding the score, so a scraper that passes the first page can cross the threshold a few minutes later.
