Integration guide
LeadMerlin + Smartlead
Connect Smartlead with your API key, choose a campaign, and push finished searches into it on demand or automatically. Each lead gets first and last name (when the site names the owner), company, phone, website and location, plus custom fields for rating, reviews, category, tech stack and phone line type. Invalid emails are never sent; by default only verified and catch-all addresses go in.
Before you start
- A Smartlead account with API access and at least one campaign.
- A LeadMerlin account (100 free leads, no card).
Setup
- 1
Copy your Smartlead API key
In Smartlead, open Settings and copy the API key.
- 2
Connect it in LeadMerlin
Paste the key on the Integrations page, or call the API. The key is tested with one Smartlead call before it is saved, and stored encrypted.
PUT https://api.leadmerlin.com/api/v2/integrations/smartlead Header: x-api-key: lm_your_key {"token":"your_smartlead_key"} - 3
Pick a campaign and an email policy
List your campaigns and save the one leads should go to. email_policy decides which email statuses are sent: verified, verified_catch_all (default) or include_unverified.
GET https://api.leadmerlin.com/api/v2/integrations/smartlead/campaigns PUT https://api.leadmerlin.com/api/v2/integrations/smartlead {"campaign_id":"1234567","email_policy":"verified","auto_push":true} - 4
Push a search
Use the Smartlead button above the search results, or call push for any finished job. auto_push sends every completed search.
POST https://api.leadmerlin.com/api/v2/jobs/{job_id}/push {"provider":"smartlead"}
Location codes in these examples are placeholders — always look yours up with GET /v2/locations first.
Tips
- Custom fields arrive as text: {{city}}, {{state}}, {{rating}}, {{reviews}}, {{category}}, {{website_cms}}, {{tech}}, {{phone_line_type}}, {{email_status}}, {{google_maps_url}}.
- Smartlead skips leads already in the campaign and applies your global block list and unsubscribe list; LeadMerlin never overrides them.
- Leads are sent 100 at a time and paced under the Smartlead API limit, so a large search takes a minute or two to arrive.
- Not sure which statuses to send? Our guide to email verification statuses explains verified, catch-all and unverified.
API at a glance
| Call | What it does |
|---|---|
| GET /v2/locations?q= | City name → location_code (free) |
| GET /v2/suggest?niche= | Vague niche → Google categories + sharper keywords (free) |
| POST /v2/searches | Start a search job: keyword, 1–5 location_codes, optional strictness |
| POST /v2/enrichments | Enrich up to 100 domains you already have |
| GET /v2/jobs/:id | Poll until status is completed |
| GET /v2/jobs/:id/results | Paginated enriched businesses (cursor, limit ≤ 200) |
| /v2/demo/* | Same shapes on fixture data — no key, no credits |
All calls use the x-api-key header except the demo endpoints. Base URL: https://api.leadmerlin.com/api
Related
Other integrations
Get your API key.
Sign up free to get an lm_ key and 100 enriched leads. No credit card.