LitescrapeDados da web e SEOSEO/AEO

Capture a web page screenshot

litescrape.web.screenshot

Capture a public HTTP(S) page as a PNG

Price
$0.00015/successPelo preço do provedor
Success rate
—Ainda não há dados da taxa de sucessoLast 30 days · 0 calls
Latency p50
——
Last verified
29 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.web.screenshot?url=https%3A%2F%2Fexample.comPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

The returned screenshot_url needs the same bearer key for PNG download. That download is free and the URL expires after seven days.

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
urlstringObrigatórioPublic HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials.https://example.com
localestringOpcionalBrowser locale as a language tag, 2-64 characters. Defaults to the browser's own.en-US
refererstringOpcionalHTTP(S) URL sent as the Referer.https://example.com
timeoutnúmeroOpcionalOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
full_pagebooleanoOpcionalCapture the full page when true. The default, false, captures the viewport.true
robots_txtstringOpcionalUser agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected.MyBot
user_agentstringOpcionalUser-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own.
page_timeoutinteiroOpcionalSeconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout.30
remove_overlaybooleanoOpcionalRemove modal and cookie-banner overlays from the page.
respond_timingstringOpcionalPage readiness condition to reach before responding.network-idle
detach_invisiblesbooleanoOpcionalDrop display:none elements from the page.
wait_for_selectorstringOpcionalCSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors.main
assert_status_codeinteiroOpcionalExpected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture.200
  • Parâmetros de consulta
  • urlstringObrigatório

    Public HTTP(S) URL to capture, 1-8,192 characters. Include http:// or https://; bare domains are rejected. The host must be public, on port 80 or 443, without embedded credentials.

    Exemplo: https://example.com

  • localestringOpcional

    Browser locale as a language tag, 2-64 characters. Defaults to the browser's own.

    Exemplo: en-US

  • refererstringOpcional

    HTTP(S) URL sent as the Referer.

    Exemplo: https://example.com

  • timeoutnúmeroOpcional

    Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.

  • full_pagebooleanoOpcional

    Capture the full page when true. The default, false, captures the viewport.

    Exemplo: true

  • robots_txtstringOpcional

    User agent, 1-256 characters, to check against the site's robots.txt; disallowed URLs are rejected.

    Exemplo: MyBot

  • user_agentstringOpcional

    User-Agent for the page request, 1-1,024 characters without control characters. Defaults to the browser's own.

  • page_timeoutinteiroOpcional

    Seconds from 1 through 180 for page loading and browser operations. Cannot extend the total request budget set by timeout.

    Exemplo: 30

  • remove_overlaybooleanoOpcional

    Remove modal and cookie-banner overlays from the page.

  • respond_timingstringOpcional

    Page readiness condition to reach before responding.

    Exemplo: network-idle

  • detach_invisiblesbooleanoOpcional

    Drop display:none elements from the page.

  • wait_for_selectorstringOpcional

    CSS selector to wait for after navigation, 1-2,048 characters. POST also accepts a list of 1-16 selectors.

    Exemplo: main

  • assert_status_codeinteiroOpcional

    Expected origin HTTP status, 100-599. A different status is rejected; otherwise a rendered error page is a successful capture.

    Exemplo: 200

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.web.screenshot?url=https%3A%2F%2Fexample.com' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00015/success, incluindo a taxa de serviço.