Volver al catálogo

Shotlane

shotlane

Shotlane captures screenshots, renders PDFs, extracts web content, crawls sites, and monitors pages through a browser automation API.

Acciones
32
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

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ón

Record 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

  • jsstring

    JavaScript to run in the page before recording; await is supported.

  • cssstring

    CSS to inject into the page before recording.

  • fpsinteger

    Frames per second from 5 through 30; Shotlane recommends 10 for GIF output.

  • urlstring

    Public page URL to record; provide exactly one of url or html. A successful recording consumes 3 paid Shotlane credits; free credits cannot be used.

  • htmlstring

    Raw HTML to record; provide exactly one of url or html. A successful recording consumes 3 paid Shotlane credits; free credits cannot be used.

  • clickstring

    CSS selector whose first matching element should be clicked.

  • delayinteger

    Extra milliseconds to wait before recording.

  • hoverstring

    CSS selector whose first matching element should be hovered.

  • scalenumber

    Device pixels per CSS pixel, from 1 through 5.

  • widthinteger

    Video viewport width in CSS pixels, from 240 through 1920.

  • devicestring

    Shotlane device preset id; explicit viewport values override the preset.

  • formatstringenum

    Video format: MP4 uses H.264, WebM uses VP9, and GIF creates an animated image.

    mp4webmgif
  • heightinteger

    Video viewport height in CSS pixels, from 240 through 1080.

  • localestring

    Browser locale and Accept-Language value.

  • timeoutinteger

    Maximum page navigation time in seconds.

  • accuracynumber

    Geolocation accuracy in meters when latitude and longitude are supplied.

  • durationnumber

    Video length in seconds, from 1 through 15.

  • latitudenumber

    Geolocation latitude; longitude is required with it.

  • scenariostringenum

    Recording behavior: scroll moves from the top through the page; default records the page in place, such as an animation or loading sequence.

    scrolldefault
  • timezonestring

    IANA time zone exposed to the page, such as America/New_York.

  • block_adsboolean

    Block advertising requests and hide their containers.

  • dark_modeboolean

    Emulate a visitor who prefers a dark color scheme.

  • gif_widthinteger

    GIF output width in pixels, from 200 through 1280.

  • longitudenumber

    Geolocation longitude; latitude is required with it.

  • bypass_cspboolean

    Ignore the target page's Content-Security-Policy for injected JavaScript.

  • disable_jsboolean

    Load and record the page with JavaScript disabled.

  • media_typestringenum

    CSS media type applied while recording.

    screenprint
  • user_agentstring

    User-Agent value exposed to the target page.

  • wait_untilany

    One navigation load state or a sequence of states to await in order.

  • block_chatsboolean

    Block chat widgets such as Intercom, Drift, and Zendesk.

  • hide_popupsboolean

    Close or hide sign-in, newsletter, and app popups before recording.

  • scroll_backboolean

    Scroll back to the top before the video ends.

  • scroll_speedinteger

    Optional scrolling speed in CSS pixels per second. When omitted, Shotlane fits the full-page scroll into duration.

  • reduce_motionboolean

    Finish CSS animations and transitions and pause videos before recording.

  • scroll_easingstringenum

    Easing curve used by the scrolling scenario.

    ease_in_outlinearease_inease_out
  • wait_to_leavestring

    CSS selector to wait up to 15 seconds for until it disappears.

  • block_requestsany

    URL pattern or up to 50 patterns with * wildcards to block.

  • block_trackersboolean

    Block analytics and tracking requests.

  • fail_on_statusboolean

    Fail without charging when the target page responds with 4xx or 5xx.

  • hide_selectorsany

    CSS selector or selectors for elements to hide before recording.

  • reduced_motionboolean

    Record as a visitor who prefers reduced motion. The video-specific default is false so page animations play.

  • block_resourcesany

    Resource type or resource types to block while loading the page.

  • viewport_mobileboolean

    Override whether the browser uses mobile emulation.

  • scroll_into_viewstring

    CSS selector whose first matching element should be scrolled into view.

  • wait_for_selectorany

    CSS selector or up to 20 selectors to await before recording.

  • scripts_wait_untilany

    Load state or states to await if injected JavaScript navigates.

  • scroll_start_delayinteger

    Milliseconds to show the top of the page before scrolling starts.

  • viewport_has_touchboolean

    Override whether the browser exposes touch input.

  • viewport_landscapeboolean

    Turn the selected device preset sideways.

  • hide_cookie_bannersboolean

    Hide cookie-consent dialogs before recording.

  • fail_if_request_failedany

    URL pattern or up to 50 patterns whose failed requests make the recording fail.

  • fail_if_content_missingany

    String or up to 20 strings whose absence makes the recording fail uncharged.

  • fail_if_content_containsany

    String or up to 20 strings whose presence makes the recording fail uncharged.

  • wait_for_selector_algorithmstringenum

    For multiple wait selectors, continue after any one or after all are visible.

    at_least_oneat_least_by_count
  • error_on_click_selector_not_foundboolean

    Fail when the click selector has no clickable match.

  • error_on_hover_selector_not_foundboolean

    Fail when the hover selector has no match.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Monitor NowSHOTLANE_CHECK_MONITORAcción

