Skip to main content
A lead search finds people by criteria, such as job title, location, company, industry, headcount, seniority and keywords, with no target person known in advance. It can deliver thousands of results, so it runs in the background: you start a run, then poll it.

1. Start a run

The answer comes back at once with the run (status: "queued") and your balance after the worst case has been reserved. If the balance cannot cover the worst case, the run is refused uncharged with reason: "insufficient-credits". One run can be active per workspace at a time. Starting another answers 409 run_already_active.

2. Poll it

Poll every few seconds while status is queued, processing or cancelling. A terminal status (completed, cancelled or failed) carries the final deliveredCount and creditsCharged. Results arrive in pages of 25 and stay readable after the run finishes. Polling is free. Results are directory-style: name, title, company, location and profile URL. A result carries an email only when your workspace found one (revealedEmail). To get a verified email for one result, pass its linkedinUrl to POST /api/v1/find with "mode": "linkedin".

Find emails with the run

Add contacts to the request to find every delivered person’s email together with the search:
POST /api/v1/employee-search takes the same contacts object. Each person is looked up in the background a moment after their row is delivered, exactly as a single lookup would be, and billed per person on top of the search: a found address or a completed not-found is charged; a refusal, an outage, a person on your do-not-contact list and an address your workspace already bought are free. The whole maximum (the search plus every email) must be affordable before the run starts, or it is refused insufficient-credits with nothing held. If points run out while emails are being found, finding stops (contacts.status: "stopped") and the rest are not charged. While emails are being found, the run carries contacts: { email, status, pending } — status is running, then done once the run has finished and nothing is pending — and each row still waiting has contactsPending. Cancelling the run also stops its emails.

3. Load more

To continue a finished run, start a new run with continueFromRunId set to its id. Leads that were already delivered by that run or any run it continued are never delivered or billed again. A search is one chain: continue its newest run each time. A run that was already continued answers 409 run_already_continued, so two continuations of one run can never buy the same people twice.

Cancel

  • A queued run ends cancelled at once and charges nothing.
  • A processing run answers cancelling and stops at its next page. Only the leads already delivered are charged.
  • Cancelling again answers the same; a finished run answers already-terminal.
Cancelling is free. For how a run is billed, see Billing and points.