Count saved leads matching filters (FREE, exact)

Returns an exact count of the caller's saved leads for any filter combination, plus a breakdown of how many are enriched, have an email, have a contact email, or have been relevance-checked. Costs nothing at any size. Call this before every action that spends. Presence filters are three-state aware: false means "enriched and confirmed absent", never "blank".

post/api/v1/count

Request

  • Base URL: https://lyreleads.com
  • URL: https://lyreleads.com/api/v1/count
  • Auth: HTTP bearer

Request body

querystring

Substring match on the search keyword

citystring
countrystring
typestring

Google Maps business category substring

search_idstring
has_emailboolean
has_websiteboolean
has_contact_emailboolean
has_cmsboolean
has_crmboolean

false = enriched and no CRM detected. The classic "sell them a CRM" filter.

phone_match'match' | 'mismatch' | 'absent' | 'unknown'

Does the phone on the company website agree with the phone on its Google Business Profile? "absent" means no phone was found on the site at all.

email_verification_status'verified' | 'published' | 'catch_all' | 'unknown' | 'invalid'
enrichment_status'enriched' | 'pending' | 'unverifiable' | 'no_website' | 'failed'
ai_crawler_access'open' | 'partial' | 'blocked' | 'unknown'
min_ratingnumber
max_ratingnumber
min_reviewsinteger
max_reviewsinteger
relevance'yes' | 'no' | 'unclear'

Did the enrichment relevance check judge this row to be the kind of business its own search query asked for? Free, runs on every enriched lead with a readable website. Absent means never judged, which is not the same as "no".

enrolledboolean

true = enrolled in enrichment, re-checked about monthly at no charge. false = not enrolled (usually an import); enrolling it with POST /api/v1/leads/enroll costs one lead per two businesses.

Response

Exact count, completeness breakdown (including enrolled / not_enrolled), and leads_charged: 0

Changes

No recorded changes to this operation across all 1 revision of this API.