Run a monitor check immediately for one credit, replacing its next scheduled check, and return the comparison result.

Parámetros de entrada

  • monitor_idstringObligatorio

    Monitor id returned by create or list, beginning with mon_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check Page on Multiple DevicesSHOTLANE_CHECK_PAGE_ON_DEVICESAcción

Render 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

  • jsstring

    JavaScript to run in the page before checking.

  • cssstring

    CSS to inject into the rendered page before checking.

  • urlstring

    Public page URL to check; provide exactly one of url or html.

  • htmlstring

    Inline HTML to check; provide exactly one of url or html.

  • clickstring

    CSS selector to click before checking a state such as an open menu.

  • delayinteger

    Extra milliseconds to wait after page load before checking.

  • devicesstring[]

    One to eight Shotlane preset or device-catalog ids.

  • block_adsboolean

    Block advertising and tracker requests while rendering.

  • dark_modestringenum

    Theme to check: light, dark, or both. Both themes support at most four devices.

    lightdarkboth
  • full_pageboolean

    Scroll and check the page top to bottom instead of only the captured viewport.

  • keep_daysinteger

    Number of days to keep the hosted screenshot links.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before checking.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before checking.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Bulk JobSHOTLANE_CREATE_BULK_JOBAcción

Start a background job that renders up to 500 URLs into one ZIP archive.

Parámetros de entrada

  • modestringenum

    Output generated for every URL.

    pngjpegpdfmarkdown
  • urlsany

    One to 500 URLs, as an array or one URL per line.

  • optionsobject

    Documented per-render options accepted by Shotlane bulk jobs.

  • requestsobject[]

    One to 500 URLs with per-URL render options.

  • webhook_urlstring

    Public HTTPS URL receiving a signed bulk.finished event.

  • external_identifierstring

    Caller-defined ID echoed on the job and webhook.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create MonitorSHOTLANE_CREATE_MONITORAcción

Create a recurring screenshot or Markdown change monitor for a URL; creation performs an initial credit-consuming check.

Parámetros de entrada

  • urlstringObligatorio

    Public page URL to monitor for changes.

  • kindstringenum

    Whether to detect visual screenshot changes or Markdown content changes.

    screenshotmarkdown
  • widthinteger

    Viewport width in CSS pixels, from 240 through 1920.

  • heightinteger

    Viewport height in CSS pixels, from 240 through 2160.

  • intervalstringenum

    How often Shotlane should check the URL.

    hourly6hdailyweekly
  • selectorstring

    CSS selector that restricts monitoring to the first matching element.

  • block_adsboolean

    Block advertising requests and hide their containers before comparison.

  • full_pageboolean

    For screenshot monitors, compare the full scrollable page.

  • thresholdnumber

    Percentage of changed pixels required before a screenshot monitor records a change, from 0 to 100. Shotlane's default is 1%.

  • hide_popupsboolean

    Close or hide sign-in, newsletter, and app popups before comparison.

  • webhook_urlstring

    Public HTTPS endpoint to notify when the monitor detects a change.

  • notify_emailboolean

    Send account-email notifications when a change is detected.

  • wait_for_selectorstring

    CSS selector to await before each monitor check.

  • hide_cookie_bannersboolean

    Hide cookie-consent banners before comparison.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Multi-Device ScreenshotsSHOTLANE_CREATE_MULTI_DEVICE_SCREENSHOTSAcción

Capture 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

  • jsstring

    JavaScript to run in the page before capture.

  • cssstring

    CSS to inject into the rendered page before capture.

  • urlstring

    Public page URL to capture; provide exactly one of url or html.

  • htmlstring

    Inline HTML to capture; provide exactly one of url or html.

  • clickstring

    CSS selector whose first matching element should be clicked before capture.

  • delayinteger

    Extra milliseconds to wait after page load before capture.

  • formatstringenum

    Image format for every screenshot.

    pngjpegwebpavifgiftiffjp2heif
  • devicesstring[]

    One to eight Shotlane preset or device-catalog ids.

  • qualityinteger

    Output quality for JPEG, WebP, or AVIF images.

  • block_adsboolean

    Block advertising and tracker requests while rendering.

  • full_pageboolean

    Capture the full scrollable page on every device.

  • keep_daysinteger

    Number of days to keep the hosted screenshot links.

  • diagnosticsboolean

    Add per-device layout, JavaScript, and network diagnostics and issue sentences.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before capture.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before capture.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create PDFSHOTLANE_CREATE_PDFAcción

Render a URL, HTML document, or Markdown document as a PDF and return expiring hosted-link metadata.

