LinkedIn-API

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
Anfragen
-
30d

Preise

Preise der LinkedIn-Search accounts-API

Anbieter
Hedgehog- bedient- Verfügbarkeit- p5070,00 USD/1k Anfr.pauschal
Du zahlst
700,00 USD
70,00 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 1 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Aufrufen

LinkedIn Search accounts mit einer Anfrage abrufen

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())
Öffnen in
Beispielantwort
{
  "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"
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-23 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • 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.

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

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.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die LinkedIn-Search accounts-API

Die AnyAPI-LinkedIn-Search accounts-API liefert LinkedIn-Daten als normalisiertes JSON aus einem POST-Aufruf an /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 liefert ein normalisiertes Schema, egal welche Quelle antwortet. Sie kostet ab 70 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum.

Sie kostet ab 70 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

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. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 1 LinkedIn-Search accounts-Aufrufe zu je 0,07 USD.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/linkedin.search_accounts mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.