← Tools Reference

WebScraping.AI

WebScraping.AI integration (Developer Tools, Data). Imported from open-connector.

API key5 toolshttps://api.webscraping.ai
GET
webscraping_ai_get_account_info
Retrieve WebScraping.AI account email, quota, reset, and concurrency details.

/account

GET
webscraping_ai_fetch_html
Fetch the rendered HTML content of one target page with WebScraping.AI.

/html

13 parameters
ParamTypeRequiredDescription
urlstringrequiredThe target page URL WebScraping.AI should retrieve.
headersobjectoptionalHTTP headers WebScraping.AI should send to the target page.
timeoutintegeroptionalMaximum target page retrieval time in milliseconds.
jsbooleanoptionalWhether WebScraping.AI should execute on-page JavaScript.
jsTimeoutintegeroptionalMaximum JavaScript rendering time in milliseconds.
waitForstringoptionalA CSS selector WebScraping.AI should wait for before returning.
proxystringoptionalThe WebScraping.AI proxy pool to use for the target page.
countrystringoptionalThe proxy country code to use for the target page.
devicestringoptionalThe browser device profile WebScraping.AI should emulate.
errorOn404booleanoptionalWhether target page HTTP 404 responses should be returned as errors.
errorOnRedirectbooleanoptionalWhether target page redirects should be returned as errors.
jsScriptstringoptionalCustom JavaScript code to execute on the target page.
returnScriptResultbooleanoptionalWhether to return the custom JavaScript result instead of the page HTML.
GET
webscraping_ai_extract_text
Extract visible text from one target page with WebScraping.AI.

/text

14 parameters
ParamTypeRequiredDescription
urlstringrequiredThe target page URL WebScraping.AI should retrieve.
headersobjectoptionalHTTP headers WebScraping.AI should send to the target page.
timeoutintegeroptionalMaximum target page retrieval time in milliseconds.
jsbooleanoptionalWhether WebScraping.AI should execute on-page JavaScript.
jsTimeoutintegeroptionalMaximum JavaScript rendering time in milliseconds.
waitForstringoptionalA CSS selector WebScraping.AI should wait for before returning.
proxystringoptionalThe WebScraping.AI proxy pool to use for the target page.
countrystringoptionalThe proxy country code to use for the target page.
devicestringoptionalThe browser device profile WebScraping.AI should emulate.
errorOn404booleanoptionalWhether target page HTTP 404 responses should be returned as errors.
errorOnRedirectbooleanoptionalWhether target page redirects should be returned as errors.
jsScriptstringoptionalCustom JavaScript code to execute on the target page.
textFormatstringoptionalThe WebScraping.AI text response format.
returnLinksbooleanoptionalWhether WebScraping.AI should include links when textFormat is json.
GET
webscraping_ai_select_html
Fetch HTML for one selected target page area with WebScraping.AI.

/selected

13 parameters
ParamTypeRequiredDescription
urlstringrequiredThe target page URL WebScraping.AI should retrieve.
headersobjectoptionalHTTP headers WebScraping.AI should send to the target page.
timeoutintegeroptionalMaximum target page retrieval time in milliseconds.
jsbooleanoptionalWhether WebScraping.AI should execute on-page JavaScript.
jsTimeoutintegeroptionalMaximum JavaScript rendering time in milliseconds.
waitForstringoptionalA CSS selector WebScraping.AI should wait for before returning.
proxystringoptionalThe WebScraping.AI proxy pool to use for the target page.
countrystringoptionalThe proxy country code to use for the target page.
devicestringoptionalThe browser device profile WebScraping.AI should emulate.
errorOn404booleanoptionalWhether target page HTTP 404 responses should be returned as errors.
errorOnRedirectbooleanoptionalWhether target page redirects should be returned as errors.
jsScriptstringoptionalCustom JavaScript code to execute on the target page.
selectorstringrequiredThe CSS selector for the page area to return.
GET
webscraping_ai_select_multiple_html
Fetch HTML for multiple selected target page areas with WebScraping.AI.

/selected-multiple

13 parameters
ParamTypeRequiredDescription
urlstringrequiredThe target page URL WebScraping.AI should retrieve.
headersobjectoptionalHTTP headers WebScraping.AI should send to the target page.
timeoutintegeroptionalMaximum target page retrieval time in milliseconds.
jsbooleanoptionalWhether WebScraping.AI should execute on-page JavaScript.
jsTimeoutintegeroptionalMaximum JavaScript rendering time in milliseconds.
waitForstringoptionalA CSS selector WebScraping.AI should wait for before returning.
proxystringoptionalThe WebScraping.AI proxy pool to use for the target page.
countrystringoptionalThe proxy country code to use for the target page.
devicestringoptionalThe browser device profile WebScraping.AI should emulate.
errorOn404booleanoptionalWhether target page HTTP 404 responses should be returned as errors.
errorOnRedirectbooleanoptionalWhether target page redirects should be returned as errors.
jsScriptstringoptionalCustom JavaScript code to execute on the target page.
selectorsarrayrequiredCSS selectors for the page areas to return.