Parámetros de entrada

  • jsstring

    JavaScript to run in the page before PDF generation.

  • cssstring

    CSS to inject into the rendered page.

  • urlstring

    Public page URL to render; provide exactly one of url, html, or markdown.

  • htmlstring

    Raw HTML document to render; provide exactly one of url, html, or markdown.

  • delayinteger

    Extra milliseconds to wait after page load before rendering.

  • paperstringenum

    Standard PDF paper size.

    A0A1A2A3A4A5A6LetterLegalTabloidLedger
  • marginstring

    Margin on every side as a CSS length, such as 1cm. Omit to use Shotlane's default of 0 on all four sides.

  • markdownstring

    Markdown document to render with Shotlane styling; provide exactly one of url, html, or markdown.

  • selectorstring

    CSS selector whose first matching element should be rendered.

  • cache_ttlinteger

    Seconds to cache an identical render; cache hits do not consume credits.

  • dark_modeboolean

    Emulate a visitor who prefers a dark color scheme.

  • landscapeboolean

    Use landscape rather than portrait orientation.

  • watermarkstring

    Diagonal watermark text to place on every page.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • page_rangesstring

    Pages to keep, such as 1-3, 5.

  • page_numbersboolean

    Add a page-number footer in the form 1 / N.

  • footer_templatestring

    HTML footer template for each PDF page.

  • header_templatestring

    HTML header template for each PDF page.

  • print_backgroundboolean

    Include CSS backgrounds in the PDF.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before rendering.

  • external_identifierstring

    Caller-defined id echoed in the JSON result for correlation.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before rendering.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ScreenshotSHOTLANE_CREATE_SCREENSHOTAcción

Render 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

  • jsstring

    JavaScript to run in the page before capture.

  • cssstring

    CSS to inject into the rendered page before capture.

  • urlstring

    Public page URL to render; provide exactly one of url, html, or markdown.

  • htmlstring

    Raw HTML document to render; provide exactly one of url, html, or markdown.

  • clickstring

    CSS selector whose first matching element should be clicked before capture.

  • delayinteger

    Extra milliseconds to wait after page load before capture.

  • widthinteger

    Viewport width in CSS pixels.

  • devicestring

    Shotlane device preset id, such as desktop, ipad, iphone, pixel, or galaxy.

  • formatstringenum

    Output format: an image type, PDF, rendered HTML, or MHTML web archive.

    pngjpegwebpavifgiftiffjp2heifpdfmhtmlhtml
  • heightinteger

    Viewport height in CSS pixels.

  • qualityinteger

    Output quality for JPEG, WebP, or AVIF images.

  • markdownstring

    Markdown document to render with Shotlane styling; provide exactly one of url, html, or markdown.

  • selectorstring

    CSS selector whose first matching element should be captured.

  • block_adsboolean

    Block advertising and tracker requests while rendering.

  • cache_ttlinteger

    Seconds to cache an identical render; cache hits do not consume credits.

  • dark_modeboolean

    Emulate a visitor who prefers a dark color scheme.

  • full_pageboolean

    Capture the full scrollable page instead of only the viewport.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before capture.

  • external_identifierstring

    Caller-defined id echoed in the JSON result for correlation.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before capture.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete MonitorSHOTLANE_DELETE_MONITORAcción

Permanently delete a change monitor by id and stop its future scheduled checks.

Parámetros de entrada

  • monitor_idstringObligatorio

    Monitor id returned by create or list, beginning with mon_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Bulk Job ZIPSHOTLANE_DOWNLOAD_BULK_JOB_ZIPAcción

Download 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_idstringObligatorio

    Finished bulk job ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Download Crawl ZIPSHOTLANE_DOWNLOAD_CRAWL_ZIPAcción

Download 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_idstringObligatorio

    Finished crawl job id returned when the crawl was started.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Extract MarkdownSHOTLANE_EXTRACT_MARKDOWNAcción

Render 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

  • urlstring

    Public page URL to extract; provide exactly one of url or html.

  • htmlstring

    Raw HTML document to extract; provide exactly one of url or html.

  • clickstring

    CSS selector whose first matching element should be clicked before extraction.

  • delayinteger

    Extra milliseconds to wait after page load before extraction.

  • selectorstring

    Restrict extraction to the first element matching this CSS selector.

  • cache_ttlinteger

    Seconds to cache an identical extraction; cache hits do not consume credits.

  • link_listboolean

    Also return a structured list of extracted link URLs and text.

  • max_charsinteger

    Maximum number of Markdown characters to return.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • include_htmlboolean

    Also return the rendered HTML in the JSON response.

  • include_textboolean

    Also return plain text in the JSON response.

  • main_contentboolean

    Keep the primary article or page content and remove surrounding navigation and chrome.

  • include_linksboolean

    Keep links in the generated Markdown and make them absolute.

  • include_imagesboolean

    Keep images in the generated Markdown as image links.

  • exclude_selectorsstring

    Comma-separated CSS selectors to remove before Markdown conversion.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before extraction.

  • external_identifierstring

    Caller-defined id echoed in the JSON result for correlation.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before extraction.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get AccountSHOTLANE_GET_ACCOUNTAcción

