ByteChef LogoByteChef

ZenRows

ZenRows is a web scraping service with an advanced toolkit and APIs that simplify data extraction from bot-protected websites.

Categories: Analytics

Type: zenrows/v1


Connections

Version: 1

api_key

Properties

NameLabelTypeDescriptionRequired
valueAPI KeySTRINGAPI key can be found in Settings -> API Key.true

Connection Setup

Find API Key

  1. Navigate to your dashboard.
  2. Click on Settings.
  3. Here you can see your API key.

Actions

Scrape URL

Name: scrapeUrl

Extracts HTML data from a given URL.

Properties

NameLabelTypeDescriptionRequired
urlURLSTRINGURL of the site that will be scraped.true
original_statusOriginal StatusBOOLEAN
Options true, false
Return the original HTTP status code from the target page. Useful for debugging in case of errors.false
js_renderJS RenderBOOLEAN
Options true, false
Enable JavaScript rendering with a headless browser. Essential for modern web apps, SPAs, and sites with dynamic content.false

Example JSON Structure

{
  "label" : "Scrape URL",
  "name" : "scrapeUrl",
  "parameters" : {
    "url" : "",
    "original_status" : false,
    "js_render" : false
  },
  "type" : "zenrows/v1/scrapeUrl"
}

Output

Type: STRING

Scrape URL Autoparse

Name: scrapeUrlAutoparse

Get a JSON with the page's data. For most popular websites only.

Properties

NameLabelTypeDescriptionRequired
urlURLSTRINGURL of the site that will be scraped.true
original_statusOriginal StatusBOOLEAN
Options true, false
Return the original HTTP status code from the target page. Useful for debugging in case of errors.false
js_renderJS RenderBOOLEAN
Options true, false
Enable JavaScript rendering with a headless browser. Essential for modern web apps, SPAs, and sites with dynamic content.false

Example JSON Structure

{
  "label" : "Scrape URL Autoparse",
  "name" : "scrapeUrlAutoparse",
  "parameters" : {
    "url" : "",
    "original_status" : false,
    "js_render" : false
  },
  "type" : "zenrows/v1/scrapeUrlAutoparse"
}

Output

Type: STRING

Scrape URL With CSS Selectors

Name: scrapeUrlWithCssSelectors

Extracts specific data from a given URL.

Properties

NameLabelTypeDescriptionRequired
urlURLSTRINGURL of the site that will be scraped.true
css_extractorCSS ExtractorARRAY
Items [{STRING(key), STRING(value)}]
Key-value pairs that will be scraped, where key is arbitrary parameter name and value is CSS element that you want to scrape.true

Example JSON Structure

{
  "label" : "Scrape URL With CSS Selectors",
  "name" : "scrapeUrlWithCssSelectors",
  "parameters" : {
    "url" : "",
    "css_extractor" : [ {
      "key" : "",
      "value" : ""
    } ]
  },
  "type" : "zenrows/v1/scrapeUrlWithCssSelectors"
}

Output

Type: STRING

How is this guide?

Last updated on

On this page