Making API Calls

LeadMagic's API Endpoints

Getting Started

Welcome to the LeadMagic API! This guide is designed for developers looking to integrate LeadMagic's Data Enrichment Products into their applications. Whether you're new to APIs or an experienced developer, our goal is to make it straightforward for you to use our services.

Quick Start

  1. Obtain your API Key: First, log in to your LeadMagic account and navigate to your Account Profile to find your API key.

  2. Make Your First API Call: Use any HTTP client of your choice to make an API call. Here's an example using curl:

    curl -X POST 'https://api.leadmagic.io/email-validate' \
    -H 'Content-Type: application/json' \
    -H 'X-API-Key: YourApiKeyHere' \
    -d '{"email": "[email protected]"}'
    
  3. Check the Response: A successful request will return a JSON response with the data you requested. The structure of the response will depend on the endpoint you're accessing.

Remember, your API key is like a password. Keep it secure and never expose it in public repositories or forums.


What’s Next