DiffbotWeb & SEO DataSEO/AEO

Extract product details

diffbot.x.extract-product

Extracts product name, price, SKU, images, specs and reviews from an e-commerce page

Price
$0.001196/callAt provider cost
Success rate
100%Last 30 days · 30 calls
Latency p50
7.3 sp95 41 s
Last verified
Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-product?url=http%3A%2F%2Fbooks.toscrape.com%2Fcatalogue%2Fa-light-in-the-attic_1000%2Findex.htmlPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

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

ParameterTypeRequiredDescriptionExample
Query parameters
urlstringRequiredtarget URL to extracthttp://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html
proxystringOptional
fieldsstringOptionalcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb
scrollstringOptional'slow' or 'fast' — triggers lazy-loaded content
timeoutintegerOptional30000
callbackstringOptional
useProxystringOptional'default' = datacenter proxy (2 credits/page); 'none' disables
proxyAuthstringOptional
discussionbooleanOptionalpass false to disable automatic extraction of product reviewstrue
renderDelayintegerOptionalextra rendering ms before DOM extraction, max 180000
  • Query parameters
  • urlstringRequired

    target URL to extract

    Example: http://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html

  • proxystringOptional
  • fieldsstringOptional

    comma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb

  • scrollstringOptional

    'slow' or 'fast' — triggers lazy-loaded content

  • timeoutintegerOptional

    Example: 30000

  • callbackstringOptional
  • useProxystringOptional

    'default' = datacenter proxy (2 credits/page); 'none' disables

  • proxyAuthstringOptional
  • discussionbooleanOptional

    pass false to disable automatic extraction of product reviews

    Example: true

  • renderDelayintegerOptional

    extra rendering ms before DOM extraction, max 180000

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.extract-product?url=http%3A%2F%2Fbooks.toscrape.com%2Fcatalogue%2Fa-light-in-the-attic_1000%2Findex.html' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.001196/call, including the service fee.