Skip to main content
POST
/
api
/
linkedin
/
sn_search
/
users
/linkedin/sn_search/users
curl --request POST \
  --url https://api.anysite.io/api/linkedin/sn_search/users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <access-token>' \
  --data '{
  "timeout": 300,
  "keywords": "Director",
  "first_names": [
    "Bill"
  ],
  "last_names": [
    "Gates"
  ],
  "current_titles": [
    "Director"
  ],
  "location": {
    "by name": "Tokyo",
    "list": [
      "urn:li:geo:103689695"
    ]
  },
  "education": {
    "by name": "Harvard",
    "list": [
      "urn:li:company:96"
    ]
  },
  "languages": "Arabic",
  "past_titles": [
    "Director"
  ],
  "functions": [
    "Accounting"
  ],
  "levels": [
    "Entry"
  ],
  "years_in_the_current_company": [
    "0-1"
  ],
  "years_in_the_current_position": [
    "0-1"
  ],
  "company_sizes": [
    "Self-employed"
  ],
  "company_types": [
    "Public Company"
  ],
  "company_locations": {
    "by name": "Tokyo",
    "list": [
      "urn:li:geo:103689695"
    ]
  },
  "current_companies": {
    "by name": "microsoft",
    "list": [
      "urn:li:company:1441"
    ]
  },
  "past_companies": {
    "by name": "microsoft",
    "list": [
      "urn:li:company:1441"
    ]
  },
  "industry": {
    "by name": "IT",
    "list": [
      "urn:li:industry:96"
    ]
  },
  "is_posted_on_linkedin": true,
  "count": 1250,
  "company_keyword": "Microsoft",
  "past_company_keyword": "Google"
}'
[
  {
    "@type": "LinkedinSalesNavigatorSearchUsersUser",
    "internal_id": {
      "type": "fsd_company",
      "value": "<string>"
    },
    "urn": {
      "type": "fsd_company",
      "value": "<string>"
    },
    "name": "<string>",
    "url": "<string>",
    "image": "<string>",
    "headline": "<string>",
    "location": "<string>",
    "is_premium": false,
    "current_companies": []
  }
]

Headers

access-token
string
required

Body

application/json
count
integer
required

Max result count

Required range: 1 <= x <= 2500
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keywords
string
default:""

Any keyword for searching in the user page.With the params result count will be small.Use other params to obtain a lot of results

Examples:

"Director"

first_names
string[]

Search for exact first names

Examples:
["Bill"]
last_names
string[]

Search for exact last names

Examples:
["Gates"]
current_titles
string[]

Search for exact word in the current title

Examples:
["Director"]
location

Location URN, can be obtained in /linkedin/search/locations, only geo urn type is allowed. Or location name.

Examples:
{
"by name": "Tokyo",
"list": ["urn:li:geo:103689695"]
}
education

Education URN, can be obtained in /linkedin/search/educations, only fsd_company urn type is allowed. Or education name.

Examples:
{
"by name": "Harvard",
"list": ["urn:li:company:96"]
}
languages
enum<string>[]

Profile Language

Examples:

"Arabic"

past_titles
string[]

Search for exact word in the past title

Examples:
["Director"]
functions
enum<string>[]

Job functions

levels
enum<string>[]

Job level

years_in_the_current_company
enum<string>[]

Years in the current company

years_in_the_current_position
enum<string>[]

Years in the current position

company_sizes
enum<string>[]

Sizes of the current company

company_types
enum<string>[]

Types of the current company

company_locations

Company Location URN, can be obtained in /linkedin/search/locations, only geo urn type is allowed. Or location name.

Examples:
{
"by name": "Tokyo",
"list": ["urn:li:geo:103689695"]
}
current_companies

Current company URN, only company urn type is allowed. Or company name.

Examples:
{
"by name": "microsoft",
"list": ["urn:li:company:1441"]
}
past_companies

Past company URN, only company urn type is allowed or company name. Or company name.

Examples:
{
"by name": "microsoft",
"list": ["urn:li:company:1441"]
}
industry

Industry URN, can be obtained in /linkedin/search/industries, only industry urn type is allowed. Or industry name.

Examples:
{
"by name": "IT",
"list": ["urn:li:industry:96"]
}
is_posted_on_linkedin
boolean | null

Users who have recently published content on the platform

company_keyword
string
default:""

Keyword for current company text filter in Sales Navigator.

Examples:

"Microsoft"

past_company_keyword
string
default:""

Keyword for past company text filter in Sales Navigator.

Examples:

"Google"

Response

Successful Response

internal_id
object
required
urn
object
required
name
string
required
url
string
required
@type
string
default:LinkedinSalesNavigatorSearchUsersUser
image
string | null
headline
string | null
location
string | null
is_premium
boolean
default:false
current_companies
LinkedinSalesNavigatorSearchUsersCurrentCompany · object[]
I