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

Enrich Layer API / /api/v2/search/person

Enrich Layer tool enrichlayer-api-search-person on looot: input fields, $0.0792 per result, output shape, and code to run it with curl, JavaScript or Python.

Cost: 3 credits / Profile URL. Search for people who meet a set of criteria within our exhaustive dataset of people profiles. This API endpoint can return at most 10,000,000 results per search. Each search expression for a parameter is limited to a maximum of 255 characters. Search expressions follow the Boolean Search Syntax.

Inputs

Name Type Required Description
city string no
country string no
current_company_city string no
current_company_country string no
current_company_description string no
current_company_domain_name string no
current_company_employee_count_category string no
current_company_employee_count_max string no
current_company_employee_count_min string no
current_company_follower_count_max string no
current_company_follower_count_min string no
current_company_founded_after_year string no
current_company_founded_before_year string no
current_company_funding_amount_max string no
current_company_funding_amount_min string no
current_company_funding_raised_after string no
current_company_funding_raised_before string no
current_company_industry string no
current_company_name string no
current_company_primary_industry string no
current_company_profile_url string no
current_company_region string no
current_company_specialities string no
current_company_type string no
current_job_description string no
current_role_after string no
current_role_before string no
current_role_title string no
education_degree_name string no
education_field_of_study string no
education_school_name string no
education_school_profile_url string no
enrich_profiles string no
first_name string no
follower_count_max string no
follower_count_min string no
groups string no
headline string no
industries string no
interests string no
languages string no
last_name string no
next_token string no
page_size string no
past_company_name string no
past_company_profile_url string no
past_job_description string no
past_role_title string no
public_identifier_in_list string no
public_identifier_not_in_list string no
region string no
skills string no
skills_all_in_list string no
summary string no
use_cache string no

Output

The run’s result holds the provider’s answer. Signed in, looot inspect enrichlayer-api-search-person 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":"enrichlayer-api-search-person","input":{"city":"<city>"},"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: "enrichlayer-api-search-person",
    input: {
      city: "<city>",
    },
    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": "enrichlayer-api-search-person",
        "input": {
            "city": "<city>",
        },
        "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?