SE Home
Help
  • Documentation
  • Help centre
SEScrape Engine

Getting started

DocumentationQuickstartAuthenticationPlayground

Extracting data

Selecting valuesTransformsLists & tablesPage dataAI extractionMCP server

Fetching pages

Custom requestsTimeouts & redirectsCachingAutomatic retriesFallback strategies

Browsers & actions

BrowsersActionsRecipesScreenshots & PDFStored files

Getting past blocks

Anti-bot protectionCaptchasProxiesFingerprintsSessions

Workflows

Multi-step requestsVariablesPaginationBatchCrawlingTemplatesSchedules & monitoringAsync jobs & webhooksExport to S3, Sheets, databases & webhooks

Account & billing

CreditsSecretsPlansLimitsLogs & request idsNotificationsAccountAffiliate programmeHelp centre

Reference

POST /scrapeGET /sessions/:idGET /browsersGET /proxies/countriesGET /healthErrors
Documentation

Getting started

DocumentationQuickstartAuthenticationPlayground

Extracting data

Selecting valuesTransformsLists & tablesPage dataAI extractionMCP server

Fetching pages

Custom requestsTimeouts & redirectsCachingAutomatic retriesFallback strategies

Browsers & actions

BrowsersActionsRecipesScreenshots & PDFStored files

Getting past blocks

Anti-bot protectionCaptchasProxiesFingerprintsSessions

Workflows

Multi-step requestsVariablesPaginationBatchCrawlingTemplatesSchedules & monitoringAsync jobs & webhooksExport to S3, Sheets, databases & webhooks

Account & billing

CreditsSecretsPlansLimitsLogs & request idsNotificationsAccountAffiliate programmeHelp centre

Reference

POST /scrapeGET /sessions/:idGET /browsersGET /proxies/countriesGET /healthErrors

Selecting values

Each field picks elements on the page and returns a value for them. Pick them with CSS or XPath, then choose what to read: the text, an attribute, the HTML or Markdown.

All examples use the demo product page, /demo/product.

CSS selectors

The default. A string is a CSS selector, and { "selector": "…" } is the same field with room for options:

Actions

Data

See Fields for multiple and comma-separated selectors.

XPath

xpath instead of selector, for what CSS can't express: an element by its text, its siblings, its parent:

Actions

Data

XPath can return elements, attributes (//a/@href), text or numbers (count(…)); all become values the same way.

Attributes and URLs

attribute reads an attribute instead of the text:

Actions

Data

URL attributes (href, src, action, poster…) are made absolute against the page's final address (or its <base>), so they work as they are, for example as the target_url of a next step. "absolute": false keeps them as written.

HTML and Markdown

output changes what's read from each element:

outputValue
"text"The text, whitespace collapsed. The default
"html"The element's HTML, tags included
"markdown"The element as Markdown: headings, lists, links (absolute), bold, tables
"table"A table's rows, see Lists & tables

Actions

Data

Text values are capped at 10,000 characters; html and markdown at 200,000.

Field options

PropertyTypeDescription
selectorstringCSS selector
xpathstringXPath expression, instead of selector
attributestringRead this attribute instead of the text
absolutebooleanURL attributes made absolute. Default true
outputstringtext, html, markdown or table
multiplebooleanEvery match, as an array
transformarrayConvert the values: numbers, prices, dates… See Transforms
itemsfieldsA list of objects, see Lists & tables
extractstringPage-level data instead of a selector, see Page data

On this page

  • CSS selectors
  • XPath
  • Attributes and URLs
  • HTML and Markdown
  • Field options