Get Company Details
GET /get-company-details
Retrieve company information using a LinkedIn company ID, LinkedIn URL, or website domain.
Pricing
1 credit per call.
Parameters
Provide one of the following parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
company_id | string | One required | LinkedIn company ID (e.g., 162479) |
linkedin_url | string | One required | LinkedIn company URL (e.g., https://www.linkedin.com/company/apple/) |
domain | string | One required | Company domain (e.g., apple.com, www.apple.com, or https://apple.com) |
Domain Normalization
The API automatically normalizes domains by removing protocols (http://, https://), www. prefix, and trailing paths.
Example Requests
- By Domain
- By Company ID
- By LinkedIn URL
- cURL
- Python
- Node.js
curl --request GET \
--url 'https://api.infoplug.io/get-company-details?domain=apple.com' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'
import requests
url = "https://api.infoplug.io/get-company-details"
params = {
"domain": "apple.com"
}
headers = {
"X-INFOPLUG-API-KEY": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const response = await fetch(
'https://api.infoplug.io/get-company-details?domain=apple.com',
{
headers: {
'X-INFOPLUG-API-KEY': 'YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);
- cURL
- Python
- Node.js
curl --request GET \
--url 'https://api.infoplug.io/get-company-details?company_id=162479' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'
import requests
url = "https://api.infoplug.io/get-company-details"
params = {
"company_id": "162479"
}
headers = {
"X-INFOPLUG-API-KEY": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const response = await fetch(
'https://api.infoplug.io/get-company-details?company_id=162479',
{
headers: {
'X-INFOPLUG-API-KEY': 'YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);
- cURL
- Python
- Node.js
curl --request GET \
--url 'https://api.infoplug.io/get-company-details?linkedin_url=https://www.linkedin.com/company/apple/' \
--header 'X-INFOPLUG-API-KEY: YOUR_API_KEY'
import requests
url = "https://api.infoplug.io/get-company-details"
params = {
"linkedin_url": "https://www.linkedin.com/company/apple/"
}
headers = {
"X-INFOPLUG-API-KEY": "YOUR_API_KEY"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
const response = await fetch(
'https://api.infoplug.io/get-company-details?linkedin_url=https://www.linkedin.com/company/apple/',
{
headers: {
'X-INFOPLUG-API-KEY': 'YOUR_API_KEY'
}
}
);
const data = await response.json();
console.log(data);
Example Response
- 200 OK
- 400 Bad Request
- 401 Unauthorized
{
"data": {
"company_name": "Apple",
"linkedin_url": "https://www.linkedin.com/company/apple/",
"industry": "Consumer Electronics",
"company_size": "10001+",
"headquarters": "Cupertino, California",
"founded": 1976,
"website": "https://www.apple.com",
"description": "We're a diverse collective of thinkers and doers...",
"specialties": ["Hardware", "Software", "Consumer Electronics"]
}
}
{
"message": "invalid_parameter",
"parameter": "company_id, linkedin_url, or domain",
"details": "One of company_id, linkedin_url, or domain is required"
}
{
"message": "unauthorized",
"details": "Invalid or missing API key"
}