Home · Dead APIs · Clearbit Enrichment

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

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 parameterNewNote
email(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 parameterNewNote
domaindomaincopied

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 fieldFoxAPIsNote
nameWe do not return itnot claimed: a similar field (subject_name) appears in a FoxAPIs company report sample, but no snapshot sample was captured to confirm it
domainWe do not return itFoxAPIs does not return a domain field; use the one you sent
legalNameWe do not return itno equivalent field
descriptionWe do not return itthe snapshot has written sections, not one description field
foundedYearWe do not return itno equivalent field
category (sector, industry)We do not return itno equivalent field
metrics (employees, raised, revenue)We do not return itno equivalent field; figures appear only inside written sections
location, geoWe do not return itno equivalent field
logoWe do not return itno equivalent field
linkedin, twitter, facebook, crunchbase handlesWe do not return itno equivalent field on the company call
tech, tagsWe do not return itno 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 fieldNew fieldNote
domaindomaincopied

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 fieldNew fieldNote
email(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.

Since Clearbit's site points to HubSpot, you can follow what HubSpot ships in the HubSpot changelog, release by release.