This section describes the data you can expect from each returned search. The same profile data structure will be returned from multiple profile collection endpoints as described below. Credit usage is dependent on the endpoint used.
Uses 1 Search Credit.
This endpoint retrieves a single page for a LinkedIn People search.
HTTP Request
GET https://api.lix-it.com/v1/li/linkedin/search/people
URL Parameters
Required parameters
url
The url-encoded LinkedIn search URL
Optional parameters
viewer_id
The LinkedIn ID of the account you would like to view this profile as
sequence_id
A randomly generated string by you that is used to maintain collection settings between requests. See the section on Sequence IDs for more informations
Here is an example of an LinkedIn People Search API call in Python:
import requests
url = "<https://api.lix-it.com/v1/li/linkedin/search/people?viewer_id=alfie-lambert&url=https://www.linkedin.com/search/results/people/?keywords=lix&origin=SWITCH_SEARCH_VERTICAL&sid=%40%2Co>"
payload={}
headers = {
'Authorization': lix_api_key
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
This call will return JSON, structured like this:
{
"searchResponse": {
"people": [ Person ],
"paging": { "count": 25, "start": 0, "total": 1000 },
},
}
Uses 1 Search Credit.
This endpoint retrieves a single page for a LinkedIn Job search.
HTTP Request
GET https://api.lix-it.com/v1/li/linkedin/search/jobs
URL Parameters
Required parameters
url
The url-encoded LinkedIn search URL
Optional parameters
viewer_id
The LinkedIn ID of the account you would like to view this profile as
sequence_id
A randomly generated string by you that is used to maintain collection settings between requests. See the section on Sequence IDs for more informations
Here is an example of a Jobs Search API call in Python:
import requests
url = "<https://api.lix-it.com/v1/li/linkedin/search/jobs?viewer_id=alfie-lambert&url=https://www.linkedin.com/jobs/search/?currentJobId=3436671233&keywords=lix>"
payload={}
headers = {
'Authorization': lix_api_key
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
This call will return JSON, structured like this:
{
"searchResponse": {
"people": [ JobPosting ],
"paging": { "count": 10, "start": 0, "total": 1000 },
},
}
Uses 1 Search Credit.
This endpoint retrieves a single page for a LinkedIn Job search.
HTTP Request
GET https://api.lix-it.com/v1/li/linkedin/search/jobs
URL Parameters
Required parameters
url
The url-encoded LinkedIn search URL
Optional parameters
viewer_id
The LinkedIn ID of the account you would like to view this profile as
sequence_id
A randomly generated string by you that is used to maintain collection settings between requests. See the section on Sequence IDs for more informations
Here is an example of a Posts Search API call in Python:
import requests
url = "<https://api.lix-it.com/v1/li/linkedin/search/posts?viewer_id=alfie-lambert&url=https://www.linkedin.com/search/results/CONTENT/?keywords=lix&origin=SWITCH_SEARCH_VERTICAL&sid=V2J>"
payload={}
headers = {
'Authorization': lix_api_key
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
This call will return JSON, structured like this:
{
"searchResponse": {
"posts": [ Post ],
"paging": { "count": 10, "start": 0, "total": 1000 },
},
}
Uses 1 Search Credit.
This endpoint retrieves a single page for a LinkedIn Job search.
HTTP Request
GET https://api.lix-it.com/v1/li/sales/search/people
URL Parameters
Required parameters
url
The url-encoded LinkedIn search URL
Optional parameters
viewer_id
The LinkedIn ID of the account you would like to view this profile as
sequence_id
A randomly generated string by you that is used to maintain collection settings between requests. See the section on Sequence IDs for more informations
Here is an example of a Sales Navigator Leads Search API call in Python:
import requests
import urllib.parse
linkedin_url = "https://www.linkedin.com/sales/search/people?query=(spellCorrectionEnabled%3Atrue%2CrecentSearchParam%3A(id%3A2154062338%2CdoLogHistory%3Atrue)%2Ckeywords%3Alix)&sessionId=GumqcP8vR0aPVWr3cNR74A%3D%3D"
# encode the URL
linkedin_url = urllib.parse.quote(linkedin_url, safe='')
url = "https://api.lix-it.com/v1/li/sales/search/people?url=" + linkedin_url
payload={}
headers = {
'Authorization': lix_api_key
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.json())
This call will return JSON, structured like this:
{
"searchResponse": {
"people": [ Person ],
"paging": { "count": 25, "start": 0, "total": 2500 },
},
"meta": {
"sequenceId": "jAkFkdjfi19kFdf"
}
}