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

AI Ark / Get one person with a verified email

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

Returns one person’s profile with a real-time verified email. Send id or url; id is tried first, and one of the two is required. When the person isn’t found or has no email it returns HTTP 200 with data: null, not a 404. Other errors keep their real status. Send one of: id, url.

Inputs

Name Type Required Description
id string no The person’s AI Ark <code>id</code> (from People Search / Preview results). Provide <code>id</code> or <code>url</code>.
url string no The person’s full LinkedIn profile URL. Provide <code>id</code> or <code>url</code>. Example: “https://www.linkedin.com/in/john-doe”

Output

Shape of the run’s result, checked against 1 real answer:

{ data: { id, link: { github, twitter, facebook, linkedin }, email: { state, output: { ... }[] }, skills: string[], company: { id, sic: string[], link: { ... }, naics: string[], summary: { ... }, hashtags: string[], location: { ... }, financial: { ... }, languages: string[], industries: string[], last_updated, technologies: { ... }[] }, profile: { title, picture: { ... }, summary, headline, full_name, last_name, background: { ... }, birth_date, first_name, middle_name }, industry, location: { city, short, state, country, default, position }, languages: { primary_locale: { ... }, profile_langua... ...

The shape is cut here. Signed in, looot inspect ai-ark-people-export-single 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-export-single","input":{"id":"<id>","url":"<url>"},"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-export-single",
    input: {
      id: "<id>",
      url: "<url>",
    },
    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-export-single",
        "input": {
            "id": "<id>",
            "url": "<url>",
        },
        "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.email.find as endpointId; see the job page.

Was this page helpful?