Return 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Bulk JobSHOTLANE_GET_BULK_JOBAcción

Retrieve a bulk job's progress and its per-URL results once finished.

Parámetros de entrada

  • job_idstringObligatorio

    Bulk job ID returned when the job was created.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get CrawlSHOTLANE_GET_CRAWLAcción

Retrieve a crawl job's progress and, after it finishes, its per-page results and ZIP download URL.

Parámetros de entrada

  • crawl_idstringObligatorio

    Crawl job id returned when the crawl was started.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Extracted Page ContentSHOTLANE_GET_EXTRACTAcción

Render 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

  • jsstring

    JavaScript to run before capture.

  • cssstring

    CSS to inject.

  • urlstring

    Page URL to render; HTTPS is assumed when omitted. Provide exactly one source.

  • htmlstring

    Raw HTML to render instead of a URL; provide exactly one source.

  • cacheboolean

    Cache for four hours unless cache_ttl is set.

  • clickstring

    CSS selector to click before capture.

  • delayinteger

    Extra wait after load in milliseconds.

  • hoverstring

    CSS selector to hover before capture.

  • scalenumber

    Device scale factor.

  • widthinteger

    Viewport width.

  • devicestring

    Shotlane device preset id.

  • heightinteger

    Viewport height.

  • localestring

    Browser locale and Accept-Language value.

  • timeoutinteger

    Navigation timeout in seconds.

  • latitudenumber

    Geolocation latitude; use with longitude.

  • markdownstring

    Markdown to render as a styled document; provide exactly one source.

  • selectorstring

    Capture only the first element matching this CSS selector.

  • timezonestring

    IANA browser time zone.

  • block_adsboolean

    Block ad and tracker requests.

  • cache_keystring

    Value mixed into the cache key.

  • cache_ttlinteger

    Cache lifetime in seconds.

  • dark_modeboolean

    Emulate prefers-color-scheme: dark.

  • full_pageboolean

    Capture the full scrollable page.

  • link_listboolean

    Include structured extracted links.

  • longitudenumber

    Geolocation longitude; use with latitude.

  • max_charsinteger

    Maximum Markdown characters to return.

  • bypass_cspboolean

    Ignore the page Content-Security-Policy.

  • disable_jsboolean

    Render without JavaScript.

  • media_typestringenum

    CSS media type.

    screenprint
  • wait_untilstring[]

    One or more navigation load states to await in order.

  • block_chatsboolean

    Block chat widgets.

  • hide_popupsboolean

    Close or hide sign-in, newsletter, and app modals.

  • include_htmlboolean

    Include rendered HTML.

  • include_textboolean

    Include extracted plain text.

  • main_contentboolean

    Keep only the primary page content.

  • include_linksboolean

    Keep links and make them absolute.

  • reduce_motionboolean

    Finish CSS animations and pause videos.

  • wait_to_leavestring

    CSS selector that must disappear before capture.

  • block_requestsstring

    Comma-separated URL patterns to block; * is a wildcard.

  • block_trackersboolean

    Block analytics and tracking requests.

  • fail_on_statusboolean

    Fail without charging when the target returns 4xx or 5xx.

  • hide_selectorsstring

    Comma-separated CSS selectors to hide.

  • include_imagesboolean

    Keep images as Markdown image links.

  • reduced_motionboolean

    Emulate prefers-reduced-motion: reduce.

  • attachment_namestring

    Download filename for Content-Disposition.

  • block_resourcesstring

    Comma-separated browser resource types to block.

  • viewport_mobileboolean

    Enable mobile viewport emulation.

  • scroll_into_viewstring

    CSS selector to scroll into view before capture.

  • exclude_selectorsstring

    Comma-separated selectors removed before conversion.

  • wait_for_selectorstring

    Comma-separated selectors to wait for.

  • scripts_wait_untilstringenum

    Load state to await after injected JavaScript navigates.

    loaddomcontentloadednetworkidle
  • viewport_has_touchboolean

    Enable touch events in the viewport.

  • viewport_landscapeboolean

    Swap the device preset width and height.

  • external_identifierstring

    Caller-defined id echoed in JSON responses.

  • hide_cookie_bannersboolean

    Hide cookie consent banners.

  • fail_if_request_failedstring

    Request URL patterns whose failure should fail the render.

  • fail_if_content_missingstring

    Fail when page text lacks this value.

  • fail_if_content_containsstring

    Fail when page text contains this value.

  • wait_for_selector_algorithmstringenum

    Whether any or all selectors must appear.

    at_least_oneat_least_by_count
  • error_on_click_selector_not_foundboolean

    Fail when the click selector matches nothing.

  • error_on_hover_selector_not_foundboolean

    Fail when the hover selector matches nothing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Site MapSHOTLANE_GET_MAPAcción

