DiffbotDonnées web et SEOSEO/AEO

Auto-detect a page type and extract it by URL

diffbot.x.extract-analyze

Automatically identifies the type of page being processed and routes it through the relevant Diffbot API

Price
$0.001196/callAu prix du fournisseur
Success rate
99,9 %Last 30 days · 7 365 calls
Latency p50
2.6 sp95 24 s
Last verified
28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-analyze?url=https%3A%2F%2Fwww.diffbot.com%2Fproducts%2Fextract%2FPreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

different HOST than base_url — api.diffbot.com, not kg.diffbot.com

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
urlchaîneObligatoiretarget URL to extract, URL-encodedhttps://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/
modechaîneFacultatifrestrict extraction to one page type: article, product, discussion, image, video, list, event
proxychaîneFacultatifcustom proxy IP for fetching the target page
fieldschaîneFacultatifcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb
scrollchaîneFacultatif'slow' or 'fast' — triggers lazy-loaded content
timeoutentierFacultatifms to wait for content retrieval30000
callbackchaîneFacultatifJSONP callback for cross-domain AJAX
fallbackchaîneFacultatifwhich API to fall back to if page type cannot be determined
useProxychaîneFacultatif'default' routes through Diffbot's datacenter proxy (2 credits/page instead of 1); 'none' disables proxies
proxyAuthchaîneFacultatifusername:password for the custom proxy
discussionbooléenFacultatifpass false to disable automatic comment/review extractiontrue
renderDelayentierFacultatifextra rendering ms before DOM extraction, max 180000
  • Paramètres de requête
  • urlchaîneObligatoire

    target URL to extract, URL-encoded

    Exemple : https://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/

  • modechaîneFacultatif

    restrict extraction to one page type: article, product, discussion, image, video, list, event

  • proxychaîneFacultatif

    custom proxy IP for fetching the target page

  • fieldschaîneFacultatif

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

  • scrollchaîneFacultatif

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

  • timeoutentierFacultatif

    ms to wait for content retrieval

    Exemple : 30000

  • callbackchaîneFacultatif

    JSONP callback for cross-domain AJAX

  • fallbackchaîneFacultatif

    which API to fall back to if page type cannot be determined

  • useProxychaîneFacultatif

    'default' routes through Diffbot's datacenter proxy (2 credits/page instead of 1); 'none' disables proxies

  • proxyAuthchaîneFacultatif

    username:password for the custom proxy

  • discussionbooléenFacultatif

    pass false to disable automatic comment/review extraction

    Exemple : true

  • renderDelayentierFacultatif

    extra rendering ms before DOM extraction, max 180000

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.extract-analyze?url=https%3A%2F%2Fwww.diffbot.com%2Fproducts%2Fextract%2F' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001196/call, frais de service inclus.