Count leads
count_leadsRead-onlyIdempotent
Exact count of matching businesses, with how many have a verified email, an owner's name or no website, and the top cities. Free. Use this first to answer 'how many'.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "count_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Plain-English search, e.g. 'roofers in Dallas TX with no website'. Explicit fields below override what the sentence says. | |
| city | No | ||
| state | No | US state, code or name. | |
| company | No | Company name contains this text. | |
| site_cms | No | Site platform, comma-separated: wordpress, wix, squarespace, godaddy, weebly, duda, shopify, webflow, custom, or diy (any DIY site builder). | |
| vertical | No | Niche id from list_niches, e.g. 'roofing'. | |
| has_email | No | Only rows with an email of email_quality. | |
| has_owner | No | Only rows with an owner's name. | |
| has_phone | No | Default true. | |
| site_dead | No | Only businesses whose website is down. | |
| sms_ready | No | Phone present and not toll-free. | |
| max_rating | No | ||
| min_rating | No | ||
| no_booking | No | Only sites whose homepage was read and shows no online booking. | |
| no_website | No | Only businesses with no website. | |
| has_website | No | ||
| max_reviews | No | ||
| min_reviews | No | ||
| no_fb_pixel | No | Only sites whose homepage was read and has no Facebook pixel. | |
| site_parked | No | Only sites whose domain shows a parked or for-sale page. | |
| no_analytics | No | Only sites whose homepage was read and has no Google Analytics or tag manager. | |
| site_offline | No | Only sites whose domain did not resolve or refused every connection on two checks at least a day apart. | |
| email_quality | No | 'valid' = confirmed by the mail server (default); 'valid_or_risky' adds catch-all domains. | |
| site_hijacked | No | Only sites showing gambling spam (hacked or resold domains). | |
| site_no_https | No | Only sites with no working HTTPS or an expired SSL certificate. | |
| personal_email | No | Exclude info@/office@ style addresses. | |
| new_within_days | No | Only listings that recently appeared on Google Maps: first seen in the last N days on a rescrape of a city already covered, with 10 or fewer reviews (30 or 90 are good defaults). | |
| site_not_mobile | No | Only sites whose whole homepage was read and has no mobile viewport. | |
| active_since_days | No | Only businesses with a Google review in the last N days (90 is a good default). |