Call Shotlane's GET map endpoint to list same-site URLs discovered from one rendered page and its sitemaps.

Parámetros de entrada

  • urlstringObligatorio

    Page whose same-site links and sitemaps should be mapped.

  • limitinteger

    Maximum URLs to return.

  • searchstring

    Substring used to filter returned URLs.

  • sitemapboolean

    Include URLs discovered from sitemaps.

  • include_subdomainsboolean

    Include URLs on subdomains.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Page as MarkdownSHOTLANE_GET_MARKDOWNAcción

Render 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

  • urlstring

    Public page or PDF URL to convert; provide exactly one of url or html.

  • htmlstring

    Inline HTML to convert; provide exactly one of url or html. Prefer POST for large HTML.

  • clickstring

    CSS selector whose first matching element should be clicked before conversion.

  • delayinteger

    Extra milliseconds to wait after page load before conversion.

  • selectorstring

    Convert only the first element matching this CSS selector.

  • cache_ttlinteger

    Seconds to cache an identical conversion; cache hits do not consume credits.

  • max_charsinteger

    Maximum number of Markdown characters to return.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • main_contentboolean

    Keep only the main content instead of converting the whole page.

  • include_linksboolean

    Keep links in the Markdown and make them absolute.

  • include_imagesboolean

    Keep images as Markdown image links.

  • exclude_selectorsstring

    Comma-separated CSS selectors to remove before conversion.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before conversion.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before conversion.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get MonitorSHOTLANE_GET_MONITORAcción

Return one change monitor and its recent checks by monitor id.

Parámetros de entrada

  • monitor_idstringObligatorio

    Monitor id returned by create or list, beginning with mon_.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get PDFSHOTLANE_GET_PDFAcción

Render 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

  • jsstring

    JavaScript to run before capture.

  • cssstring

    CSS to inject.

  • urlstring

    Page URL to render; HTTPS is assumed when omitted. Provide exactly one source.

  • htmlstring

    Raw HTML to render instead of a URL; provide exactly one source.

  • cacheboolean

    Cache for four hours unless cache_ttl is set.

  • clickstring

    CSS selector to click before capture.

  • delayinteger

    Extra wait after load in milliseconds.

  • hoverstring

    CSS selector to hover before capture.

  • paperstringenum

    Standard PDF paper size.

    A0A1A2A3A4A5A6LetterLegalTabloidLedger
  • scalenumber

    Device scale factor.

  • widthinteger

    Viewport width.

  • devicestring

    Shotlane device preset id.

  • heightinteger

    Viewport height.

  • localestring

    Browser locale and Accept-Language value.

  • marginstring

    All margins as a CSS length, such as 1cm; when omitted, Shotlane's default is 0 on all four sides.

  • qualityinteger

    JPEG or WebP quality for page resources.

  • timeoutinteger

    Navigation timeout in seconds.

  • latitudenumber

    Geolocation latitude; use with longitude.

  • markdownstring

    Markdown to render as a styled document; provide exactly one source.

  • selectorstring

    Capture only the first element matching this CSS selector.

  • timezonestring

    IANA browser time zone.

  • block_adsboolean

    Block ad and tracker requests.

  • cache_keystring

    Value mixed into the cache key.

  • cache_ttlinteger

    Cache lifetime in seconds.

  • dark_modeboolean

    Emulate prefers-color-scheme: dark.

  • full_pageboolean

    Capture the full scrollable page.

  • landscapeboolean

    Use landscape orientation.

  • longitudenumber

    Geolocation longitude; use with latitude.

  • pdf_scalenumber

    PDF content scale.

  • pdf_titlestring

    PDF document title metadata.

  • pdf_widthstring

    Custom page width, such as 100mm.

  • watermarkstring

    Diagonal watermark text on every page.

  • bypass_cspboolean

    Ignore the page Content-Security-Policy.

  • disable_jsboolean

    Render without JavaScript.

  • media_typestringenum

    CSS media type.

    screenprint
  • pdf_authorstring

    PDF document author metadata.

  • pdf_heightstring

    Custom page height; use with pdf_width.

  • wait_untilstring[]

    One or more navigation load states to await in order.

  • block_chatsboolean

    Block chat widgets.

  • hide_popupsboolean

    Close or hide sign-in, newsletter, and app modals.

  • page_rangesstring

    Pages to keep, such as 1-3, 5.

  • pdf_subjectstring

    PDF document subject metadata.

  • page_numbersboolean

    Add a 1 / N footer.

  • pdf_keywordsstring

    PDF document keyword metadata.

  • reduce_motionboolean

    Finish CSS animations and pause videos.

  • wait_to_leavestring

    CSS selector that must disappear before capture.

  • block_requestsstring

    Comma-separated URL patterns to block; * is a wildcard.

  • block_trackersboolean

    Block analytics and tracking requests.

  • fail_on_statusboolean

    Fail without charging when the target returns 4xx or 5xx.

  • hide_selectorsstring

    Comma-separated CSS selectors to hide.

  • reduced_motionboolean

    Emulate prefers-reduced-motion: reduce.

  • attachment_namestring

    Download filename for Content-Disposition.

  • block_resourcesstring

    Comma-separated browser resource types to block.

  • footer_templatestring

    Footer HTML for each page.

  • header_templatestring

    Header HTML for each page.

  • viewport_mobileboolean

    Enable mobile viewport emulation.

  • pdf_fit_one_pageboolean

    Fit the whole document on one page.

  • print_backgroundboolean

    Include CSS backgrounds.

  • scroll_into_viewstring

    CSS selector to scroll into view before capture.

  • wait_for_selectorstring

    Comma-separated selectors to wait for.

  • watermark_opacitynumber

    Watermark opacity.

  • scripts_wait_untilstringenum

    Load state to await after injected JavaScript navigates.

    loaddomcontentloadednetworkidle
  • viewport_has_touchboolean

    Enable touch events in the viewport.

  • viewport_landscapeboolean

    Swap the device preset width and height.

  • external_identifierstring

    Caller-defined id echoed in JSON responses.

  • hide_cookie_bannersboolean

    Hide cookie consent banners.

  • fail_if_request_failedstring

    Request URL patterns whose failure should fail the render.

  • fail_if_content_missingstring

    Fail when page text lacks this value.

  • fail_if_content_containsstring

    Fail when page text contains this value.

  • wait_for_selector_algorithmstringenum

    Whether any or all selectors must appear.

    at_least_oneat_least_by_count
  • error_on_click_selector_not_foundboolean

    Fail when the click selector matches nothing.

  • error_on_hover_selector_not_foundboolean

    Fail when the hover selector matches nothing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Async RenderSHOTLANE_GET_RENDERAcción

