RapidAPI logo

Sign Up

Log In

Adaptive Text Summarization

FREEMIUM
By UnFound
Updated 3 months ago
7.8/10
Popularity Score
5379ms
Latency
81%
Success Rate

Adaptive Text Summarization API Documentation

Our new approach to summarization won't miss any important details from your text.

--

View API Details
POSTSummarization
POSTSummarization

Endpoint to summarize any input Text or URL according to the requested summarization method and degree of compactness.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Input FormatJSON_STRING
REQUIRED1) input_type = "url" or "text" 2) input_data="insert actual url or text" 3) summary_type= "general_summary" or "news_summary" or "gist_summary" 4) "N"=number of sentences of summary required
Request Snippet
unirest.post("https://unfound-text-summarization-v1.p.rapidapi.com/summarization")
.header("X-RapidAPI-Host", "unfound-text-summarization-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"input_data":"https://www.tesla.com/elon-musk","input_type":"url","summary_type":"general_summary","N":3})
.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-text-summarization-v1.p.rapidapi.com/summarization")
.header("X-RapidAPI-Host", "unfound-text-summarization-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"input_data":"https://www.tesla.com/elon-musk","input_type":"url","summary_type":"general_summary","N":3})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication