RapidAPI logo

TopicAPI

FREEMIUM
By dmitrykey
Updated 15 days ago
Text Analysis
-/10
Popularity Score
-
Latency
-
Success Rate

TopicAPI API Documentation

The system for realtime topical grouping of social media and news content.

View API Details
GETRussian topics
POSTIndex articles to Russian index
GET/articles/ru/cluster
GETGerman topics for date range
GETGerman topics for a resource
POSTIndex articles to German index
GETRussian topics

Example for Russian (query parameter is optional)

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
enddateSTRING
REQUIRED
langSTRING
REQUIRED
resourceidSTRING
REQUIRED
startdateSTRING
REQUIRED
Code Snippet
unirest.get("https://dmitrykey-insiderapi-v1.p.rapidapi.com/articles/ru/cluster?enddate=2018-12-30&lang=ru&resourceid=runet&startdate=2018-12-01")
.header("X-RapidAPI-Host", "dmitrykey-insiderapi-v1.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://dmitrykey-insiderapi-v1.p.rapidapi.com/articles/ru/cluster
Request Method: GET
Response Headers
Response Body
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://dmitrykey-insiderapi-v1.p.rapidapi.com/articles/ru/cluster?enddate=2018-12-30&lang=ru&resourceid=runet&startdate=2018-12-01")
.header("X-RapidAPI-Host", "dmitrykey-insiderapi-v1.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