Retrieve the status and eventual hosted or stored result of an asynchronous screenshot, PDF, Markdown, or extraction render.

Parámetros de entrada

  • render_idstringObligatorio

    Async render id returned by a render request made with async=true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ScreenshotSHOTLANE_GET_SCREENSHOTAcción

Render 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

  • jsstring

    JavaScript to run before capture.

  • cssstring

    CSS to inject.

  • urlstring

    Page URL to render; HTTPS is assumed when omitted. Provide exactly one source.

  • htmlstring

    Raw HTML to render instead of a URL; provide exactly one source.

  • cacheboolean

    Cache for four hours unless cache_ttl is set.

  • clickstring

    CSS selector to click before capture.

  • delayinteger

    Extra wait after load in milliseconds.

  • hoverstring

    CSS selector to hover before capture.

  • scalenumber

    Device scale factor.

  • widthinteger

    Viewport width.

  • clip_xinteger

    Clip region x coordinate.

  • clip_yinteger

    Clip region y coordinate.

  • devicestring

    Shotlane device preset id.

  • formatstringenum

    Rendered output format.

    pngjpegwebpavifgiftiffjp2heifpdfmhtmlhtml
  • heightinteger

    Viewport height.

  • localestring

    Browser locale and Accept-Language value.

  • qualityinteger

    JPEG, WebP, or AVIF quality.

  • timeoutinteger

    Navigation timeout in seconds.

  • latitudenumber

    Geolocation latitude; use with longitude.

  • markdownstring

    Markdown to render as a styled document; provide exactly one source.

  • selectorstring

    Capture only the first element matching this CSS selector.

  • timezonestring

    IANA browser time zone.

  • block_adsboolean

    Block ad and tracker requests.

  • cache_keystring

    Value mixed into the cache key.

  • cache_ttlinteger

    Cache lifetime in seconds.

  • dark_modeboolean

    Emulate prefers-color-scheme: dark.

  • full_pageboolean

    Capture the full scrollable page.

  • image_fitstringenum

    Fit mode when both image sizes are set.

    covercontainfill
  • longitudenumber

    Geolocation longitude; use with latitude.

  • bypass_cspboolean

    Ignore the page Content-Security-Policy.

  • clip_widthinteger

    Clip region width.

  • disable_jsboolean

    Render without JavaScript.

  • media_typestringenum

    CSS media type.

    screenprint
  • wait_untilstring[]

    One or more navigation load states to await in order.

  • block_chatsboolean

    Block chat widgets.

  • clip_heightinteger

    Clip region height.

  • hide_popupsboolean

    Close or hide sign-in, newsletter, and app modals.

  • image_widthinteger

    Resize output width.

  • image_heightinteger

    Resize output height.

  • reduce_motionboolean

    Finish CSS animations and pause videos.

  • wait_to_leavestring

    CSS selector that must disappear before capture.

  • block_requestsstring

    Comma-separated URL patterns to block; * is a wildcard.

  • block_trackersboolean

    Block analytics and tracking requests.

  • fail_on_statusboolean

    Fail without charging when the target returns 4xx or 5xx.

  • hide_selectorsstring

    Comma-separated CSS selectors to hide.

  • reduced_motionboolean

    Emulate prefers-reduced-motion: reduce.

  • attachment_namestring

    Download filename for Content-Disposition.

  • block_resourcesstring

    Comma-separated browser resource types to block.

  • viewport_mobileboolean

    Enable mobile viewport emulation.

  • full_page_scrollboolean

    Scroll first so lazy full-page content loads.

  • full_page_slicesboolean

    Return JSON with one hosted link per full-page slice.

  • scroll_into_viewstring

    CSS selector to scroll into view before capture.

  • wait_for_selectorstring

    Comma-separated selectors to wait for.

  • scripts_wait_untilstringenum

    Load state to await after injected JavaScript navigates.

    loaddomcontentloadednetworkidle
  • viewport_has_touchboolean

    Enable touch events in the viewport.

  • viewport_landscapeboolean

    Swap the device preset width and height.

  • external_identifierstring

    Caller-defined id echoed in JSON responses.

  • full_page_scroll_byinteger

    Pixels per full-page scroll step.

  • hide_cookie_bannersboolean

    Hide cookie consent banners.

  • full_page_max_heightinteger

    Maximum full-page capture height in CSS pixels, up to 100,000.

  • fail_if_request_failedstring

    Request URL patterns whose failure should fail the render.

  • full_page_scroll_delayinteger

    Milliseconds between full-page scroll steps.

  • full_page_slice_heightinteger

    Slice height in CSS pixels.

  • fail_if_content_missingstring

    Fail when page text lacks this value.

  • fail_if_content_containsstring

    Fail when page text contains this value.

  • error_on_selector_not_foundboolean

    Fail when selector matches nothing.

  • wait_for_selector_algorithmstringenum

    Whether any or all selectors must appear.

    at_least_oneat_least_by_count
  • full_page_slice_overlap_heightinteger

    Overlap between slices in CSS pixels.

  • error_on_click_selector_not_foundboolean

    Fail when the click selector matches nothing.

  • error_on_hover_selector_not_foundboolean

    Fail when the hover selector matches nothing.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Site ReportSHOTLANE_GET_SITE_REPORTAcción

