Fetch any public web page through managed proxies, with optional JS rendering and extraction rules.
Call this server's tools from your browser. Nothing to install.
HasData API key, created at app.hasdata.com. 1,000 free credits every month, no card.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Scrape Web Page Universal web scraper that fetches any public URL through managed proxies (datacenter or residential, geo-targeted) with optional JS rendering, custom headers, wait conditions, jsScenario actions (click, scroll, fill, waitFor), screenshots, resource/ad/URL blocking (these require JS rendering), and extractRules/aiExtractRules for LLM-driven structured extraction. Returns HTML, text, markdown, and/or JSON along with status code, extracted emails and links, CSS-selector extractions, and AI-structured fields per schema. Use as a fallback/universal fetcher for sites without a dedicated API, for scraping JS-heavy SPAs, capturing screenshots, or producing clean markdown/structured JSON to feed downstream parsers, RAG pipelines, or data warehouses.
The URL of the web page to scrape.
Time in milliseconds to wait after the page load.
Optional custom headers to send with the request.
CSS selector to wait for before scraping.
Use the cheapest proxy type and JS rendering that load the page, overriding `jsRendering` and `proxyType`. The chosen values are returned in `requestMetadata` and billed.
Whether to block ads.
List of URLs to block.
Type of proxy to use.
Enables custom JavaScript interactions on the target webpage during scraping. It's an array where each object defines a specific action or step. These actions can include clicking elements, waiting for elements, executing custom scripts, and more. Key actions within this field include: - `evaluate`: Run custom JavaScript code on the page. - `click`: Click on an element specified by a CSS selector. - `wait`: Pause for a set duration (in milliseconds). - `waitFor`: Delay until a specific element appears. - `waitForAndClick`: Combine waiting for an element and then clicking it. - `scrollX`, `scrollY`: Scroll to specified positions on the page. - `fill`: Enter values into input fields identified by CSS selectors. Actions are executed sequentially.
Whether to take a screenshot of the page.
The `excludeTags` parameter accepts an array of valid CSS selectors. Elements matching these selectors will be removed from the final output. Each value must be a valid `querySelectorAll` selector. This can be used to remove ads, scripts, or other unwanted sections.
Enable JavaScript rendering.
Extract links from the page.
Rules for extracting specific data from the page. For example: `{ "title": "h1", "link_href": "a#link @href", "page_text": "body" }`
The outputFormat parameter specifies the desired response format: `html`, `text`, `markdown`, or `json`. If only one of `html`, `text`, or `markdown` is provided, the API returns the response in that format. If multiple formats are specified, the API returns a JSON response with keys for each requested format. If `json` is included with any other format, the API returns a JSON response with keys for the other specified formats.
Optional proxy country code.
Extract emails from the page.
Defines custom rules for AI-based data extraction using LLMs. This enables the system to extract structured data directly from the HTML of the page. Each key in the object represents a desired output field name, and the value specifies its type and optional description to guide the AI. Supported types: - `string`: plain text value - `number`: numeric value - `boolean`: true/false - `list`: an array of values - `item`: a nested object with its own structure defined under `output`
Whether to block loading of resources like images and stylesheets.
The `includeOnlyTags` parameter accepts an array of valid CSS selectors. When specified, only the elements matching these selectors will be included in the response content. Each value must be a valid `querySelectorAll` selector. Useful for extracting specific parts of the document.
If set to `true`, any images embedded as base64-encoded strings will be removed from the output. Useful for reducing response size or when base64 images are not needed.
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Scrape Web Page Universal web scraper that fetches any public URL through managed proxies (datacenter or residential, geo-targeted) with optional JS rendering, custom headers, wait conditions, jsScenario actions (click, scroll, fill, waitFor), screenshots, resource/ad/URL blocking (these require JS rendering), and extractRules/aiExtractRules for LLM-driven structured extraction. Returns HTML, text, markdown, and/or JSON along with status code, extracted emails and links, CSS-selector extractions, and AI-structured fields per schema. Use as a fallback/universal fetcher for sites without a dedicated API, for scraping JS-heavy SPAs, capturing screenshots, or producing clean markdown/structured JSON to feed downstream parsers, RAG pipelines, or data warehouses.
| Argument | Type | Description |
|---|---|---|
| url* | string | The URL of the web page to scrape. |
| wait | number | Time in milliseconds to wait after the page load. |
| headers | object | Optional custom headers to send with the request. |
| waitFor | string | CSS selector to wait for before scraping. |
| autoMode | boolean | Use the cheapest proxy type and JS rendering that load the page, overriding `jsRendering` and `proxyType`. The chosen values are returned in `requestMetadata` and billed. |
| blockAds | boolean | Whether to block ads. |
| blockUrls | array | List of URLs to block. |
| proxyType | string | Type of proxy to use. |
| jsScenario | array | Enables custom JavaScript interactions on the target webpage during scraping. It's an array where each object defines a specific action or step. These actions can include clicking elements, waiting for elements, executing custom scripts, and more. Key actions within this field include: - `evaluate`: Run custom JavaScript code on the page. - `click`: Click on an element specified by a CSS selector. - `wait`: Pause for a set duration (in milliseconds). - `waitFor`: Delay until a specific element appears. - `waitForAndClick`: Combine waiting for an element and then clicking it. - `scrollX`, `scrollY`: Scroll to specified positions on the page. - `fill`: Enter values into input fields identified by CSS selectors. Actions are executed sequentially. |
| screenshot | boolean | Whether to take a screenshot of the page. |
| excludeTags | array | The `excludeTags` parameter accepts an array of valid CSS selectors. Elements matching these selectors will be removed from the final output. Each value must be a valid `querySelectorAll` selector. This can be used to remove ads, scripts, or other unwanted sections. |
| jsRendering | boolean | Enable JavaScript rendering. |
| extractLinks | boolean | Extract links from the page. |
| extractRules | object | Rules for extracting specific data from the page. For example: `{ "title": "h1", "link_href": "a#link @href", "page_text": "body" }` |
| outputFormat | array | The outputFormat parameter specifies the desired response format: `html`, `text`, `markdown`, or `json`. If only one of `html`, `text`, or `markdown` is provided, the API returns the response in that format. If multiple formats are specified, the API returns a JSON response with keys for each requested format. If `json` is included with any other format, the API returns a JSON response with keys for the other specified formats. |
| proxyCountry | string | Optional proxy country code. |
| extractEmails | boolean | Extract emails from the page. |
| aiExtractRules | object | Defines custom rules for AI-based data extraction using LLMs. This enables the system to extract structured data directly from the HTML of the page. Each key in the object represents a desired output field name, and the value specifies its type and optional description to guide the AI. Supported types: - `string`: plain text value - `number`: numeric value - `boolean`: true/false - `list`: an array of values - `item`: a nested object with its own structure defined under `output` |
| blockResources | boolean | Whether to block loading of resources like images and stylesheets. |
| includeOnlyTags | array | The `includeOnlyTags` parameter accepts an array of valid CSS selectors. When specified, only the elements matching these selectors will be included in the response content. Each value must be a valid `querySelectorAll` selector. Useful for extracting specific parts of the document. |
| removeBase64Images | boolean | If set to `true`, any images embedded as base64-encoded strings will be removed from the output. Useful for reducing response size or when base64 images are not needed. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "The URL of the web page to scrape."
},
"wait": {
"type": "number",
"description": "Time in milliseconds to wait after the page load."
},
"headers": {
"type": "object",
"description": "Optional custom headers to send with the request.",
"additionalProperties": {}
},
"waitFor": {
"type": "string",
"description": "CSS selector to wait for before scraping."
},
"autoMode": {
"type": "boolean",
"description": "Use the cheapest proxy type and JS rendering that load the page, overriding `jsRendering` and `proxyType`. The chosen values are returned in `requestMetadata` and billed."
},
"blockAds": {
"type": "boolean",
"description": "Whether to block ads."
},
"blockUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of URLs to block."
},
"proxyType": {
"enum": [
"datacenter",
"residential"
],
"type": "string",
"description": "Type of proxy to use."
},
"jsScenario": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {}
},
"description": "Enables custom JavaScript interactions on the target webpage during scraping. It's an array where each object defines a specific action or step. These actions can include clicking elements, waiting for elements, executing custom scripts, and more. Key actions within this field include:\n\n- `evaluate`: Run custom JavaScript code on the page.\n- `click`: Click on an element specified by a CSS selector.\n- `wait`: Pause for a set duration (in milliseconds).\n- `waitFor`: Delay until a specific element appears.\n- `waitForAndClick`: Combine waiting for an element and then clicking it.\n- `scrollX`, `scrollY`: Scroll to specified positions on the page.\n- `fill`: Enter values into input fields identified by CSS selectors.\n\nActions are executed sequentially.\n"
},
"screenshot": {
"type": "boolean",
"description": "Whether to take a screenshot of the page."
},
"excludeTags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The `excludeTags` parameter accepts an array of valid CSS selectors.\nElements matching these selectors will be removed from the final output.\nEach value must be a valid `querySelectorAll` selector. This can be used to remove ads, scripts, or\nother unwanted sections.\n"
},
"jsRendering": {
"type": "boolean",
"description": "Enable JavaScript rendering."
},
"extractLinks": {
"type": "boolean",
"description": "Extract links from the page."
},
"extractRules": {
"type": "object",
"description": "Rules for extracting specific data from the page. For example: `{ \"title\": \"h1\", \"link_href\": \"a#link @href\", \"page_text\": \"body\" }`\n",
"additionalProperties": {}
},
"outputFormat": {
"type": "array",
"items": {
"enum": [
"html",
"text",
"markdown",
"json"
],
"type": "string"
},
"minItems": 1,
"description": "The outputFormat parameter specifies the desired response format: `html`, `text`, `markdown`, or `json`. If only one of `html`, `text`, or `markdown` is provided, the API returns the response in that format. If multiple formats are specified, the API returns a JSON response with keys for each requested format. If `json` is included with any other format, the API returns a JSON response with keys for the other specified formats.\n"
},
"proxyCountry": {
"enum": [
"US",
"UK",
"DE",
"IE",
"FR",
"IT",
"SE",
"BR",
"CA",
"JP",
"SG",
"IN",
"ID"
],
"type": "string",
"description": "Optional proxy country code."
},
"extractEmails": {
"type": "boolean",
"description": "Extract emails from the page."
},
"aiExtractRules": {
"type": "object",
"description": "Defines custom rules for AI-based data extraction using LLMs. This enables the system to extract structured data directly from the HTML of the page. Each key in the object represents a desired output field name, and the value specifies its type and optional description to guide the AI.\n\nSupported types:\n- `string`: plain text value\n- `number`: numeric value\n- `boolean`: true/false\n- `list`: an array of values\n- `item`: a nested object with its own structure defined under `output`\n",
"additionalProperties": {}
},
"blockResources": {
"type": "boolean",
"description": "Whether to block loading of resources like images and stylesheets."
},
"includeOnlyTags": {
"type": "array",
"items": {
"type": "string"
},
"description": "The `includeOnlyTags` parameter accepts an array of valid CSS selectors.\nWhen specified, only the elements matching these selectors will be included in the response content.\nEach value must be a valid `querySelectorAll` selector. Useful for extracting specific parts of the document.\n"
},
"removeBase64Images": {
"type": "boolean",
"description": "If set to `true`, any images embedded as base64-encoded strings will be removed from the output.\nUseful for reducing response size or when base64 images are not needed.\n"
}
},
"additionalProperties": false
}