v1

latestOpenAPI 3.0.02026-07-263039205.4 KB
Product

Product

Automatically extract pricing, product specs, images, and more from an e-commerce product page.

get/product

Query parameters

urlstring required

Target URL to extract

fields'links' | 'extlinks' | 'meta' | 'querystring' | 'breadcrumb'

Specify optional fields to be returned from any fully-extracted pages (e.g. fields=querystring,links)

timeoutinteger

Sets a value in milliseconds to wait for the retrieval/fetch of content from the requested URL. The default timeout for the third-party response is 30 seconds (30000).

callbackstring

Use for jsonp requests. Needed for cross-domain ajax.

proxystring

Specify an IP address of a custom proxy that will be used to fetch the target page. (Ex: &proxy or &proxy=0.0.0.0)

proxyAuthstring

Used to specify the authentication parameters that will be used with a custom proxy specified in the &proxy parameter. (Ex: proxyAuth=username:password)

useProxystring

Set to default to use Diffbot's datacenter proxy for this request. none will instruct Extract to not use proxies, even if proxies have been enabled for this particular URL globally.

discussionboolean

Pass discussion=false to disable automatic extraction of product reviews.

renderDelayinteger

Add additional time for rendering before the page is closed and the DOM is extracted. This can cause page timeouts, so a timeout parameter may be needed to extend the timeout. Note that the renderer closes automatically at 180 seconds.

scroll'slow' | 'fast'

Direct the browser to scroll down the page, to trigger lazy-loaded content.

Response

Successful API Response

humanLanguagestring
typestring
titlestring