🚀 Boshlash
Faa SMM API orqali siz o'z loyihalaringizga SMM xizmatlarini integratsiya qilishingiz mumkin. API imkoniyatlari: xizmatlar ro'yxati, buyurtma berish, buyurtma holati, balans tekshirish va boshqalar.
https://faasmm.wineclo.com/api/v2
Asosiy imkoniyatlar
- ✅ 100+ SMM xizmatlari
- ✅ Tezkor buyurtma qabul qilish
- ✅ Real-time buyurtma holati
- ✅ Balans tekshirish
- ✅ Multiple orders status
- ✅ Refill system
- ✅ 24/7 texnik yordam
Autentifikatsiya
API dan foydalanish uchun sizga API kalit kerak bo'ladi. API kalitni panelda ro'yxatdan o'tgandan so'ng profilingizdan olishingiz mumkin.
| Parameter | Type | Required | Description |
|---|---|---|---|
key |
string | Required | Sizning API kalitingiz |
Xizmatlar ro'yxati
Barcha mavjud xizmatlar ro'yxatini olish.
Endpoint
POST /api/v2
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
key |
string | Required | API kalit |
action |
string | Required | services |
Example Response
[
{
"service": 1,
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram Xizmatlari",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true
},
{
"service": 2,
"name": "Telegram Members",
"type": "Custom",
"category": "Telegram Xizmatlari",
"rate": "1.20",
"min": "100",
"max": "50000",
"refill": true
}
]
Buyurtma berish
1. Default Service
| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | Required | API kalit |
| action | string | Required | add |
| service | int | Required | Xizmat ID si |
| link | string | Required | Havola |
| quantity | int | Required | Miqdor |
| runs | int | Optional | Qancha marta (drip-feed) |
| interval | int | Optional | Interval (daqiqada) |
{
"order": 23501,
"status": "success"
}
2. Buyurtma holati
| Parameter | Description |
|---|---|
| key | API kalit |
| action | status |
| order | Buyurtma ID si |
{
"charge": "0.27819",
"status": "Completed",
"currency": "UZS",
"remains": 0,
"start_count": 1000
}
Balans tekshirish
| Parameter | Description |
|---|---|
| key | API kalit |
| action | balance |
{
"balance": "2182.66",
"currency": "UZS"
}
API Integration Examples
PHP Example
<?php
// Faa SMM API PHP Example
$api_key = 'YOUR_API_KEY';
$api_url = 'https://faasmm.wineclo.com/api/v2';
// 1. Get services list
function getServices($api_key, $api_url) {
$data = [
'key' => $api_key,
'action' => 'services'
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// 2. Add order
function addOrder($api_key, $api_url, $service_id, $link, $quantity) {
$data = [
'key' => $api_key,
'action' => 'add',
'service' => $service_id,
'link' => $link,
'quantity' => $quantity
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// 3. Check order status
function orderStatus($api_key, $api_url, $order_id) {
$data = [
'key' => $api_key,
'action' => 'status',
'order' => $order_id
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// 4. Check balance
function checkBalance($api_key, $api_url) {
$data = [
'key' => $api_key,
'action' => 'balance'
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
curl_close($ch);
return json_decode($response, true);
}
// Usage examples
$services = getServices($api_key, $api_url);
$balance = checkBalance($api_key, $api_url);
$order = addOrder($api_key, $api_url, 1, 'https://instagram.com/username', 100);
$status = orderStatus($api_key, $api_url, $order['order']);
?>
Webhooks
Webhooks orqali buyurtmalar holati o'zgarganida real-time bildirishnoma olishingiz mumkin.
Panel sozlamalarida webhook URL ni belgilang. Har bir status o'zgarishida POST so'rov yuboriladi:
{
"order": 23501,
"status": "Completed",
"charge": "0.27819",
"remains": 0,
"currency": "UZS"
}
Xatolik kodlari
| Kod | Xatolik | Sababi |
|---|---|---|
| 100 | Invalid API key | API kalit noto'g'ri |
| 101 | Insufficient balance | Balans yetarli emas |
| 102 | Invalid service ID | Xizmat ID si noto'g'ri |
| 103 | Invalid link | Havola noto'g'ri |
| 104 | Quantity out of range | Miqdor chegaradan tashqari |
| 105 | Order not found | Buyurtma topilmadi |
Ko'p beriladigan savollar
Panelga kirib, Profil sozlamalari bo'limidan API kalitingizni olishingiz mumkin.
1 soatda 1000 ta so'rovgacha cheklov mavjud. Premium foydalanuvchilar uchun limit oshirilgan.
PHP, Python, JavaScript, Java, C#, Ruby va boshqa tillar bilan ishlaydi (HTTP POST so'rov yuborish kifoya).