RapidAPI logo

Article Data Extraction and Text Mining

FREEMIUM
By lexper
Updated a month ago
Media
8.6/10
Popularity Score
11164ms
Latency
82%
Success Rate

Article Data Extraction and Text Mining API Documentation

Lexper provides tools for content extraction and text analysis and classification.

View API Details
GET/v1.1/extract
POST/v1.1/lang-detect
POST/v1.1/ner
GET/v1.1/extract

Article Extraction Endpoint

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDURL
Optional Parameters
mediaSTRING
OPTIONALextract media
Code Snippet
unirest.get("https://lexper.p.rapidapi.com/v1.1/extract?media=1&url=https%3A%2F%2Fmedium.com%2Fpersonal-growth%2Fhow-to-be-yourself-2221085391a3")
.header("X-RapidAPI-Host", "lexper.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://lexper.p.rapidapi.com/v1.1/extract
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://lexper.p.rapidapi.com/v1.1/extract?media=1&url=https%3A%2F%2Fmedium.com%2Fpersonal-growth%2Fhow-to-be-yourself-2221085391a3")
.header("X-RapidAPI-Host", "lexper.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