DeepAgent

Diffbot

Diffbot API client.

Diffbot provides web page classification and scraping. It also provides access to a knowledge graph with the ability to perform person and company data enrichment.

  • package: @deepagent/diffbot
  • exports: class DiffbotClient, namespace diffbot
  • env vars: DIFFBOT_API_KEY
  • source
  • diffbot api docs

Install

npm install @deepagent/diffbot
yarn add @deepagent/diffbot
pnpm add @deepagent/diffbot

Usage

import { DiffbotClient } from '@deepagent/diffbot'

const diffbot = new DiffbotClient()
const res = await diffbot.analyzeUrl('https://example.com')

On this page