API LinkedIn

LinkedIn Search accounts API

LinkedIn company search with Sales Navigator's account filters: one call returns a page of up to 25 companies matching filters on industry, headquarters location, headcount, and follower count, with industries and headquarters locations to exclude. Each company comes with name, industry, size, description, and logo, and its url opens the company page and can be passed to linkedin.company for the full record. To search companies by keyword use linkedin.search_companies; to find people at matching companies use linkedin.search_leads.

POST/v1/run/linkedin.search_accounts
Requêtes
-
30d

Tarifs

Tarifs de l’API LinkedIn Search accounts

Fournisseurs
Hedgehog- servis- de disponibilité- p5070,00 $US/1k reqforfait fixe
Vous payez
700,00 $US
70,00 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 1 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

L’appeler

Obtenez LinkedIn Search accounts en une requête

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/linkedin.search_accounts",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "companyHeadcount": [
            "D"
        ],
        "industry": [
            "Software Development"
        ],
        "location": "United States",
        "page": 1
    },
)
print(res.json())
Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
{
  "data": {
    "items": [
      {
        "description": "A short example description of this item.",
        "employeeCountRange": "example",
        "employeesOnLinkedInText": "https://example.com/page",
        "id": "a1b2c3d4",
        "image": "https://example.com/image.jpg",
        "industry": "general",
        "name": "Example title",
        "url": "https://example.com/page"
      }
    ],
    "page": 29,
    "totalPages": 12500,
    "totalResults": 12500
  },
  "found": true,
  "reason": "not_found"
}

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-23 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • companyHeadcountarray

    ["D"]

    Filter by LinkedIn's headcount band for the company. Codes: B=1-10, C=11-50, D=51-200, E=201-500, F=501-1,000, G=1,001-5,000, H=5,001-10,000, I=10,001+ (the same codes as linkedin.search_leads; there is no Self-Employed code for companies). The band is LinkedIn's own, so a result's employeeCountRange or employeesOnLinkedInText can fall outside it.

  • excludeIndustriesarray

    Exclude companies in any of these LinkedIn industries, by name (same names as industry). Up to 70 values.

  • excludeLocationsarray

    Exclude companies headquartered in any of these locations, by place name. Best effort: companies headquartered in an excluded location can still appear. Commas are not allowed in a value. Up to 70 values.

  • followersarray

    Filter by how many LinkedIn followers the company page has, as one or more ranges: 1-50, 51-100, 101-1000, 1001-5000, 5001+.

  • industryarray

    ["Software Development"]

    Filter to companies in any of these LinkedIn industries, by name (e.g. ['Software Development']). A broad industry also matches its sub-industries (Software Development includes Computer Games). Up to 70 values.

  • locationstring

    United States

    Filter by where the company is headquartered, by place name (e.g. 'United States', 'Berlin'). Commas are not allowed in a value.

  • pageinteger

    Which page of up to 25 companies to return, starting at 1 (1-100, default 1). Each page is billed as one request.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

each itemdata.items[]

