Skip to content

What is user agent?

A user agent is a text string that a browser, bot, or automation tool sends every time it requests a page. It tells the website what software is making the request, such as the browser name, version, and operating system.

Example:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36

  • Bot Protection checks the user agent to find unknown clients, headless browsers, and crawlers that pretend to be Googlebot or other known bots. See Bot Detection & Blocking.
  • User Agent rules let you block (or allow) specific automation tools.

  1. In the MIDA Fraud app, go to Blocking Rules and select User Agent.

  2. Select Blacklist and click Create rule.

  3. Click the User Agent field (1) and select the tools you want to block from the list (2), or select All user agent.

    User Agent field with the list of the 8 supported tools

  4. Click Save.

See Creating Rules for the full form.

MIDA detects these 8 automation tools:

TypeTools
Headless browsers and automationHeadless Chrome, PhantomJS, Selenium, Puppeteer
Scraping and script clientscurl, python-requests, Scrapy, Apache HttpClient

MIDA checks more than the user agent text, so tools are detected even when they try to look like a normal browser in some cases.


  • User Agent rules need the Unlimited or Plus plan. See Pricing Plans & Feature Limits.
  • Advanced bots can fake their user agent. Combine User Agent rules with Bot Protection, IP, ISP, and VPN blocking for the best results.

If you have any questions, feel free to contact us via Crisp Chat or email us at [email protected].