API de LinkedIn

API de 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.

POST/v1/run/linkedin.search_accounts
Solicitudes
-
30d

Precios

Precios del endpoint Search accounts de la API de LinkedIn

Proveedores
Hedgehog- atendidas- de disponibilidad- p50US$70.00/1k solic.tarifa fija
Pagas
US$700.00
US$70.00/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 1 solicitudes son gratis con el saldo inicial de US$0.10.

Llámalo

Obtén Search accounts de LinkedIn en una sola solicitud

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())
Abrir en
Respuesta de ejemplo
{
  "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"
}

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-11-23 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este 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.

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por campo.

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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

Preguntas frecuentes

Acerca del endpoint Search accounts de la API de LinkedIn

El endpoint Search accounts de AnyAPI para LinkedIn devuelve datos de LinkedIn como JSON normalizado con una sola llamada POST a /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 devuelve un único esquema normalizado sin importar qué fuente atienda la solicitud. Cuesta desde US$70 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual.

Cuesta desde US$70 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

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 respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 1 llamadas a Search accounts de LinkedIn a US$0.07 cada una.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/linkedin.search_accounts con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.
Más para llamar

Otros endpoints de LinkedIn

Perfildesde US$2.30 /1k solic.Empresadesde US$1.09 /1k solic.Publicaciones de la empresadesde US$2.90 /1k solic.Publicacióndesde US$0.59 /1k solic.Búsqueda de publicacionesdesde US$1.20 /1k solic.Anunciodesde US$1.20 /1k solic.Anunciosdesde US$0.638095 /1k resultadosBuscar anunciosdesde US$1.20 /1k solic.Artículodesde US$6.16 /1k solic.Comment reactionsdesde US$2.60 /1k solic.Respuestas a comentariosdesde US$2.60 /1k solic.Empleados de la empresadesde US$6.00 /1k solic.Publicaciones de la empresa (resumido)desde US$1.19 /1k solic.Empresa (resumido)desde US$0.79 /1k solic.Correo electrónicodesde US$12.00 /1k solic.Groupdesde US$1.30 /1k solic.Publicaciones de grupodesde US$2.60 /1k solic.Vacantedesde US$1.50 /1k solic.Empleosdesde US$19.50 /1k solic.Vacantes (resumido)desde US$0.56 /1k solic.Comentarios de la publicacióndesde US$2.90 /1k solic.Reacciones a la publicacióndesde US$2.90 /1k solic.Transcripción de publicacióndesde US$1.20 /1k solic.Comentarios del perfildesde US$2.90 /1k solic.Publicaciones del perfil (completo)desde US$5.00 /1k solic.Publicaciones del perfil (resumido)desde US$5.00 /1k solic.Reacciones del perfildesde US$2.90 /1k solic.Perfil (resumido)desde US$0.80 /1k solic.Buscar empresasdesde US$5.00 /1k solic.Search groupsdesde US$1.30 /1k solic.Search leadsdesde US$70.00 /1k solic.Buscar publicaciones (completo)desde US$2.30 /1k solic.Buscar perfilesdesde US$8.64 /1k resultadosBuscar perfiles (con correo)desde US$14.64 /1k resultadosBuscar perfiles (resumido)desde US$32.00 /1k solic.Search servicesdesde US$2.60 /1k solic.