Sign Up

Log In

Word Cloud

FREEMIUM
By Textvis
Updated 2 months ago
5/10
Popularity Score
796ms
Latency
53%
Success Rate

Word Cloud API Documentation

Generate great looking word clouds from text. Customize size, color and more.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTText to Word Cloud
POSTText to Word Cloud
Authorization:

Authentication

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
x-api-keySTRING
OPTIONAL
Required Parameters
textSTRING
REQUIRED
scalingNUMBER
REQUIREDScaling factor between 0-1, which determines the size of the word cloud.
widthNUMBER
REQUIREDWidth of the image, in pixels. Should be an integer below 2000.
heightNUMBER
REQUIREDHeight of the image in pixels. Should be an integer below 2000.
textSTRING
REQUIREDThe text you want to create a word cloud out of.
Word Cloud POST JSONJSON_STRING
REQUIRED
Optional Parameters
max_wordsNUMBER
OPTIONALMax amount of words the word cloud should contain. Should be an integer below 1000.
fontSTRING
OPTIONALThe text font you want to use. Any web safe font is available.
languageSTRING
OPTIONALThe language of the text. Described in ISO 639-1 standard. The language is used to determine which stopwords to use.
colorsSTRING
OPTIONALText color for the words. An array containing HEX color codes.
use_stopwordsBOOLEAN
OPTIONALSet to true if you want to exclude stopwords, common words that are probably not specific to the text in question
Request Snippet
unirest.post("https://textvis-word-cloud-v1.p.rapidapi.com/v1/textToCloud?max_words=undefined&font=undefined&language=undefined&colors=undefined&use_stopwords=undefined&scaling=<required>&width=<required>&height=<required>&text=<required>")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("x-api-key", "undefined")
.header("Content-Type", "application/json")
.send("text=<required>")
.send({"text":"This is a test. I repeat, this is a test. We are only testing the functionality of this api, nothing else. End of test.","scale":0.5,"width":800,"height":800,"colors":["#375E97","#FB6542","#FFBB00","#3F681C"],"font":"Tahoma","use_stopwords":true,"language":"en","uppercase":false})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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.post("https://textvis-word-cloud-v1.p.rapidapi.com/v1/textToCloud?max_words=undefined&font=undefined&language=undefined&colors=undefined&use_stopwords=undefined&scaling=<required>&width=<required>&height=<required>&text=<required>")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("x-api-key", "undefined")
.header("Content-Type", "application/json")
.send("text=<required>")
.send({"text":"This is a test. I repeat, this is a test. We are only testing the functionality of this api, nothing else. End of test.","scale":0.5,"width":800,"height":800,"colors":["#375E97","#FB6542","#FFBB00","#3F681C"],"font":"Tahoma","use_stopwords":true,"language":"en","uppercase":false})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard