Auto-detect a page type and extract it by URL
From Diffbot, through Joshu Data Bodega.
- Price
- $0.00132 per call$1.32 per 1,000 calls
No calls measured in the last 30 days.
Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.
Inputs
urlstring, requiredtarget URL to extract, URL-encoded
modestring, optionalrestrict extraction to one page type: article, product, discussion, image, video, list, event
proxystring, optionalcustom proxy IP for fetching the target page
fieldsstring, optionalcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb
scrollstring, optional'slow' or 'fast' — triggers lazy-loaded content
timeoutinteger, optionalms to wait for content retrieval
callbackstring, optionalJSONP callback for cross-domain AJAX
fallbackstring, optionalwhich API to fall back to if page type cannot be determined
useProxystring, optional'default' routes through Diffbot's datacenter proxy (2 credits/page instead of 1); 'none' disables proxies
proxyAuthstring, optionalusername:password for the custom proxy
discussionboolean, optionalpass false to disable automatic comment/review extraction
renderDelayinteger, optionalextra rendering ms before DOM extraction, max 180000
Call it
curl https://hello.joshu.me/api/router/call \
-H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "diffbot.x.extract-analyze",
"params": {
"url": "https://www.diffbot.com/products/extract/"
}
}'