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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| value | API Key | STRING | API key can be found in Settings -> API Key. | true |
Connection Setup
Find API Key
- Navigate to your dashboard.
- Click on Settings.
- Here you can see your API key.
Actions
Scrape URL
Name: scrapeUrl
Extracts HTML data from a given URL.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | URL of the site that will be scraped. | true |
| original_status | Original Status | BOOLEAN Optionstrue, false | Return the original HTTP status code from the target page. Useful for debugging in case of errors. | false |
| js_render | JS Render | BOOLEAN Optionstrue, 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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | URL of the site that will be scraped. | true |
| original_status | Original Status | BOOLEAN Optionstrue, false | Return the original HTTP status code from the target page. Useful for debugging in case of errors. | false |
| js_render | JS Render | BOOLEAN Optionstrue, 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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| url | URL | STRING | URL of the site that will be scraped. | true |
| css_extractor | CSS Extractor | ARRAY 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