Home · Dead APIs · FullContact v2 Company API

FullContact v2 Company API: shut down

FullContact's migration page says that on 30 June 2022 it would sunset its legacy v2 Company API. The v2 Person API is not covered: the page gives no sunset date for it.

Status: Shut down, ended 30 June 2022.
Source: docs.fullcontact.com, read 26 November 2026.

Of the 1 call we list for FullContact v2 Company API, a FoxAPIs call can take over it, with the limits written below.

What the source says

FullContact's migration page says the legacy V2 Company API, where you sent a company's domain and got back company details such as contact information, industry codes, profile data and social profiles, was to be sunset on 30 June 2022.

The page walks through the differences. The address changes from v2/company/lookup to v3/company.enrich. The newer service needs a new key, which the page says works across its newer APIs. The key now goes in the Authorization header after the word Bearer and a space; before, it could go in the query string or in the X-FullContact-APIKey header. Requests are POST instead of GET, and what used to be query parameters is sent as keys in a JSON body. Answers are JSON only, and their layout is different, so code that reads fields by name has to be changed as well as code that sends the request.

What fullcontact.com names as the way forward

This is the vendor's own successor, not a FoxAPIs product; we have not tested it.

Migrating from FullContact v2 Company API

Company lookup by domain (v2) to get_company_snapshot

Before: Your old FullContact v2 company lookup (Python)

import os
import requests

API_KEY = os.environ["FULLCONTACT_API_KEY"]

def company_lookup(domain):
    response = requests.get(
        "https://api.fullcontact.com/v2/company/lookup.json",
        params={"domain": domain},
        headers={"X-FullContact-APIKey": API_KEY},
    )
    return response.json()

After: POST /v1/get_company_snapshot

import json
import os
import re
import time
import urllib.error
import urllib.request

# RESURRECT: replaces the FullContact v2 Company API "Company lookup by domain" call (ended 2022-06-30). 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 company snapshot (async: 202, then poll), not FullContact company fields. It is returned unchanged and no field table is claimed.


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_lookup(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_lookup(**arg), indent=2))
Old parameterNewNote
domaindomaincopied
X-FullContact-APIKey header(dropped)replaced by your FoxAPIs key in FOXAPIS_KEY

PARTIAL. get_company_snapshot answers with a written company snapshot (async: 202, then poll), not FullContact company fields. The generated code returns that snapshot unchanged, so no response field table is shown: FullContact's page names no v2 response fields, and we captured no sample of the snapshot to list its fields from.

The calls, one by one

Company lookup by domain

Old call: GET /v2/company/lookup, 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 company snapshot (async: 202, then poll), not FullContact company fields. It is returned unchanged and no field table is claimed.

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

Find it in your code

Search for api.fullcontact.com:

grep -rnE "api\.fullcontact\.com" .

FullContact v2 Company API 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. FullContact v2 Company API belongs to its owner; FoxAPIs is not affiliated with it. All entries.