RapidAPI logo

Clearbit

FREE
By mikilior1
Updated 4 months ago
Business Software
7/10
Popularity Score
226ms
Latency
100%
Success Rate

Clearbit API Documentation

Retrieve company logos, employees and information.

View API Details
POSTautocompleteCompany
POSTfindCompany
POSTfindCompanyLogo
POSTfindInfoByEmail
POSTfindPerson
POSTflagCompanyInfoAsIncorrect
POSTflagPersonInfoAsIncorrect
POSTsubscribeToPersonInfoUpdates
POSTfindCompanyLogo

Returns link to company logo

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
domainSTRING
REQUIREDThe domain of the company.
Optional Parameters
sizeNUMBER
OPTIONALImage size: length of longest side in pixels (default is 128)
formatSELECT
OPTIONALImage format, either "png" or "jpg" (defaults to png)
greyscaleBOOLEAN
OPTIONALDesaturates image if passed (defaults to false)
Code Snippet
unirest.post("https://Clearbitmikilior1V1.p.rapidapi.com/findCompanyLogo")
.header("X-RapidAPI-Host", "Clearbitmikilior1V1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://Clearbitmikilior1V1.p.rapidapi.com/findCompanyLogo
Request Method: POST
Response Headers
Response Body
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://Clearbitmikilior1V1.p.rapidapi.com/findCompanyLogo")
.header("X-RapidAPI-Host", "Clearbitmikilior1V1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.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