TrustServista News Analytics

FREEMIUM
By georgezac
Updated 4 months ago
1.3/10
Popularity Score
1657ms
Latency
-
Success Rate

TrustServista News Analytics API Documentation

Unique News Search and Analytics capabilities: search in over 50,000 daily English-language news posts, content quality scoring and clickbait detection, URL links and semantic graph extraction, similar content detection, publisher statistics, geolocation tagging and more.

TrustServista is a software solution provided by Zetta Cloud (www.zettacloud.ro). Read more: www.trustservista.com

View API Details
News Analytics
POSTContent Quality
POSTGraph
POSTPatient Zero
POSTSearch
POSTSimilar
POSTStatistics
POSTContent Quality

Given an article URL or raw text, the endpoint will return a computed Content Quality score (TrustLevel) for the content. The TrustLevel is an aggregated score of all the trustworthiness metrics computed for the content: publisher meta-data, author type, context setting, sentiment analysis, clickbait probability score. Supported languages: English. Read more: https://www.trustservista.com/trustservista-api/trustlevel-api-call/

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
acceptSTRING
CONSTANT
Content-TypeSTRING
CONSTANT
Required Parameters
Content-TypeSTRING
REQUIRED - CONSTANT
acceptSTRING
REQUIRED - CONSTANT
Optional Parameters
contentSTRING
OPTIONALRaw text to be processed by the API call
contentUriSTRING
OPTIONALURL to be processed by the API call
Code Snippet
unirest.post("https://georgezac-trustservista-news-analytics-v1.p.rapidapi.com/trustlevele")
.header("X-RapidAPI-Host", "georgezac-trustservista-news-analytics-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("accept", "application/json")
.header("Content-Type", "application/json")
.header("Content-Type", "application/json")
.header("accept", "application/json")
.send("content=EMPTY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://georgezac-trustservista-news-analytics-v1.p.rapidapi.com/trustlevele
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://georgezac-trustservista-news-analytics-v1.p.rapidapi.com/trustlevele")
.header("X-RapidAPI-Host", "georgezac-trustservista-news-analytics-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("accept", "application/json")
.header("Content-Type", "application/json")
.header("Content-Type", "application/json")
.header("accept", "application/json")
.send("content=EMPTY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication