OpenAny
Get API keyAPI Key
APISocial Media

linkedin logo
LinkedIn Account Search API

Search LinkedIn Account via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by Harvestapi, pass parameters such as search, page, and retrieve structured data including company account identifier, company name, company LinkedIn URL, reported industry, and reported employee-count range for company research, and account discovery.

Selected price
$0.1 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

LinkedIn Account Search API

Prepare your request, then continue with your agent.

Selected price

$0.1 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
LinkedIn Account Search API

LinkedIn Account Search API

Use search and optional company filters in the query. annualRevenue is a range in millions with an optional currency suffix, while department headcount ranges include a department name. page is an integer, documented as clamped at 100 with 25 results per page. The elements array contains company records alongside pagination and status.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs query: search, headquarterLocations, headquarterGeoIds, industryIds, companyHeadcount, companyHeadcountGrowth, annualRevenue, numOfFollowers, departmentHeadcount, departmentHeadcountGrowth, jobOpportunities, accountActivities, fortune, excludeHeadquarterLocations, excludeHeadquarterGeoIds, excludeIndustryIds, excludeCompanyHeadcount, page, sessionId
Selected implementation harvestapi · Search LinkedIn accounts
Billing Per call; check the selected implementation pricing and charge conditions

What You Can Build

  • Company research: Compare account identity and reported company attributes.
  • Account discovery: Keep inclusion and exclusion criteria with each search.

Documented Response Fields

Field Meaning
elements[].id Company account identifier
elements[].name Company name
elements[].linkedinUrl Company LinkedIn URL
elements[].industry Reported industry
elements[].employeeCountRange Reported employee-count range
elements[].description Company description
pagination.pageNumber Returned page number
pagination.totalPages Reported total page count

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the supported inputs and set any required query value shown in the template.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  "https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search" \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H 'Content-Type: application/json' \
  --data-urlencode search=software \
  --data-urlencode page=1

Request and Response Examples

The response is a published provider example. Its values may be historical; the request is an independent calling template. Use current returned company identities and pagination for your chosen search.

Published LinkedIn Account Search API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (19)
Search query. Fuzzy search, supports LinkedIn's search operators
Filter by headquarters location text. Comma-separated (max 70)
Filter by headquarters LinkedIn Geo ID. Comma-separated (max 70). Use /linkedin/geo-id-search to find IDs
Filter by industry IDs. Comma-separated (max 70). Full list: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng_with_header.csv
Filter by company headcount. Comma-separated. Available values: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+
Filter by company headcount growth in percent, as `min-max`. Example: `1-100`
Filter by annual revenue in millions, as `min-max;currency` (USD by default). Examples: `1-10;USD`, `0.5-1000`
Filter by number of followers. Comma-separated. Available values: 1-50, 51-100, 101-1000, 1001-5000, 5001+
Filter by the headcount of a department, as `min-max;department`. Example: `10-100;Engineering`. Departments: Accounting, Administrative, Arts and Design, Business Development, Community and Social Services, Consulting, Education, Engineering, Entrepreneurship, Finance, Healthcare Services, Human Resources, Information Technology, Legal, Marketing, Media and Communication, Military and Protective Services, Operations, Product Management, Program and Project Management, Purchasing, Quality Assurance, Real Estate, Research, Sales, Support
Filter by the headcount growth of a department in percent, as `min-max;department`. Example: `5-50;Sales`. Same departments as `departmentHeadcount`
Set to `HIRING_ON_LINKEDIN` to find companies that are hiring on LinkedIn
Filter by recent company activities. Comma-separated. Available values: SENIOR_LEADERSHIP_CHANGES_LAST_3_MONTHS, FUNDING_EVENTS_PAST_12_MONTHS
Filter by Fortune 500 rank. Comma-separated. Available values: 50 (Fortune 50), 51_100, 101_250, 251_500
Headquarters locations to exclude. Comma-separated (max 70)
Headquarters Geo IDs to exclude. Comma-separated (max 70)
Industry IDs to exclude. Comma-separated (max 70)
Company headcounts to exclude. Comma-separated. Same values as `companyHeadcount`
Page number for pagination (clamped at 100). 25 results per page
Session ID to use for the search. See https://docs.harvestapi.io/linkedin-api-reference/leads/search-leads#session-id for details.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
harvestapiCurrent
Search LinkedIn accounts · GET · View API reference
$0.1 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · harvestapiUSD / call
Unit price
$0.1

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $10

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
searchURL query parametersquerystringNo

Search query. Fuzzy search, supports LinkedIn's search operators

headquarterLocationsURL query parametersquerystringNo

Filter by headquarters location text. Comma-separated (max 70)

