Search

FREEMIUM
By webknox
Updated 4 months ago
Media
-/10
Popularity Score
-
Latency
-
Success Rate

Search API Documentation

The WebKnox search API lets you search the WebKnox Web index and news results.

View API Details
Search
GETWeb Search
GETImage Search
GETWeb Search

Search for Web pages containing certain query terms.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
querySTRING
REQUIREDThe query to the index.
Optional Parameters
numberNUMBER
OPTIONALThe number of results to retrieve [1,50].
languageSTRING
OPTIONALThe language (in ISO 6391, e.g. 'en' = English.
Code Snippet
unirest.get("https://webknox-search.p.rapidapi.com/webpage/search?number=10&language=en&query=movies+starring+Jim+Carrey")
.header("X-RapidAPI-Host", "webknox-search.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://webknox-search.p.rapidapi.com/webpage/search
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://webknox-search.p.rapidapi.com/webpage/search?number=10&language=en&query=movies+starring+Jim+Carrey")
.header("X-RapidAPI-Host", "webknox-search.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