WebScraping.AI
v1.0.7Web scraping tools with Chromium JS rendering, rotating proxies, and AI question answering.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
webscraping_ai_question
| Parameter | Type | Description |
|---|---|---|
question * | string | Question or instructions to ask the LLM model about the target page. |
url * | string | URL of the target page. |
country | string | Country of the proxy to use (US by default). |
custom_proxy | string | Your own proxy URL in "http://user:password@host:port" format. |
device | string | Type of device emulation. |
error_on_404 | boolean | Return error on 404 HTTP status on the target page (false by default). |
error_on_redirect | boolean | Return error on redirect on the target page (false by default). |
js | boolean | Execute on-page JavaScript using a headless browser (true by default). |
js_script | string | Custom JavaScript code to execute on the target page. |
js_timeout | number | Maximum JavaScript rendering time in ms (2000 by default). |
proxy | string | Type of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant… |
timeout | number | Maximum web page retrieval time in ms (15000 by default, maximum is 30000). |
wait_for | string | CSS selector to wait for before returning the page content. |
webscraping_ai_fields
| Parameter | Type | Description |
|---|---|---|
fields * | object | Dictionary of field names with instructions for extraction. |
url * | string | URL of the target page. |
country | string | Country of the proxy to use (US by default). |
custom_proxy | string | Your own proxy URL in "http://user:password@host:port" format. |
device | string | Type of device emulation. |
error_on_404 | boolean | Return error on 404 HTTP status on the target page (false by default). |
error_on_redirect | boolean | Return error on redirect on the target page (false by default). |
js | boolean | Execute on-page JavaScript using a headless browser (true by default). |
js_script | string | Custom JavaScript code to execute on the target page. |
js_timeout | number | Maximum JavaScript rendering time in ms (2000 by default). |
proxy | string | Type of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant… |
timeout | number | Maximum web page retrieval time in ms (15000 by default, maximum is 30000). |
wait_for | string | CSS selector to wait for before returning the page content. |
webscraping_ai_html
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the target page. |
country | string | Country of the proxy to use (US by default). |
custom_proxy | string | Your own proxy URL in "http://user:password@host:port" format. |
device | string | Type of device emulation. |
error_on_404 | boolean | Return error on 404 HTTP status on the target page (false by default). |
error_on_redirect | boolean | Return error on redirect on the target page (false by default). |
format | string | Response format (json or text). |
js | boolean | Execute on-page JavaScript using a headless browser (true by default). |
js_script | string | Custom JavaScript code to execute on the target page. |
js_timeout | number | Maximum JavaScript rendering time in ms (2000 by default). |
proxy | string | Type of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant… |
return_script_result | boolean | Return result of the custom JavaScript code execution. |
timeout | number | Maximum web page retrieval time in ms (15000 by default, maximum is 30000). |
wait_for | string | CSS selector to wait for before returning the page content. |
webscraping_ai_text
| Parameter | Type | Description |
|---|---|---|
url * | string | URL of the target page. |
country | string | Country of the proxy to use (US by default). |
custom_proxy | string | Your own proxy URL in "http://user:password@host:port" format. |
device | string | Type of device emulation. |
error_on_404 | boolean | Return error on 404 HTTP status on the target page (false by default). |
error_on_redirect | boolean | Return error on redirect on the target page (false by default). |
js | boolean | Execute on-page JavaScript using a headless browser (true by default). |
js_script | string | Custom JavaScript code to execute on the target page. |
js_timeout | number | Maximum JavaScript rendering time in ms (2000 by default). |
proxy | string | Type of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant… |
return_links | boolean | Return links from the page body text. |
text_format | string | Format of the text response. |
timeout | number | Maximum web page retrieval time in ms (15000 by default, maximum is 30000). |
wait_for | string | CSS selector to wait for before returning the page content. |
webscraping_ai_selected
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector to extract content for. |
url * | string | URL of the target page. |
country | string | Country of the proxy to use (US by default). |
custom_proxy | string | Your own proxy URL in "http://user:password@host:port" format. |
device | string | Type of device emulation. |
error_on_404 | boolean | Return error on 404 HTTP status on the target page (false by default). |
error_on_redirect | boolean | Return error on redirect on the target page (false by default). |
format | string | Response format (json or text). |
js | boolean | Execute on-page JavaScript using a headless browser (true by default). |
js_script | string | Custom JavaScript code to execute on the target page. |
js_timeout | number | Maximum JavaScript rendering time in ms (2000 by default). |
proxy | string | Type of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant… |
timeout | number | Maximum web page retrieval time in ms (15000 by default, maximum is 30000). |
wait_for | string | CSS selector to wait for before returning the page content. |
webscraping_ai_selected_multiple
| Parameter | Type | Description |
|---|---|---|
selectors * | array | Array of CSS selectors to extract content for. |
url * | string | URL of the target page. |
country | string | Country of the proxy to use (US by default). |
custom_proxy | string | Your own proxy URL in "http://user:password@host:port" format. |
device | string | Type of device emulation. |
error_on_404 | boolean | Return error on 404 HTTP status on the target page (false by default). |
error_on_redirect | boolean | Return error on redirect on the target page (false by default). |
js | boolean | Execute on-page JavaScript using a headless browser (true by default). |
js_script | string | Custom JavaScript code to execute on the target page. |
js_timeout | number | Maximum JavaScript rendering time in ms (2000 by default). |
proxy | string | Type of proxy: datacenter, residential, or stealth (residential by default). Use residential if the site restricts datacenter traffic, or stealth for the most heavily protected sites with advanced ant… |
timeout | number | Maximum web page retrieval time in ms (15000 by default, maximum is 30000). |
wait_for | string | CSS selector to wait for before returning the page content. |