Skip to content

Diffbot API and MCP

Diffbot extracts structured website data and searches a knowledge graph of organizations, people and articles. An agent can extract article data and identify the type of content on a page. Add your Diffbot key once in Longwave settings; calls run on your vendor account.

Add to Longwave

Add Diffbot to your agent

Paste this into Claude Code or a terminal. Then run /mcp to sign in.

functions
2
access
Your key

Use Diffbot on Longwave

  1. Download Longwave or open app.longwave.run.
  2. Add your Diffbot API key once in Longwave settings. Calls run on your Diffbot account at Diffbot's price.
  3. Ask for the result in any thread, for example: “Extract an article for a research brief”. The agent picks the Diffbot function and calls it.

Use Diffbot in Claude Code, Codex, Cursor or ChatGPT

Add the Longwave MCP server once. It carries 2,593 functions across 103 tools, including Diffbot, and asks you to sign in on first use.

Why call Diffbot through Longwave

  • Your Diffbot key is stored once, encrypted, and used by every harness and device you use.
  • One MCP server for 103 tools, so your agent setup does not grow a key and a server per vendor.
  • Spending limits per key and per account, checked before a paid call is made.
  • Each call is recorded with the provider, the cost and the result, and can be read again from another device.

Diffbot functions

Every function here: Monthly credit subscription; extraction costs 1 credit/page. Startup overage is $0.001/credit, with a $299/month plan required. Monthly credit subscription; extraction costs 1 credit/page. Startup overage is $0.001/credit, with a $299/month plan required.

Function
Extract a Diffbot article Extract structured article content from one public URL. diffbot.article.extract
Analyze a page with Diffbot Classify one public page and extract content when Diffbot supports its page type. diffbot.page.analyze

Prices are Diffbot's published rates. Source: Diffbot pricing.

Use cases

Questions people ask

How do I get a Diffbot API key?

Sign in to Diffbot and create a key at app.diffbot.com. Add it once in Longwave settings and your agents' Diffbot calls run on your own account. Diffbot API keys

Does Diffbot offer a free API allowance?

Diffbot publishes this allowance: 10,000 credits per month. The allowance applies to the vendor account used for the call. Diffbot pricing

Do I need a Diffbot account?

Yes. Create a key at https://app.diffbot.com and add it in Longwave settings. Longwave stores it encrypted and uses it only for your calls.

How do I use Diffbot in Claude Code?

Add the Longwave MCP server once with claude mcp add --transport http longwave https://api.longwave.run/v1/mcp/tasks, sign in, and ask for what you need. Claude finds the right Diffbot function and calls it.

Use Diffbot in Longwave

Ask any Longwave thread for the result, or add Longwave to Claude Code, Codex, Cursor or ChatGPT.

Add to Longwave