"On-the-Fly" APIs

Use the Custom API Toolkit to override or add fields to our Automatic APIs or create completely customized APIs of your own. To get started: grab a token, then log-in to the Developer Dashboard. With a free token you can correct APIs as much as you need and write up to five Custom API rules.

Features

Customize Us

Want more than what's extracted in our Article API? Add or edit the fields our computer-vision engine automatically returns.

The World Is Yours

Individual fields. Repeating data. Images. Links and HTML attributes. META and OG tags. Whatever you need from a page is accessible with the Custom API Toolkit.

Fast As All Get-Out

Built atop Diffbot's processing engine serving millions of API calls daily.

Machine-Teaching

We don't want you to manage rules forever. Your customized APIs will contribute to our computer vision heuristics, and eventually to an automated system that deprecates your manual rules.

Benefits

Point and click your way to a full-fledged AP

Start Extracting Immediately

Point and click your way to creating your API, then start making calls.

Create entire APIs for any sites you choose

Works on any site

Create entirely new APIs for any sites you choose.

Point and click your way to a full-fledged API

Crawlbot-Ready

Pair your custom API with Crawlbot to extract an entire site in a few clicks.

Create entire APIs for any sites you choose

Developer Friendly

Use advanced features to extract element attributes, ignore entire selectors or execute realtime regular expression replacements.

Tutorials

Customizing Diffbot API Output Using the Custom API Toolkit (2:18)

How to use the Custom API Toolkit to correct Diffbot extraction issues for specific sites.

Creating a Custom API Using the Custom API Toolkit (5:43)

This uses the Custom API Toolkit to extract the "What's Hot" links from http://www.mashable.com.