Add or modify any HTTP header

You can update or add any HTTP header: User-Agent, Accept-Language, etc. Unlike the custom Referrer, Cookie and POST data, these headers are added or updated on all HTTP/HTTPS transaction, not the just the first one.

Check out the API documentation for screenshot/create to see the full list of customization you can leverage with Browshot.

wget "" -O /tmp/headers.png
$browshot->create_screenshot(url => '', headers => "User-Agent: Foobar\nX-Foo: bar"); # Full API
$browshot->simple(url => '', headers => "User-Agent: Foobar\nX-Foo: bar"); # Simple API
client.screenshot_create('', { headers => "User-Agent: Foobar\nX-Foo: bar" }); # Full API
client.simple('', { headers => "User-Agent: Foobar\nX-Foo: bar" }); # Simple API

All versions of the Browshot libraries support the additional headers argument.

Try it for free


sign up for free account

Already have an account?

no credit card required

About Us

Browshot is a web service to create real time web screenshots in a multitude of virtual devices, including mobile devices like the iPhone 3 & 4, iPad, Android Nexus, etc.

You can use the web dashboard, or our full-featured API.

  • Real time screenshots

  • 15+ mobile devices: iPhone, iPad, Android, etc.

  • 30+ desktop resolutions

  • Fast and reliable

  • Thumbnails of any size, any ratio

  • Full API, open-source libraries