Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- The token goes in the token query parameter on every call, including POSTs.
- Diffbot’s other APIs (Extract, Crawl, Natural Language, Account) live on api.diffbot.com and are not in this entry.
- The docs moved from docs.diffbot.com to www.diffbot.com/docs.
Endpoints
Search the Knowledge Graph with DQL
- Queries use Diffbot Query Language, e.g. type:Organization nbEmployees>5000. Check the DQL reference for current field names.
Search the Knowledge Graph with DQL (POST)
- A read over POST: it only queries.
Enhance a person or organization from partial data
- Works for both company and person lookups: set type to Organization or Person.
Enhance a person or organization (POST)
- A read over POST: it only looks up data.