Analyze one public page for AI-crawler access, llms.txt, server-rendered content, link-preview metadata, structured data, and actionable fixes.

Parámetros de entrada

  • urlstringObligatorio

    Public page URL to analyze for AI readiness and link previews.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get UsageSHOTLANE_GET_USAGEAcción

Return 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Bulk JobsSHOTLANE_LIST_BULK_JOBSAcción

List the connected account's ten most recent bulk and crawl jobs.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List DevicesSHOTLANE_LIST_DEVICESAcción

List 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

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List MonitorsSHOTLANE_LIST_MONITORSAcción

List all change monitors on the connected Shotlane account.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Map SiteSHOTLANE_MAP_SITEAcción

Render 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

  • urlstringObligatorio

    Any page on the site whose links and sitemaps should be mapped.

  • limitinteger

    Maximum number of URLs to return.

  • searchstring

    Case-insensitive substring used to keep only matching URLs.

  • sitemapboolean

    Include URLs discovered from the site's robots.txt and sitemaps.

  • include_subdomainsboolean

    Keep URLs on subdomains of the supplied site's host.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Convert HTML or Page to MarkdownSHOTLANE_POST_MARKDOWNAcción

Render a public page, PDF, or inline HTML supplied in JSON and return its main content as clean Markdown.

Parámetros de entrada

  • urlstring

    Public page or PDF URL to convert; provide exactly one of url or html.

  • htmlstring

    Inline HTML to convert; provide exactly one of url or html.

  • clickstring

    CSS selector whose first matching element should be clicked before conversion.

  • delayinteger

    Extra milliseconds to wait after page load before conversion.

  • selectorstring

    Convert only the first element matching this CSS selector.

  • cache_ttlinteger

    Seconds to cache an identical conversion; cache hits do not consume credits.

  • max_charsinteger

    Maximum number of Markdown characters to return.

  • hide_popupsboolean

    Attempt to close or hide sign-in, newsletter, and app popups.

  • main_contentboolean

    Keep only the main content instead of converting the whole page.

  • include_linksboolean

    Keep links in the Markdown and make them absolute.

  • include_imagesboolean

    Keep images as Markdown image links.

  • exclude_selectorsstring

    Comma-separated CSS selectors to remove before conversion.

  • wait_for_selectorstring

    CSS selector or comma-separated selectors to await before conversion.

  • hide_cookie_bannersboolean

    Attempt to hide cookie-consent banners before conversion.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Scrape Page ElementsSHOTLANE_SCRAPE_ELEMENTSAcción

