Partial replacement
The replacement does not give back everything the old call did. In the registry's own words:
- v1 people, companies and search: The old response layout was not checked, so the FoxAPIs answer is returned unchanged and no field table is claimed.
What ended and when
moved LinkedIn open APIs (v1 people and companies) moved into another product, no end date published.
Computerworld (12 February 2015) reports that from 12 May 2015 LinkedIn offered only a handful of APIs for general use, and that only companies in its partner program would have API access. This is an access restriction, not a shutdown, so it is shown as moved.
Source notice, read 2026-11-23.
Old call and revived code
v1 people, companies and search: GET /v1/people/~
The old call
- Method
- GET
- Host
api.linkedin.com- Path
/v1/people/~- Parameters
- none listed
paths as commonly called; the article names the program change, not the paths
Example call built from the registry
JavaScript
async function oldCall() {
const res = await fetch(`https://api.linkedin.com/v1/people/~`, { method: "GET" });
return res.json();
}
Python
def old_call():
response = requests.get(f"https://api.linkedin.com/v1/people/~")
return response.json()
curl
curl -X GET "https://api.linkedin.com/v1/people/~"
Revived code
Replaces the call with FoxAPIs POST /v1/enrich_person. 200 credits per call (catalog snapshot, FoxAPIs pricing page, read 2026-11-30). The key is read from the environment variable FOXAPIS_KEY.
FoxAPIs page for Enrich person
Your example call, rewritten in place
JavaScript
// RESURRECT: replaces the LinkedIn open APIs (v1 people and companies) "v1 people, companies and search" 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
// The old response layout was not checked, so the FoxAPIs answer 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");
}
async function resurrectedPeopleV1({ name, company, domain } = {}) {
if (!name) throw new Error("name is required by FoxAPIs: full name of the person (the old call used a member id or the signed-in member)");
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 (name) body.name = name;
if (company) body.company = company;
if (domain) body.domain = domain;
const res = await fetch("https://api.foxapis.com/v1/enrich_person", { 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.ok) throw new Error("FoxAPIs answered " + res.status);
const data = await res.json();
return data;
}
async function oldCall() {
// RESURRECT: FoxAPIs call (LinkedIn open APIs (v1 people and companies) v1 people, companies and search). The value is shaped like a fetch or axios response: .ok, .status, .data and await .json() work.
const _resurrected_1 = await resurrectedPeopleV1({
name: undefined, // TODO: full name of the person (the old call used a member id or the signed-in member)
});
const res = _resurrected_1 !== null ? asResponse(_resurrected_1) : asResponse({ detail: "No match found by FoxAPIs" }, 404);
return res.json();
}
Python
import json
import os
import re
import time
import urllib.error
import urllib.request
# RESURRECT: replaces the LinkedIn open APIs (v1 people and companies) "v1 people, companies and search" 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
# The old response layout was not checked, so the FoxAPIs answer 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 resurrected_people_v1(name=None, company=None, domain=None):
if not name:
raise ValueError("name is required by FoxAPIs: full name of the person (the old call used a member id or the signed-in member)")
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
def old_call():
_resurrected_1 = resurrected_people_v1(
name=None, # TODO: full name of the person (the old call used a member id or the signed-in member)
)
response = ResurrectedResponse(_resurrected_1, 200) if _resurrected_1 is not None else ResurrectedResponse({"detail": "No match found by FoxAPIs"}, 404)
return response.json()
curl
# RESURRECT: replaces the LinkedIn open APIs (v1 people and companies) "v1 people, companies and search" 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
curl -X POST https://api.foxapis.com/v1/enrich_person \
-H "Authorization: Bearer $FOXAPIS_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"TODO: full name of the person (the old call used a member id or the signed-in member)"}'
Standalone code
JavaScript
import { pathToFileURL } from "node:url";
// RESURRECT: replaces the LinkedIn open APIs (v1 people and companies) "v1 people, companies and search" 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
// The old response layout was not checked, so the FoxAPIs answer 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) });
export async function resurrectedPeopleV1({ name, company, domain } = {}) {
if (!name) throw new Error("name is required by FoxAPIs: full name of the person (the old call used a member id or the signed-in member)");
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 (name) body.name = name;
if (company) body.company = company;
if (domain) body.domain = domain;
const res = await fetch("https://api.foxapis.com/v1/enrich_person", { 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.ok) throw new Error("FoxAPIs answered " + res.status);
const data = await res.json();
return data;
}
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 resurrectedPeopleV1(arg), null, 2));
}
Python
import json
import os
import re
import time
import urllib.error
import urllib.request
# RESURRECT: replaces the LinkedIn open APIs (v1 people and companies) "v1 people, companies and search" 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
# The old response layout was not checked, so the FoxAPIs answer 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 resurrected_people_v1(name=None, company=None, domain=None):
if not name:
raise ValueError("name is required by FoxAPIs: full name of the person (the old call used a member id or the signed-in member)")
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_people_v1(**arg), indent=2))
Notes from the rewrite engine
- LinkedIn open APIs (v1 people and companies) v1 people, companies and search: The old response layout was not checked, so the FoxAPIs answer is returned unchanged and no field table is claimed.
- LinkedIn open APIs (v1 people and companies): moved into another product (no end date published).
- LinkedIn open APIs (v1 people and companies) v1 people, companies and search: FoxAPIs needs name; the old call did not have it, so a TODO placeholder was inserted. full name of the person (the old call used a member id or the signed-in member).
Fields that come back, and fields that do not
v1 people, companies and search
The old response layout was not checked, so the FoxAPIs answer is returned unchanged and no field table is claimed.
Compat route: Mapped, but no compat route has been built.
Try it
There is no sample button on this page, because no compat route with a recorded sample exists for it.
- v1 people, companies and search: Mapped, but no compat route has been built.