scrapingant_extract
Pack: scrapingant · Endpoint: https://gateway.pipeworx.io/scrapingant/mcp
Extract structured data from a web page using ScrapingAnt AI extraction. Describe the fields you want in extract_properties (comma-separated) and get back a JSON object with matching camelCase keys. Example: scrapingant_extract({ url: “https://example.com/product”, extract_properties: “product title, price(number), full description”, _apiKey: “your-key” })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | The absolute URL of the page to extract data from. |
extract_properties | string | yes | Comma-separated free-text description of the fields to extract. Optionally add type/list hints, e.g. “product title, price(number), reviews(list: review title, review content)”. |
proxy_type | string | no | Proxy pool to use: “datacenter” (default) or “residential”. |
proxy_country | string | no | Two-letter ISO country code for the proxy exit location, e.g. “US”. |
_apiKey | string | yes | Your ScrapingAnt API key. Sign up free at https://app.scrapingant.com/signup |
Example call
Arguments
{
"url": "https://example.com/product",
"extract_properties": "product title, price(number), full description",
"_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_extract","arguments":{"url":"https://example.com/product","extract_properties":"product title, price(number), full description","_apiKey":"your-scrapingant-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('scrapingant_extract', {
"url": "https://example.com/product",
"extract_properties": "product title, price(number), full description",
"_apiKey": "your-scrapingant-api-key"
});
More examples
{
"url": "https://example.com/listings",
"extract_properties": "business name, address, phone number, ratings(number), reviews(list: reviewer name, review text)",
"proxy_type": "datacenter",
"_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.