Skip to main content
New

1,300+ funded startups directory

Browse
LeadMagic logo
LeadMagic
For Developers

Three Ways to Build with LeadMagic

REST API, CLI, and MCP Server — choose how you integrate B2B data enrichment. One API key powers all three. Same data, same credits, your preferred interface.

<200ms

API response time

99.9%

Uptime

16

MCP tools

13

AI clients

Simple to integrate, any way you choose

Whether you prefer REST calls, terminal commands, or AI chat — finding an email is equally straightforward.

REST API
curl -X POST \
  api.leadmagic.io/email-finder \
  -H 'X-API-Key: your_key' \
  -H 'Content-Type: json' \
  -d '{
  "first_name": "Jane",
  "last_name": "Smith",
  "company_domain": "acme.com"
}'
CLI
$ lm chat
> Find Jane Smith's email
  at acme.com

Found: jane.smith@acme.com
Confidence: 98%
Verified: ✓

> Enrich all contacts in
  prospects.csv

Processing 4,847 rows...
Done. Results saved.
MCP Config
{
  "mcpServers": {
    "leadmagic": {
      "url":
        "mcp.leadmagic.io/mcp",
      "headers": {
        "x-leadmagic-key":
          "YOUR_API_KEY"
      }
    }
  }
}

// Then ask your AI:
// "Find VP Sales at Stripe"

Install the CLI in one command:

$curl -fsSL https://releases.leadmagic.io/install.sh | bash

Developer Features

Everything you need to build

REST API, CLI, and MCP — one API key powers all three interfaces. Same data, same credits, your preferred workflow.

Secure Authentication
One API key for all surfaces — REST, CLI, and MCP. Rate limiting and HTTPS everywhere.
Real-time Data
Fresh data on every request. No stale caches, no outdated information. 99.9% uptime guaranteed.
Comprehensive Docs
Complete API reference, CLI guides, and MCP setup instructions. Code examples in every major language.
Access to the LeadMagic data through the API has been the biggest game-changer. Now we can use LeadMagic for any data use case — simple reporting, deep analysis, process automation, or even machine learning/prediction.

Dave Melillo

Technical Lead

FAQ

Frequently asked questions

Ready to start building?

Get your API key and start enriching data in minutes. Free credits included — no credit card required.