LinkedIn lead generation: search by location
Search LinkedIn people and companies by keyword and place through an API, with filters, honest limits and a search-then-profile workflow.
The short answer
- Search, then enrich: run a people or company search for a keyword and a place, then pull the full profile of the leads worth keeping.
- Place defaults to the United States, and you can name a country, state or city, or several separated by semicolons.
- Known limits: about 5 to 10 results per search, and people's names are often hidden as LinkedIn Member.
Read this as
Developer
Call the search endpoint with a query, a type and a location. Each result is one row, so the limit you set is the most you can be billed. Feed the profile slugs into the profile endpoint.
Example 20 searches is at most about 200 results: $0.50.
Marketer
Build a list of, say, marketing managers in Texas, then research the best fits one by one before you reach out.
Example 30 searches plus 100 full profiles is about 400 results: $1.
Agency
Build separate lists per client and per city, and keep the filters with the list so a refresh later is the same search.
Example 5 clients times 20 searches each is about 1,000 results: $2.50.
Researcher
Search shows who LinkedIn shows for a query, not everyone. Treat results as a sample shaped by what LinkedIn shows in search.
Example 200 searches across a country is about 2,000 results: $5.
LinkedIn search is where most lead lists start. The search endpoint takes a keyword and returns people, companies, posts or jobs as rows. People and company searches take a place, so a list for Berlin and a list for Austin are two requests with the same shape.
How do I filter by location?
Use the location parameter. It takes a country, a state or a city, or several separated by semicolons, for example "United Kingdom; Berlin". If you leave it out, results come from the United States. A two-letter code means a country, so CA is Canada, not California. Post search has no location filter.
Which filters are there?
| Filter | What it does |
|---|---|
| query | All types. The keywords, such as product manager. |
| type | people, companies, posts or jobs. Defaults to people. |
| location | People and companies. Country, state or city. Defaults to United States. |
| current_company | People. Keep people who work at one company, by its slug or numeric id. |
| industry and company_size | Companies. An industry id, and a size band from 1-10 up to 10001+. |
| date_posted and sort | Posts (and date_posted for jobs). past-24h, past-week or past-month, and latest or relevance. |
| from_company | Posts. Only posts written by one company. |
Step 1: Run a search
| Part of the request | Value |
|---|---|
| Method and path | POST /api/public/v1/scrape/linkedin/search |
| Body | { "parameters": { "query": "head of growth", "type": "people", "location": "Austin" }, "limit": 10 } |
| Response | 202 Accepted, with a run id. Read the rows when the run finishes. |
Step 2: Turn the best leads into full profiles
| Headline | Location | Url | Name hidden |
|---|---|---|---|
| Head of Growth at Example Corp | Austin, Texas, United States | https://www.linkedin.com/in/ada-example | false |
| Head of Growth at Sample Labs | Austin, Texas, United States | https://www.linkedin.com/in/sam-sample | false |
| Head of Growth | Austin, Texas, United States | https://www.linkedin.com/in/ACoAAExample | true |
[
{
"headline": "Head of Growth at Example Corp",
"location": "Austin, Texas, United States",
"url": "https://www.linkedin.com/in/ada-example",
"name_hidden": false
},
{
"headline": "Head of Growth at Sample Labs",
"location": "Austin, Texas, United States",
"url": "https://www.linkedin.com/in/sam-sample",
"name_hidden": false
},
{
"headline": "Head of Growth",
"location": "Austin, Texas, United States",
"url": "https://www.linkedin.com/in/ACoAAExample",
"name_hidden": true
}
]
Take the profile URLs you want and run the profile endpoint for each, as in our LinkedIn profile API guide. Searching is cheap and wide. Profiles are the deeper read, so most lists keep only the best fits.
What are the limits?
- Hidden names
- LinkedIn often hides people's names (name_hidden: true). The row still has headline, location and a profile URL. You are billed for rows returned.
- Page size
- About 5 to 10 results per search, first page only. For a bigger list, run more searches with different keywords, places or companies.
- No contact details
- Contact details are not returned, because LinkedIn does not show them.
- Not everyone appears
- A search shows what LinkedIn shows in search. It is a sample, not a census.
Use it responsibly
Lists of people are personal data. Have a lawful basis for contacting them, follow the privacy and marketing laws that apply to you, honor opt outs, and check LinkedIn's terms for your use case. SocialHolmes is an independent service and is not affiliated with LinkedIn.
What SocialHolmes costs
A city lead list
An illustrative job. Every row returned is one result, whatever the filters.
$2.50 per 1,000 results (5 credits per result), with no monthly minimum (see pricing). New accounts get 1,000 free credits (200 LinkedIn results). To pull a company's details, see the LinkedIn company data API guide, and for what people post, tracking LinkedIn posts and comments.
Questions people ask
Can I search LinkedIn by location with an API?
Yes. People and company search take a location: a country, a state or a city, or several separated by semicolons. It defaults to the United States.
Why do some search results say LinkedIn Member?
LinkedIn hides some names in search results. Those rows come back without a name, with headline, location and a profile URL.
How many results does a LinkedIn search return?
About 5 to 10, the first page only. A higher limit does not page further. Run more searches to widen a list.
Does it give emails for leads?
No. Search returns what LinkedIn shows: headline, location and a profile URL, plus a name when LinkedIn shows it. Contact details are not returned.
How much does a lead list cost?
Every result is one row, so 1,000 leads cost $2.50 with no monthly minimum. Because a search returns about 5 to 10 rows, that is roughly 100 to 200 searches.
Posts are published in English only. The rest of the site reads in ten languages; these do not, because a translated archive is one nobody keeps current.
Try it on your own targets
The only comparison that settles anything is your own. A new account gets 1,000 credits, needs no card, and runs on the same endpoints and rate as a paying one.