Render 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

  • jsstring

    JavaScript to run in the page; await is supported.

  • cssstring

    CSS to inject into the page.

  • urlstring

    Public page URL to render and scrape; provide exactly one of url or html.

  • htmlstring

    Raw HTML to scrape; provide exactly one of url or html.

  • cacheboolean

    Cache the scrape for four hours unless cache_ttl is set.

  • clickstring

    CSS selector whose first matching element should be clicked.

  • delayinteger

    Extra milliseconds to wait before scraping.

  • hoverstring

    CSS selector whose first matching element should be hovered.

  • scalenumber

    Device pixels per CSS pixel. Omit to use the device preset or provider default of 1.

  • widthinteger

    Viewport width in CSS pixels. Omit to use the device preset or provider default of 1280.

  • devicestring

    Shotlane device preset id.

  • heightinteger

    Viewport height in CSS pixels. Omit to use the device preset or provider default of 800.

  • localestring

    Browser locale and Accept-Language value.

  • timeoutinteger

    Maximum page navigation time in seconds.

  • accuracynumber

    Geolocation accuracy in meters.

  • elementsobjectObligatorio

    Named 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.

  • latitudenumber

    Geolocation latitude; send with longitude.

  • timezonestring

    IANA time zone exposed to the page.

  • block_adsboolean

    Block advertising requests and hide their containers.

  • cache_keystring

    Value that separates otherwise identical cached requests.

  • cache_ttlinteger

    Seconds to cache an identical scrape. Omit to let cache=true use its four-hour default.

  • dark_modeboolean

    Emulate a visitor who prefers a dark color scheme.

  • longitudenumber

    Geolocation longitude; send with latitude.

  • bypass_cspboolean

    Ignore the target page's Content-Security-Policy for injected JavaScript.

  • disable_jsboolean

    Load and scrape the page with JavaScript disabled.

  • media_typestringenum

    CSS media type applied while rendering.

    screenprint
  • user_agentstring

    User-Agent value exposed to the target page.

  • wait_untilany

    One navigation load state or a sequence to await in order.

  • block_chatsboolean

    Block chat widgets.

  • hide_popupsboolean

    Close or hide sign-in, newsletter, and app popups.

  • reduce_motionboolean

    Finish animations and transitions and pause videos before scraping.

  • wait_to_leavestring

    CSS selector to wait up to 15 seconds for until it disappears.

  • block_requestsany

    URL pattern or up to 50 patterns with * wildcards to block.

  • block_trackersboolean

    Block analytics and tracking requests.

  • fail_on_statusboolean

    Fail when the target page responds with 4xx or 5xx.

  • hide_selectorsany

    CSS selector or selectors for elements to hide.

  • reduced_motionboolean

    Emulate a visitor whose prefers-reduced-motion setting is reduce.

  • block_resourcesany

    Browser resource type or types to block.

  • viewport_mobileboolean

    Override whether the browser uses mobile emulation.

  • scroll_into_viewstring

    CSS selector whose first match should be scrolled into view.

  • wait_for_selectorany

    CSS selector or up to 20 selectors to await.

  • scripts_wait_untilstringenum

    Load state to await if injected JavaScript navigates.

    loaddomcontentloadednetworkidle
  • viewport_has_touchboolean

    Override whether the browser exposes touch input.

  • viewport_landscapeboolean

    Turn the selected device preset sideways.

  • hide_cookie_bannersboolean

    Hide cookie-consent dialogs before scraping.

  • fail_if_request_failedany

    URL pattern or up to 50 patterns whose failed requests make scraping fail.

  • fail_if_content_missingany

    String or up to 20 strings whose absence makes scraping fail.

  • fail_if_content_containsany

    String or up to 20 strings whose presence makes scraping fail.

  • wait_for_selector_algorithmstringenum

    For multiple wait selectors, continue after any one or after all are visible.

    at_least_oneat_least_by_count
  • error_on_click_selector_not_foundboolean

    Fail when the click selector has no clickable match.

  • error_on_hover_selector_not_foundboolean

    Fail when the hover selector has no match.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start CrawlSHOTLANE_START_CRAWLAcción

Start 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

  • urlstringObligatorio

    Page URL where the breadth-first site crawl should start.

  • limitinteger

    Maximum 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.

  • sitemapboolean

    Whether to seed the crawl with URLs from the site's sitemaps.

  • max_depthinteger

    Maximum link-hop depth from the start page.

  • webhook_urlstring

    Public HTTPS endpoint that receives a signed crawl.finished event.

  • respect_robotsboolean

    Whether to skip pages disallowed by robots.txt.

  • include_subdomainsboolean

    Whether to follow links on subdomains of the start URL's host.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update MonitorSHOTLANE_UPDATE_MONITORAcción

Pause or resume a monitor, change its interval, or update its email and webhook notifications.

Parámetros de entrada

  • activeboolean

    Set true to resume scheduled checks or false to pause them.

  • intervalstringenum

    New recurring check interval.

    hourly6hdailyweekly
  • monitor_idstringObligatorio

    Monitor id returned by create or list, beginning with mon_.

  • webhook_urlstring

    New public HTTPS change-notification endpoint.

  • notify_emailboolean

    Whether to email the account when a change is detected.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not