headquarterGeoIdsURL query parametersquerystringNo

Filter by headquarters LinkedIn Geo ID. Comma-separated (max 70). Use /linkedin/geo-id-search to find IDs

industryIdsURL query parametersquerystringNo
companyHeadcountURL query parametersquerystringNo

Filter by company headcount. Comma-separated. Available values: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+

companyHeadcountGrowthURL query parametersquerystringNo

Filter by company headcount growth in percent, as `min-max`. Example: `1-100`

annualRevenueURL query parametersquerystringNo

Filter by annual revenue in millions, as `min-max;currency` (USD by default). Examples: `1-10;USD`, `0.5-1000`

numOfFollowersURL query parametersquerystringNo

Filter by number of followers. Comma-separated. Available values: 1-50, 51-100, 101-1000, 1001-5000, 5001+

departmentHeadcountURL query parametersquerystringNo

Filter by the headcount of a department, as `min-max;department`. Example: `10-100;Engineering`. Departments: Accounting, Administrative, Arts and Design, Business Development, Community and Social Services, Consulting, Education, Engineering, Entrepreneurship, Finance, Healthcare Services, Human Resources, Information Technology, Legal, Marketing, Media and Communication, Military and Protective Services, Operations, Product Management, Program and Project Management, Purchasing, Quality Assurance, Real Estate, Research, Sales, Support

departmentHeadcountGrowthURL query parametersquerystringNo

Filter by the headcount growth of a department in percent, as `min-max;department`. Example: `5-50;Sales`. Same departments as `departmentHeadcount`

jobOpportunitiesURL query parametersquerystringNo

Set to `HIRING_ON_LINKEDIN` to find companies that are hiring on LinkedIn

accountActivitiesURL query parametersquerystringNo

Filter by recent company activities. Comma-separated. Available values: SENIOR_LEADERSHIP_CHANGES_LAST_3_MONTHS, FUNDING_EVENTS_PAST_12_MONTHS

fortuneURL query parametersquerystringNo

Filter by Fortune 500 rank. Comma-separated. Available values: 50 (Fortune 50), 51_100, 101_250, 251_500

excludeHeadquarterLocationsURL query parametersquerystringNo

Headquarters locations to exclude. Comma-separated (max 70)

excludeHeadquarterGeoIdsURL query parametersquerystringNo

Headquarters Geo IDs to exclude. Comma-separated (max 70)

excludeIndustryIdsURL query parametersquerystringNo

Industry IDs to exclude. Comma-separated (max 70)

excludeCompanyHeadcountURL query parametersquerystringNo

Company headcounts to exclude. Comma-separated. Same values as `companyHeadcount`

pageURL query parametersqueryintegerNo

Page number for pagination (clamped at 100). 25 results per page

