Skip to main content

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": "john@company.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

Endpoints