Skip to main content

Documentation Index

Fetch the complete documentation index at: https://leadmagic.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

The LeadMagic API provides RESTful endpoints for B2B data enrichment, email validation, contact discovery, company intelligence, and advertising insights. All endpoints use POST requests with JSON bodies and return JSON responses. Authentication is done via the X-API-Key header.

OpenAPI Specification

Download the full OpenAPI 3.1 specification for use with tools like Postman, Insomnia, or code generators.

Authentication

All API requests require an API key passed in the X-API-Key header:
curl -X POST 'https://api.leadmagic.io/v1/people/email-validation' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"email": "alex.rivera@example.com"}'
Get your API key from the API Settings page. The header name is case-insensitive — X-API-Key, X-API-KEY, and x-api-key all work.

Base URL

https://api.leadmagic.io

All Endpoints

20+ endpoints across email, contact, company, jobs, and ads data. Every endpoint includes an interactive playground — click any card to try it live.

Email Validation

Verify emails with 99%+ accuracy. 4 validations per credit.

Email Finder

Find work emails from name + company. 1 credit.

Personal Email Finder

Find personal email addresses. 2 credits.

B2B Person Profile to Email

Get work email from a B2B person profile. 5 credits.