Skip to content

Estimate a lead export (free, exact)

POST
/api/v1/leads/exports/estimate

Runs the export you describe without writing or charging anything, so the number already excludes leads this account revealed before, the per-company limit, duplicate emails and (with dropUndeliverable) dead domains. Use it, not /leads/search, to size an export.

The same body you would send to POST /leads/exports. Field names ignore case, _ and -, so excludeTitles, exclude_titles and Exclude-Titles are the same field. Older names also work: industryNames, countryCodes / countryCode, seniorities, companySizes, departments, revenues, companyTypes. If two spellings of one field are sent, the one listed here wins. A key that is not a filter is ignored and named in warnings (UNKNOWN_FIELD_IGNORED, with a suggestion).

object
industry
Array<string>
seniority
Array<string>
country

Country as an ISO code or a name (“US”, “United States”). The source is ~99.9% US.

Array<string>
companySize
Array<string>
revenue
Array<string>
department
Array<string>
jobTitles

Free text, whole-word matched against the job title.

Array<string>
includeKeywords

Matched against the company description, not the title.

Array<string>
excludeKeywords
Array<string>
maxPerCompany

Cap contacts per company.

integer
limit
required

Required. Rows to export; requests above 50,000 are capped and report capped_to_max.

integer
>= 1 <= 50000
companyType

Company type, derived from each company’s industry (the source has no ownership field). Values OR together. Public (listed) company filtering is not available yet; sending “public” or any other value returns 400 with code COMPANY_TYPE_NOT_AVAILABLE or UNKNOWN_COMPANY_TYPE.

Array<string>
Allowed values: private government nonprofit education
exactMatch

Match jobTitles (and keywords) as whole words. Without it titles match as substrings, so “CFO” can hit unrelated titles. The app always sends true; set it yourself.

boolean
excludeTitles

Drop anyone whose job title contains any of these terms as a whole word, ignoring case, e.g. [“intern”, “assistant”]. “intern” drops “Sales Intern” but not “International Sales Manager”.

Array<string>
dropUndeliverable

Leave out emails that will not arrive, before they are charged. domain: free check that the domain accepts mail. mailbox: domain + EmailShield per address (1 credit per address checked; much slower); only addresses marked invalid are dropped, addresses with no verdict are kept and refunded.

string
default: off
Allowed values: off domain mailbox
exact

false returns the fast sampled pool count instead of the dry run.

boolean
default: true
waitMs

How long to wait for the exact count before answering count_pending.

integer
default: 20000 <= 60000
includeOwned

Also deliver leads this account already revealed. Default false: an export holds only leads you don’t have yet, and owned leads are counted in skipped.alreadyRevealed. Owned leads are free; a lead is never charged twice.

boolean

Estimate, or count_pending.

object
deliverable_estimate

New leads this export would deliver to this account now (null while count_pending).

integer
nullable
basis

exact: a dry run of the export. floor: the dry run hit its 5-minute budget. sampled: exact:false was sent (pool count, not subtracting reveals or the per-company limit).

string
Allowed values: exact floor sampled pending
more_available

The limit was reached and more matches remain.

boolean
left_out
object
already_revealed
integer
over_company_limit
integer
duplicate_email
integer
dead_domain
integer
count_pending

Still counting: send the same request again after retry_after_seconds; the count continues and is cached 5 minutes.

boolean
retry_after_seconds
integer
rows
integer
reveal_credits
integer
verify_credits_max
integer
credits_max
integer
seconds

Estimated run time, including mailbox checks.

integer
requested_limit
integer
counted_in_seconds
integer
note
string
warnings

Present when the request succeeded with adjustments. UNKNOWN_FILTER_VALUE_IGNORED: industry/seniority values that matched nothing were left out (ignored lists them with suggestions); the other values in that filter were applied. When EVERY value of a filter is unknown the request fails with 400 UNKNOWN_FILTER_VALUE instead. UNKNOWN_FIELD_IGNORED: body keys that are not filters (usually a misspelling) were ignored, so the search ran without them; fields lists each with the closest accepted name in suggestion.

Array<object>
object
code
string
message
string
ignored
object
key
additional properties
Array<object>
object
value
string
suggestions
Array<string>
fields

UNKNOWN_FIELD_IGNORED only.

Array<object>
object
field
string
suggestion
string
nullable

LIMIT_REQUIRED or UNKNOWN_FILTER_VALUE.

object
error
required

Human-readable error message

string
message

Additional details

string