RapidAPI logo

Sign Up

Log In

Keywords Extraction

FREEMIUM
By UnFound
Updated 3 months ago
8.2/10
Popularity Score
1365ms
Latency
100%
Success Rate

Keywords Extraction API Documentation

This API uses advanced Natural Language Processing techniques to extract the most important 'Keywords' and 'Phrases' from the text or URL that you provide. You can use this API to extract entities such as names of important People, Organizations, Places, and even Concepts, Sub-topics, etc. It can take any type of text as input and will perform best on URLs corresponding to news, blog, content, etc. It can also take MULTIPLE text or URLs as input and you can specify the number of keywords that need to be extracted.

View API Details
POSTKeyword Extraction Endpoint
POSTKeyword Extraction Endpoint

This endpoint extracts the top N keywords and phrases from the text(s) or URL(s) that you send.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Input FormatJSON_STRING
REQUIRED1) input_type = "url" or "text", 2) input_data = ["list of text or url strings"], 3) N = number of keywords required
Request Snippet
unirest.post("https://unfound-keywords-extraction-v1.p.rapidapi.com/extraction/keywords")
.header("X-RapidAPI-Host", "unfound-keywords-extraction-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"input_data":["https://en.wikipedia.org/wiki/Donald_Trump","https://en.wikipedia.org/wiki/Hillary_Clinton"],"input_type":"url","N":10})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

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.post("https://unfound-keywords-extraction-v1.p.rapidapi.com/extraction/keywords")
.header("X-RapidAPI-Host", "unfound-keywords-extraction-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"input_data":["https://en.wikipedia.org/wiki/Donald_Trump","https://en.wikipedia.org/wiki/Hillary_Clinton"],"input_type":"url","N":10})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication