WikiSynonyms

FREE
By ipeirotis
Updated 5 months ago
Other
8.6/10
Popularity Score
58565ms
Latency
2%
Success Rate

WikiSynonyms API Documentation

This is a term synonym discovery service that exploits that structure of Wikipedia redirects to discover almost-equivalent terms. You can try terms like C++, or Hillary Clinton, or Mihapjungguk to see some of the results.

View API Details
Synonyms
GETSynonyms
GETSynonyms

Search for synonyms for a given term or phrase

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
termSTRING
REQUIRED
Code Snippet
unirest.get("https://wikisynonyms.p.rapidapi.com/cplusplus")
.header("X-RapidAPI-Host", "wikisynonyms.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://wikisynonyms.p.rapidapi.com/{term}
Request Method: GET
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.get("https://wikisynonyms.p.rapidapi.com/cplusplus")
.header("X-RapidAPI-Host", "wikisynonyms.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