Services How It Works Blog Free Reseller Panel API Login Sign Up Free

הקדמה

ה-API של Resimi מאפשר לך לשלב את שירותי ה-SMM שלנו בפאנל, אפליקציה או זרימת עבודה משלך. כל הבקשות מחזירות JSON. ה-API תואם לפורמט ה-API הסטנדרטי של פאנל SMM המשמש JAP, SMMKings, Peakerr ואחרים - מה שמקל על המעבר או האינטגרציה.

כתובת אתר בסיס: https://resimi.xyz/api/v2.php

כל נקודות הקצה מקבלות בקשות GET וגם POST. השתמש ב-POST עבור הזמנות וביטולים, GET עבור שאילתות לקריאה בלבד.

אימות

כל בקשה חייבת לכלול את מפתח ה-API שלך כפרמטר key.

מפתח ה-API שלך נמצא ב-הגדרות חשבון → גישה ל-API. שמור את זה בסוד - יש לו גישה מלאה לחשבון וליתרה שלך.
GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=balance

שגיאות

כל השגיאות מחזירות אובייקט JSON עם מפתח error:

{"error": "Insufficient balance. Please add funds."}
הודעת שגיאהמשמעות
מפתח API לא חוקיהמפתח שגוי או שהחשבון מושעה
איזון לא מספיקהוסף כספים לפני ביצוע הזמנות
השירות לא נמצא או לא פעילמזהה השירות שגוי או שהשירות מושבת
הכמות חייבת להיות בין X ל-Yכמות מחוץ לטווח המותר עבור שירות זה
ההזמנה לא נמצאהמזהה הזמנה לא קיים או שייך למשתמש אחר
לא ניתן לבטל הזמנהההזמנה כבר הושלמה או בוטלה

קבל שירותים

מחזירה את הרשימה המלאה של השירותים הפעילים עם תעריפים ומגבלות.

GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=services

פרמטרים

פרמטרהקלדתיאור
key requiredstringמפתח ה-API שלך
action requiredstringחייב להיות שירותים

תגובה

[
  {
    "service": 1234,
    "category": "Instagram",
    "name": "Instagram Followers — HQ | Refill 30 days",
    "type": "Default",
    "rate": "0.5000",
    "min": 100,
    "max": 100000,
    "dripfeed": true,
    "refill": true,
    "cancel": false
  },
  ...
]

בצע הזמנה

מבצע הזמנה חדשה. יתרה מנוכה באופן מיידי. מחזיר את מזהה ההזמנה.

POST https://resimi.xyz/api/v2.php
פרמטרהקלדתיאור
key requiredstringמפתח ה-API שלך
action requiredstringחייב להיות add
service requiredintegerמזהה שירות מרשימת השירותים
link requiredstringכתובת האתר של פרופיל היעד או הפוסט
quantity requiredintegerכמות כוללת למסירה
runs optionalintegerמספר ריצות הזנה בטפטוף (ברירת מחדל: 1)
interval optionalintegerדקות בין ריצות הזנה בטפטוף (ברירת מחדל: 0)
comments optionalstringהערות מותאמות אישית (עבור שירותי הערות), אחת בכל שורה

תגובה - הצלחה

{"order": 98765}

תגובה - שגיאה

{"error": "Insufficient balance. Please add funds."}
הזנת טפטוף: הגדר ריצות = מספר אצוות ומרווח = דקות בין כל אחת. דוגמה - 1,000 עוקבים במשך 7 ימים: quantity=1000&runs=7&interval=1440

סטטוס הזמנה

בדוק את המצב הנוכחי של הזמנה.

GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=status&order=ORDER_ID
פרמטרהקלדתיאור
key requiredstringמפתח ה-API שלך
action requiredstringחייב להיות status
order requiredintegerמזהה הזמנה הוחזר מ-<code>add</code>

תגובה

{
  "charge": "0.5000",
  "start_count": 1240,
  "status": "In_progress",
  "remains": 630,
  "currency": "USD"
}

ערכי סטטוס

סטטוסמשמעות
Pendingממתין להישלח לספק
Processingנשלח לספק, בתור
In_progressאספקה בעיצומה
Completedנמסר במלואו
Partialנמסר חלקית, השאר מוחזר
Cancelledבוטל, נותר החזר

בטל הזמנה

מבטל הזמנה בהמתנה או בתהליך. החלק שלא נמסר מוחזר ליתרה שלך.

