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
LinkedIn Account Search API
Prepare your request, then continue with your agent.
Selected price
$0.1 / call
- Provider
- API
- Pricing
On this page
Overview
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
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
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
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
harvestapiCurrent Search LinkedIn accounts · GET · View API reference | $0.1 / call | 0 | —successP50— |
- 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.
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
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
search | URL query parametersquery | string | No | Search query. Fuzzy search, supports LinkedIn's search operators |
headquarterLocations | URL query parametersquery | string | No | Filter by headquarters location text. Comma-separated (max 70) |
headquarterGeoIds | URL query parametersquery | string | No | Filter by headquarters LinkedIn Geo ID. Comma-separated (max 70). Use /linkedin/geo-id-search to find IDs |
industryIds | URL query parametersquery | string | No | 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 | URL query parametersquery | string | No | Filter by company headcount. Comma-separated. Available values: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+ |
companyHeadcountGrowth | URL query parametersquery | string | No | Filter by company headcount growth in percent, as `min-max`. Example: `1-100` |
annualRevenue | URL query parametersquery | string | No | Filter by annual revenue in millions, as `min-max;currency` (USD by default). Examples: `1-10;USD`, `0.5-1000` |
numOfFollowers | URL query parametersquery | string | No | Filter by number of followers. Comma-separated. Available values: 1-50, 51-100, 101-1000, 1001-5000, 5001+ |
departmentHeadcount | URL query parametersquery | string | No | 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 | URL query parametersquery | string | No | Filter by the headcount growth of a department in percent, as `min-max;department`. Example: `5-50;Sales`. Same departments as `departmentHeadcount` |
jobOpportunities | URL query parametersquery | string | No | Set to `HIRING_ON_LINKEDIN` to find companies that are hiring on LinkedIn |
accountActivities | URL query parametersquery | string | No | Filter by recent company activities. Comma-separated. Available values: SENIOR_LEADERSHIP_CHANGES_LAST_3_MONTHS, FUNDING_EVENTS_PAST_12_MONTHS |
fortune | URL query parametersquery | string | No | Filter by Fortune 500 rank. Comma-separated. Available values: 50 (Fortune 50), 51_100, 101_250, 251_500 |
excludeHeadquarterLocations | URL query parametersquery | string | No | Headquarters locations to exclude. Comma-separated (max 70) |
excludeHeadquarterGeoIds | URL query parametersquery | string | No | Headquarters Geo IDs to exclude. Comma-separated (max 70) |
excludeIndustryIds | URL query parametersquery | string | No | Industry IDs to exclude. Comma-separated (max 70) |
excludeCompanyHeadcount | URL query parametersquery | string | No | Company headcounts to exclude. Comma-separated. Same values as `companyHeadcount` |
page | URL query parametersquery | integer | No | Page number for pagination (clamped at 100). 25 results per page |
sessionId | URL query parametersquery | string | No | Session ID to use for the search. See https://docs.harvestapi.io/linkedin-api-reference/leads/search-leads#session-id for details. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
elementsobject[]descriptionstringemployeeCountRangestringemployeeDisplayCountstringhighlightsobject[]headerstringidstringlabelstringmessagenull | string
idstringindustrystringlinkedinUrlstringlogoUrlstringnamestring
paginationobjectpageNumberintegerpageSizeintegerpreviousElementsintegertotalElementsintegertotalPagesinteger
statusinteger
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect 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.
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 / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'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 · cURLcurl \ 'https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'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 }