DiffbotDatos web y 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/callAl precio del proveedor
Success rate
99,9 %Last 30 days · 7365 calls
Latency p50
2.6 sp95 24 s
Last verified
28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-analyze?url=https%3A%2F%2Fwww.diffbot.com%2Fproducts%2Fextract%2FPreview
Try onlinePróximamenteProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parámetros

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

ParámetroTipoObligatorioDescripciónEjemplo
Parámetros de consulta
urlcadenaObligatoriotarget URL to extract, URL-encodedhttps://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/
modecadenaOpcionalrestrict extraction to one page type: article, product, discussion, image, video, list, event
proxycadenaOpcionalcustom proxy IP for fetching the target page
fieldscadenaOpcionalcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb
scrollcadenaOpcional'slow' or 'fast' — triggers lazy-loaded content
timeoutenteroOpcionalms to wait for content retrieval30000
callbackcadenaOpcionalJSONP callback for cross-domain AJAX
fallbackcadenaOpcionalwhich API to fall back to if page type cannot be determined
useProxycadenaOpcional'default' routes through Diffbot's datacenter proxy (2 credits/page instead of 1); 'none' disables proxies
proxyAuthcadenaOpcionalusername:password for the custom proxy
discussionbooleanoOpcionalpass false to disable automatic comment/review extractiontrue
renderDelayenteroOpcionalextra rendering ms before DOM extraction, max 180000
  • Parámetros de consulta
  • urlcadenaObligatorio

    target URL to extract, URL-encoded

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

  • modecadenaOpcional

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

  • proxycadenaOpcional

    custom proxy IP for fetching the target page

  • fieldscadenaOpcional

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

  • scrollcadenaOpcional

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

  • timeoutenteroOpcional

    ms to wait for content retrieval

    Ejemplo: 30000

  • callbackcadenaOpcional

    JSONP callback for cross-domain AJAX

  • fallbackcadenaOpcional

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

  • useProxycadenaOpcional

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

  • proxyAuthcadenaOpcional

    username:password for the custom proxy

  • discussionbooleanoOpcional

    pass false to disable automatic comment/review extraction

    Ejemplo: true

  • renderDelayenteroOpcional

    extra rendering ms before DOM extraction, max 180000

Ejemplos de código

Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.

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"

La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.001196/call, incluida la tarifa de servicio.