Use case · AI agents (Claude Code, Cursor, Codex)

Local business leads your AI agent can fetch on its own

Developers and operators who already work inside an AI coding agent and want prospect lists without leaving it.

The job

Ask your agent for "roofers in Tampa with a website" and get back an enriched, CRM-ready list — without writing a scraper or babysitting a browser.

How it is usually done today

Why that hurts

How LeadMerlin does it

  1. 1

    Paste the skill

    Copy the LeadMerlin skill from the docs into your agent (a Claude Code skill, a Cursor rule, or AGENTS.md for Codex).

  2. 2

    Set your key

    Export LEADMERLIN_API_KEY in your shell. The skill tells the agent to read it from the environment, never to write it into files.

  3. 3

    Ask in plain English

    The agent resolves the city with /v2/locations, sharpens a vague niche with /v2/suggest, starts a search job, polls it, and pages through results.

  4. 4

    Export

    The agent writes a CSV with a fixed header order, ready for GoHighLevel, Instantly, HubSpot or Airtable.

What the agent runs under the hood

curl "https://api.leadmerlin.com/api/v2/locations?q=austin" \
  -H "x-api-key: $LEADMERLIN_API_KEY"

curl -X POST "https://api.leadmerlin.com/api/v2/searches" \
  -H "x-api-key: $LEADMERLIN_API_KEY" \
  -H "content-type: application/json" \
  -d '{"keyword":"roofing contractor","location_codes":[1026201],"strictness":"moderate"}'

curl "https://api.leadmerlin.com/api/v2/jobs/$JOB_ID" \
  -H "x-api-key: $LEADMERLIN_API_KEY"

curl "https://api.leadmerlin.com/api/v2/jobs/$JOB_ID/results?limit=200" \
  -H "x-api-key: $LEADMERLIN_API_KEY"

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

What comes back

Most useful for this job:

Every field on an enriched lead

Limits and honest caveats

Pricing

PlanPriceLeads
Free$0100 leads to start
Starter$39/mo ($29/mo yearly)10,000 leads/mo
Pro$49/mo ($39/mo yearly)20,000 leads/mo
Agency$97/mo ($79/mo yearly)50,000 leads/mo

FAQ

Do I need to write code?

No. The skill is a markdown file that describes the endpoints and workflow. Any agent that can run curl or HTTP requests can follow it.

Can I test before spending credits?

Yes. The demo endpoints under https://api.leadmerlin.com/api/v2/demo/* need no key, cost nothing, and return fixture data with demo: true.

What does it cost?

You get 100 leads free. Paid plans start at $39/mo for 10,000 leads. One credit per business with a website; listings without one are free.

Related

Try LeadMerlin free.

Your first 100 enriched leads are free. No credit card. Run it from the dashboard, the API, or your AI agent.