Text Summarization

FREEMIUM
By textanalysis
Updated 5 months ago
Data
9.2/10
Popularity Score
5017ms
Latency
32%
Success Rate

Text Summarization API Documentation

Text Summarization API provides professional text summarizer service which is based on advanced Natural Language Processing and Machine Learning technologies. It can be used to summarize short important text from the URL or document that user provided. If you want test our automatic text summarization service, you can use our free automaticText Summarizer online demo: http://textsummarization.net/text-summarizer

View API Details
POSTText Summarization
POSTText Summarization for URL
POSTText Summarization for Text
POSTText Summarization

Automatic Text Summarization API, you can test details summarized result on our text summarizer online demo: http://textsummarization.net/text-summarizer , and you can find the details document on our website: http://textsummarization.net/text-summarization-api-document

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
JsonRequestJSON_STRING
REQUIREDText Summarization json request format
Code Snippet
unirest.post("https://textanalysis-text-summarization.p.rapidapi.com/text-summarizer")
.header("X-RapidAPI-Host", "textanalysis-text-summarization.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"url":"http://en.wikipedia.org/wiki/Automatic_summarization","text":"","sentnum":8})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://textanalysis-text-summarization.p.rapidapi.com/text-summarizer
Request Method: POST
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.post("https://textanalysis-text-summarization.p.rapidapi.com/text-summarizer")
.header("X-RapidAPI-Host", "textanalysis-text-summarization.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"url":"http://en.wikipedia.org/wiki/Automatic_summarization","text":"","sentnum":8})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication