Black Friday:60% off your first payment with code BF2026. On yearly plans, that's the whole first year. Until December 2.

Integration guide

LeadMerlin + Instantly

Native integration

Connect Instantly with an API v2 key, pick a campaign, and every finished search can drop its leads straight into that campaign. Each lead carries the owner first and last name, company, phone and website, plus custom variables for city, rating, reviews, tech stack and phone line type. Invalid emails are never sent, and by default only verified and catch-all addresses go in.

Before you start

Setup

  1. 1

    Create an API key in Instantly

    In Instantly, open Settings → Integrations → API keys and create an API v2 key with the scopes campaigns:read and leads:create (all:all also works).

  2. 2

    Connect it in LeadMerlin

    Paste the key on the Integrations page of the dashboard, or call the API. The key is tested with one Instantly call before it is saved, and stored encrypted.

    PUT https://api.leadmerlin.com/api/v2/integrations/instantly
    Header: x-api-key: lm_your_key
    {"token":"your_instantly_key"}
  3. 3

    Pick a campaign and an email policy

    List the campaigns in the workspace 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/instantly/campaigns
    
    PUT https://api.leadmerlin.com/api/v2/integrations/instantly
    {"campaign_id":"019a…","email_policy":"verified_catch_all","auto_push":true}
  4. 4

    Push a search

    Click the Instantly button above the search results, or call push for any finished job. With auto_push on, every completed search is sent on its own.

    POST https://api.leadmerlin.com/api/v2/jobs/{job_id}/push
    {"provider":"instantly"}
  5. 5

    Check the result

    GET /v2/integrations shows the last push: how many leads were added, how many were skipped and why (no email, email status, already in campaign, blocklisted), and up to 25 leads Instantly rejected with its reason.

Location codes in these examples are placeholders — always look yours up with GET /v2/locations first.

Tips

API at a glance

CallWhat it does
GET /v2/locations?q=City name → location_code (free)
GET /v2/suggest?niche=Vague niche → Google categories + sharper keywords (free)
POST /v2/searchesStart a search job: keyword, 1–5 location_codes, optional strictness
POST /v2/enrichmentsEnrich up to 100 domains you already have
GET /v2/jobs/:idPoll until status is completed
GET /v2/jobs/:id/resultsPaginated 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

Get your API key.

Sign up free to get an lm_ key and 100 enriched leads. No credit card.