DuckDuckGo Zero-click Info

FREE
By duckduckgo
Updated 5 months ago
Other
7.8/10
Popularity Score
60ms
Latency
99%
Success Rate

DuckDuckGo Zero-click Info API Documentation

DuckDuckGo Zero-click Info includes topic summaries, categories, disambiguation, official sites, !bang redirects, definitions and more. You can use this API for many things, e.g. define people, places, things, words and concepts; provides direct links to other services (via !bang syntax); list related topics; and gives official sites when available.

View API Details
GETZero Click Info
GETZero Click Info

Our Zero-click Info API gives you free access to much of our topic summaries, categories, disambiguation, !bang redirects, definitions and more.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
qSTRING
REQUIREDSearch terms
formatSTRING
REQUIRED - CONSTANT
Optional Parameters
no_redirectNUMBER
OPTIONAL1 to skip HTTP redirects (for !bang commands - see http://duckduckgo.com/bang.html).
no_htmlNUMBER
OPTIONAL1 to remove HTML from text, e.g. bold and italics.
callbackSTRING
OPTIONALFunction to callback (for a JSONP formatted response).
skip_disambigNUMBER
OPTIONAL1 to skip disambiguation (D) Type.
Code Snippet
unirest.get("https://duckduckgo-duckduckgo-zero-click-info.p.rapidapi.com/?no_redirect=1&no_html=1&callback=process_duckduckgo&skip_disambig=1&q=DuckDuckGo&format=json")
.header("X-RapidAPI-Host", "duckduckgo-duckduckgo-zero-click-info.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://duckduckgo-duckduckgo-zero-click-info.p.rapidapi.com/
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://duckduckgo-duckduckgo-zero-click-info.p.rapidapi.com/?no_redirect=1&no_html=1&callback=process_duckduckgo&skip_disambig=1&q=DuckDuckGo&format=json")
.header("X-RapidAPI-Host", "duckduckgo-duckduckgo-zero-click-info.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication