DiffbotWeb- und SEO-DatenSEO/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/callZum Anbieterpreis
Success rate
99,9 %Last 30 days · 7.365 calls
Latency p50
2.6 sp95 24 s
Last verified
28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-analyze?url=https%3A%2F%2Fwww.diffbot.com%2Fproducts%2Fextract%2FPreview
Try onlineDemnächstProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

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

ParameterTypErforderlichBeschreibungBeispiel
Abfrageparameter
urlZeichenketteErforderlichtarget URL to extract, URL-encodedhttps://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/
modeZeichenketteOptionalrestrict extraction to one page type: article, product, discussion, image, video, list, event
proxyZeichenketteOptionalcustom proxy IP for fetching the target page
fieldsZeichenketteOptionalcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb
scrollZeichenketteOptional'slow' or 'fast' — triggers lazy-loaded content
timeoutGanzzahlOptionalms to wait for content retrieval30000
callbackZeichenketteOptionalJSONP callback for cross-domain AJAX
fallbackZeichenketteOptionalwhich API to fall back to if page type cannot be determined
useProxyZeichenketteOptional'default' routes through Diffbot's datacenter proxy (2 credits/page instead of 1); 'none' disables proxies
proxyAuthZeichenketteOptionalusername:password for the custom proxy
discussionBooleanOptionalpass false to disable automatic comment/review extractiontrue
renderDelayGanzzahlOptionalextra rendering ms before DOM extraction, max 180000
  • Abfrageparameter
  • urlZeichenketteErforderlich

    target URL to extract, URL-encoded

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

  • modeZeichenketteOptional

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

  • proxyZeichenketteOptional

    custom proxy IP for fetching the target page

  • fieldsZeichenketteOptional

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

  • scrollZeichenketteOptional

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

  • timeoutGanzzahlOptional

    ms to wait for content retrieval

    Beispiel: 30000

  • callbackZeichenketteOptional

    JSONP callback for cross-domain AJAX

  • fallbackZeichenketteOptional

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

  • useProxyZeichenketteOptional

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

  • proxyAuthZeichenketteOptional

    username:password for the custom proxy

  • discussionBooleanOptional

    pass false to disable automatic comment/review extraction

    Beispiel: true

  • renderDelayGanzzahlOptional

    extra rendering ms before DOM extraction, max 180000

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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"

Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.001196/call einschließlich Servicegebühr abgerechnet.