The browser user agent defines how websites perceive your request. Use Add Screenshots to override the user agent header so you can trigger mobile layouts, QA outdated browsers, or bypass bot detection workflows while still routing captures to your preferred cloud storage.
Set the user_agent parameter in any API call, request template, or scheduled workflow. Add Screenshots applies the override immediately, captures from 20+ regions without throttling, and logs the result in usage analytics.
Test Custom User Agents Free or Compare Plans
Websites read the user agent string to tailor content, block bots, or serve region-specific experiences. Overriding it helps you:
For a deeper primer on the HTTP header itself, review the MDN user agent documentation or explore vetted strings on WhatIsMyBrowser.
Set any valid user agent string. The following request mimics Internet Explorer 6 and captures the resulting layout:
// Line breaks added for readability https://api.addscreenshots.com/screenshots
?apikey=YOUR_API_KEY
&user_agent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
&url=http://youtube.com
Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.

If a site continues to block screenshots, enable &error=true to surface validation details inside the API response. You can also fall back to a known evergreen string (Chrome, Firefox, Safari) or schedule retries via webhook automation. For advanced diagnostics, visit the debug errors guide.