diffbot_x_extract-product $0.001495 per call
Extract product name, price and reviews from a URL. Extracts product name, price, SKU, images, specs and reviews from an e-commerce page (Diffbot · Open web & SEO data)
For AI agents: call diffbot_x_extract-product
POST https://toll402.dev/v1/p/diffbot.x.extract-product
{
"url": "http://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"discussion": true,
"timeout": 30000
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "target URL to extract",
"examples": [
"http://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html"
]
},
"fields": {
"type": "string",
"description": "comma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb"
},
"discussion": {
"type": "boolean",
"description": "pass false to disable automatic extraction of product reviews",
"examples": [
true
]
},
"renderDelay": {
"type": "integer",
"description": "extra rendering ms before DOM extraction, max 180000"
},
"scroll": {
"type": "string",
"description": "'slow' or 'fast' — triggers lazy-loaded content"
},
"timeout": {
"type": "integer",
"examples": [
30000
]
},
"proxy": {
"type": "string"
},
"proxyAuth": {
"type": "string"
},
"useProxy": {
"type": "string",
"description": "'default' = datacenter proxy (2 credits/page); 'none' disables"
},
"callback": {
"type": "string"
}
},
"additionalProperties": true,
"required": [
"url"
],
"description": "different HOST than base_url — api.diffbot.com, not kg.diffbot.com. The docs' own example URL (a Micro Center SKU) is dead (403, then 404) — retargeted to books.toscrape.com, a stable public scraping sandbox"
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}