Data

Capture a website screenshot

Capture a screenshot of a URL using a headless browser. The page is fully rendered before capture. Returns a public WebP image URL. Defaults to 1400×1050 px viewport. Set fullPage: true to capture the full page length.

📦 Output Returns a public URL to the captured screenshot image stored in cloud storage.

post/api/data/{project_id}/screenshot

Request

  • Base URL
    https://core.blink.new
  • URL
    https://core.blink.new/api/data/{project_id}/screenshot
  • Auth
    HTTP bearer

Path parameters

project_idstring required
Example:my-project-123

Unique identifier for the project

Request body

urlstring uri required

URL of the website to screenshot

fullPageboolean

Whether to capture the full page or just the viewport

widthinteger

Viewport width in pixels

heightinteger

Viewport height in pixels

Example request

{
  "url": "https://example.com"
}

Response

Screenshot captured successfully

urlstring uri

URL of the generated screenshot image

Example response

{
  "url": "https://cdn.blink.new/screenshots/example-com-1234567890.webp"
}

Changes

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