Web Content

WEBSITE SCREENSHOT — render any public URL in a real browser and get the pixels

WEBSITE SCREENSHOT — render any public URL in a real browser and get the pixels. GET ?url=… returns a PNG as base64 JSON (add &raw=1 for the image bytes directly). Options: width 320-1920 (default 1280), height, full_page=1 for the whole scrolled page, format=png|jpeg. Ads and cookie banners are blocked automatically. For agents that need to SEE a page: visual QA, previews, archiving, design reference.

Price: $0.04 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

get/api/website-screenshot

Request

  • Base URL: https://api.webbersites.com
  • URL: https://api.webbersites.com/api/website-screenshot
  • Auth: API key in header X-PAYMENT

Query parameters

urlstring required

Public http(s) URL of the page to capture

widthnumber

viewport width in px (320-1920, default 1280)

heightnumber

viewport height in px (320-2160, default 800)

full_pagenumber

1 = capture the entire scrolled page, not just the viewport

formatstring

png (default) or jpeg

rawnumber

1 = respond with raw image bytes instead of JSON

Response

Success

urlstring
formatstring
widthnumber
heightnumber
full_pageboolean
content_typestring
bytesnumber
image_base64string

the screenshot, base64-encoded

Changes

No recorded changes to this operation across all 1 revision of this API.