sessionIdURL query parametersquerystringNo

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • elementsobject[]
    • descriptionstring
    • employeeCountRangestring
    • employeeDisplayCountstring
    • highlightsobject[]
      • headerstring
      • idstring
      • labelstring
      • messagenull | string
    • idstring
    • industrystring
    • linkedinUrlstring
    • logoUrlstring
    • namestring
  • paginationobject
    • pageNumberinteger
    • pageSizeinteger
    • previousElementsinteger
    • totalElementsinteger
    • totalPagesinteger
  • statusinteger

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example (request placeholders)

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 19

    Review these request fields before running. Keep the published provider and request method unchanged.

    search
    Search query. Fuzzy search, supports LinkedIn's search operators
    headquarterLocations
    Filter by headquarters location text. Comma-separated (max 70)
    headquarterGeoIds
    Filter by headquarters LinkedIn Geo ID. Comma-separated (max 70). Use /linkedin/geo-id-search to find IDs
    industryIds
    Filter by industry IDs. Comma-separated (max 70). Full list: https://github.com/HarvestAPI/linkedin-industry-codes-v2/blob/main/linkedin_industry_code_v2_all_eng_with_header.csv
    companyHeadcount
    Filter by company headcount. Comma-separated. Available values: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+
    companyHeadcountGrowth
    Filter by company headcount growth in percent, as `min-max`. Example: `1-100`
    annualRevenue
    Filter by annual revenue in millions, as `min-max;currency` (USD by default). Examples: `1-10;USD`, `0.5-1000`
    numOfFollowers
    Filter by number of followers. Comma-separated. Available values: 1-50, 51-100, 101-1000, 1001-5000, 5001+
    departmentHeadcount
    Filter by the headcount of a department, as `min-max;department`. Example: `10-100;Engineering`. Departments: Accounting, Administrative, Arts and Design, Business Development, Community and Social Services, Consulting, Education, Engineering, Entrepreneurship, Finance, Healthcare Services, Human Resources, Information Technology, Legal, Marketing, Media and Communication, Military and Protective Services, Operations, Product Management, Program and Project Management, Purchasing, Quality Assurance, Real Estate, Research, Sales, Support
    departmentHeadcountGrowth
    Filter by the headcount growth of a department in percent, as `min-max;department`. Example: `5-50;Sales`. Same departments as `departmentHeadcount`
    jobOpportunities
    Set to `HIRING_ON_LINKEDIN` to find companies that are hiring on LinkedIn
    accountActivities
    Filter by recent company activities. Comma-separated. Available values: SENIOR_LEADERSHIP_CHANGES_LAST_3_MONTHS, FUNDING_EVENTS_PAST_12_MONTHS
    fortune
    Filter by Fortune 500 rank. Comma-separated. Available values: 50 (Fortune 50), 51_100, 101_250, 251_500
    excludeHeadquarterLocations
    Headquarters locations to exclude. Comma-separated (max 70)
    excludeHeadquarterGeoIds
    Headquarters Geo IDs to exclude. Comma-separated (max 70)
    excludeIndustryIds
    Industry IDs to exclude. Comma-separated (max 70)
    excludeCompanyHeadcount
    Company headcounts to exclude. Comma-separated. Same values as `companyHeadcount`
    page
    Page number for pagination (clamped at 100). 25 results per page
    sessionId
    Session ID to use for the search. See https://docs.harvestapi.io/linkedin-api-reference/leads/search-leads#session-id for details.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "elements": [
        {
          "description": "Every company has a mission. What's ours? To empower every person and every organization to achieve more.",
          "employeeCountRange": "10001+",
          "employeeDisplayCount": "220K+",
          "highlights": [
            {
              "header": "Expansion of Cloud Services",
              "id": "AIQ_STRATEGIC_PRIORITIES",
              "label": "Expansion of Cloud Services",
              "message": null
            },
            {
              "header": "Hiring on Linkedin",
              "id": "HIRING_ON_LINKEDIN",
              "label": "Hiring on Linkedin",
              "message": "Microsoft is actively hiring on LinkedIn. This is a sign they may be increasing their headcount."
            },
            {
              "header": "Senior leadership hires in the last 90 days",
              "id": "SENIOR_LEADERSHIP_CHANGE",
              "label": "21 senior leadership hires",
              "message": "Microsoft’s senior leadership has recently changed. This can signal an openness to explore new products or services."
            }
          ],
          "id": "1035",
          "industry": "Software Development",
          "linkedinUrl": "https://www.linkedin.com/company/1035",
          "logoUrl": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_400_400/B56ZYQ0mrGGoAc-/0/1744038948046/microsoft_logo?e=1793836800&v=beta&t=JH7PTbL3UCVJmkaiI6Z2aUeXHDoVPM_TzQRclPPsptI",
          "name": "Microsoft"
        },
        {
          "description": "Microsoft Intune empowers your organization to simplify endpoint management, help protect a hybrid workforce, and power better user experiences.",
          "employeeCountRange": "10001+",
          "employeeDisplayCount": "989",
          "highlights": [],
          "id": "95716738",
          "industry": "IT Services and IT Consulting",
          "linkedinUrl": "https://www.linkedin.com/company/95716738",
          "logoUrl": "https://media.licdn.com/dms/image/v2/D4D0BAQGLOoNygVSSeg/company-logo_400_400/B4DZaCFLXBG8Ac-/0/1745939117800/microsoft_intune_product_logo?e=1793836800&v=beta&t=dMlG_JGIxIfrMOm4iFoJulTHXJYuFh-ouJm2ayOBCec",
          "name": "Microsoft Intune"
        }
      ],
      "pagination": {
        "pageNumber": 1,
        "pageSize": 25,
        "previousElements": 0,
        "totalElements": 98574,
        "totalPages": 100
      },
      "status": 200
    }

Common questions

How is annualRevenue expressed?

Use a range in millions, optionally followed by a currency suffix, such as 1-10;USD. Keep that unit distinct from employee-count or percentage-growth ranges.

How do department filters differ from company headcount?

departmentHeadcount uses a min-max;department value. departmentHeadcountGrowth uses a percentage range with the department name; companyHeadcount uses documented company-size bands.

What pagination does this account search expose?

page is an integer. Its description documents a maximum effective page of 100 and 25 results per page. Retain the returned pagination context.

Does a result automatically contact the company?

No. The response contains company reference data. Messaging or outreach is not part of this endpoint.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected implementation. Follow its billing unit and any request-dependent rules before sending the request.

Use LinkedIn Account Search API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.