Consultar uma empresa pela URL do LinkedIn
curl --request POST \
--url https://api.pubrio.com/companies/linkedin/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"linkedin_url": "https://www.linkedin.com/company/pubrio"
}
'import requests
url = "https://api.pubrio.com/companies/linkedin/lookup"
payload = { "linkedin_url": "https://www.linkedin.com/company/pubrio" }
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_url: 'https://www.linkedin.com/company/pubrio'})
};
fetch('https://api.pubrio.com/companies/linkedin/lookup', 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.pubrio.com/companies/linkedin/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_url' => 'https://www.linkedin.com/company/pubrio'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/companies/linkedin/lookup"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/companies/linkedin/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/linkedin/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"linkedin_name": "stripe",
"linkedin_url": "https://www.linkedin.com/company/stripe",
"created_at": "2025-06-01T10:13:03.994Z",
"image_url": "https://media.licdn.com/dms/image/v2/C561BAQEd_16iHeIr1Q/company-background_10000/company-background_10000/0/1594068230381/stripe_cover?e=2147483647&v=beta&t=o62bVF0Z15cf0OFikrsuge1xW-iQR4Td6cSOXrMip6I",
"logo_url": "https://media.licdn.com/dms/image/v2/D4E0BAQFqiwiSMcKk6A/company-logo_200_200/company-logo_200_200/0/1724937022726/stripe_logo?e=2147483647&v=beta&t=--CED0oRQUupcr1Q2MktzOErO8NMpjCjxa4-JiqrGzU",
"company_type": "Privately Held",
"company_name": "Stripe",
"title": "Help increase the GDP of the internet.",
"description": "Stripe builds programmable financial services. Millions of companies—from the world’s largest enterprises to the most ambitious startups—use Stripe to accept payments, grow their revenue, and accelerate new business opportunities. Headquartered in San Francisco and Dublin, the company aims to increase the GDP of the internet.",
"unformatted_description": "\n Stripe builds programmable financial services. Millions of companies—from the world’s largest enterprises to the most ambitious startups—use Stripe to accept payments, grow their revenue, and accelerate new business opportunities. Headquartered in San Francisco and Dublin, the company aims to increase the GDP of the internet.\n ",
"linkedin_uid": "2135371",
"founded_year": 2010,
"follower_size": 1045523,
"company_addresses": [
"515 N State St, Chicago, Illinois 60610, US",
"..."
],
"unformatted_company_addresses": [
"515 N State St Chicago, Illinois 60610, US",
"..."
],
"headquarters": "South San Francisco, California",
"company_address": "South San Francisco, California",
"country_codes": [
"US",
"..."
],
"company_address_directions": [
{
"directions_url": "https://www.bing.com/maps?where=354+Oyster+Point+Blvd+South+San+Francisco+94080+California+US&trk=org-locations_url"
},
"..."
],
"country_code": "US",
"company_size": 11833,
"unformatted_company_size": "5,001-10,000 employees",
"company_size_printed": "11,900+",
"industry": "Technology, Information And Internet",
"additional_information": "Additional jobs info: Stripe (2,886 open jobs). Analyst (694,057 open jobs). Engineer (555,845 open jobs). Manager (1,880,925 open jobs). Account Executive (71,457 open jobs). Associate (1,091,945 open jobs). Director (1,220,357 open jobs). Marketing Manager (106,879 open jobs). Scientist (48,969 open jobs). Project Manager (253,048 open jobs). Account Manager (121,519 open jobs). Developer (258,935 open jobs). Software Engineer (300,699 open jobs). Product Manager (199,941 open jobs). Intern (71,196 open jobs). Specialist (768,666 open jobs). Vice President (235,270 open jobs). Executive (690,514 open jobs). Senior Software Engineer (78,145 open jobs). Solutions Architect (100,488 open jobs)",
"alumni": null,
"alumni_information": null,
"company_url": "https://stripe.com/",
"domain": "stripe.com",
"unique_domain": "stripe.com",
"similar_companies": [
{
"linkedin_url": "https://www.linkedin.com/company/joinsquare?trk=similar-pages",
"company_name": "Square",
"industry": "Software Development",
"location": "San Francisco, CA"
},
"..."
],
"affiliated_pages": [
{
"linkedin_url": "https://www.linkedin.com/showcase/stripe-partner-ecosystem/?trk=affiliated-pages",
"title": "Stripe Partner Ecosystem",
"subtitle": "Internet Publishing",
"location": "South San Francisco, California"
}
],
"people": [
{
"linkedin_url": "https://www.linkedin.com/in/krishnanrajagopalan?trk=org-employees",
"name": "Krishnan Rajagopalan",
"logo_url": "https://media.licdn.com/dms/image/v2/C5603AQFZAI0yL2gFMg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1604036687597?e=2147483647&v=beta&t=4XvEQpAzyC6VkTwjEJoipu-RzjVZlghMKRJ9T-bq7gg"
},
"..."
],
"recent_activities": [
{
"likes_count": 229,
"text": "For businesses, sending payouts can be slow, costly, and error-prone. One of the hardest parts about sending money is accurately collecting recipient information like bank account details. Global Payouts allows you to send money to third parties with only their email address. Recipients can instantly authenticate their bank details, decreasing failed payouts by 88%: https://lnkd.in/gCfPBKPH .",
"time": "5d",
"title": "Stacey Wong",
"comments_count": 14,
"images": [
"https://media.licdn.com/dms/image/sync/v2/D4D27AQG-wcPKYC6OSw/articleshare-shrink_800/B4DZcxj37wGcAM-/0/1748883180077?e=2147483647&v=beta&t=qf6nEEODJRERCfkaegnnDuc0zqIg7NOZX5SXzGsr9Pw"
],
"post_url": "https://www.linkedin.com/posts/stripe_activity-7335388680838152194-vzX3",
"post_id": "7335388680838152194",
"date": "2025-06-03T10:13:03.854Z",
"tagged_companies": null,
"tagged_people": null,
"repost": {
"repost_url": null,
"repost_id": null,
"repost_text": null,
"repost_date": null,
"tagged_companies": null,
"tagged_users": null,
"images": null,
"videos": null,
"external_links": null,
"repost_hangtags": null,
"repost_followers": null,
"repost_title": null
}
},
"..."
]
}
}{
"code": 40001,
"message": "Os erros e códigos variam de acordo com o cenário; consulte a documentação para mais informações.",
"details": {}
}{
"error": "Limite de requisições excedido. Aguarde e tente novamente mais tarde."
}{
"error": "Ocorreu um erro inesperado no servidor."
}LinkedIn
Consulta de Empresa no LinkedIn (Tempo Real)
Recupera os detalhes da empresa usando a URL da página da empresa no LinkedIn. Fornece recuperação de dados em tempo real.
POST
/
companies
/
linkedin
/
lookup
Consultar uma empresa pela URL do LinkedIn
curl --request POST \
--url https://api.pubrio.com/companies/linkedin/lookup \
--header 'Content-Type: application/json' \
--header 'pubrio-api-key: <api-key>' \
--data '
{
"linkedin_url": "https://www.linkedin.com/company/pubrio"
}
'import requests
url = "https://api.pubrio.com/companies/linkedin/lookup"
payload = { "linkedin_url": "https://www.linkedin.com/company/pubrio" }
headers = {
"pubrio-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'pubrio-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({linkedin_url: 'https://www.linkedin.com/company/pubrio'})
};
fetch('https://api.pubrio.com/companies/linkedin/lookup', 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.pubrio.com/companies/linkedin/lookup",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'linkedin_url' => 'https://www.linkedin.com/company/pubrio'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"pubrio-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.pubrio.com/companies/linkedin/lookup"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("pubrio-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.pubrio.com/companies/linkedin/lookup")
.header("pubrio-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pubrio.com/companies/linkedin/lookup")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["pubrio-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"https://www.linkedin.com/company/pubrio\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"linkedin_name": "stripe",
"linkedin_url": "https://www.linkedin.com/company/stripe",
"created_at": "2025-06-01T10:13:03.994Z",
"image_url": "https://media.licdn.com/dms/image/v2/C561BAQEd_16iHeIr1Q/company-background_10000/company-background_10000/0/1594068230381/stripe_cover?e=2147483647&v=beta&t=o62bVF0Z15cf0OFikrsuge1xW-iQR4Td6cSOXrMip6I",
"logo_url": "https://media.licdn.com/dms/image/v2/D4E0BAQFqiwiSMcKk6A/company-logo_200_200/company-logo_200_200/0/1724937022726/stripe_logo?e=2147483647&v=beta&t=--CED0oRQUupcr1Q2MktzOErO8NMpjCjxa4-JiqrGzU",
"company_type": "Privately Held",
"company_name": "Stripe",
"title": "Help increase the GDP of the internet.",
"description": "Stripe builds programmable financial services. Millions of companies—from the world’s largest enterprises to the most ambitious startups—use Stripe to accept payments, grow their revenue, and accelerate new business opportunities. Headquartered in San Francisco and Dublin, the company aims to increase the GDP of the internet.",
"unformatted_description": "\n Stripe builds programmable financial services. Millions of companies—from the world’s largest enterprises to the most ambitious startups—use Stripe to accept payments, grow their revenue, and accelerate new business opportunities. Headquartered in San Francisco and Dublin, the company aims to increase the GDP of the internet.\n ",
"linkedin_uid": "2135371",
"founded_year": 2010,
"follower_size": 1045523,
"company_addresses": [
"515 N State St, Chicago, Illinois 60610, US",
"..."
],
"unformatted_company_addresses": [
"515 N State St Chicago, Illinois 60610, US",
"..."
],
"headquarters": "South San Francisco, California",
"company_address": "South San Francisco, California",
"country_codes": [
"US",
"..."
],
"company_address_directions": [
{
"directions_url": "https://www.bing.com/maps?where=354+Oyster+Point+Blvd+South+San+Francisco+94080+California+US&trk=org-locations_url"
},
"..."
],
"country_code": "US",
"company_size": 11833,
"unformatted_company_size": "5,001-10,000 employees",
"company_size_printed": "11,900+",
"industry": "Technology, Information And Internet",
"additional_information": "Additional jobs info: Stripe (2,886 open jobs). Analyst (694,057 open jobs). Engineer (555,845 open jobs). Manager (1,880,925 open jobs). Account Executive (71,457 open jobs). Associate (1,091,945 open jobs). Director (1,220,357 open jobs). Marketing Manager (106,879 open jobs). Scientist (48,969 open jobs). Project Manager (253,048 open jobs). Account Manager (121,519 open jobs). Developer (258,935 open jobs). Software Engineer (300,699 open jobs). Product Manager (199,941 open jobs). Intern (71,196 open jobs). Specialist (768,666 open jobs). Vice President (235,270 open jobs). Executive (690,514 open jobs). Senior Software Engineer (78,145 open jobs). Solutions Architect (100,488 open jobs)",
"alumni": null,
"alumni_information": null,
"company_url": "https://stripe.com/",
"domain": "stripe.com",
"unique_domain": "stripe.com",
"similar_companies": [
{
"linkedin_url": "https://www.linkedin.com/company/joinsquare?trk=similar-pages",
"company_name": "Square",
"industry": "Software Development",
"location": "San Francisco, CA"
},
"..."
],
"affiliated_pages": [
{
"linkedin_url": "https://www.linkedin.com/showcase/stripe-partner-ecosystem/?trk=affiliated-pages",
"title": "Stripe Partner Ecosystem",
"subtitle": "Internet Publishing",
"location": "South San Francisco, California"
}
],
"people": [
{
"linkedin_url": "https://www.linkedin.com/in/krishnanrajagopalan?trk=org-employees",
"name": "Krishnan Rajagopalan",
"logo_url": "https://media.licdn.com/dms/image/v2/C5603AQFZAI0yL2gFMg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1604036687597?e=2147483647&v=beta&t=4XvEQpAzyC6VkTwjEJoipu-RzjVZlghMKRJ9T-bq7gg"
},
"..."
],
"recent_activities": [
{
"likes_count": 229,
"text": "For businesses, sending payouts can be slow, costly, and error-prone. One of the hardest parts about sending money is accurately collecting recipient information like bank account details. Global Payouts allows you to send money to third parties with only their email address. Recipients can instantly authenticate their bank details, decreasing failed payouts by 88%: https://lnkd.in/gCfPBKPH .",
"time": "5d",
"title": "Stacey Wong",
"comments_count": 14,
"images": [
"https://media.licdn.com/dms/image/sync/v2/D4D27AQG-wcPKYC6OSw/articleshare-shrink_800/B4DZcxj37wGcAM-/0/1748883180077?e=2147483647&v=beta&t=qf6nEEODJRERCfkaegnnDuc0zqIg7NOZX5SXzGsr9Pw"
],
"post_url": "https://www.linkedin.com/posts/stripe_activity-7335388680838152194-vzX3",
"post_id": "7335388680838152194",
"date": "2025-06-03T10:13:03.854Z",
"tagged_companies": null,
"tagged_people": null,
"repost": {
"repost_url": null,
"repost_id": null,
"repost_text": null,
"repost_date": null,
"tagged_companies": null,
"tagged_users": null,
"images": null,
"videos": null,
"external_links": null,
"repost_hangtags": null,
"repost_followers": null,
"repost_title": null
}
},
"..."
]
}
}{
"code": 40001,
"message": "Os erros e códigos variam de acordo com o cenário; consulte a documentação para mais informações.",
"details": {}
}{
"error": "Limite de requisições excedido. Aguarde e tente novamente mais tarde."
}{
"error": "Ocorreu um erro inesperado no servidor."
}Autorizações
Um token de API exclusivo que representa as ações que você realiza por meio da API e as permissões e operações correspondentes. Você pode criá-lo na seção Configurações.
Corpo
application/json
A URL completa do perfil da empresa no LinkedIn. A URL começa com http e contém linkedin.com/company/
Exemplo:
"https://www.linkedin.com/company/pubrio"
Resposta
Resposta bem-sucedida contendo os detalhes do LinkedIn em tempo real.
As informações da resposta dependem do endpoint específico.
Última modificação em 4 de setembro de 2026

