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

AI Ark / Preview who matches a people search

AI Ark tool ai-ark-people-preview on looot: input fields, $0.0108 per call, output shape, and code to run it with curl, JavaScript or Python.

Run any People Search for a flat 1 credit per page and see who matches before spending per-result credits, the recommended first call of every list-building workflow. Validate your filters, check totalElements, inspect match quality, then send the exact same filter body to People Search or Export People with Email. Credit Usage: 1 credit per page, whether the page holds 25 or 100 results. A full page of 100 previews costs 1 credit; the same page on People Search costs 50 credits (0.5 × 100). Up to 100 results per page (default 25), max 10,000 results per search. Each preview result contains: • The person’s real AI Ark id, accepted directly by Export Single Person with Email, no full search needed • First name, masked last name (e.g. Ba**e), title, headline, location, department/functions/seniority, position history with dates • The full company object: id, name, description, industry, headcount, revenue, HQ + office locations, keywords, NAICS/SIC • has_ availability flags (has_mobile, has_skills, has_educations, …), see what data exists before paying to enrich; has_mobile: true means a Mobile Phone Finder call (5 credits) has something to find Not included: unmasked last names, emails, phone numbers, and no trackId (email finding chains off People Search only). Body: identical to People Search, all account, contact and lists filters plus page and size. <str

  • Tool id: ai-ark-people-preview
  • Provider: AI Ark
  • Job: Preview people (people.preview)
  • Price: $0.0108 per call. A call that fails at the provider costs $0.

Inputs

Name Type Required Description
account object no
contact object no
lists object no Reference up to <strong>10 lists per request</strong> (each list holds up to <strong>10,000 items</strong>) to <strong>exclude</strong> the matching people from your results.
page integer yes Required on People Search and Company Search (default 0). Zero-based page number. Use with size to paginate. The full result set is capped at 10,000 records per search, see the Lists pagination pattern above to go deeper. Example: 0
size integer yes Required on People Search and Company Search. Results per page: max 100. Default 10 on People Search / Company Search, 25 on Preview. On Export People with Email, size is the total export size, up to 10,000. Example: 10

Output

Shape of the run’s result, checked against 3 real answers:

{ last, size, sort: { empty, sorted, unsorted }, empty, first, number, content: ... ...

The shape is cut here. Signed in, looot inspect ai-ark-people-preview prints all of it.

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":"ai-ark-people-preview","input":{"page":0,"size":10,"lists":{"people_id":{"exclude":["294ce93e-8881-414c-8951-e91b5df7f560"]}}},"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: "ai-ark-people-preview",
    input: {
      page: 0,
      size: 10,
      lists: {
        people_id: {
          exclude: ["294ce93e-8881-414c-8951-e91b5df7f560"],
        },
      },
    },
    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": "ai-ark-people-preview",
        "input": {
            "page": 0,
            "size": 10,
            "lists": {
                "people_id": {
                    "exclude": ["294ce93e-8881-414c-8951-e91b5df7f560"],
                },
            },
        },
        "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.preview as endpointId; see the job page.

Was this page helpful?