Quick Answers

What Is a Honeypot Trap in Web Scraping?

A honeypot is a link or form field that humans cannot see but bots follow or fill in. Touching it tells the site you are a bot, and your proxy IP gets flagged.

By Team of Monkeys Editorial Updated 1 min read Affiliate disclosure

This guide contains affiliate links to Geonode, Webshare and Rayobyte. If you buy through them we may earn a commission, at no extra cost to you.

What Is a Honeypot Trap in Web Scraping illustration: a honeypot is a link or form field that humans cannot see but bots follow or fill in 3jdej38j4

The short answer

A honeypot is bait. Sites add links hidden with CSS, or form fields that are invisible to people, and wait. A human never clicks them; a careless crawler that follows every link or fills every field does. The site then flags or bans that IP and session.

How to avoid them

Only follow links a real visitor could see, respect nofollow and robots.txt, do not fill hidden fields, and crawl the pages you actually need rather than everything.

A monkey meets a proxy server for the first time (animated GIF) 3jdej38j4
A monkey meets a proxy server for the first time. GIF via Tenor

Also known as

Bot trap, spider trap, hidden link trap.

Learn more

Affiliate disclosure: Team of Monkeys is an affiliate of Geonode, Webshare and Rayobyte. Links and banners marked as sponsored, and links to Geonode, Webshare and Rayobyte in the text, use our referral links, and we may earn a commission if you buy through them, at no extra cost to you. Our explanations and comparisons are written to be useful whichever provider you choose.

Editorial note: Proxy providers change their pools, features and prices often, so treat any figures here as typical ranges at the time of writing and confirm current terms with the provider before you buy.