DiffbotWeb- und SEO-DatenSEO/AEO

Extract article text

diffbot.x.extract-article

Extracts clean article text, author, date, images, tags, sentiment and NLP facts from a news or blog page

Price
$0.001196/callZum Anbieterpreis
Success rate
100 %Last 30 days · 57 calls
Latency p50
3.6 sp95 6.6 s
Last verified
28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/diffbot.x.extract-article?url=https%3A%2F%2Fwww.technologyreview.com%2F2020%2F09%2F04%2F1008156%2Fknowledge-graph-ai-reads-web-machine-learning-natural-language-processing%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 extracthttps://www.technologyreview.com/2020/09/04/1008156/knowledge-graph-ai-reads-web-machine-learning-natural-language-processing/
proxyZeichenketteOptional
fieldsZeichenketteOptionalcomma-delimited optional fields: links, extlinks, meta, querystring, breadcrumb, quotes
pagingBooleanOptionalpass false to disable automatic concatenation of multi-page articlestrue
scrollZeichenketteOptional'slow' or 'fast' — triggers lazy-loaded content
maxTagsGanzzahlOptionalmax automatically-generated tags to return10
timeoutGanzzahlOptional30000
callbackZeichenketteOptional
useProxyZeichenketteOptional'default' = datacenter proxy (2 credits/page); 'none' disables
proxyAuthZeichenketteOptional
discussionBooleanOptionalpass false to disable automatic comment extractiontrue
renderDelayGanzzahlOptionalextra rendering ms before DOM extraction, max 180000
tagConfidenceZahlOptionalminimum tag relevance score 0.0-1.00.5
naturalLanguageZeichenketteOptionalrun text through the NLP API: entities, sentiment, summary, facts, etc.
categoryConfidenceZahlOptionalminimum category relevance score 0.0-1.00.5
summaryNumSentencesGanzzahlOptionalmax sentences in the generated summary3
  • Abfrageparameter
  • urlZeichenketteErforderlich

    target URL to extract

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

  • proxyZeichenketteOptional
  • fieldsZeichenketteOptional

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

  • pagingBooleanOptional

    pass false to disable automatic concatenation of multi-page articles

    Beispiel: true

  • scrollZeichenketteOptional

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

  • maxTagsGanzzahlOptional

    max automatically-generated tags to return

    Beispiel: 10

  • timeoutGanzzahlOptional

    Beispiel: 30000

  • callbackZeichenketteOptional
  • useProxyZeichenketteOptional

    'default' = datacenter proxy (2 credits/page); 'none' disables

  • proxyAuthZeichenketteOptional
  • discussionBooleanOptional

    pass false to disable automatic comment extraction

    Beispiel: true

  • renderDelayGanzzahlOptional

    extra rendering ms before DOM extraction, max 180000

  • tagConfidenceZahlOptional

    minimum tag relevance score 0.0-1.0

    Beispiel: 0.5

  • naturalLanguageZeichenketteOptional

    run text through the NLP API: entities, sentiment, summary, facts, etc.

  • categoryConfidenceZahlOptional

    minimum category relevance score 0.0-1.0

    Beispiel: 0.5

  • summaryNumSentencesGanzzahlOptional

    max sentences in the generated summary

    Beispiel: 3

Codebeispiele

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

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/diffbot.x.extract-article?url=https%3A%2F%2Fwww.technologyreview.com%2F2020%2F09%2F04%2F1008156%2Fknowledge-graph-ai-reads-web-machine-learning-natural-language-processing%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.