Shotlane
shotlaneShotlane captures screenshots, renders PDFs, extracts web content, crawls sites, and monitors pages through a browser automation API.
Acciones disponibles (32)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Animate PageSHOTLANE_ANIMATE_PAGEAcciónRecord a page or inline HTML as an MP4, WebM, or GIF and return a hosted link retained for 24 hours. Each successful recording consumes exactly 3 paid Shotlane credits; free credits do not cover video recordings.
SHOTLANE_ANIMATE_PAGEAcciónRecord a page or inline HTML as an MP4, WebM, or GIF and return a hosted link retained for 24 hours. Each successful recording consumes exactly 3 paid Shotlane credits; free credits do not cover video recordings.
Parámetros de entrada
jsstringJavaScript to run in the page before recording; await is supported.
cssstringCSS to inject into the page before recording.
fpsintegerFrames per second from 5 through 30; Shotlane recommends 10 for GIF output.
urlstringPublic page URL to record; provide exactly one of url or html. A successful recording consumes 3 paid Shotlane credits; free credits cannot be used.
htmlstringRaw HTML to record; provide exactly one of url or html. A successful recording consumes 3 paid Shotlane credits; free credits cannot be used.
clickstringCSS selector whose first matching element should be clicked.
delayintegerExtra milliseconds to wait before recording.
hoverstringCSS selector whose first matching element should be hovered.
scalenumberDevice pixels per CSS pixel, from 1 through 5.
widthintegerVideo viewport width in CSS pixels, from 240 through 1920.
devicestringShotlane device preset id; explicit viewport values override the preset.
formatstringenumVideo format: MP4 uses H.264, WebM uses VP9, and GIF creates an animated image.
mp4webmgifheightintegerVideo viewport height in CSS pixels, from 240 through 1080.
localestringBrowser locale and Accept-Language value.
timeoutintegerMaximum page navigation time in seconds.
accuracynumberGeolocation accuracy in meters when latitude and longitude are supplied.
durationnumberVideo length in seconds, from 1 through 15.
latitudenumberGeolocation latitude; longitude is required with it.
scenariostringenumRecording behavior: scroll moves from the top through the page; default records the page in place, such as an animation or loading sequence.
scrolldefaulttimezonestringIANA time zone exposed to the page, such as America/New_York.
block_adsbooleanBlock advertising requests and hide their containers.
dark_modebooleanEmulate a visitor who prefers a dark color scheme.
gif_widthintegerGIF output width in pixels, from 200 through 1280.
longitudenumberGeolocation longitude; latitude is required with it.
bypass_cspbooleanIgnore the target page's Content-Security-Policy for injected JavaScript.
disable_jsbooleanLoad and record the page with JavaScript disabled.
media_typestringenumCSS media type applied while recording.
screenprintuser_agentstringUser-Agent value exposed to the target page.
wait_untilanyOne navigation load state or a sequence of states to await in order.
block_chatsbooleanBlock chat widgets such as Intercom, Drift, and Zendesk.
hide_popupsbooleanClose or hide sign-in, newsletter, and app popups before recording.
scroll_backbooleanScroll back to the top before the video ends.
scroll_speedintegerOptional scrolling speed in CSS pixels per second. When omitted, Shotlane fits the full-page scroll into duration.
reduce_motionbooleanFinish CSS animations and transitions and pause videos before recording.
scroll_easingstringenumEasing curve used by the scrolling scenario.
ease_in_outlinearease_inease_outwait_to_leavestringCSS selector to wait up to 15 seconds for until it disappears.
block_requestsanyURL pattern or up to 50 patterns with * wildcards to block.
block_trackersbooleanBlock analytics and tracking requests.
fail_on_statusbooleanFail without charging when the target page responds with 4xx or 5xx.
hide_selectorsanyCSS selector or selectors for elements to hide before recording.
reduced_motionbooleanRecord as a visitor who prefers reduced motion. The video-specific default is false so page animations play.
block_resourcesanyResource type or resource types to block while loading the page.
viewport_mobilebooleanOverride whether the browser uses mobile emulation.
scroll_into_viewstringCSS selector whose first matching element should be scrolled into view.
wait_for_selectoranyCSS selector or up to 20 selectors to await before recording.
scripts_wait_untilanyLoad state or states to await if injected JavaScript navigates.
scroll_start_delayintegerMilliseconds to show the top of the page before scrolling starts.
viewport_has_touchbooleanOverride whether the browser exposes touch input.
viewport_landscapebooleanTurn the selected device preset sideways.
hide_cookie_bannersbooleanHide cookie-consent dialogs before recording.
fail_if_request_failedanyURL pattern or up to 50 patterns whose failed requests make the recording fail.
fail_if_content_missinganyString or up to 20 strings whose absence makes the recording fail uncharged.
fail_if_content_containsanyString or up to 20 strings whose presence makes the recording fail uncharged.
wait_for_selector_algorithmstringenumFor multiple wait selectors, continue after any one or after all are visible.
at_least_oneat_least_by_counterror_on_click_selector_not_foundbooleanFail when the click selector has no clickable match.
error_on_hover_selector_not_foundbooleanFail when the hover selector has no match.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Monitor NowSHOTLANE_CHECK_MONITORAcciónRun a monitor check immediately for one credit, replacing its next scheduled check, and return the comparison result.
SHOTLANE_CHECK_MONITORAcciónRun a monitor check immediately for one credit, replacing its next scheduled check, and return the comparison result.
Parámetros de entrada
monitor_idstringObligatorioMonitor id returned by create or list, beginning with mon_.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Check Page on Multiple DevicesSHOTLANE_CHECK_PAGE_ON_DEVICESAcciónRender one page or HTML document on one to eight devices and return hosted screenshots with layout, JavaScript, network, and accessibility diagnostics.
SHOTLANE_CHECK_PAGE_ON_DEVICESAcciónRender one page or HTML document on one to eight devices and return hosted screenshots with layout, JavaScript, network, and accessibility diagnostics.
Parámetros de entrada
jsstringJavaScript to run in the page before checking.
cssstringCSS to inject into the rendered page before checking.
urlstringPublic page URL to check; provide exactly one of url or html.
htmlstringInline HTML to check; provide exactly one of url or html.
clickstringCSS selector to click before checking a state such as an open menu.
delayintegerExtra milliseconds to wait after page load before checking.
devicesstring[]One to eight Shotlane preset or device-catalog ids.
block_adsbooleanBlock advertising and tracker requests while rendering.
dark_modestringenumTheme to check: light, dark, or both. Both themes support at most four devices.
lightdarkbothfull_pagebooleanScroll and check the page top to bottom instead of only the captured viewport.
keep_daysintegerNumber of days to keep the hosted screenshot links.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
wait_for_selectorstringCSS selector or comma-separated selectors to await before checking.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before checking.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Bulk JobSHOTLANE_CREATE_BULK_JOBAcciónStart a background job that renders up to 500 URLs into one ZIP archive.
SHOTLANE_CREATE_BULK_JOBAcciónStart a background job that renders up to 500 URLs into one ZIP archive.
Parámetros de entrada
modestringenumOutput generated for every URL.
pngjpegpdfmarkdownurlsanyOne to 500 URLs, as an array or one URL per line.
optionsobjectDocumented per-render options accepted by Shotlane bulk jobs.
requestsobject[]One to 500 URLs with per-URL render options.
webhook_urlstringPublic HTTPS URL receiving a signed bulk.finished event.
external_identifierstringCaller-defined ID echoed on the job and webhook.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create MonitorSHOTLANE_CREATE_MONITORAcciónCreate a recurring screenshot or Markdown change monitor for a URL; creation performs an initial credit-consuming check.
SHOTLANE_CREATE_MONITORAcciónCreate a recurring screenshot or Markdown change monitor for a URL; creation performs an initial credit-consuming check.
Parámetros de entrada
urlstringObligatorioPublic page URL to monitor for changes.
kindstringenumWhether to detect visual screenshot changes or Markdown content changes.
screenshotmarkdownwidthintegerViewport width in CSS pixels, from 240 through 1920.
heightintegerViewport height in CSS pixels, from 240 through 2160.
intervalstringenumHow often Shotlane should check the URL.
hourly6hdailyweeklyselectorstringCSS selector that restricts monitoring to the first matching element.
block_adsbooleanBlock advertising requests and hide their containers before comparison.
full_pagebooleanFor screenshot monitors, compare the full scrollable page.
thresholdnumberPercentage of changed pixels required before a screenshot monitor records a change, from 0 to 100. Shotlane's default is 1%.
hide_popupsbooleanClose or hide sign-in, newsletter, and app popups before comparison.
webhook_urlstringPublic HTTPS endpoint to notify when the monitor detects a change.
notify_emailbooleanSend account-email notifications when a change is detected.
wait_for_selectorstringCSS selector to await before each monitor check.
hide_cookie_bannersbooleanHide cookie-consent banners before comparison.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Multi-Device ScreenshotsSHOTLANE_CREATE_MULTI_DEVICE_SCREENSHOTSAcciónCapture one page or HTML document on one to eight devices and return expiring hosted image links, with optional per-device diagnostics.
SHOTLANE_CREATE_MULTI_DEVICE_SCREENSHOTSAcciónCapture one page or HTML document on one to eight devices and return expiring hosted image links, with optional per-device diagnostics.
Parámetros de entrada
jsstringJavaScript to run in the page before capture.
cssstringCSS to inject into the rendered page before capture.
urlstringPublic page URL to capture; provide exactly one of url or html.
htmlstringInline HTML to capture; provide exactly one of url or html.
clickstringCSS selector whose first matching element should be clicked before capture.
delayintegerExtra milliseconds to wait after page load before capture.
formatstringenumImage format for every screenshot.
pngjpegwebpavifgiftiffjp2heifdevicesstring[]One to eight Shotlane preset or device-catalog ids.
qualityintegerOutput quality for JPEG, WebP, or AVIF images.
block_adsbooleanBlock advertising and tracker requests while rendering.
full_pagebooleanCapture the full scrollable page on every device.
keep_daysintegerNumber of days to keep the hosted screenshot links.
diagnosticsbooleanAdd per-device layout, JavaScript, and network diagnostics and issue sentences.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
wait_for_selectorstringCSS selector or comma-separated selectors to await before capture.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before capture.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create PDFSHOTLANE_CREATE_PDFAcciónRender a URL, HTML document, or Markdown document as a PDF and return expiring hosted-link metadata.
SHOTLANE_CREATE_PDFAcciónRender a URL, HTML document, or Markdown document as a PDF and return expiring hosted-link metadata.
Parámetros de entrada
jsstringJavaScript to run in the page before PDF generation.
cssstringCSS to inject into the rendered page.
urlstringPublic page URL to render; provide exactly one of url, html, or markdown.
htmlstringRaw HTML document to render; provide exactly one of url, html, or markdown.
delayintegerExtra milliseconds to wait after page load before rendering.
paperstringenumStandard PDF paper size.
A0A1A2A3A4A5A6LetterLegalTabloidLedgermarginstringMargin on every side as a CSS length, such as 1cm. Omit to use Shotlane's default of 0 on all four sides.
markdownstringMarkdown document to render with Shotlane styling; provide exactly one of url, html, or markdown.
selectorstringCSS selector whose first matching element should be rendered.
cache_ttlintegerSeconds to cache an identical render; cache hits do not consume credits.
dark_modebooleanEmulate a visitor who prefers a dark color scheme.
landscapebooleanUse landscape rather than portrait orientation.
watermarkstringDiagonal watermark text to place on every page.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
page_rangesstringPages to keep, such as 1-3, 5.
page_numbersbooleanAdd a page-number footer in the form 1 / N.
footer_templatestringHTML footer template for each PDF page.
header_templatestringHTML header template for each PDF page.
print_backgroundbooleanInclude CSS backgrounds in the PDF.
wait_for_selectorstringCSS selector or comma-separated selectors to await before rendering.
external_identifierstringCaller-defined id echoed in the JSON result for correlation.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before rendering.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ScreenshotSHOTLANE_CREATE_SCREENSHOTAcciónRender a URL, HTML document, or Markdown document as an image and return a hosted result link that expires after the reported lifetime.
SHOTLANE_CREATE_SCREENSHOTAcciónRender a URL, HTML document, or Markdown document as an image and return a hosted result link that expires after the reported lifetime.
Parámetros de entrada
jsstringJavaScript to run in the page before capture.
cssstringCSS to inject into the rendered page before capture.
urlstringPublic page URL to render; provide exactly one of url, html, or markdown.
htmlstringRaw HTML document to render; provide exactly one of url, html, or markdown.
clickstringCSS selector whose first matching element should be clicked before capture.
delayintegerExtra milliseconds to wait after page load before capture.
widthintegerViewport width in CSS pixels.
devicestringShotlane device preset id, such as desktop, ipad, iphone, pixel, or galaxy.
formatstringenumOutput format: an image type, PDF, rendered HTML, or MHTML web archive.
pngjpegwebpavifgiftiffjp2heifpdfmhtmlhtmlheightintegerViewport height in CSS pixels.
qualityintegerOutput quality for JPEG, WebP, or AVIF images.
markdownstringMarkdown document to render with Shotlane styling; provide exactly one of url, html, or markdown.
selectorstringCSS selector whose first matching element should be captured.
block_adsbooleanBlock advertising and tracker requests while rendering.
cache_ttlintegerSeconds to cache an identical render; cache hits do not consume credits.
dark_modebooleanEmulate a visitor who prefers a dark color scheme.
full_pagebooleanCapture the full scrollable page instead of only the viewport.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
wait_for_selectorstringCSS selector or comma-separated selectors to await before capture.
external_identifierstringCaller-defined id echoed in the JSON result for correlation.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before capture.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete MonitorSHOTLANE_DELETE_MONITORAcciónPermanently delete a change monitor by id and stop its future scheduled checks.
SHOTLANE_DELETE_MONITORAcciónPermanently delete a change monitor by id and stop its future scheduled checks.
Parámetros de entrada
monitor_idstringObligatorioMonitor id returned by create or list, beginning with mon_.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Bulk Job ZIPSHOTLANE_DOWNLOAD_BULK_JOB_ZIPAcciónDownload a finished bulk job's rendered files and results manifest as a ZIP. This action accepts at most 500 MB per download as a bounded-response safety cap; Shotlane documents no ZIP size limit.
SHOTLANE_DOWNLOAD_BULK_JOB_ZIPAcciónDownload a finished bulk job's rendered files and results manifest as a ZIP. This action accepts at most 500 MB per download as a bounded-response safety cap; Shotlane documents no ZIP size limit.
Parámetros de entrada
job_idstringObligatorioFinished bulk job ID.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Crawl ZIPSHOTLANE_DOWNLOAD_CRAWL_ZIPAcciónDownload a finished crawl as a ZIP containing each page's Markdown and the crawl results index. This action accepts at most 100 MB per download as a bounded-response safety cap; Shotlane documents no ZIP size limit.
SHOTLANE_DOWNLOAD_CRAWL_ZIPAcciónDownload a finished crawl as a ZIP containing each page's Markdown and the crawl results index. This action accepts at most 100 MB per download as a bounded-response safety cap; Shotlane documents no ZIP size limit.
Parámetros de entrada
crawl_idstringObligatorioFinished crawl job id returned when the crawl was started.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Extract MarkdownSHOTLANE_EXTRACT_MARKDOWNAcciónRender a URL or HTML document, extract its main content as Markdown, and return structured JSON with optional links, images, HTML, and plain text.
SHOTLANE_EXTRACT_MARKDOWNAcciónRender a URL or HTML document, extract its main content as Markdown, and return structured JSON with optional links, images, HTML, and plain text.
Parámetros de entrada
urlstringPublic page URL to extract; provide exactly one of url or html.
htmlstringRaw HTML document to extract; provide exactly one of url or html.
clickstringCSS selector whose first matching element should be clicked before extraction.
delayintegerExtra milliseconds to wait after page load before extraction.
selectorstringRestrict extraction to the first element matching this CSS selector.
cache_ttlintegerSeconds to cache an identical extraction; cache hits do not consume credits.
link_listbooleanAlso return a structured list of extracted link URLs and text.
max_charsintegerMaximum number of Markdown characters to return.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
include_htmlbooleanAlso return the rendered HTML in the JSON response.
include_textbooleanAlso return plain text in the JSON response.
main_contentbooleanKeep the primary article or page content and remove surrounding navigation and chrome.
include_linksbooleanKeep links in the generated Markdown and make them absolute.
include_imagesbooleanKeep images in the generated Markdown as image links.
exclude_selectorsstringComma-separated CSS selectors to remove before Markdown conversion.
wait_for_selectorstringCSS selector or comma-separated selectors to await before extraction.
external_identifierstringCaller-defined id echoed in the JSON result for correlation.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before extraction.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get AccountSHOTLANE_GET_ACCOUNTAcciónReturn the connected Shotlane account's credit balances, email-confirmation state, and public key without exposing the account email.
SHOTLANE_GET_ACCOUNTAcciónReturn the connected Shotlane account's credit balances, email-confirmation state, and public key without exposing the account email.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Bulk JobSHOTLANE_GET_BULK_JOBAcciónRetrieve a bulk job's progress and its per-URL results once finished.
SHOTLANE_GET_BULK_JOBAcciónRetrieve a bulk job's progress and its per-URL results once finished.
Parámetros de entrada
job_idstringObligatorioBulk job ID returned when the job was created.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CrawlSHOTLANE_GET_CRAWLAcciónRetrieve a crawl job's progress and, after it finishes, its per-page results and ZIP download URL.
SHOTLANE_GET_CRAWLAcciónRetrieve a crawl job's progress and, after it finishes, its per-page results and ZIP download URL.
Parámetros de entrada
crawl_idstringObligatorioCrawl job id returned when the crawl was started.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Extracted Page ContentSHOTLANE_GET_EXTRACTAcciónRender a URL, HTML, or Markdown source through Shotlane's GET extract endpoint and return structured JSON containing Markdown and page metadata.
SHOTLANE_GET_EXTRACTAcciónRender a URL, HTML, or Markdown source through Shotlane's GET extract endpoint and return structured JSON containing Markdown and page metadata.
Parámetros de entrada
jsstringJavaScript to run before capture.
cssstringCSS to inject.
urlstringPage URL to render; HTTPS is assumed when omitted. Provide exactly one source.
htmlstringRaw HTML to render instead of a URL; provide exactly one source.
cachebooleanCache for four hours unless cache_ttl is set.
clickstringCSS selector to click before capture.
delayintegerExtra wait after load in milliseconds.
hoverstringCSS selector to hover before capture.
scalenumberDevice scale factor.
widthintegerViewport width.
devicestringShotlane device preset id.
heightintegerViewport height.
localestringBrowser locale and Accept-Language value.
timeoutintegerNavigation timeout in seconds.
latitudenumberGeolocation latitude; use with longitude.
markdownstringMarkdown to render as a styled document; provide exactly one source.
selectorstringCapture only the first element matching this CSS selector.
timezonestringIANA browser time zone.
block_adsbooleanBlock ad and tracker requests.
cache_keystringValue mixed into the cache key.
cache_ttlintegerCache lifetime in seconds.
dark_modebooleanEmulate prefers-color-scheme: dark.
full_pagebooleanCapture the full scrollable page.
link_listbooleanInclude structured extracted links.
longitudenumberGeolocation longitude; use with latitude.
max_charsintegerMaximum Markdown characters to return.
bypass_cspbooleanIgnore the page Content-Security-Policy.
disable_jsbooleanRender without JavaScript.
media_typestringenumCSS media type.
screenprintwait_untilstring[]One or more navigation load states to await in order.
block_chatsbooleanBlock chat widgets.
hide_popupsbooleanClose or hide sign-in, newsletter, and app modals.
include_htmlbooleanInclude rendered HTML.
include_textbooleanInclude extracted plain text.
main_contentbooleanKeep only the primary page content.
include_linksbooleanKeep links and make them absolute.
reduce_motionbooleanFinish CSS animations and pause videos.
wait_to_leavestringCSS selector that must disappear before capture.
block_requestsstringComma-separated URL patterns to block; * is a wildcard.
block_trackersbooleanBlock analytics and tracking requests.
fail_on_statusbooleanFail without charging when the target returns 4xx or 5xx.
hide_selectorsstringComma-separated CSS selectors to hide.
include_imagesbooleanKeep images as Markdown image links.
reduced_motionbooleanEmulate prefers-reduced-motion: reduce.
attachment_namestringDownload filename for Content-Disposition.
block_resourcesstringComma-separated browser resource types to block.
viewport_mobilebooleanEnable mobile viewport emulation.
scroll_into_viewstringCSS selector to scroll into view before capture.
exclude_selectorsstringComma-separated selectors removed before conversion.
wait_for_selectorstringComma-separated selectors to wait for.
scripts_wait_untilstringenumLoad state to await after injected JavaScript navigates.
loaddomcontentloadednetworkidleviewport_has_touchbooleanEnable touch events in the viewport.
viewport_landscapebooleanSwap the device preset width and height.
external_identifierstringCaller-defined id echoed in JSON responses.
hide_cookie_bannersbooleanHide cookie consent banners.
fail_if_request_failedstringRequest URL patterns whose failure should fail the render.
fail_if_content_missingstringFail when page text lacks this value.
fail_if_content_containsstringFail when page text contains this value.
wait_for_selector_algorithmstringenumWhether any or all selectors must appear.
at_least_oneat_least_by_counterror_on_click_selector_not_foundbooleanFail when the click selector matches nothing.
error_on_hover_selector_not_foundbooleanFail when the hover selector matches nothing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Site MapSHOTLANE_GET_MAPAcciónCall Shotlane's GET map endpoint to list same-site URLs discovered from one rendered page and its sitemaps.
SHOTLANE_GET_MAPAcciónCall Shotlane's GET map endpoint to list same-site URLs discovered from one rendered page and its sitemaps.
Parámetros de entrada
urlstringObligatorioPage whose same-site links and sitemaps should be mapped.
limitintegerMaximum URLs to return.
searchstringSubstring used to filter returned URLs.
sitemapbooleanInclude URLs discovered from sitemaps.
include_subdomainsbooleanInclude URLs on subdomains.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Page as MarkdownSHOTLANE_GET_MARKDOWNAcciónRender a public page, PDF, or inline HTML and return its main content as clean Markdown. Use the POST variant for large inline HTML.
SHOTLANE_GET_MARKDOWNAcciónRender a public page, PDF, or inline HTML and return its main content as clean Markdown. Use the POST variant for large inline HTML.
Parámetros de entrada
urlstringPublic page or PDF URL to convert; provide exactly one of url or html.
htmlstringInline HTML to convert; provide exactly one of url or html. Prefer POST for large HTML.
clickstringCSS selector whose first matching element should be clicked before conversion.
delayintegerExtra milliseconds to wait after page load before conversion.
selectorstringConvert only the first element matching this CSS selector.
cache_ttlintegerSeconds to cache an identical conversion; cache hits do not consume credits.
max_charsintegerMaximum number of Markdown characters to return.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
main_contentbooleanKeep only the main content instead of converting the whole page.
include_linksbooleanKeep links in the Markdown and make them absolute.
include_imagesbooleanKeep images as Markdown image links.
exclude_selectorsstringComma-separated CSS selectors to remove before conversion.
wait_for_selectorstringCSS selector or comma-separated selectors to await before conversion.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before conversion.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get MonitorSHOTLANE_GET_MONITORAcciónReturn one change monitor and its recent checks by monitor id.
SHOTLANE_GET_MONITORAcciónReturn one change monitor and its recent checks by monitor id.
Parámetros de entrada
monitor_idstringObligatorioMonitor id returned by create or list, beginning with mon_.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get PDFSHOTLANE_GET_PDFAcciónRender a URL, HTML, or Markdown source through Shotlane's GET PDF endpoint and return JSON metadata with a hosted 24-hour PDF link.
SHOTLANE_GET_PDFAcciónRender a URL, HTML, or Markdown source through Shotlane's GET PDF endpoint and return JSON metadata with a hosted 24-hour PDF link.
Parámetros de entrada
jsstringJavaScript to run before capture.
cssstringCSS to inject.
urlstringPage URL to render; HTTPS is assumed when omitted. Provide exactly one source.
htmlstringRaw HTML to render instead of a URL; provide exactly one source.
cachebooleanCache for four hours unless cache_ttl is set.
clickstringCSS selector to click before capture.
delayintegerExtra wait after load in milliseconds.
hoverstringCSS selector to hover before capture.
paperstringenumStandard PDF paper size.
A0A1A2A3A4A5A6LetterLegalTabloidLedgerscalenumberDevice scale factor.
widthintegerViewport width.
devicestringShotlane device preset id.
heightintegerViewport height.
localestringBrowser locale and Accept-Language value.
marginstringAll margins as a CSS length, such as 1cm; when omitted, Shotlane's default is 0 on all four sides.
qualityintegerJPEG or WebP quality for page resources.
timeoutintegerNavigation timeout in seconds.
latitudenumberGeolocation latitude; use with longitude.
markdownstringMarkdown to render as a styled document; provide exactly one source.
selectorstringCapture only the first element matching this CSS selector.
timezonestringIANA browser time zone.
block_adsbooleanBlock ad and tracker requests.
cache_keystringValue mixed into the cache key.
cache_ttlintegerCache lifetime in seconds.
dark_modebooleanEmulate prefers-color-scheme: dark.
full_pagebooleanCapture the full scrollable page.
landscapebooleanUse landscape orientation.
longitudenumberGeolocation longitude; use with latitude.
pdf_scalenumberPDF content scale.
pdf_titlestringPDF document title metadata.
pdf_widthstringCustom page width, such as 100mm.
watermarkstringDiagonal watermark text on every page.
bypass_cspbooleanIgnore the page Content-Security-Policy.
disable_jsbooleanRender without JavaScript.
media_typestringenumCSS media type.
screenprintpdf_authorstringPDF document author metadata.
pdf_heightstringCustom page height; use with pdf_width.
wait_untilstring[]One or more navigation load states to await in order.
block_chatsbooleanBlock chat widgets.
hide_popupsbooleanClose or hide sign-in, newsletter, and app modals.
page_rangesstringPages to keep, such as 1-3, 5.
pdf_subjectstringPDF document subject metadata.
page_numbersbooleanAdd a 1 / N footer.
pdf_keywordsstringPDF document keyword metadata.
reduce_motionbooleanFinish CSS animations and pause videos.
wait_to_leavestringCSS selector that must disappear before capture.
block_requestsstringComma-separated URL patterns to block; * is a wildcard.
block_trackersbooleanBlock analytics and tracking requests.
fail_on_statusbooleanFail without charging when the target returns 4xx or 5xx.
hide_selectorsstringComma-separated CSS selectors to hide.
reduced_motionbooleanEmulate prefers-reduced-motion: reduce.
attachment_namestringDownload filename for Content-Disposition.
block_resourcesstringComma-separated browser resource types to block.
footer_templatestringFooter HTML for each page.
header_templatestringHeader HTML for each page.
viewport_mobilebooleanEnable mobile viewport emulation.
pdf_fit_one_pagebooleanFit the whole document on one page.
print_backgroundbooleanInclude CSS backgrounds.
scroll_into_viewstringCSS selector to scroll into view before capture.
wait_for_selectorstringComma-separated selectors to wait for.
watermark_opacitynumberWatermark opacity.
scripts_wait_untilstringenumLoad state to await after injected JavaScript navigates.
loaddomcontentloadednetworkidleviewport_has_touchbooleanEnable touch events in the viewport.
viewport_landscapebooleanSwap the device preset width and height.
external_identifierstringCaller-defined id echoed in JSON responses.
hide_cookie_bannersbooleanHide cookie consent banners.
fail_if_request_failedstringRequest URL patterns whose failure should fail the render.
fail_if_content_missingstringFail when page text lacks this value.
fail_if_content_containsstringFail when page text contains this value.
wait_for_selector_algorithmstringenumWhether any or all selectors must appear.
at_least_oneat_least_by_counterror_on_click_selector_not_foundbooleanFail when the click selector matches nothing.
error_on_hover_selector_not_foundbooleanFail when the hover selector matches nothing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Async RenderSHOTLANE_GET_RENDERAcciónRetrieve the status and eventual hosted or stored result of an asynchronous screenshot, PDF, Markdown, or extraction render.
SHOTLANE_GET_RENDERAcciónRetrieve the status and eventual hosted or stored result of an asynchronous screenshot, PDF, Markdown, or extraction render.
Parámetros de entrada
render_idstringObligatorioAsync render id returned by a render request made with async=true.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get ScreenshotSHOTLANE_GET_SCREENSHOTAcciónRender a URL, HTML, or Markdown source through Shotlane's GET screenshot endpoint and return JSON metadata with a hosted 24-hour result link.
SHOTLANE_GET_SCREENSHOTAcciónRender a URL, HTML, or Markdown source through Shotlane's GET screenshot endpoint and return JSON metadata with a hosted 24-hour result link.
Parámetros de entrada
jsstringJavaScript to run before capture.
cssstringCSS to inject.
urlstringPage URL to render; HTTPS is assumed when omitted. Provide exactly one source.
htmlstringRaw HTML to render instead of a URL; provide exactly one source.
cachebooleanCache for four hours unless cache_ttl is set.
clickstringCSS selector to click before capture.
delayintegerExtra wait after load in milliseconds.
hoverstringCSS selector to hover before capture.
scalenumberDevice scale factor.
widthintegerViewport width.
clip_xintegerClip region x coordinate.
clip_yintegerClip region y coordinate.
devicestringShotlane device preset id.
formatstringenumRendered output format.
pngjpegwebpavifgiftiffjp2heifpdfmhtmlhtmlheightintegerViewport height.
localestringBrowser locale and Accept-Language value.
qualityintegerJPEG, WebP, or AVIF quality.
timeoutintegerNavigation timeout in seconds.
latitudenumberGeolocation latitude; use with longitude.
markdownstringMarkdown to render as a styled document; provide exactly one source.
selectorstringCapture only the first element matching this CSS selector.
timezonestringIANA browser time zone.
block_adsbooleanBlock ad and tracker requests.
cache_keystringValue mixed into the cache key.
cache_ttlintegerCache lifetime in seconds.
dark_modebooleanEmulate prefers-color-scheme: dark.
full_pagebooleanCapture the full scrollable page.
image_fitstringenumFit mode when both image sizes are set.
covercontainfilllongitudenumberGeolocation longitude; use with latitude.
bypass_cspbooleanIgnore the page Content-Security-Policy.
clip_widthintegerClip region width.
disable_jsbooleanRender without JavaScript.
media_typestringenumCSS media type.
screenprintwait_untilstring[]One or more navigation load states to await in order.
block_chatsbooleanBlock chat widgets.
clip_heightintegerClip region height.
hide_popupsbooleanClose or hide sign-in, newsletter, and app modals.
image_widthintegerResize output width.
image_heightintegerResize output height.
reduce_motionbooleanFinish CSS animations and pause videos.
wait_to_leavestringCSS selector that must disappear before capture.
block_requestsstringComma-separated URL patterns to block; * is a wildcard.
block_trackersbooleanBlock analytics and tracking requests.
fail_on_statusbooleanFail without charging when the target returns 4xx or 5xx.
hide_selectorsstringComma-separated CSS selectors to hide.
reduced_motionbooleanEmulate prefers-reduced-motion: reduce.
attachment_namestringDownload filename for Content-Disposition.
block_resourcesstringComma-separated browser resource types to block.
viewport_mobilebooleanEnable mobile viewport emulation.
full_page_scrollbooleanScroll first so lazy full-page content loads.
full_page_slicesbooleanReturn JSON with one hosted link per full-page slice.
scroll_into_viewstringCSS selector to scroll into view before capture.
wait_for_selectorstringComma-separated selectors to wait for.
scripts_wait_untilstringenumLoad state to await after injected JavaScript navigates.
loaddomcontentloadednetworkidleviewport_has_touchbooleanEnable touch events in the viewport.
viewport_landscapebooleanSwap the device preset width and height.
external_identifierstringCaller-defined id echoed in JSON responses.
full_page_scroll_byintegerPixels per full-page scroll step.
hide_cookie_bannersbooleanHide cookie consent banners.
full_page_max_heightintegerMaximum full-page capture height in CSS pixels, up to 100,000.
fail_if_request_failedstringRequest URL patterns whose failure should fail the render.
full_page_scroll_delayintegerMilliseconds between full-page scroll steps.
full_page_slice_heightintegerSlice height in CSS pixels.
fail_if_content_missingstringFail when page text lacks this value.
fail_if_content_containsstringFail when page text contains this value.
error_on_selector_not_foundbooleanFail when selector matches nothing.
wait_for_selector_algorithmstringenumWhether any or all selectors must appear.
at_least_oneat_least_by_countfull_page_slice_overlap_heightintegerOverlap between slices in CSS pixels.
error_on_click_selector_not_foundbooleanFail when the click selector matches nothing.
error_on_hover_selector_not_foundbooleanFail when the hover selector matches nothing.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Site ReportSHOTLANE_GET_SITE_REPORTAcciónAnalyze one public page for AI-crawler access, llms.txt, server-rendered content, link-preview metadata, structured data, and actionable fixes.
SHOTLANE_GET_SITE_REPORTAcciónAnalyze one public page for AI-crawler access, llms.txt, server-rendered content, link-preview metadata, structured data, and actionable fixes.
Parámetros de entrada
urlstringObligatorioPublic page URL to analyze for AI readiness and link previews.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get UsageSHOTLANE_GET_USAGEAcciónReturn current Shotlane credits, recent usage, plan tier, rate-limit budget, and render concurrency availability.
SHOTLANE_GET_USAGEAcciónReturn current Shotlane credits, recent usage, plan tier, rate-limit budget, and render concurrency availability.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Bulk JobsSHOTLANE_LIST_BULK_JOBSAcciónList the connected account's ten most recent bulk and crawl jobs.
SHOTLANE_LIST_BULK_JOBSAcciónList the connected account's ten most recent bulk and crawl jobs.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List DevicesSHOTLANE_LIST_DEVICESAcciónList every Shotlane device preset with its viewport, pixel ratio, mobile and touch behavior, and user agent.
SHOTLANE_LIST_DEVICESAcciónList every Shotlane device preset with its viewport, pixel ratio, mobile and touch behavior, and user agent.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List MonitorsSHOTLANE_LIST_MONITORSAcciónList all change monitors on the connected Shotlane account.
SHOTLANE_LIST_MONITORSAcciónList all change monitors on the connected Shotlane account.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Map SiteSHOTLANE_MAP_SITEAcciónRender one page and list same-site URLs discovered from its links and sitemaps, optionally filtering the results by a URL substring.
SHOTLANE_MAP_SITEAcciónRender one page and list same-site URLs discovered from its links and sitemaps, optionally filtering the results by a URL substring.
Parámetros de entrada
urlstringObligatorioAny page on the site whose links and sitemaps should be mapped.
limitintegerMaximum number of URLs to return.
searchstringCase-insensitive substring used to keep only matching URLs.
sitemapbooleanInclude URLs discovered from the site's robots.txt and sitemaps.
include_subdomainsbooleanKeep URLs on subdomains of the supplied site's host.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Convert HTML or Page to MarkdownSHOTLANE_POST_MARKDOWNAcciónRender a public page, PDF, or inline HTML supplied in JSON and return its main content as clean Markdown.
SHOTLANE_POST_MARKDOWNAcciónRender a public page, PDF, or inline HTML supplied in JSON and return its main content as clean Markdown.
Parámetros de entrada
urlstringPublic page or PDF URL to convert; provide exactly one of url or html.
htmlstringInline HTML to convert; provide exactly one of url or html.
clickstringCSS selector whose first matching element should be clicked before conversion.
delayintegerExtra milliseconds to wait after page load before conversion.
selectorstringConvert only the first element matching this CSS selector.
cache_ttlintegerSeconds to cache an identical conversion; cache hits do not consume credits.
max_charsintegerMaximum number of Markdown characters to return.
hide_popupsbooleanAttempt to close or hide sign-in, newsletter, and app popups.
main_contentbooleanKeep only the main content instead of converting the whole page.
include_linksbooleanKeep links in the Markdown and make them absolute.
include_imagesbooleanKeep images as Markdown image links.
exclude_selectorsstringComma-separated CSS selectors to remove before conversion.
wait_for_selectorstringCSS selector or comma-separated selectors to await before conversion.
hide_cookie_bannersbooleanAttempt to hide cookie-consent banners before conversion.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Scrape Page ElementsSHOTLANE_SCRAPE_ELEMENTSAcciónRender a URL or inline HTML and extract named values with CSS selectors. Returns the first match as a scalar or up to 1,000 matches as a list.
SHOTLANE_SCRAPE_ELEMENTSAcciónRender a URL or inline HTML and extract named values with CSS selectors. Returns the first match as a scalar or up to 1,000 matches as a list.
Parámetros de entrada
jsstringJavaScript to run in the page; await is supported.
cssstringCSS to inject into the page.
urlstringPublic page URL to render and scrape; provide exactly one of url or html.
htmlstringRaw HTML to scrape; provide exactly one of url or html.
cachebooleanCache the scrape for four hours unless cache_ttl is set.
clickstringCSS selector whose first matching element should be clicked.
delayintegerExtra milliseconds to wait before scraping.
hoverstringCSS selector whose first matching element should be hovered.
scalenumberDevice pixels per CSS pixel. Omit to use the device preset or provider default of 1.
widthintegerViewport width in CSS pixels. Omit to use the device preset or provider default of 1280.
devicestringShotlane device preset id.
heightintegerViewport height in CSS pixels. Omit to use the device preset or provider default of 800.
localestringBrowser locale and Accept-Language value.
timeoutintegerMaximum page navigation time in seconds.
accuracynumberGeolocation accuracy in meters.
elementsobjectObligatorioNamed values to extract. Map each output name to a CSS selector string, or to an object with selector, attr, and all. At most 50 names are allowed.
latitudenumberGeolocation latitude; send with longitude.
timezonestringIANA time zone exposed to the page.
block_adsbooleanBlock advertising requests and hide their containers.
cache_keystringValue that separates otherwise identical cached requests.
cache_ttlintegerSeconds to cache an identical scrape. Omit to let cache=true use its four-hour default.
dark_modebooleanEmulate a visitor who prefers a dark color scheme.
longitudenumberGeolocation longitude; send with latitude.
bypass_cspbooleanIgnore the target page's Content-Security-Policy for injected JavaScript.
disable_jsbooleanLoad and scrape the page with JavaScript disabled.
media_typestringenumCSS media type applied while rendering.
screenprintuser_agentstringUser-Agent value exposed to the target page.
wait_untilanyOne navigation load state or a sequence to await in order.
block_chatsbooleanBlock chat widgets.
hide_popupsbooleanClose or hide sign-in, newsletter, and app popups.
reduce_motionbooleanFinish animations and transitions and pause videos before scraping.
wait_to_leavestringCSS selector to wait up to 15 seconds for until it disappears.
block_requestsanyURL pattern or up to 50 patterns with * wildcards to block.
block_trackersbooleanBlock analytics and tracking requests.
fail_on_statusbooleanFail when the target page responds with 4xx or 5xx.
hide_selectorsanyCSS selector or selectors for elements to hide.
reduced_motionbooleanEmulate a visitor whose prefers-reduced-motion setting is reduce.
block_resourcesanyBrowser resource type or types to block.
viewport_mobilebooleanOverride whether the browser uses mobile emulation.
scroll_into_viewstringCSS selector whose first match should be scrolled into view.
wait_for_selectoranyCSS selector or up to 20 selectors to await.
scripts_wait_untilstringenumLoad state to await if injected JavaScript navigates.
loaddomcontentloadednetworkidleviewport_has_touchbooleanOverride whether the browser exposes touch input.
viewport_landscapebooleanTurn the selected device preset sideways.
hide_cookie_bannersbooleanHide cookie-consent dialogs before scraping.
fail_if_request_failedanyURL pattern or up to 50 patterns whose failed requests make scraping fail.
fail_if_content_missinganyString or up to 20 strings whose absence makes scraping fail.
fail_if_content_containsanyString or up to 20 strings whose presence makes scraping fail.
wait_for_selector_algorithmstringenumFor multiple wait selectors, continue after any one or after all are visible.
at_least_oneat_least_by_counterror_on_click_selector_not_foundbooleanFail when the click selector has no clickable match.
error_on_hover_selector_not_foundbooleanFail when the hover selector has no match.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Start CrawlSHOTLANE_START_CRAWLAcciónStart a breadth-first site crawl that asynchronously converts up to 500 matching pages to Markdown and packages them in a ZIP.
SHOTLANE_START_CRAWLAcciónStart a breadth-first site crawl that asynchronously converts up to 500 matching pages to Markdown and packages them in a ZIP.
Parámetros de entrada
urlstringObligatorioPage URL where the breadth-first site crawl should start.
limitintegerMaximum number of pages to crawl.
excludestring[]URL substring or wildcard patterns that must never be followed.
includestring[]URL substring or wildcard patterns that a URL must match to be followed.
sitemapbooleanWhether to seed the crawl with URLs from the site's sitemaps.
max_depthintegerMaximum link-hop depth from the start page.
webhook_urlstringPublic HTTPS endpoint that receives a signed crawl.finished event.
respect_robotsbooleanWhether to skip pages disallowed by robots.txt.
include_subdomainsbooleanWhether to follow links on subdomains of the start URL's host.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Update MonitorSHOTLANE_UPDATE_MONITORAcciónPause or resume a monitor, change its interval, or update its email and webhook notifications.
SHOTLANE_UPDATE_MONITORAcciónPause or resume a monitor, change its interval, or update its email and webhook notifications.
Parámetros de entrada
activebooleanSet true to resume scheduled checks or false to pause them.
intervalstringenumNew recurring check interval.
hourly6hdailyweeklymonitor_idstringObligatorioMonitor id returned by create or list, beginning with mon_.
webhook_urlstringNew public HTTPS change-notification endpoint.
notify_emailbooleanWhether to email the account when a change is detected.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not