Pricing Documentation Sign up Log in

API Reference

Authentication

The UserCheck API uses API key authentication. All requests must include a valid API key in the Authorization header.

Getting Your API Key

  1. Sign up for an account at app.usercheck.com
  2. Log in to your dashboard
  3. Navigate to the API Keys section
  4. Generate a new API key or copy your existing key

Using Your API Key

Include your API key in the Authorization header of every request:

curl -X GET "https://api.usercheck.com/email/[email protected]" \
  -H "Authorization: Bearer YOUR_API_KEY"

You can also pass your API key as a query parameter, but this method is not recommended for security reasons:

curl -X GET "https://api.usercheck.com/email/[email protected]?key=YOUR_API_KEY"

Authentication Examples

JavaScript (fetch)

const response = await fetch('https://api.usercheck.com/email/[email protected]', {
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY'
  }
});

Python (requests)

import requests

headers = {
    'Authorization': 'Bearer YOUR_API_KEY'
}

response = requests.get('https://api.usercheck.com/email/[email protected]', headers=headers)

PHP

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'https://api.usercheck.com/email/[email protected]');
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    'Authorization: Bearer YOUR_API_KEY'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);
Previous
Introduction