← Back to registrar overview

Namecheap Setup Guide

Connect your Namecheap account to manage all your domains in Domain Collective.

Step 1: Request API Access

Enable API access for your Namecheap account

  1. Log into your Namecheap account
  2. Navigate to Profile → Tools → API Access
  3. If API access is not enabled:
    • Click "Manage" and request API access
    • Wait for approval (typically 24-48 hours)
    • You'll receive an email when approved
Open Namecheap API Access Settings

Step 2: Enable API Access

Activate the API once your request is approved

  1. Go back to Profile → Tools → API Access
  2. Toggle "API Access" to ON
  3. Click "Manage" to configure settings

Step 3: Configure IP Whitelisting

REQUIRED: Namecheap requires IP whitelisting for security

Add your IP address(es):

  1. In the API Access settings, find "Whitelisted IPs"
  2. Add your server's IP address:
    • For development: Add your local public IP
    • For production: Add your server's static IP address
    • You can whitelist multiple IPs (comma-separated)
  3. Click "Save" to apply changes

Need your current IP?

Check Your IP Address

Step 4: Get Your API Credentials

Copy the information you'll need for Domain Collective

API Key

Displayed on the API Access page - copy this value

Username

Your Namecheap account username (NOT your email)

Client IP

The IP address you whitelisted in Step 3

Step 5: Connect to Domain Collective

Use your credentials to connect your Namecheap account

You'll need these three pieces of information:

  • API Key: From your Namecheap API Access page
  • Username: Your Namecheap username
  • Client IP: Your whitelisted IP address

Troubleshooting

"API key required" Error

Your IP address is not whitelisted. Add it in Namecheap API settings.

"Invalid API key" Error

Double-check your username and API key combination. They must both be correct.

Connection Refused

Verify IP whitelisting is configured correctly and saved.

No Domains Returned

API access might not be fully activated. Wait 24-48 hours or contact Namecheap support.

Need more help?

Check out Namecheap's official API documentation or contact our support.