Clearbit Enrichment: moved or restricted
Clearbit's home page says it has joined HubSpot, and its blog describes the replacement as enrichment inside HubSpot. No end date was published for the standalone enrichment API, so it is shown as moved, not as shut down.
Status: Moved or restricted, no end date published.
Source: clearbit.com, read 22 November 2026.
Of the 2 calls we list for Clearbit Enrichment, a FoxAPIs call can take over all of them, with the limits written below.
Migrating from Clearbit
- Clearbit's home page says "Clearbit has joined HubSpot!" The page gives no date for that. We found no end date for the standalone enrichment API on the pages we read, so we call it moved, not shut down. If your calls still work, nothing here asks you to move. Clearbit home page
Person lookup to enrich_person
Before: Your old Clearbit person lookup (JavaScript)
const KEY = process.env.CLEARBIT_KEY;
export async function enrichPerson(email) {
const res = await fetch(`https://person.clearbit.com/v2/people/find?email=${email}`, {
headers: { Authorization: `Bearer ${KEY}` },
});
return res.ok ? res.json() : null;
}After: POST /v1/enrich_person
import json
import os
import re
import time
import urllib.error
import urllib.request
# RESURRECT: replaces the Clearbit Enrichment "Person enrichment (by email)" call (moved into another product, no end date published). It now calls FoxAPIs POST /v1/enrich_person.
# Needs FOXAPIS_KEY in the environment. A free key: https://foxapis.com/trial
# Clearbit's field reference could not be read, so no field table is claimed. The FoxAPIs answer is returned unchanged.
class ResurrectedResponse:
"""Looks like a requests response: .json(), .status_code, .ok, .text, .raise_for_status()."""
def __init__(self, data, status_code=200):
self._data = data
self.status_code = status_code
self.ok = status_code < 400
self.text = json.dumps(data)
def json(self):
return self._data
def raise_for_status(self):
if not self.ok:
raise RuntimeError("FoxAPIs answered %s" % self.status_code)
def _foxapis(method, path, headers, body=None):
data = json.dumps(body).encode() if body is not None else None
req = urllib.request.Request("https://api.foxapis.com" + path, data=data, method=method, headers=headers)
try:
with urllib.request.urlopen(req, timeout=120) as r:
raw = r.read().decode() or "null"
return r.status, json.loads(raw)
except urllib.error.HTTPError as e:
return e.code, None
def resurrected_person_find(name=None, company=None, domain=None):
if not name:
raise ValueError("name is required by FoxAPIs: full name of the person (the old call only had an email address)")
key = os.environ.get("FOXAPIS_KEY")
if not key:
raise RuntimeError("Set FOXAPIS_KEY (free key: https://foxapis.com/trial)")
headers = {"Authorization": "Bearer " + key, "Content-Type": "application/json", "User-Agent": "resurrect/0.1"}
body = {}
if name:
body["name"] = name
if company:
body["company"] = company
if domain:
body["domain"] = domain
status, data = _foxapis("POST", "/v1/enrich_person", headers, body)
if status in (401, 403):
raise RuntimeError("FoxAPIs rejected the key (status %s)" % status)
if status >= 400:
raise RuntimeError("FoxAPIs answered %s" % status)
return data
if __name__ == "__main__":
import sys
arg = json.loads(sys.argv[1]) if len(sys.argv) > 1 else {}
print(json.dumps(resurrected_person_find(**arg), indent=2))
| Old parameter | New | Note |
|---|---|---|
| (dropped) | FoxAPIs enrich_person does not look people up by email. NOT a drop-in: you must supply a name. |
Clearbit's field reference could not be read, so no field table is claimed. The FoxAPIs answer is returned unchanged.
Company lookup by domain to get_company_snapshot
Before: Your old Clearbit company lookup (JavaScript)
// Company enrichment from a website domain, as many apps wrote it.
const CLEARBIT_KEY = process.env.CLEARBIT_KEY;
export async function enrichCompany(domain) {
const res = await fetch(`https://company.clearbit.com/v2/companies/find?domain=${domain}`, {
headers: { Authorization: `Bearer ${CLEARBIT_KEY}` },
});
if (!res.ok) return null;
const company = await res.json();
return { name: company.name, sector: company.category && company.category.sector };
}After: POST /v1/get_company_snapshot
import json
import os
import re
import time
import urllib.error
import urllib.request
# RESURRECT: replaces the Clearbit Enrichment "Company enrichment (by domain)" call (moved into another product, no end date published). It now calls FoxAPIs POST /v1/get_company_snapshot.
# Needs FOXAPIS_KEY in the environment. A free key: https://foxapis.com/trial
# PARTIAL. get_company_snapshot answers with a written due-diligence snapshot (async: 202, then poll), not company fields. The generated code returns that snapshot unchanged. Almost no old field can be filled; the table says which.
class ResurrectedResponse:
"""Looks like a requests response: .json(), .status_code, .ok, .text, .raise_for_status()."""
def __init__(self, data, status_code=200):
self._data = data
self.status_code = status_code
self.ok = status_code < 400
self.text = json.dumps(data)
def json(self):
return self._data
def raise_for_status(self):
if not self.ok:
raise RuntimeError("FoxAPIs answered %s" % self.status_code)
def _foxapis(method, path, headers, body=None):
data = json.dumps(body).encode() if body is not None else None
req = urllib.request.Request("https://api.foxapis.com" + path, data=data, method=method, headers=headers)
try:
with urllib.request.urlopen(req, timeout=120) as r:
raw = r.read().decode() or "null"
return r.status, json.loads(raw)
except urllib.error.HTTPError as e:
return e.code, None
def _wait_for_job(job_id, headers):
for _ in range(90):
status, job = _foxapis("GET", "/v1/jobs/" + job_id, headers)
if status >= 400:
raise RuntimeError("FoxAPIs job poll answered %s" % status)
if job.get("status") == "done":
return job
if job.get("status") in ("failed", "error"):
raise RuntimeError("FoxAPIs job " + job["status"])
time.sleep(2)
raise RuntimeError("FoxAPIs job did not finish in time; poll " + job_id + " again later")
def resurrected_company_find(domain=None):
if not domain:
raise ValueError("domain is required by FoxAPIs: company website domain")
key = os.environ.get("FOXAPIS_KEY")
if not key:
raise RuntimeError("Set FOXAPIS_KEY (free key: https://foxapis.com/trial)")
headers = {"Authorization": "Bearer " + key, "Content-Type": "application/json", "User-Agent": "resurrect/0.1"}
body = {}
if domain:
body["domain"] = domain
status, data = _foxapis("POST", "/v1/get_company_snapshot", headers, body)
if status in (401, 403):
raise RuntimeError("FoxAPIs rejected the key (status %s)" % status)
if status not in (200, 202):
raise RuntimeError("FoxAPIs answered %s" % status)
job = _wait_for_job(data["job_id"], headers) if status == 202 else data
return job.get("result")
if __name__ == "__main__":
import sys
arg = json.loads(sys.argv[1]) if len(sys.argv) > 1 else {}
print(json.dumps(resurrected_company_find(**arg), indent=2))
| Old parameter | New | Note |
|---|---|---|
| domain | domain | copied |
PARTIAL. get_company_snapshot answers with a written due-diligence snapshot (async: 202, then poll), not company fields. The generated code returns that snapshot unchanged. Almost no old field can be filled; the table says which.
| Old response field | FoxAPIs | Note |
|---|---|---|
| name | We do not return it | not claimed: a similar field (subject_name) appears in a FoxAPIs company report sample, but no snapshot sample was captured to confirm it |
| domain | We do not return it | FoxAPIs does not return a domain field; use the one you sent |
| legalName | We do not return it | no equivalent field |
| description | We do not return it | the snapshot has written sections, not one description field |
| foundedYear | We do not return it | no equivalent field |
| category (sector, industry) | We do not return it | no equivalent field |
| metrics (employees, raised, revenue) | We do not return it | no equivalent field; figures appear only inside written sections |
| location, geo | We do not return it | no equivalent field |
| logo | We do not return it | no equivalent field |
| linkedin, twitter, facebook, crunchbase handles | We do not return it | no equivalent field on the company call |
| tech, tags | We do not return it | no equivalent field |
The calls, one by one
Company enrichment (by domain)
Old call: GET /v2/companies/find, with domain.
FoxAPIs call that can take over: /v1/get_company_snapshot. It answers with a job id that you poll. PARTIAL. get_company_snapshot answers with a written due-diligence snapshot (async: 202, then poll), not company fields. The generated code returns that snapshot unchanged. Almost no old field can be filled; the table says which.
curl -X POST https://api.foxapis.com/v1/get_company_snapshot \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"domain":"<company website domain>"}'| Old field | New field | Note |
|---|---|---|
| domain | domain | copied |
Person enrichment (by email)
Old call: GET /v2/people/find, with email.
FoxAPIs call that can take over: /v1/enrich_person. Clearbit's field reference could not be read, so no field table is claimed. The FoxAPIs answer is returned unchanged.
curl -X POST https://api.foxapis.com/v1/enrich_person \
-H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
-d '{"name":"<full name of the person (the old call only had an email address)>","company":"<employer, narrows the match (optional)>","domain":"<employer website domain, narrows the match (optional)>"}'| Old field | New field | Note |
|---|---|---|
| (dropped) | FoxAPIs enrich_person does not look people up by email. NOT a drop-in: you must supply a name. |
Find it in your code
Search for company.clearbit.com, person.clearbit.com:
grep -rnE "company\.clearbit\.com|person\.clearbit\.com" .
Also look for imports of its library; these patterns match them: from\s+clearbit, import\s+clearbit, require\(['"]clearbit['"]\), from\s+['"]clearbit['"].
Clearbit Enrichment alternative: the comparison page
We checked FoxAPIs only for replacements; other suppliers may cover what we do not. Read the source before you act, and write to [email protected] if something here is out of date. Clearbit Enrichment belongs to its owner; FoxAPIs is not affiliated with it. All entries.