Sign Up

Log In


By apicloud
Updated 4 months ago
Popularity Score
Success Rate

ColorTag API Documentation

ColorTag is a powerful API for color detection. Taking an image file (or URL) as input ColorTag produces a list of text labels and hex RGB values that can be then used as tags for a certain image or item. Check out visual demo here: The API can sort tags by relevance (detecting colors of objects on the image, e.g. a dress, a car, etc.) or simply by weight in the image. First mode is perfect for e-commerce applications, allowing to automatically tag items with colors by simply providing a photo or a thumbnail and build a color tag cloud, so users are able to search items by color (e.g. red). Weight sorting mode can be useful for photos, wallpapers or other images without well-defined objects on them to analyze the palette in general. Text color labels can be assigned with different precision (just basic colors, W3C-compatible colors, precise colors, etc.).
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

POSTTag Image File
GETTag Image URL
POSTTag Image File

Returns a JSON object that contains color tags for the uploaded image (visual demo:

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
Required Parameters
REQUIREDImage you want to analyze as uploaded file. For supported image files and limitations please refer to the documentation:
Optional Parameters
OPTIONALThe palette used for color tag generation. Default is 'simple'. For supported palettes and colors please refer to the documentation:
OPTIONALDefines how to sort colors. There are 2 modes: relevance (default) and weight. 'relevance' is best for determining colors of an object, while 'weight' can be used to analyze the overall image colors. Default is 'relevance'. For more information please refer to the documentation:
Request Snippet"")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
Sample Response


Log inSign up

Install SDK for NodeJS


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"")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard