Paid checkout is currently closed. Prices below are listed for reference; request an opening notification in your billing dashboard.
You have LinkedIn company URLs and need the firmographics in your app, a spreadsheet or a CRM. Here's how to turn each company page into clean JSON with one API call, then into a CSV, an Excel file or a Google Sheet, without using a LinkedIn login.
Each company comes back with its ID and slug, name, industry, staff count and staff range, company type, founding year, website, headquarters city and region, country, follower count, tagline, description, specialties and office locations. Fields the company left empty are null, never guessed. A real response, trimmed:
{
"status": "done",
"found": true,
"credits_charged": 1,
"kind": "company",
"company": {
"company_id": 1035,
"slug": "microsoft",
"name": "Microsoft",
"industry": "Software Development",
"staff_count": 231133,
"staff_count_range": "10001+",
"company_type": "Public Company",
"website_url": "https://news.microsoft.com/",
"hq_city": "Redmond",
"hq_region": "Washington",
"country_code": "US",
"follower_count": 29435657,
"specialties": ["Business Software", "Developer Tools", "..."],
"locations": [{"city": "Redmond", "country": "US", "...": "..."}],
"description": "Every company has a mission. What's ours? ...",
"...": "..."
}
}Send the company URL, its slug (microsoft) or the numeric ID with your API key:
curl -X POST https://enrichgrid.com/v1/enrich/company \
-H "x-api-key: YOUR_API_KEY" \
-H "content-type: application/json" \
-d '{"identifier": "https://www.linkedin.com/company/microsoft"}'The answer comes back in the same request, usually within a few seconds. Get a key from your dashboard; schools work the same way at /v1/enrich/school.
Put one company URL per line in companies.txt, set ENRICHGRID_KEY, and run:
import csv, os, time, requests
API = "https://enrichgrid.com/v1"
H = {"x-api-key": os.environ["ENRICHGRID_KEY"]}
FIELDS = ["name", "industry", "staff_count", "staff_count_range", "company_type", "founded_year",
"website_url", "hq_city", "hq_region", "country_code", "follower_count", "specialties"]
def company(url):
for _ in range(5):
r = requests.post(f"{API}/enrich/company", headers=H, json={"identifier": url}, timeout=120)
if r.status_code in (429, 503): # too fast or busy: wait and retry
time.sleep(float(r.headers.get("Retry-After", 2)))
continue
r.raise_for_status() # 401 bad key, 402 out of credits
data = r.json()
return data["company"] if data.get("found") else None # not found = no charge
return None
def cell(value):
return "; ".join(map(str, value)) if isinstance(value, list) else ("" if value is None else value)
urls = [line.strip() for line in open("companies.txt", encoding="utf-8") if line.strip()]
with open("companies.csv", "w", newline="", encoding="utf-8-sig") as f: # utf-8-sig: opens cleanly in Excel
out = csv.writer(f)
out.writerow(["linkedin_url", "found", *FIELDS])
for url in urls:
c = company(url) or {}
out.writerow([url, bool(c), *(cell(c.get(k)) for k in FIELDS)])The file opens directly in Excel or Google Sheets. List fields such as specialties are joined with semicolons. Free accounts can send 2 requests a second and paid plans 5 to 50; a 429 just means wait and retry, as the loop does.
ENRICHGRID_KEY and save.=ENRICHGRID_COMPANY(A2) in B2: it fills name, industry, size range, website, HQ city and country across six cells.=ENRICHGRID_COMPANY(A2, "staff_count").const ENRICHGRID_KEY = "YOUR_API_KEY";
/**
* Company data from a LinkedIn company URL, slug or ID.
* @param {string} url LinkedIn company URL, slug or numeric ID
* @param {string} field optional single field, e.g. "staff_count"
* @customfunction
*/
function ENRICHGRID_COMPANY(url, field) {
if (!url) return "";
const cache = CacheService.getScriptCache();
const key = "egc:" + url;
let data = cache.get(key) ? JSON.parse(cache.get(key)) : null;
if (!data) {
const res = UrlFetchApp.fetch("https://enrichgrid.com/v1/enrich/company", {
method: "post", contentType: "application/json", muteHttpExceptions: true,
headers: { "x-api-key": ENRICHGRID_KEY },
payload: JSON.stringify({ identifier: String(url) }),
});
data = JSON.parse(res.getContentText());
if (res.getResponseCode() >= 400) return "error: " + (data.detail && data.detail.message || res.getResponseCode());
cache.put(key, JSON.stringify(data), 21600); // 6 h: recalculating the sheet costs no credits
}
if (!data.found) return "not found";
const c = data.company;
if (field) return c[field] === undefined || c[field] === null ? "" : c[field];
return [[c.name, c.industry, c.staff_count_range, c.website_url, c.hq_city, c.country_code]];
}Results are cached for six hours, so recalculating the sheet doesn't spend credits. The person version of this formula is in the Google Sheets guide.
One credit per found company; companies we can't find cost nothing. Eligible new accounts receive 50 initial credits after email verification, subject to one-grant-per-person checks. Listed monthly prices range from $29 for 10,000 credits to $999 for 1,000,000. See pricing.
LinkedIn's APIs for pages are for the people who administer a page and for approved partners. They aren't a public lookup for any company, which is why teams use a data API like this one.
A company URL (linkedin.com/company/...), its slug, or the numeric company ID.
Yes: use people search with a company filter (10 people per page, 1 credit per page with results), or the Apify company employees Actor.
A company copy fetched within the last 30 days may be reused. Send "live": true to request a live refresh. Older cached records may remain stored until refreshed or removed.
No. EnrichGrid is independent and not affiliated with or endorsed by LinkedIn.
50 initial credits after email verification, subject to one-grant-per-person checks. No credit card. Pay only for what we find.
Create a free account →