Skip to content
looot docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

Anysite / Search LinkedIn people

Anysite tool anysite-api-linkedin-search-users on looot: input fields, $0.00036 per result, output shape, and code to run it with curl, JavaScript or Python.

Searches LinkedIn members by keywords, job_title, current_company, past_company, location, industry, education and name. count sets how many results. Priced per result (1 Anysite credit per 10 results). Send at least one filter such as keywords, job_title or company. Filter by company with LinkedIn company ids (current_company/past_company), not names; location takes a plain name such as Netherlands.

  • Tool id: anysite-api-linkedin-search-users
  • Provider: Anysite
  • Job: Find people matching a filter (people.search)
  • Price: $0.00036 per result. A call that fails at the provider costs $0.

Inputs

Name Type Required Description
company_keywords string no Search for exact word in the company name. Example: “Microsoft”
count integer yes Max result count. Example: 1
current_company array no Current company as LinkedIn company ids, e.g. [{“type”: “company”, “value”: “2135371”}]. Get the id from anysite-api-linkedin-search-companies. A company name is refused by Anysite (412, which Anysite bills).
education unknown no Education institution URN or name Prefer the school’s URN from anysite search; a plain name may be refused (412).
first_name string no Search for exact first name. Using first_name or last_name significantly improves result quality.
industry unknown no Industry URN or name. Valid top-level industries: Technology, Information and Media; Professional Services; Manufacturing; Hospitals and Health Care; Retail; Government Administration; Holding Companies; Oil, Gas, and Mining; Real Estate and Equipment Rental Services; Transportation, Logistics, Supply Chain and Storage; Utilities; Wholesale. Text auto-resolves to URN.
is_verified boolean no Only people whose identity LinkedIn has verified
job_title string no Search for exact word in the title. Example: “Director”
keywords string no 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. Example: “product manager fintech”
last_name string no Search for exact last name. Using first_name or last_name significantly improves result quality.
location unknown no Location geo URN or location name
open_to_volunteer boolean no Only people marked as open to volunteering. Not the same as open to work.
past_company array no Past company as LinkedIn company ids, e.g. [{“type”: “company”, “value”: “2135371”}]. Get the id from anysite-api-linkedin-search-companies. A company name is refused by Anysite (412, which Anysite bills).
profile_language array no Profile language, ISO 639-1 code. Filters by the language the profile is written in, not by the languages the person lists as spoken.
school_keywords string no Search for exact word in the school name. Example: “Harvard”
timeout integer no Max scrapping execution timeout (in seconds)
x-request-id string no

Output

The run’s result holds the provider’s answer. Signed in, looot inspect anysite-api-linkedin-search-users prints its fields.

Run it

Every call needs your API token in LOOOT_TOKEN; Sign in shows how to get one. Each run also needs a new idempotency key, so a retry never pays twice. With wait: 30 the answer comes back inline when the run ends within 30 seconds. Otherwise you get the running run back: poll GET /v1/runs/<runId>.

Example input with placeholder values:

curl -X POST "https://api.looot.ai/v1/runs" \
  -H "Authorization: Bearer $LOOOT_TOKEN" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"endpointId":"anysite-api-linkedin-search-users","input":{"count":1,"keywords":"product manager fintech","job_title":"Director","last_name":"Doe","first_name":"Jane","past_company":[{"type":"company","value":"2135371"}],"current_company":[{"type":"company","value":"2135371"}],"school_keywords":"Harvard","company_keywords":"Microsoft","profile_language":["<profile_language>","<profile_language>"]},"wait":30}'
const response = await fetch("https://api.looot.ai/v1/runs", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.LOOOT_TOKEN}`,
    "Content-Type": "application/json",
    "Idempotency-Key": crypto.randomUUID(),
  },
  body: JSON.stringify({
    endpointId: "anysite-api-linkedin-search-users",
    input: {
      count: 1,
      keywords: "product manager fintech",
      job_title: "Director",
      last_name: "Doe",
      first_name: "Jane",
      past_company: [{
        type: "company",
        value: "2135371",
      }],
      current_company: [{
        type: "company",
        value: "2135371",
      }],
      school_keywords: "Harvard",
      company_keywords: "Microsoft",
      profile_language: ["<profile_language>", "<profile_language>"],
    },
    wait: 30,
  }),
});
const run = await response.json();
console.log(run.status, run.result);
import os
import uuid

import requests

response = requests.post(
    "https://api.looot.ai/v1/runs",
    headers={
        "Authorization": f"Bearer {os.environ['LOOOT_TOKEN']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    json={
        "endpointId": "anysite-api-linkedin-search-users",
        "input": {
            "count": 1,
            "keywords": "product manager fintech",
            "job_title": "Director",
            "last_name": "Doe",
            "first_name": "Jane",
            "past_company": [{
                "type": "company",
                "value": "2135371",
            }],
            "current_company": [{
                "type": "company",
                "value": "2135371",
            }],
            "school_keywords": "Harvard",
            "company_keywords": "Microsoft",
            "profile_language": ["<profile_language>", "<profile_language>"],
        },
        "wait": 30,
    },
    timeout=90,
)
run = response.json()
print(run["status"], run.get("result"))

To let looot pick among every provider of this job instead, send job:people.search as endpointId; see the job page.

Was this page helpful?