Tagdef

FREE
By snokleby
Updated 4 months ago
Social
8.4/10
Popularity Score
239ms
Latency
50%
Success Rate

Tagdef API Documentation

Tagdef.com is the worlds largest hashtag dictionary. Use this api to access these definitions. The content is user-generated, and the directory currently contains over 60.000 definitions. The hashtags can have many definitions each, ordered by user-votes.

The hashtags are often related to Twitter , but is also commonly used on Pinterest and Google+ .

This API is free to use, but you must provide a clickable link back to the tagdef.com page for the given tag when using information from the API. This link can be found in the uri part of the reply.

View API Details
GETGet top definition
GETGet list of definitions
GETGet top definition

Returns the top definition for given hashtag. The top definition is calculated based on user votes, and weighed using an intern algorithm on Tagdef.com

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
hashtagSTRING
REQUIREDThe name of the hashtag
Code Snippet
unirest.get("https://tagdef.p.rapidapi.com/one.ff.json")
.header("X-RapidAPI-Host", "tagdef.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://tagdef.p.rapidapi.com/one.{hashtag}.json
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://tagdef.p.rapidapi.com/one.ff.json")
.header("X-RapidAPI-Host", "tagdef.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