RapidAPI logo

Sign Up

Log In

Text Analysis

FREEMIUM
By aylien
Updated 3 months ago
Media
9.3/10
Popularity Score
604ms
Latency
98%
Success Rate

Text Analysis API Documentation

AYLIEN Text API is a package of Natural Language Processing, Information Retrieval and Machine Learning tools that allow developers to extract meaning and insights from documents with ease.

View API Details
GETArticle Extraction
GETSummarization
POSTBatch Submit
GETClassification
GETConcept Extraction
GETHashtag Suggestion
GETEntity Extraction
GETLanguage Detection
GETBatch Status
GETSentiment Analysis
GETRelated
GETMicroformats
GETArticle Extraction

Extracts the main body of article, including embedded media such as images & videos from an URL and removes all the surrounding clutter.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIRED
Optional Parameters
best_imageBOOLEAN
OPTIONALExtract the best image of the article
Request Snippet
unirest.get("https://aylien-text.p.rapidapi.com/extract?url=http%3A%2F%2Ftechcrunch.com%2F2014%2F02%2F27%2Faylien-launches-text-analysis-api-to-help-developers-extract-meaning-from-documents%2F")
.header("X-RapidAPI-Host", "aylien-text.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.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.get("https://aylien-text.p.rapidapi.com/extract?url=http%3A%2F%2Ftechcrunch.com%2F2014%2F02%2F27%2Faylien-launches-text-analysis-api-to-help-developers-extract-meaning-from-documents%2F")
.header("X-RapidAPI-Host", "aylien-text.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