scrapingant_scrape

Pack: scrapingant · Endpoint: https://gateway.pipeworx.io/scrapingant/mcp

Scrape a web page and return its raw HTML via ScrapingAnt (headless-browser rendering + rotating proxies). Handles JS-heavy sites and anti-bot pages. Example: scrapingant_scrape({ url: “https://example.com”, browser: true, _apiKey: “your-key” })

Parameters

NameTypeRequiredDescription
urlstringyesThe absolute URL of the page to scrape, e.g. “https://example.com/products
browserbooleannoRender the page in a headless browser (executes JavaScript). Default true. Set false for a faster raw HTTP fetch of static pages.
proxy_typestringnoProxy pool to use: “datacenter” (default, cheaper) or “residential” (harder to block).
proxy_countrystringnoTwo-letter ISO country code for the proxy exit location, e.g. “US”, “GB”, “DE”.
wait_for_selectorstringnoCSS selector to wait for before returning (e.g. “.price”). Only applies when browser rendering is on.
js_snippetstringnoCustom JavaScript to run in the page after load (plain JS — this pack base64-encodes it for you). Only applies when browser rendering is on.
_apiKeystringyesYour ScrapingAnt API key. Sign up free at https://app.scrapingant.com/signup

Example call

Arguments

{
  "url": "https://example.com/products",
  "browser": true,
  "_apiKey": "your-scrapingant-api-key"
}

curl

curl -X POST https://gateway.pipeworx.io/scrapingant/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"scrapingant_scrape","arguments":{"url":"https://example.com/products","browser":true,"_apiKey":"your-scrapingant-api-key"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('scrapingant_scrape', {
  "url": "https://example.com/products",
  "browser": true,
  "_apiKey": "your-scrapingant-api-key"
});

More examples

{
  "url": "https://example.com/dynamic-content",
  "browser": true,
  "proxy_type": "residential",
  "proxy_country": "US",
  "wait_for_selector": ".price",
  "_apiKey": "your-scrapingant-api-key"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "scrapingant": {
      "url": "https://gateway.pipeworx.io/scrapingant/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 29, 2026