Quickstart

Run a search, wait for it to finish, read the evidence, then unlock a contact if you need one.

Before you start

You need an API key. Humos is in development: there is no public access yet, and api.humos.tech is not live.

export HUMOS_API_URL="https://api.humos.tech"
export HUMOS_API_KEY="your-key"

Base URL

The contract lists https://api.humos.tech as the server. The service is still being built. Confirm the base URL when you receive your key, and do not send a key anywhere else.

Send at least one of titles or must_haves. This is the request body, saved as search.json.

{
  "titles": ["Head of Operations"],
  "locations": ["Lisbon"],
  "years_of_experience": { "min": 8 },
  "must_haves": ["Has led an operations team at a lending company"],
  "nice_to_haves": ["Speaks Portuguese"],
  "limit": 10,
  "wait_seconds": 30
}
curl "$HUMOS_API_URL/v1/search" \
  -H "Authorization: Bearer $HUMOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d @search.json

Context clues, red flags and a cutoff

A must-have or nice-to-have can be an object that says what counts for and against it. min_score, from 0 to 100, leaves out people who score below it.

{
  "must_haves": [
    {
      "requirement": "Has led an operations team at a lending company",
      "context_clues": ["Managed a collections or underwriting team"],
      "red_flags": ["Advisory roles only"]
    }
  ],
  "min_score": 60
}

A clue can show that a requirement is met, with a quote from a source. A requirement with a red flag found loses half its weight in the score. Verdicts list what was found.

limit is 1 to 200 and defaults to 25. wait_seconds is 0 to 60 and defaults to 30. It sets how long the call may wait for the search to finish.

Finished or still running

ResponseMeaning
200Finished. The body is a search.
202Still running. The body is a search. Keep its id.
OtherAn error.

A search that is still running can look like this.

{
  "id": "srch_example_01",
  "status": "running",
  "created_at": "2026-12-03T09:00:00Z"
}

status is queued, running, completed or failed. Read it again with getSearch.

curl "$HUMOS_API_URL/v1/searches/srch_example_01" \
  -H "Authorization: Bearer $HUMOS_API_KEY"

The same in TypeScript

Node 22 has fetch built in. This starts a search and polls with a growing delay until it ends or your own deadline passes.

const base = process.env.HUMOS_API_URL!;
const headers = {
  Authorization: `Bearer ${process.env.HUMOS_API_KEY}`,
  "Content-Type": "application/json",
};

async function call(path: string, init: RequestInit = {}) {
  const res = await fetch(base + path, { ...init, headers });
  if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
  return res.json();
}

let search = await call("/v1/search", {
  method: "POST",
  body: JSON.stringify({
    titles: ["Head of Operations"],
    locations: ["Lisbon"],
    limit: 10,
  }),
});

const deadline = Date.now() + 10 * 60_000;
let delay = 2_000;
while (search.status === "queued" || search.status === "running") {
  if (Date.now() > deadline) throw new Error(`still running: ${search.id}`);
  await new Promise((resolve) => setTimeout(resolve, delay));
  delay = Math.min(delay * 2, 30_000);
  search = await call(`/v1/searches/${search.id}`);
}

if (search.status === "failed") {
  throw new Error(search.error?.message ?? "search failed");
}
for (const person of search.results ?? []) {
  console.log(person.score, person.name, person.title, person.company);
}

The polling delays and the deadline are our suggestion, not an API rule.

Read the results

Each person has a score from 0 to 100, a summary, a verdict for each criterion and a list of sources.

{
  "id": "srch_example_01",
  "status": "completed",
  "created_at": "2026-12-03T09:00:00Z",
  "results": [
    {
      "person_id": "per_example_01",
      "name": "Maria Okafor",
      "title": "Head of Operations",
      "company": "Lendful",
      "location": "Lisbon",
      "years_of_experience": 11,
      "score": 83,
      "summary": {
        "must_haves_met": "1 of 1",
        "nice_to_haves_met": "0 of 1",
        "unknown": ["Speaks Portuguese"],
        "red_flags": []
      },
      "must_haves": [
        {
          "criterion": "Has led an operations team at a lending company",
          "met": true,
          "evidence": "Maria Okafor leads our operations team.",
          "source": "https://lendful.example/team"
        }
      ],
      "nice_to_haves": [
        { "criterion": "Speaks Portuguese", "met": null }
      ],
      "verified_at": "2026-12-03T09:00:20Z",
      "sources": [
        {
          "provider": "mock",
          "url": "https://lendful.example/team",
          "fetched_at": "2026-12-03T09:00:20Z"
        }
      ]
    }
  ],
  "usage": {
    "cost_usd": 0.4,
    "profiles_searched": 120,
    "profiles_verified": 10
  },
  "warnings": []
}

All values are fictional, including the score and cost.

metMeaning
trueThe criterion is met.
falseThe criterion is not met.
nullUnknown. There is no evidence either way.

Do not treat null as false. When you show a fact about a person, show its source with it. evidence and source are optional fields, so handle their absence. Read warnings as well. They are free-text strings.

Unlock contact details

Contact details are a separate, explicit call. Send 1 to 100 person_ids and the types you want: work_email, personal_email or mobile. You can cap the spend.

Save this body as unlock.json.

{
  "person_ids": ["per_example_01"],
  "types": ["work_email"],
  "budget": { "max_usd": 1 }
}
curl "$HUMOS_API_URL/v1/contacts/unlock" \
  -H "Authorization: Bearer $HUMOS_API_KEY" \
  -H "Content-Type: application/json" \
  -d @unlock.json

The response has a list of contacts and the cost.

{
  "contacts": [
    {
      "person_id": "per_example_01",
      "type": "work_email",
      "value": "maria.okafor@lendful.example",
      "verified": true,
      "source": "mock"
    }
  ],
  "cost_usd": 0.5
}

value can be null, which means you got no value for that type. verified and source are optional. Do not assume a contact is verified when the field is missing.

Next

Add a framework to set your own weights, or an output schema to get data in your shape.