POST https://resimi.xyz/api/v2.php
פרמטרהקלדתיאור
key requiredstringמפתח ה-API שלך
action requiredstringחייב להיות ביטול
order requiredintegerמזהה הזמנה לביטול

תגובה - הצלחה

{"success": true, "refunded": 0.2500}

בדוק יתרה

מחזירה את היתרה הנוכחית של החשבון המשויך למפתח ה-API.

GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=balance

תגובה

{"balance": "12.4800", "currency": "USD"}

דוגמאות קוד

<?php
$apiUrl = "https://resimi.xyz/api/v2.php";
$apiKey = "YOUR_API_KEY";

function smmApi(string $url, string $key, array $params): array {
    $params['key'] = $key;
    $ch = curl_init($url);
    curl_setopt_array($ch, [
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_POST => true,
        CURLOPT_POSTFIELDS => http_build_query($params),
        CURLOPT_TIMEOUT => 30,
    ]);
    $response = curl_exec($ch);
    curl_close($ch);
    return json_decode($response, true) ?? [];
}

// Get services
$services = smmApi($apiUrl, $apiKey, ['action' => 'services']);

// Place an order
$order = smmApi($apiUrl, $apiKey, [
    'action' => 'add',
    'service' => 1234,
    'link' => 'https://instagram.com/yourprofile',
    'quantity' => 1000,
]);
echo "Order ID: " . ($order['order'] ?? 'Error: ' . $order['error']);

// Check balance
$balance = smmApi($apiUrl, $apiKey, ['action' => 'balance']);
echo "Balance: $" . $balance['balance'];
import requests

API_URL = "https://resimi.xyz/api/v2.php"
API_KEY = "YOUR_API_KEY"

def smm_api(params: dict) -> dict:
    params["key"] = API_KEY
    response = requests.post(API_URL, data=params, timeout=30)
    return response.json()

# Get services
services = smm_api({"action": "services"})
for svc in services[:3]:
    print(f"[{svc['service']}] {svc['name']} - ${svc['rate']}/1K")

# Place an order
order = smm_api({
    "action": "add",
    "service": 1234,
    "link": "https://instagram.com/yourprofile",
    "quantity": 1000,
})
print(f"Order ID: {order.get('order', 'Error: ' + order.get('error', ''))}")

# Check status
status = smm_api({"action": "status", "order": order.get("order")})
print(f"Status: {status.get('status')} | Remains: {status.get('remains')}")

# Check balance
balance = smm_api({"action": "balance"})
print(f"Balance: ${balance['balance']}")
const API_URL = "https://resimi.xyz/api/v2.php";
const API_KEY = "YOUR_API_KEY";

async function smmApi(params) {
    const body = new URLSearchParams({ key: API_KEY, ...params });
    const res = await fetch(API_URL, { method: "POST", body });
    return res.json();
}

// Get services
const services = await smmApi({ action: "services" });
console.log(`Found ${services.length} services`);

// Place an order
const order = await smmApi({
    action: "add",
    service: 1234,
    link: "https://instagram.com/yourprofile",
    quantity: 1000,
});
console.log("Order ID:", order.order ?? "Error: " + order.error);

// Check status
const status = await smmApi({ action: "status", order: order.order });
console.log("Status:", status.status, "| Remains:", status.remains);

// Cancel an order
const cancel = await smmApi({ action: "cancel", order: order.order });
console.log("Refunded:", cancel.refunded);

// Check balance
const balance = await smmApi({ action: "balance" });
console.log("Balance: $" + balance.balance);
# Get services
curl -X GET "https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=services"

# Place an order
curl -X POST "https://resimi.xyz/api/v2.php" \
  -d "key=YOUR_API_KEY" \
  -d "action=add" \
  -d "service=1234" \
  -d "link=https://instagram.com/yourprofile" \
  -d "quantity=1000"

# Place a drip-feed order (1000 followers over 7 days)
curl -X POST "https://resimi.xyz/api/v2.php" \
  -d "key=YOUR_API_KEY" \
  -d "action=add" \
  -d "service=1234" \
  -d "link=https://instagram.com/yourprofile" \
  -d "quantity=1000" \
  -d "runs=7" \
  -d "interval=1440"

# Check order status
curl -X GET "https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=status&order=98765"

# Cancel an order
curl -X POST "https://resimi.xyz/api/v2.php" \
  -d "key=YOUR_API_KEY" \
  -d "action=cancel" \
  -d "order=98765"

# Check balance
curl -X GET "https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=balance"
How can we help?