Xizmatlar API Bot Hujjatlar

🚀 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.

API Base URL: https://www.faasmm.wineclo.com/api/v2

Asosiy imkoniyatlar

API xususiyatlari
  • ✅ 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
keystringRequiredAPI kalit
actionstringRequiredadd
serviceintRequiredXizmat ID si
linkstringRequiredHavola
quantityintRequiredMiqdor
runsintOptionalQancha marta (drip-feed)
intervalintOptionalInterval (daqiqada)
{
    "order": 23501,
    "status": "success"
}

2. Buyurtma holati

Parameter Description
keyAPI kalit
actionstatus
orderBuyurtma ID si
{
    "charge": "0.27819",
    "status": "Completed",
    "currency": "UZS",
    "remains": 0,
    "start_count": 1000
}

Balans tekshirish

Parameter Description
keyAPI kalit
actionbalance
{
    "balance": "2182.66",
    "currency": "UZS"
}

API Integration Examples

PHP Example

<?php
// Faa SMM API PHP Example

$api_key = 'YOUR_API_KEY';
$api_url = 'https://www.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.

Webhook sozlamalari

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
100Invalid API keyAPI kalit noto'g'ri
101Insufficient balanceBalans yetarli emas
102Invalid service IDXizmat ID si noto'g'ri
103Invalid linkHavola noto'g'ri
104Quantity out of rangeMiqdor chegaradan tashqari
105Order not foundBuyurtma topilmadi

Ko'p beriladigan savollar

API kalitni qayerdan olaman?

Panelga kirib, Profil sozlamalari bo'limidan API kalitingizni olishingiz mumkin.

API limit bormi?

1 soatda 1000 ta so'rovgacha cheklov mavjud. Premium foydalanuvchilar uchun limit oshirilgan.

Qanday tillar qo'llab-quvvatlanadi?

PHP, Python, JavaScript, Java, C#, Ruby va boshqa tillar bilan ishlaydi (HTTP POST so'rov yuborish kifoya).