LinkedIn Company
Extrayez une page d'entreprise LinkedIn : description, secteur, effectif, siège social, échantillons d'employés et localisations.
Utilisation de l'API
Ajoutez &scraper=linkedin-company à une requête Crawling API. Encodez l'URL cible dans le paramètre url.
curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
--data-urlencode 'url=https://www.linkedin.com/company/amazon' \
--data-urlencode 'scraper=linkedin-company' -Gfrom crawlbase import CrawlingAPI
api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
'https://www.linkedin.com/company/amazon',
{'scraper': 'linkedin-company'}
)
import json
data = json.loads(res['body'])const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });
const res = await api.get(
'https://www.linkedin.com/company/amazon',
{ scraper: 'linkedin-company' }
);
const data = JSON.parse(res.body);require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')
res = api.get('https://www.linkedin.com/company/amazon', scraper: 'linkedin-company')
data = JSON.parse(res.body)Exemple d'URL d'entrée
L'URL passée dans le paramètre url (décodée pour plus de lisibilité) :
https://www.linkedin.com/company/amazonStructure de la réponse
Corps de réponse JSON. Les types de champs peuvent être null lorsque la page source omet la valeur.
Nom de l'entreprise.
Section À propos.
Secteur principal.
Tranche d'effectif.
Ville du siège social.
Année de fondation.
Tags de spécialités.
URL du site web.
URL de l'image du logo.
Nombre de membres LinkedIn.
Emplacements des bureaux.
Exemple de réponse
{
"name": "Amazon",
"industry": "Software Development",
"company_size": "10,001+ employees",
"headquarters": "Seattle, Washington",
"founded": "1994",
"website": "https://www.amazon.com",
"employee_count_on_linkedin": 2840000
}