Clonenha.com
API Documentation
Đầy đủ API reference cho việc tích hợp với OTP Clonenha.com. Tất cả các endpoint đều yêu cầu xác thực API Key.
Base URL
https://api.clonenha.com
Authentication
API authentication is handled via apiKey parameter
?apiKey=your_api_key_here
Endpoints
MUA EMAIL OTP
GET
/buy-email
Mua OTP email từ site theo dịch vụ và số lượng cần mua
Parameters
service
stringrequired
"fb" | "instagram" | "tiktok" | "x" | "amazon"
quantity
numberrequired
min: 1 và max: 100
Request Example
"https://api.clonenha.com/buy-email?apiKey=myAPIKey&service=fb&quantity=1"
Response Examples
200Success
{
"success": true,
"message": "Tạo đơn hàng thành công",
"data": [
{
"orderId": "fb:this-id-is-random",
"email": "[email protected]",
"refundedDeadline": "2025-09-12T07:39:52.922Z",
"status": "pending"
}
]
}
LẤY MÃ OTP ( đề xuất get otp mỗi lần từ 3s - 5s, không spam quá nhiều trên giây sẽ bị block IP)
GET
/get-otp
Lấy mã OTP theo orderId
Parameters
orderId
stringrequired
orderId lấy từ /buy-email
Request Example
"https://api.clonenha.com/get-otp?apiKey=myAPIKey&orderId=fb:this-id-is-random"
Response Examples
200Lấy OTP thành công
{
"success": true,
"message": "Lấy OTP thành công",
"data": {
"orderId": "fb:this-id-is-random",
"email": "[email protected]",
"subject": "subject",
"code": "123456"
}
}
Error Responses
Format error response của hệ thống
{
"success": false,
"message": "Message error"
}