Search LinkedIn accounts
Search for LinkedIn accounts via API. The sample response includes labels. Use it to surface relevant records in a search or discovery tool. The GET request schema also lists headquarterLocations, headquarterGeoIds. Use the results to organize a research workflow and cross-check the relevant source records.
- Selected price
- $0.1 / callPublished pricing
- Sellers / implementations
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
harvestapiCurrent Search LinkedIn accounts · GET | $0.1 / call | — | —successP50— |
Run sends a real API request. Charges follow the published API contract.
Response structure
elementsobject[]descriptionstringemployeeCountRangestringemployeeDisplayCountstringhighlightsobject[]headerstringidstringlabelstringmessagenull | string
idstringindustrystringlinkedinUrlstringlogoUrlstringnamestring
paginationobjectpageNumberintegerpageSizeintegerpreviousElementsintegertotalElementsintegertotalPagesinteger
statusinteger
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
elements?: Array<{
description?: string;
employeeCountRange?: string;
employeeDisplayCount?: string;
highlights?: Array<{
header?: string;
id?: string;
label?: string;
message?: null | string;
}>;
id?: string;
industry?: string;
linkedinUrl?: string;
logoUrl?: string;
name?: string;
}>;
pagination?: {
pageNumber?: number;
pageSize?: number;
previousElements?: number;
totalElements?: number;
totalPages?: number;
};
status?: number;
};- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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'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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Search LinkedIn accounts
Search for LinkedIn accounts via API. The sample response includes labels. Use it to surface relevant records in a search or discovery tool. The GET request schema also lists headquarterLocations, headquarterGeoIds. Use the results to organize a research workflow and cross-check the relevant source records.
## Available implementations
harvestapi · Search LinkedIn accounts: https://openany.si/markets/apis/capabilities/linkedin-search-linkedin-accounts?offering=1bc038b2-daeb-49c2-9714-88a9c9cb0303 · $0.1 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/linkedin-search-linkedin-accounts
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search
Price: $0.1 / call
Provider: harvestapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
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'
```
## API contract
```json
{
"resource_type": "api",
"name": "Search LinkedIn accounts",
"endpoint": "https://api.openany.si/v1/agent-apis/harvestapi/linkedin/account-search",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Search query. Fuzzy search, supports LinkedIn's search operators",
"location": "query",
"name": "search",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by headquarters location text. Comma-separated (max 70)",
"location": "query",
"name": "headquarterLocations",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by headquarters LinkedIn Geo ID. Comma-separated (max 70). Use /linkedin/geo-id-search to find IDs",
"location": "query",
"name": "headquarterGeoIds",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "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",
"location": "query",
"name": "industryIds",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by company headcount. Comma-separated. Available values: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+",
"location": "query",
"name": "companyHeadcount",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by company headcount growth in percent, as `min-max`. Example: `1-100`",
"location": "query",
"name": "companyHeadcountGrowth",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by annual revenue in millions, as `min-max;currency` (USD by default). Examples: `1-10;USD`, `0.5-1000`",
"location": "query",
"name": "annualRevenue",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by number of followers. Comma-separated. Available values: 1-50, 51-100, 101-1000, 1001-5000, 5001+",
"location": "query",
"name": "numOfFollowers",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "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",
"location": "query",
"name": "departmentHeadcount",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by the headcount growth of a department in percent, as `min-max;department`. Example: `5-50;Sales`. Same departments as `departmentHeadcount`",
"location": "query",
"name": "departmentHeadcountGrowth",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Set to `HIRING_ON_LINKEDIN` to find companies that are hiring on LinkedIn",
"location": "query",
"name": "jobOpportunities",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by recent company activities. Comma-separated. Available values: SENIOR_LEADERSHIP_CHANGES_LAST_3_MONTHS, FUNDING_EVENTS_PAST_12_MONTHS",
"location": "query",
"name": "accountActivities",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Filter by Fortune 500 rank. Comma-separated. Available values: 50 (Fortune 50), 51_100, 101_250, 251_500",
"location": "query",
"name": "fortune",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Headquarters locations to exclude. Comma-separated (max 70)",
"location": "query",
"name": "excludeHeadquarterLocations",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Headquarters Geo IDs to exclude. Comma-separated (max 70)",
"location": "query",
"name": "excludeHeadquarterGeoIds",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Industry IDs to exclude. Comma-separated (max 70)",
"location": "query",
"name": "excludeIndustryIds",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Company headcounts to exclude. Comma-separated. Same values as `companyHeadcount`",
"location": "query",
"name": "excludeCompanyHeadcount",
"nullable": false,
"required": false,
"type": "string"
},
{
"description": "Page number for pagination (clamped at 100). 25 results per page",
"location": "query",
"name": "page",
"nullable": false,
"required": false,
"type": "integer"
},
{
"description": "Session ID to use for the search. See https://docs.harvestapi.io/linkedin-api-reference/leads/search-leads#session-id for details.",
"location": "query",
"name": "sessionId",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "100000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example (request placeholders)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
}
}
]
}
```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. |
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 }
Common questions
Do I need a separate key for every provider?
Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.
Are these providers interchangeable?
No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.
How is this API billed?
API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.
Where do the price and contract come from?
The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.
How do OpenAny Balance and x402 differ?
OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.
Does Playground send a paid request?
Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.
Use Search LinkedIn accounts with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.