curl --request GET \
--url https://api.fetchin.io/api/v1/company \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.fetchin.io/api/v1/company"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.fetchin.io/api/v1/company', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fetchin.io/api/v1/company",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fetchin.io/api/v1/company"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fetchin.io/api/v1/company")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fetchin.io/api/v1/company")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "urn:li:fsd_company:4999584",
"companyId": "4999584",
"name": "Doctolib",
"publicIdentifier": "doctolib",
"url": "https://www.linkedin.com/company/doctolib/",
"websiteUrl": "https://careers.doctolib.com/",
"domain": "careers.doctolib.com",
"industry": "Software Development",
"industryV1": "Computer Software",
"employeeCount": 3714,
"employeeCountRange": { "start": 1001, "end": 5000 },
"headquarter": {
"line1": "54, Quai Charles Pasqua",
"city": "Levallois-Perret",
"geographicArea": "Île-de-France",
"postalCode": "92300",
"country": "FR",
"description": "Siège social",
"headquarter": true
},
"locations": [
{
"city": "Levallois-Perret",
"geographicArea": "Île-de-France",
"country": "FR",
"headquarter": true
}
],
"followerCount": 323490,
"logoUrl": "https://media.licdn.com/dms/image/...",
"coverImageUrl": "https://media.licdn.com/dms/image/...",
"description": "We're a B Corp company committed to build together the healthcare we all dream of.",
"specialities": ["Santé", "e-health", "telehealth", "online appointments"]
}
{
"error": "Missing companyUrlOrUrn parameter",
"code": "MISSING_PARAMETER"
}
{
"error": "companyUrlOrUrn must reference a company, not a member profile",
"code": "INVALID_PARAMETER"
}
{
"error": "Invalid API key",
"code": "INVALID_API_KEY"
}
{
"error": "Unable to find company data from slug",
"code": "COMPANY_NOT_FOUND"
}
{
"error": "Quota exceeded. Upgrade your plan or wait for renewal.",
"code": "QUOTA_EXHAUSTED",
"details": {
"creditsRemaining": 0,
"subscriptionCreditsRemaining": 0,
"paygCreditsRemaining": 0,
"buyCreditsUrl": "https://fetchin.io/credits"
}
}
{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}
{
"error": "Service temporarily unable to serve this request. Please retry.",
"code": "SERVICE_UNAVAILABLE"
}
Get Company
Get detailed information about a company / organization
curl --request GET \
--url https://api.fetchin.io/api/v1/company \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.fetchin.io/api/v1/company"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.fetchin.io/api/v1/company', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fetchin.io/api/v1/company",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fetchin.io/api/v1/company"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fetchin.io/api/v1/company")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fetchin.io/api/v1/company")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "urn:li:fsd_company:4999584",
"companyId": "4999584",
"name": "Doctolib",
"publicIdentifier": "doctolib",
"url": "https://www.linkedin.com/company/doctolib/",
"websiteUrl": "https://careers.doctolib.com/",
"domain": "careers.doctolib.com",
"industry": "Software Development",
"industryV1": "Computer Software",
"employeeCount": 3714,
"employeeCountRange": { "start": 1001, "end": 5000 },
"headquarter": {
"line1": "54, Quai Charles Pasqua",
"city": "Levallois-Perret",
"geographicArea": "Île-de-France",
"postalCode": "92300",
"country": "FR",
"description": "Siège social",
"headquarter": true
},
"locations": [
{
"city": "Levallois-Perret",
"geographicArea": "Île-de-France",
"country": "FR",
"headquarter": true
}
],
"followerCount": 323490,
"logoUrl": "https://media.licdn.com/dms/image/...",
"coverImageUrl": "https://media.licdn.com/dms/image/...",
"description": "We're a B Corp company committed to build together the healthcare we all dream of.",
"specialities": ["Santé", "e-health", "telehealth", "online appointments"]
}
{
"error": "Missing companyUrlOrUrn parameter",
"code": "MISSING_PARAMETER"
}
{
"error": "companyUrlOrUrn must reference a company, not a member profile",
"code": "INVALID_PARAMETER"
}
{
"error": "Invalid API key",
"code": "INVALID_API_KEY"
}
{
"error": "Unable to find company data from slug",
"code": "COMPANY_NOT_FOUND"
}
{
"error": "Quota exceeded. Upgrade your plan or wait for renewal.",
"code": "QUOTA_EXHAUSTED",
"details": {
"creditsRemaining": 0,
"subscriptionCreditsRemaining": 0,
"paygCreditsRemaining": 0,
"buyCreditsUrl": "https://fetchin.io/credits"
}
}
{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}
{
"error": "Service temporarily unable to serve this request. Please retry.",
"code": "SERVICE_UNAVAILABLE"
}
Endpoint
GET /api/v1/company
Authentication
Include your API key in the request header:X-API-Key: your-api-key-here
Parameters
- Company URL. Example:
https://www.linkedin.com/company/doctolib(a trailing slash makes no difference). School and showcase page URLs work too. - Public identifier (slug), also fine. Example:
doctolib - Company URN. Example:
urn:li:fsd_company:4999584
linkedin.com/company/<slug>). Pass just the slug, not the /company/ prefix.Member profile inputs (a /in/<slug> URL or a urn:li:fsd_profile:…) are rejected with INVALID_PARAMETER — use Get Profile for people.Response
Show Company object
Show Company object
websiteUrl with any leading www. removed, e.g. “doctolib.com” (optional)industry: a company can sit under two unrelated entries in the
two taxonomies, so industryV1 must not be used as a translation table.
Prefer industry.headquarter.Example Request
curl -X GET "https://api.fetchin.io/api/v1/company?companyUrlOrUrn=https://www.linkedin.com/company/doctolib" \
-H "X-API-Key: your-api-key-here"
const response = await fetch(
'https://api.fetchin.io/api/v1/company?companyUrlOrUrn=https://www.linkedin.com/company/doctolib',
{
headers: {
'X-API-Key': 'your-api-key-here'
}
}
);
const company = await response.json();
console.log(company);
import requests
headers = {
'X-API-Key': 'your-api-key-here'
}
params = {
'companyUrlOrUrn': 'https://www.linkedin.com/company/doctolib'
}
response = requests.get(
'https://api.fetchin.io/api/v1/company',
headers=headers,
params=params
)
company = response.json()
print(company)
<?php
$apiKey = 'your-api-key-here';
$companyUrl = 'https://www.linkedin.com/company/doctolib';
$url = "https://api.fetchin.io/api/v1/company?companyUrlOrUrn=" . urlencode($companyUrl);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'X-API-Key: ' . $apiKey
]);
$response = curl_exec($ch);
$company = json_decode($response, true);
curl_close($ch);
print_r($company);
?>
Example Response
{
"id": "urn:li:fsd_company:4999584",
"companyId": "4999584",
"name": "Doctolib",
"publicIdentifier": "doctolib",
"url": "https://www.linkedin.com/company/doctolib/",
"websiteUrl": "https://careers.doctolib.com/",
"domain": "careers.doctolib.com",
"industry": "Software Development",
"industryV1": "Computer Software",
"employeeCount": 3714,
"employeeCountRange": { "start": 1001, "end": 5000 },
"headquarter": {
"line1": "54, Quai Charles Pasqua",
"city": "Levallois-Perret",
"geographicArea": "Île-de-France",
"postalCode": "92300",
"country": "FR",
"description": "Siège social",
"headquarter": true
},
"locations": [
{
"city": "Levallois-Perret",
"geographicArea": "Île-de-France",
"country": "FR",
"headquarter": true
}
],
"followerCount": 323490,
"logoUrl": "https://media.licdn.com/dms/image/...",
"coverImageUrl": "https://media.licdn.com/dms/image/...",
"description": "We're a B Corp company committed to build together the healthcare we all dream of.",
"specialities": ["Santé", "e-health", "telehealth", "online appointments"]
}
{
"error": "Missing companyUrlOrUrn parameter",
"code": "MISSING_PARAMETER"
}
{
"error": "companyUrlOrUrn must reference a company, not a member profile",
"code": "INVALID_PARAMETER"
}
{
"error": "Invalid API key",
"code": "INVALID_API_KEY"
}
{
"error": "Unable to find company data from slug",
"code": "COMPANY_NOT_FOUND"
}
{
"error": "Quota exceeded. Upgrade your plan or wait for renewal.",
"code": "QUOTA_EXHAUSTED",
"details": {
"creditsRemaining": 0,
"subscriptionCreditsRemaining": 0,
"paygCreditsRemaining": 0,
"buyCreditsUrl": "https://fetchin.io/credits"
}
}
{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}
{
"error": "Service temporarily unable to serve this request. Please retry.",
"code": "SERVICE_UNAVAILABLE"
}
Errors
See Error Handling for the full list of error codes and recommended handling.400MISSING_PARAMETER/INVALID_PARAMETER/INVALID_URN401INVALID_API_KEY404COMPANY_NOT_FOUND402QUOTA_EXHAUSTED429RATE_LIMITED500INTERNAL_ERROR503SERVICE_UNAVAILABLE
Notes
404 not found costs 1 credit. See Quotas.503 SERVICE_UNAVAILABLE is safe to retry after a short delay.name, companyId, and publicIdentifier are optional — a company page may simply not list a phone number, tagline, or founding date. Always guard for missing keys.Use Cases
Account enrichment
Lead scoring
Market research
Data completion
Authorizations
Query Parameters
The company / organization to fetch. Accepts a company page URL (example https://www.linkedin.com/company/doctolib; school and showcase URLs work too), a public identifier/slug (example doctolib), or a company URN (example urn:li:fsd_company:4999584). Member profile inputs (a /in/<slug> URL or a urn:li:fsd_profile:…) are rejected with INVALID_PARAMETER.
Response
Successfully fetched company
Company URN (unique identifier)
"urn:li:fsd_company:4999584"
Numeric company id as a string
"4999584"
"Doctolib"
Public identifier (slug)
"doctolib"
Canonical company page URL
"https://www.linkedin.com/company/doctolib/"
The company's own website
Primary industry in the current taxonomy, matching the label shown on the company's public page
"Software Development"
The same company's industry in the legacy taxonomy, for integrations that pinned the older labels. Not a renaming of industry: a company can sit under two unrelated entries in the two taxonomies, so this must not be used as a translation table. Prefer industry.
"Computer Software"
Number of employees on the platform
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Cover/background image URL