anti-bot

Proof-of-Work Challenge

A proof-of-work challenge requires a client to perform a computationally expensive calculation before accessing a resource, making large-scale automated requests economically costly.

Borrowed from cryptocurrency, proof-of-work (PoW) in web security asks the client's browser to find a value that, when hashed with a server-provided nonce, produces a hash below a target difficulty. The computation is easy for a single browser tab but becomes expensive at scale — running millions of parallel requests requires proportional CPU, which raises the attacker's cost.

Anti-bot providers embed PoW challenges in JavaScript that runs before the page renders. The browser solves the puzzle in a web worker, submits the solution, and receives a signed token. The token is then included in subsequent requests as proof that the client paid the computational cost.

For scrapers, PoW is a significant obstacle because it requires executing arbitrary JavaScript with access to cryptographic APIs. Simple HTTP clients cannot participate. Browser-based scrapers can solve PoW challenges but at slower throughput — each request carries a minimum latency determined by the challenge difficulty.

Related Terms

Extract Proof-of-Work Challenge data from any website

AlterLab returns clean, structured data from any public URL — no scraper infrastructure needed. Start free, no credit card required.

View API docs

Your first scrape.
Sixty seconds.

$1 free balance. No credit card. No SDK.Just a POST request.

terminal
curl -X POST https://api.alterlab.io/v1/scrape \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "formats": ["markdown"]}'

No credit card required · Up to 5,000 free scrapes · Balance never expires

    Proof-of-Work Challenge — Web Scraping Glossary | AlterLab