RapidAPI logo

Sign Up

Log In

WikiSynonyms

FREE
By ipeirotis
Updated 3 months ago
Other
8.4/10
Popularity Score
184ms
Latency
88%
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
Request 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
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://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