Matching companies, up to 25 per page. Populated whenever the provider has data for the entity.

  • descriptionstring

    Company description from its LinkedIn page, when it has one. Populated whenever the provider has data for the entity.

  • employeeCountRangestring

    Company size as stated on its LinkedIn page, one of 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. It can differ from employeesOnLinkedInText, which counts members. Populated whenever the provider has data for the entity.

  • employeesOnLinkedInTextstring

    How many LinkedIn members list the company as their employer, as LinkedIn displays the number (e.g. '144' or '220K+'). Text, not an integer, because large counts are rounded. It can fall outside the companyHeadcount band searched for.

  • idstring

    LinkedIn company id, the last segment of `url`. Populated whenever the provider has data for the entity.

  • imagestring

    Company logo image URL. The query string is a signed token, so keep the URL intact. Populated whenever the provider has data for the entity.

  • industrystring

    Company industry, as a LinkedIn industry name. Populated whenever the provider has data for the entity.

  • namestring

    Company name. Populated whenever the provider has data for the entity.

  • urlstring

    LinkedIn company page URL in its numeric-id form (https://www.linkedin.com/company/1035). It opens the company page on LinkedIn, and passing it as `url` to linkedin.company returns the full record. Populated whenever the provider has data for the entity.

datadata

The results wrapper, or null when nothing matched.

  • pageinteger

    The page this response holds, starting at 1.

  • totalPagesinteger

    How many pages of up to 25 companies the search has, at most 100.

  • totalResultsinteger

    How many companies match the search in total, across every page.

top level
  • foundboolean

    True when the page returned at least one company.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API LinkedIn Search accounts

L’API LinkedIn Search accounts d’AnyAPI renvoie des données LinkedIn en JSON normalisé à partir d’un appel POST à /v1/run/linkedin.search_accounts. LinkedIn company search with Sales Navigator's account filters: one call returns a page of up to 25 companies matching filters on industry, headquarters location, headcount, and follower count, with industries and headquarters locations to exclude. Each company comes with name, industry, size, description, and logo, and its url opens the company page and can be passed to linkedin.company for the full record. To search companies by keyword use linkedin.search_companies; to find people at matching companies use linkedin.search_leads. AnyAPI renvoie un schéma normalisé unique quelle que soit la source qui répond. Elle coûte à partir de 70 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel.

Elle coûte à partir de 70 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

LinkedIn company search with Sales Navigator's account filters: one call returns a page of up to 25 companies matching filters on industry, headquarters location, headcount, and follower count, with industries and headquarters locations to exclude. Each company comes with name, industry, size, description, and logo, and its url opens the company page and can be passed to linkedin.company for the full record. To search companies by keyword use linkedin.search_companies; to find people at matching companies use linkedin.search_leads. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 1 appels LinkedIn Search accounts à 0,07 $US chacun.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/linkedin.search_accounts avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.
À appeler aussi

Autres endpoints LinkedIn

Profilà partir de 2,30 $US /1k reqEntrepriseà partir de 1,09 $US /1k reqPublications de l’entrepriseà partir de 2,90 $US /1k reqPublicationà partir de 0,59 $US /1k reqRecherche de publicationsà partir de 1,20 $US /1k reqAnnonceà partir de 1,20 $US /1k reqAnnoncesà partir de 0,638095 $US /1k résultatsRecherche d’annoncesà partir de 1,20 $US /1k reqArticleà partir de 6,16 $US /1k reqComment reactionsà partir de 2,60 $US /1k reqRéponses aux commentairesà partir de 2,60 $US /1k reqEmployés de l’entrepriseà partir de 6,00 $US /1k reqPublications de l’entreprise (version légère)à partir de 1,19 $US /1k reqEntreprise (version légère)à partir de 0,79 $US /1k reqE-mailà partir de 12,00 $US /1k reqGroupà partir de 1,30 $US /1k reqPublications de groupeà partir de 2,60 $US /1k reqOffre d’emploià partir de 1,50 $US /1k reqOffres d’emploià partir de 19,50 $US /1k reqOffres d’emploi (version légère)à partir de 0,56 $US /1k reqCommentaires de la publicationà partir de 2,90 $US /1k reqRéactions à la publicationà partir de 2,90 $US /1k reqTranscription de la publicationà partir de 1,20 $US /1k reqCommentaires du profilà partir de 2,90 $US /1k reqPublications du profil (version complète)à partir de 5,00 $US /1k reqPublications du profil (version légère)à partir de 5,00 $US /1k reqRéactions du profilà partir de 2,90 $US /1k reqProfil (version légère)à partir de 0,80 $US /1k reqRecherche d’entreprisesà partir de 5,00 $US /1k reqSearch groupsà partir de 1,30 $US /1k reqSearch leadsà partir de 70,00 $US /1k reqRecherche de publications (version complète)à partir de 2,30 $US /1k reqRecherche de profilsà partir de 8,64 $US /1k résultatsRecherche de profils (e-mail)à partir de 14,64 $US /1k résultatsRecherche de profils (version légère)à partir de 32,00 $US /1k reqSearch servicesà partir de 2,60 $US /1k req