Skip to main content
Glama
urlbox
by urlbox

render

Render websites to images, PDFs, HTML, or markdown with full control over viewport, content blocking, and metadata extraction.

Instructions

Uses Urlbox.com's POST API for advanced rendering with side renders. Download to computer using store_renders: true. Ideal for: use of many options, converting websites to HTML/PDF/markdown, extracting metadata, saving cookies, rendering custom HTML/CSS/JS, and generating multiple output formats simultaneously (html, pdf, md, cookies etc.), while also capturing the main screenshot's format.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
store_rendersNoFlip this to true to save all downloadable render links
urlYesThe URL or domain of the website you want to screenshot.
htmlNoThe HTML you want to render if not a URL.
formatNoThe output format of the resulting render.
widthNoThe viewport width of the browser, in pixels.
heightNoThe viewport height of the browser, in pixels.
full_pageNoSpecify whether to capture the full scrollable area of the website.
selectorNoTake a screenshot of the element that matches this selector.
clipNoClip the screenshot to the bounding box specified by x,y,width,height.
gpuNoEnable GPU acceleration to render 3D scenes and heavy WebGL content.
block_adsNoBlocks requests from popular advertising networks from loading.
hide_cookie_bannersNoAutomatically hides cookie banners from most websites.
click_acceptNoAttempts to click on the 'Accept' button to accept cookies.
press_escapeNoAttempts to press the Escape (ESC) key before capturing the page.
block_urlsNoBlock requests from specific domains from loading. You can use wildcard characters to match subdomains.
block_imagesNoBlocks image requests
block_fontsNoBlocks font requests
block_mediasNoBlock video and audio requests
block_stylesNoPrevent stylesheet requests from loading
block_scriptsNoPrevent requests for javascript scripts from loading
block_framesNoBlock frames.
block_fetchNoBlock fetch requests from the target URL.
block_xhrNoBlock XHR requests from the target URL.
block_socketsNoBlock websocket requests.
hide_selectorNoComma-delimited string of CSS element selectors that are hidden.
jsNoExecute custom JavaScript in the context of the page.
cssNoInject custom CSS into the page
dark_modeNoEmulate dark mode on websites by setting prefers-color-scheme: dark
reduced_motionNoPrefer less animations on websites by setting prefers-reduced-motion: reduced
show_timestampNoShows a timestamp in a header above the rendered screenshot.
show_urlNoShows a URL in a header above the rendered screenshot.
retinaNoTake a 'retina' or high-definition screenshot, equivalent to setting a device pixel ratio of 2.0.
img_fitNoHow the screenshot should be resized or cropped to fit the dimensions.
img_positionNoHow the image should be positioned when using an img_fit of cover or contain.
img_bgNoBackground colour to use when img_fit is contain, or img_pad is used.
img_padNoPad the screenshot, giving it a border.
qualityNoThe image quality of the resulting screenshot (JPEG/WebP only)
transparentNoIf a website has no background color set, the image will have a transparent background.
max_heightNoLimit the screenshot to a maximum height.
pdf_page_sizeNoSets the PDF page size.
pdf_page_rangeNoSets the PDF page range to return.
pdf_page_widthNoSets the PDF page width, in pixels.
pdf_page_heightNoSets the PDF page height, in pixels.
pdf_marginNoSets the margin of the PDF document.
pdf_outlineNoGenerates an outline for the PDF.
pdf_taggedNoGenerates a tagged PDF.
pdf_margin_topNoSets a custom top margin on the PDF.
pdf_margin_rightNoSets a custom right margin on the PDF.
pdf_margin_bottomNoSets a custom bottom margin on the PDF.
pdf_margin_leftNoSet a custom left margin on the PDF.
pdf_auto_cropNoAutomatically remove white space from PDF.
pdf_scaleNoSets the scale factor of the website content in the PDF.
pdf_orientationNoSets the orientation of the PDF.
pdf_backgroundNoSets whether to print background images in the PDF
disable_ligaturesNoPrevents ligatures from being used.
mediaNoBy default, when generating a PDF, the print CSS media query is used.
pdf_show_headerNoWhether to show the default pdf header on each page of the pdf.
pdf_headerNoChange the default pdf header that is shown on each page of the pdf.
pdf_show_footerNoWhether to show the default pdf footer on each page of the pdf.
pdf_footerNoChange the default pdf footer that is shown on each page of the pdf.
readableNoMake the pdf into a readable document by removing unnecessary elements.
forceNoGenerate a fresh render, instead of getting a cached version.
uniqueNoPass a unique string such as a UUID, hash or timestamp.
ttlNoThe duration to keep a render in the cache, in seconds.
proxyNoPass in a proxy server address to make screenshot requests via that server.
headerNoSet a header on the request when loading the URL
cookieNoSets a cookie on the request when loading the URL.
user_agentNoSets the User-Agent string for the request
platformNoSets the navigator.platform that the browser will report for the request.
accept_langNoSets an Accept-Language header on requests to the target URL
authorizationNoSets an Authorization header on requests to the target URL.
tzNoEmulate the timezone to use when rendering pages.
engine_versionNoSets the version of the urlbox rendering engine to use. Latest provides the latest bug fixes and features.
certifyNoCreates a hash of the rendered file, timestamp and options providing proof.
delayNoThe amount of time to wait before Urlbox captures a render in milliseconds.
timeoutNoThe amount of time to wait for the requested URL to load, in milliseconds.
wait_untilNoWaits until the specified DOM event has fired before capturing a render.
wait_forNoWaits for the element specified by this selector to be present in the DOM.
wait_to_leaveNoWaits for the element specified by this selector to be absent from the DOM.
wait_timeoutNoThe amount of time to wait for the wait_for element to appear.
fail_if_selector_missingNoFails the request if the elements specified by selector or wait_for options are not found.
fail_if_selector_presentNoFails the request if the element specified by wait_to_leave option is found.
fail_on_4xxNoIf true and the requested URL returns a status code between 400 and 499, Urlbox will fail.
fail_on_5xxNoIf true and the requested URL returns a status code between 500 and 599, Urlbox will fail.
scroll_toNoScroll, to either an element or to a pixel offset from the top.
clickNoSpecifies an element selector to click before generating a screenshot or PDF
click_allNoSpecifies an element selector to click all matching elements.
hoverNoSpecifies an element selector to hover over before generating a screenshot or PDF
bg_colorNoSpecify a hex code or CSS color string to use as the background color
full_page_modeNoWhether to use scroll and stitch algorithm or native full page screenshot.
full_widthNoWhen full_page=true, specify whether to capture the full width of the website.
allow_infiniteNoOverride the default behavior to prevent infinite scrolling.
skip_scrollNoSpeed up renders by skipping an initial scroll through the page.
detect_full_heightNoPrevent backgrounds from getting stretched when making a full page screenshot.
max_section_heightNoThe maximum height of each image section when taking a full_page screenshot.
scroll_incrementNoSets how many pixels to scroll when scrolling the page.
scroll_delayNoThe time to wait between taking the screenshots of each individual section.
highlightNoSpecify a string to highlight on the page before capturing a screenshot or PDF.
highlightfgNoSpecify the text color of the highlighted word.
highlightbgNoSpecify the background color of the highlighted word.
latitudeNoSets the latitude used to emulate the Geolocation API.
longitudeNoSets the longitude used to emulate the Geolocation API.
accuracyNoSets the accuracy of the Geolocation API in metres.
use_s3NoSave the render directly to the S3 (or S3-Compatible) bucket configured on your account.
s3_pathNoSets the S3 path, including subdirectories and the filename.
no_suffixNoBy default, urlbox adds the file extension to the s3_path.
s3_bucketNoOverrides the configured bucket to use when saving the render.
s3_endpointNoChange the endpoint URL to use an S3 compatible storage provider.
s3_regionNoOverride the configured S3 region when saving the render.
cdn_hostNoIf your custom bucket is fronted by a CDN, you can set the host name here.
s3_storageclassNoSets the s3 storage class.
save_htmlNoAlongside rendering the main options.format shot, also saves the render as HTML returning a storage URL.
save_metadataNoAlongside rendering the main options.format shot, also saves render's Metadata returning a storage URL.
save_markdownNoAlongside rendering the main options.format shot, also saves render as Markdown returning a storage URL.
save_mhtmlNoAlongside rendering the main options.format shot, also saves render as MHTML returning a storage URL.
save_cookiesNoAlongside rendering the main options.format shot, also saves renders used cookies returning a storage URL.
povNoUse a Point of View (PoV) to more convincingly and accurately emulate loading a website from a particular location, with better success than many other options here. This lets you view a website as if you were browsing from a less block-prone perspective, such as through a trusted, location-specific, or residential IP. - hidden - The basic level of anonymisation to mask your location (great starting place) - trusted - Using more trusted, reliable networks to get a higher success rate when emulating a country - stealth - Advanced protocols designed to bypass bot detection - premium - Emulates high-quality residential networks for maximum reliability over hidden and trusted - geo - Location-specific access from real devices in your target country This option is not compatible when trying to use authorization or cookies.
pov_countryNoYou can also specify a particular country for your PoV by adding a country code such as: us, gb, ca - If we don't have one available, do contact support@urlbox.com and we'll see what we can do.
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description must carry the burden. It adds some behavioral info (POST API, side renders, store_renders flag) but lacks details on error handling, rate limits, auth requirements, or conflicts between options. The description is too brief given the tool's complexity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single paragraph but front-loaded with core purpose and key option. The list of use cases is somewhat rambling but overall relatively concise for a tool with 118 parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the high parameter count and lack of output schema/annotations, the description is insufficiently comprehensive. It does not explain response format, error handling, or how to combine side renders with main output, leaving significant gaps for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description's generic mention of options (format, html, css, js, saves) adds minimal value beyond the already detailed parameter descriptions in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it uses Urlbox.com's POST API for advanced rendering, mentioning side renders and multiple output formats. It distinguishes from the sibling 'download' tool by noting how to save renders for later download via store_renders.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description lists ideal use cases (e.g., converting websites, extracting metadata, saving cookies) but does not specify when not to use this tool or provide alternatives. No guidance on prerequisites or handling side renders.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/urlbox/urlbox-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server