Get Company
curl --request GET \
--url https://api.scrapebadger.com/v1/linkedin/companies/{universal_name} \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://api.scrapebadger.com/v1/linkedin/companies/{universal_name}"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://api.scrapebadger.com/v1/linkedin/companies/{universal_name}', 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.scrapebadger.com/v1/linkedin/companies/{universal_name}",
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: <x-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.scrapebadger.com/v1/linkedin/companies/{universal_name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-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.scrapebadger.com/v1/linkedin/companies/{universal_name}")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapebadger.com/v1/linkedin/companies/{universal_name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"company": {
"universal_name": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"description": "<string>",
"website": "<string>",
"industry": "<string>",
"company_size": "<string>",
"company_type": "<string>",
"headquarters": "<string>",
"founded": 123,
"specialties": [
"<string>"
],
"employee_count": 123,
"follower_count": 123,
"logo": "<string>",
"address": {}
}
}Companies & Schools
Get Company
A public LinkedIn company page by its universal_name slug — about, website, industry, size, headquarters, specialties and follower/employee counts.
GET
/
v1
/
linkedin
/
companies
/
{universal_name}
Get Company
curl --request GET \
--url https://api.scrapebadger.com/v1/linkedin/companies/{universal_name} \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://api.scrapebadger.com/v1/linkedin/companies/{universal_name}"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://api.scrapebadger.com/v1/linkedin/companies/{universal_name}', 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.scrapebadger.com/v1/linkedin/companies/{universal_name}",
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: <x-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.scrapebadger.com/v1/linkedin/companies/{universal_name}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-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.scrapebadger.com/v1/linkedin/companies/{universal_name}")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.scrapebadger.com/v1/linkedin/companies/{universal_name}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"company": {
"universal_name": "<string>",
"linkedin_url": "<string>",
"name": "<string>",
"description": "<string>",
"website": "<string>",
"industry": "<string>",
"company_size": "<string>",
"company_type": "<string>",
"headquarters": "<string>",
"founded": 123,
"specialties": [
"<string>"
],
"employee_count": 123,
"follower_count": 123,
"logo": "<string>",
"address": {}
}
}Fetch a company’s public LinkedIn page by its
universal_name slug (the
/company/<slug> segment of the URL, e.g. microsoft). Returns the
logged-out company card: about, website, industry, size, headquarters,
specialties, and follower / employee counts.
Credits: 6
Authorization
Your ScrapeBadger API key.
Path Parameters
Company slug, e.g.
microsoft.Query Parameters
Country/locale for the request.
Response
The
Company.Show company
Show company
e.g.
10,001+ employees.e.g.
Public Company.street, city, region, postal_code, country.Example
curl "https://api.scrapebadger.com/v1/linkedin/companies/microsoft" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://api.scrapebadger.com/v1/linkedin/companies/microsoft",
{ headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const { company } = await res.json();
import requests
res = requests.get(
"https://api.scrapebadger.com/v1/linkedin/companies/microsoft",
headers={"X-API-Key": "YOUR_API_KEY"},
)
company = res.json()["company"]
Response
{
"company": {
"universal_name": "microsoft",
"linkedin_url": "https://www.linkedin.com/company/microsoft",
"name": "Microsoft",
"description": "Every person and every organization on the planet to achieve more.",
"website": "https://news.microsoft.com/",
"industry": "Software Development",
"company_size": "10,001+ employees",
"company_type": "Public Company",
"headquarters": "Redmond, Washington",
"founded": 1975,
"specialties": ["Business Software", "Cloud Computing", "Developer Tools"],
"employee_count": 238000,
"follower_count": 24500000,
"logo": "https://media.licdn.com/dms/image/microsoft-logo.png",
"address": {
"street": "1 Microsoft Way",
"city": "Redmond",
"region": "Washington",
"postal_code": "98052",
"country": "US"
}
}
}
⌘I

