Skip to main content
POST
/
api
/
linkedin
/
search
/
users
/linkedin/search/users
curl --request POST \
  --url https://api.anysite.io/api/linkedin/search/users \
  --header 'Content-Type: application/json' \
  --header 'access-token: <access-token>' \
  --data '{
  "timeout": 300,
  "keywords": "Director",
  "first_name": "Bill",
  "last_name": "Gates",
  "title": "Director",
  "company_keywords": "Microsoft",
  "school_keywords": "Harvard",
  "current_company": {
    "by name": "microsoft",
    "list": [
      "urn:li:company:1441"
    ]
  },
  "past_company": {
    "by name": "microsoft",
    "list": [
      "urn:li:company:1441"
    ]
  },
  "location": {
    "by name": "Tokyo",
    "list": [
      "urn:li:geo:103689695"
    ]
  },
  "industry": {
    "by name": "IT",
    "list": [
      "urn:li:industry:96"
    ]
  },
  "education": {
    "by name": "Harvard",
    "list": [
      "urn:li:fsd_company:96"
    ]
  },
  "count": 123
}'
[
  {
    "@type": "LinkedinSearchUser",
    "internal_id": {
      "type": "fsd_company",
      "value": "<string>"
    },
    "urn": {
      "type": "fsd_company",
      "value": "<string>"
    },
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "image": "<string>",
    "headline": "<string>",
    "location": "<string>",
    "open_to_work": false
  }
]

Headers

access-token
string
required

Body

application/json
count
integer
required

Max result count

Required range: 0 < x <= 1000
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_name
string
default:""

Search for exact first name

Examples:

"Bill"

last_name
string
default:""

Search for exact last name

Examples:

"Gates"

title
string
default:""

Search for exact word in the title

Examples:

"Director"

company_keywords
string
default:""

Search for exact word in the company name

Examples:

"Microsoft"

school_keywords
string
default:""

Search for exact word in the school name

Examples:

"Harvard"

current_company

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

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

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

Examples:
{
"by name": "microsoft",
"list": ["urn:li:company:1441"]
}
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"]
}
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"]
}
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:fsd_company:96"]
}

Response

Successful Response

internal_id
object
required
urn
object
required
name
string
required
alias
string
required
url
string
required
@type
string
default:LinkedinSearchUser
image
string | null
headline
string | null
location
string | null
open_to_work
boolean
default:false
I