Documentation Index
Fetch the complete documentation index at: https://docs.name.com/llms.txt
Use this file to discover all available pages before exploring further.
Follow these steps to quickly get up and running with the name.com Core API.
Download our latest OpenAPI spec before you begin, especially if you plan to use code generation. It is the simplest way to wire up clients and validate requests early.
Step 1: Get Your API Token
Generate Tokens
Go to Account Settings → Security → API Tokens and issue both development and production tokens
Newly generated sandbox (OT&E) credentials can occasionally take up to 15 minutes to become active in the test environment. If you get a
401 Unauthorized immediately after creating a token, wait a bit and retry. See Testing Environment.Step 2: Choose Your Environment
name.com offers two separate environments:Production
Base URL:
Purpose: Live domain registrations, renewals, and management
https://api.name.comPurpose: Live domain registrations, renewals, and management
Sandbox
Base URL:
Purpose: Safe testing and development — no real charges
https://api.dev.name.comPurpose: Safe testing and development — no real charges
Sandbox Environment Details
Authentication Requirements
Authentication Requirements
- Use your username with
-testappended (e.g.,reseller123-test) - Requires a separate sandbox API token
- The sandbox is API-only — not accessible through the browser
Testing Features
Testing Features
- Supports the Try It feature (limited to test environment)
- Includes preloaded testing credit
- Data does not sync with production
Domain Management
Domain Management
- Test domains must be registered in sandbox before use
- Domain availability and pricing may differ from production
- Some TLDs are not available in sandbox environment
Step 3: Authenticate Your API Requests
Use HTTP Basic Auth with your username and API token. See the full guide in Authentication for curl shorthand vs explicit header, and how to generate a Base64 token on Linux/macOS and Windows PowerShell.Step 4: Make Your First API Call
Call the GET/core/v1/hello endpoint to verify connectivity:
Using “Try it” Feature
Navigate to Endpoint
Go to an endpoint you’d like to test (e.g.,
GET /core/v1/domains → ListDomains)Select Environment
In the “Environment” dropdown (next to “History”):
- Select Mock Server to test with sample responses (no credentials needed)
- Select Testing to use the name.com sandbox environment
Enter Credentials
Use your sandbox credentials from Account Settings → API Tokens (https://www.name.com/account/settings/api)
Troubleshooting Common Issues
401 Unauthorized
401 Unauthorized
Permission Denied
Permission Denied
If 2FA is enabled, go to Account Settings → Security and enable API Access
404 Not Found
404 Not Found
Make sure the domain or resource exists; in sandbox, register test domains first
Next Steps
Explore API Resources
Browse the complete API reference
Read API Overview
Understand API structure and features
Visit FAQ
Get help with troubleshooting