oxylabs_scrape

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

Scrape any URL via the Oxylabs Web Scraper API (rotating proxies, anti-bot handling) and return the page HTML with its upstream status code. Set render_js:true to load the page in a headless browser first — use for JS-heavy sites. Calls are synchronous proxying and can take 10-30 seconds. BYOK: _apiKey is “username:password” from the Oxylabs dashboard. Example: oxylabs_scrape({ url: “https://example.com”, _apiKey: “myuser:mypass” })

Parameters

NameTypeRequiredDescription
urlstringyesThe absolute URL to scrape, e.g. “https://example.com/products
render_jsbooleannoWhen true, render the page in a headless browser (executes JavaScript) before returning HTML. Use for JS-heavy sites. Default false (faster raw fetch).
geo_locationstringnoGeo location to proxy the request from, e.g. “United States” or “Germany”. Optional.
_apiKeystringyesOxylabs API credentials as “username:password” from the Oxylabs dashboard (https://dashboard.oxylabs.io). Free trial includes up to 2K results.

Example call

Arguments

{
  "url": "https://example.com/products",
  "_apiKey": "your-oxylabs-username:your-oxylabs-password"
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('oxylabs_scrape', {
  "url": "https://example.com/products",
  "_apiKey": "your-oxylabs-username:your-oxylabs-password"
});

More examples

{
  "url": "https://example.com/dynamic-content",
  "render_js": true,
  "geo_location": "United States",
  "_apiKey": "your-oxylabs-username:your-oxylabs-password"
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build August 29, 2026