API Documentation
Integrate domain generation functionality into your application with Smart Domain API
High Performance
Millisecond response times with support for batch requests and concurrent processing
Secure & Reliable
OAuth 2.0 authentication, encrypted data transmission, 99.9% uptime guarantee
Easy to Use
RESTful API design with comprehensive documentation and example code
Global Availability
Multi-language support, global CDN acceleration, localized responses
Quick Start
1. Get API Key
Generate your API key in the settings page. Each key has independent quotas and permission controls.
2. Send Request
Use POST request to generate domain suggestions:
curl -X POST https://api.smartdomain.com/v1/generate \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"description": "A social app for pet owners",
"count": 10
}'3. Get Response
API returns JSON response with domain suggestions and availability information:
{
"status": "success",
"data": {
"suggestions": [
{
"name": "PetPalace",
"domains": [
{
"domain": "petpalace.com",
"available": false,
"price": "$12.99"
},
{
"domain": "petpalace.io",
"available": true,
"price": "$39.99"
}
]
}
]
}
}API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/generate | Generate domain suggestions |
| GET | /v1/history | Get generation history |
| GET | /v1/favorites | Get favorites list |
| POST | /v1/favorites | Add to favorites |