API Reference · v2.0
LeadMerlin API
Search local businesses, enrich them by domain, and get back verified emails, phone carrier data, owner names, social profiles, and website intelligence. Authenticate with the x-api-key header (your key from the Dashboard).
1 · Find a location code
curl "https://api.leadmerlin.com/api/v2/locations?q=austin" \
-H "x-api-key: $LM_API_KEY" 2 · Start a search
curl -X POST https://api.leadmerlin.com/api/v2/searches \
-H "x-api-key: $LM_API_KEY" -H "content-type: application/json" \
-d {"keyword":"plumber","location_codes":[1026201]} 3 · Poll, then fetch results
curl https://api.leadmerlin.com/api/v2/jobs/<job_id> -H "x-api-key: $LM_API_KEY"
curl https://api.leadmerlin.com/api/v2/jobs/<job_id>/results -H "x-api-key: $LM_API_KEY" Enrich domains you already have
curl -X POST https://api.leadmerlin.com/api/v2/enrichments \
-H "x-api-key: $LM_API_KEY" -H "content-type: application/json" \
-d {"leads":[{"domain":"example.com"}]} Agent skill
Paste the LeadMerlin skill into Claude Code, Cursor, or Codex and your agent can search + enrich + export autonomously. Demo endpoints (/v2/demo/*) need no auth and cost no credits.