FullContact
FullContact's migration page says it would sunset its legacy v2 Company API on 30 June 2022. If old code still calls it, a FoxAPIs get_company_snapshot call takes the same input, a company domain, and answers with a written company snapshot. The old call is rewritten below. This is a partial match: the answer is text with sources, not company fields, and we list no FullContact fields because its page names none.
Read 23 November 20261 sources linkedPOST /v1/get_company_reportWhere FoxAPIs wins
- You want a company lookup from code that does not depend on a retired endpoint.
- You want one company read for one decision, with source links and a section that says what was not checked.
- You want to pay per call by one-time top-up: a FoxAPIs top-up has no subscription, and credits you buy as a top-up never expire (credits that come with a plan roll over for 90 days).
Where FullContact wins
- You can move to FullContact's own newer company enrichment: its migration page is the vendor's stated path and keeps your data source the same.
- You need structured company fields such as industry codes or social profiles: the snapshot FoxAPIs returns is written text with sources, not those fields.
- You need the answer in FullContact's own response layout: this call returns FoxAPIs output, not FullContact's.
Who FullContact is for
Developers whose code calls FullContact's v2 company lookup by domain and who want a company read from a call that does not depend on that endpoint.
What FullContact says about v2
These are the statements FullContact's own migration page makes, with the page each comes from.
- The page says: "On 6/30/22, FullContact will be sunsetting its legacy V2 Company API." FullContact: v2 company domain lookup migrationread 23 November 2026
- The page says the response structure of the newer version is different from the v2 one, and it points readers to FullContact's Company Enrich documentation for details. FullContact: v2 company domain lookup migrationread 23 November 2026
- The page covers the v2 Company API only. It does not mention the v2 Person API. FullContact: v2 company domain lookup migrationread 23 November 2026
Read on 23 November 2026 from FullContact's page. We state only what the pages we link showed that day.
Migrating from FullContact v2 Company API
Ended 30 June 2022
- FullContact's migration page for the v2 company domain lookup says: "On 6/30/22, FullContact will be sunsetting its legacy V2 Company API." It also says the response structure of the newer version is different. FullContact: v2 company domain lookup migrationread 23 November 2026
- That page covers the v2 Company API only. It does not mention the v2 Person API, so this page makes no claim about the Person API. FullContact: v2 company domain lookup migrationread 23 November 2026
Company lookup by domain (v2) to get_company_snapshot
Target: POST /v1/get_company_snapshot. This call answers with a job id and the code below polls until the job is done. Pricing.
Request parameters, old to FoxAPIs
| Old parameter | FoxAPIs parameter | Note |
|---|---|---|
| domain | domain | copied |
| 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 generated code returns the FoxAPIs answer unchanged, so there is no response field table to show.
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()Drop-in JavaScript
import { pathToFileURL } from "node:url";
// 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.
const asResponse = (data, status = 200) => ({ ok: status < 400, status, data, json: async () => data, text: async () => JSON.stringify(data) });
async function waitForJob(jobId, headers) {
for (let i = 0; i < 90; i += 1) {
const res = await fetch("https://api.foxapis.com" + "/v1/jobs/" + encodeURIComponent(jobId), { headers });
if (!res.ok) throw new Error("FoxAPIs job poll answered " + res.status);
const job = await res.json();
if (job.status === "done") return job;
if (job.status === "failed" || job.status === "error") throw new Error("FoxAPIs job " + job.status);
await new Promise((r) => setTimeout(r, 2000));
}
throw new Error("FoxAPIs job did not finish in time; poll " + jobId + " again later");
}
export async function resurrectedCompanyLookup({ domain } = {}) {
if (!domain) throw new Error("domain is required by FoxAPIs: company website domain");
const key = process.env.FOXAPIS_KEY;
if (!key) throw new Error("Set FOXAPIS_KEY (free key: https://foxapis.com/trial)");
const headers = { Authorization: `Bearer ${key}`, "Content-Type": "application/json" };
const body = {};
if (domain) body.domain = domain;
const res = await fetch("https://api.foxapis.com/v1/get_company_snapshot", { method: "POST", headers, body: JSON.stringify(body) });
if (res.status === 401 || res.status === 403) throw new Error("FoxAPIs rejected the key (status " + res.status + ")");
if (res.status !== 202 && !res.ok) throw new Error("FoxAPIs answered " + res.status);
const first = await res.json();
const job = res.status === 202 ? await waitForJob(first.job_id, headers) : first;
return job.result ?? null;
}
if (process.argv[1] && import.meta.url === pathToFileURL(process.argv[1]).href) {
const arg = process.argv[2] ? JSON.parse(process.argv[2]) : {};
console.log(JSON.stringify(await resurrectedCompanyLookup(arg), null, 2));
}
Drop-in Python
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))
The code above was produced by running the old call through the scriptsold engine. It reads your key from the FOXAPIS_KEY environment variable. Create one in the box below; the welcome credits come first, and prices are on the pricing page. Using another API that shut down? Check it here.
How the two differ
FullContact's v2 company lookup took a domain. The migration section below maps it to get_company_snapshot, which also takes a domain and answers with the short version of a company report: written sections with source links, not a field list. The two differ in output, and this page does not compare it field by field because FullContact's page names no v2 response fields.
Field by field
FullContact's migration page names no v2 response fields, so we list none and make no claim about which ones we match or miss. The migration section below lists the request parameters. Compare the table of what get_company_report returns below with a response you already hold.
What a FoxAPIs call returns
POST /v1/get_company_report
Give it a company name and a decision angle (acquirer, lender or landlord, selling to them, reseller and franchise have published samples). It runs as a background job and returns a written report whose sections depend on the angle, with source links and a section on what the report could not cover. Costs 200 credits a call.
| Field | Real example (23 November 2026) |
|---|---|
| sections | a list of 21 |
| headline | Buying the whole company |
| quality_flags | a list of 20 |
curl -X POST https://api.foxapis.com/v1/get_company_report \
-H "Authorization: Bearer YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Duolingo","angle":"acquirer"}'Price at the costliest listed tier
| FullContact or FoxAPIs | Price |
|---|---|
| FullContact | We did not read a FullContact price for this call, so no FullContact dollar figure is shown. source |
| FoxAPIs /v1/get_company_report | $1.96 a call: 200 credits a call times the price per credit on the Builder plan, calculated by us. The welcome credits cover about 5 calls, no card. |
Dollar figures for FoxAPIs are computed from plans.json when this page is built; none is typed. We show a dollar figure for FullContact only where its own pages gave the numbers.
Start with 1,000 credits
Start with 1,000 credits, no card. They arrive once you confirm your email and expire 90 days after they are added; credits you buy never expire. Then from $10. Type your email and the key appears on this page, once, with the request below filled in.
By continuing you agree to the Terms and the Privacy page.
Key created. It is shown once: copy it now.
Move one call
Before: The v2 company lookup took a domain. Send the domain to get_company_snapshot as below; it answers with a job id and you poll for the result.
After: the same job on FoxAPIs. Replace YOUR_KEY with the key from the box above.
curl -X POST https://api.foxapis.com/v1/get_company_snapshot \n -H "Authorization: Bearer YOUR_KEY" \n -H "Content-Type: application/json" \n -d '{"domain":"stripe.com"}'The migration section above has drop-in JavaScript and Python that poll the job for you. The answer is a written snapshot, not FullContact fields.
Questions before you switch
Is the FullContact v2 Company API already off?
Its migration page gives 30 June 2022 as the sunset date for the v2 Company API. We did not call the old endpoint to test it.
Does this cover FullContact's Person API?
No. The migration page covers the v2 Company API and does not mention the Person API, so this page says nothing about it.
Does the call return the same fields?
No. The migration code calls get_company_snapshot, which answers with a written snapshot, not company fields. We list no FullContact fields because its page names none.
When to stay with FullContact
- You can move to FullContact's own newer company enrichment: its migration page is the vendor's stated path and keeps your data source the same.
- You need structured company fields such as industry codes or social profiles: the snapshot FoxAPIs returns is written text with sources, not those fields.
- You need the answer in FullContact's own response layout: this call returns FoxAPIs output, not FullContact's.
When a FoxAPIs call is the better fit
- You want a company lookup from code that does not depend on a retired endpoint.
- You want one company read for one decision, with source links and a section that says what was not checked.
- You want to pay per call by one-time top-up: a FoxAPIs top-up has no subscription, and credits you buy as a top-up never expire (credits that come with a plan roll over for 90 days).