Integration guide

LeadMerlin + Zapier

Webhooks by Zapier — not an official Zapier app

Use the “Webhooks by Zapier” Custom Request action. Zapier works best for enriching small batches or pulling the first page of a search.

Before you start

Setup

  1. 1

    Custom Request — start a job

    Method POST, add header x-api-key, and send JSON. For a new lead from a form or CRM, enriching its domain is often the simplest Zap.

    POST https://api.leadmerlin.com/api/v2/enrichments
    {"leads":[{"domain":"{{website}}","business_name":"{{company}}"}]}
  2. 2

    Delay

    Add Delay by Zapier → Delay For a few minutes so enrichment can finish.

  3. 3

    Custom Request — get results

    GET the results for the job_id from step 1.

    GET https://api.leadmerlin.com/api/v2/jobs/{{job_id}}/results
  4. 4

    Update your CRM

    Map owner, email, phone and phone_type from the first business into your CRM record.

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.