Urlbox

Most-used options

The options most people set on almost every render.

These aren't fixes for a specific problem — they're sensible defaults that make renders cleaner and more reliable. They're also the options that show up most in real usage.

Clean up the page

Cookie banners, ad slots, and consent dialogs clutter most screenshots. Remove them:

  • hide_cookie_banners — hide common cookie/consent banners (set on ~61% of renders).
  • click_accept — click the consent "accept" button instead of hiding it (~57%).
  • block_ads — block ad networks (~46%).
  • press_escape — dismiss modals by sending the Escape key (~44%).
Request
{  "url": "https://example.com",  "hide_cookie_banners": true,  "click_accept": true,  "block_ads": true}

Use the latest engine

engine_version selects the rendering engine build. Set it to latest to pick up the newest fixes (set on ~48% of renders) — this alone resolves many one-off rendering quirks.

Request
{  "url": "https://example.com",  "engine_version": "latest"}

Fail and retry sensibly

By default Urlbox returns a render even if the page errored. To treat HTTP errors as failures so you can catch them:

Request
{  "url": "https://example.com",  "fail_on_4xx": true,  "fail_on_5xx": true}

Extract data while you render

Save extra artifacts alongside the image, without a second request (set on ~42% of renders):

Request
{  "url": "https://example.com",  "save_markdown": true,  "save_metadata": true}

See the full Extraction options for everything you can capture.

On this page