Entities

FREEMIUM
By webknox
Updated 4 months ago
Other
4.1/10
Popularity Score
359ms
Latency
100%
Success Rate

Entities API Documentation

The WebKnox entities API gives you access to millions of entities such as cities, actors, movies, cars, etc. You can search for entities and get factual information. Additionally, you may detect known entities from texts (often referred to as Named Entity Recognition).

View API Details
Detect
GETDetect Entities
Information
GETFind Quotes
GETDetect Entities

Detect entity mentions in a given text.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDThe text in which entities should be detected.
Code Snippet
unirest.get("https://webknox-entities.p.rapidapi.com/text/entities?text=This+text+mentions+Los+Angeles.")
.header("X-RapidAPI-Host", "webknox-entities.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-entities.p.rapidapi.com/text/entities
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-entities.p.rapidapi.com/text/entities?text=This+text+mentions+Los+Angeles.")
.header("X-RapidAPI-Host", "webknox-entities.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