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

Preview people

Run job:people.preview through the looot API: 1 provider, from $0.0108 per call. Inputs, prices, output shape and code for curl, JavaScript and Python.

Preview people.

Job id people.preview, in Enrichment (People & contact data). As of 2026-10-01, 1 provider serve it through 1 tool. Run job:people.preview and looot picks one of them; with fallback on, a miss moves on to the next. See Jobs.

Inputs

This job has one tool, so it takes that tool’s fields. Any key you send passes through unchanged.

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

Providers and prices

Provider Tool Price
AI Ark ai-ark-people-preview $0.0108 per call

A call that fails at the provider costs $0. See What’s free.

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":"job: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: "job: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": "job: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 pin one provider, send its tool id as endpointId instead of job:people.preview.

Was this page helpful?