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

परिचय

Resimi एपीआई आपको हमारी एसएमएम सेवाओं को अपने पैनल, ऐप या वर्कफ़्लो में एकीकृत करने देता है। सभी अनुरोध JSON लौटाते हैं। एपीआई जेएपी, एसएमएमकिंग्स, पीकरर और अन्य द्वारा उपयोग किए जाने वाले मानक एसएमएम पैनल एपीआई प्रारूप के साथ संगत है - जिससे इसे स्विच करना या एकीकृत करना आसान हो जाता है।

बेस यूआरएल: https://resimi.xyz/api/v2.php

सभी एंडपॉइंट GET और POST दोनों अनुरोध स्वीकार करते हैं। ऑर्डर और रद्दीकरण के लिए POST का उपयोग करें, केवल पढ़ने योग्य प्रश्नों के लिए GET का उपयोग करें।

प्रमाणीकरण

प्रत्येक अनुरोध में key पैरामीटर के रूप में आपकी एपीआई कुंजी शामिल होनी चाहिए।

आपकी एपीआई कुंजी खाता सेटिंग्स → एपीआई एक्सेस में है। इसे गुप्त रखें - इसकी आपके खाते और शेष राशि तक पूरी पहुंच है।
GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=balance

त्रुटियां

सभी त्रुटियाँ error कुंजी के साथ एक JSON ऑब्जेक्ट लौटाती हैं:

{"error": "Insufficient balance. Please add funds."}
त्रुटि संदेशअर्थ
अमान्य एपीआई कुंजीकुंजी गलत है या खाता निलंबित है
अपर्याप्त शेषऑर्डर देने से पहले धनराशि जोड़ें
सेवा नहीं मिली या निष्क्रिय हैसेवा आईडी गलत है या सेवा अक्षम है
मात्रा X और Y के बीच होनी चाहिएइस सेवा के लिए अनुमत सीमा से बाहर की मात्रा
ऑर्डर नहीं मिलाऑर्डर आईडी मौजूद नहीं है या किसी अन्य उपयोगकर्ता का है
ऑर्डर रद्द नहीं किया जा सकताऑर्डर पहले ही पूरा हो चुका है या रद्द कर दिया गया है

सेवाएँ प्राप्त करें

दरों और सीमाओं के साथ सक्रिय सेवाओं की पूरी सूची लौटाता है।

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

पैरामीटर

पैरामीटरप्रकारविवरण
key requiredstringआपकी एपीआई कुंजी
action requiredstringservices

प्रतिक्रिया

[
  {
    "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आपकी एपीआई कुंजी
action requiredstringसेवा सूची से जोड़ें
service requiredintegerसेवा आईडी होनी चाहिए
link requiredstringलक्ष्य प्रोफ़ाइल या पोस्ट का यूआरएल
quantity requiredintegerवितरित करने के लिए कुल मात्रा
runs optionalintegerड्रिप-फीड रन की संख्या (डिफ़ॉल्ट: 1)
interval optionalintegerड्रिप-फीड रन के बीच मिनट (डिफ़ॉल्ट: 0)
comments optionalstringकस्टम टिप्पणियाँ (टिप्पणी सेवाओं के लिए), प्रति पंक्ति एक

प्रतिक्रिया - सफलता

{"order": 98765}

प्रतिक्रिया - त्रुटि

{"error": "Insufficient balance. Please add funds."}
ड्रिप-फीड: सेट runs = बैचों की संख्या और interval = प्रत्येक के बीच मिनट। उदाहरण - 7 दिनों में 1,000 अनुयायी: मात्रा=1000&रन=7&अंतराल=1440

ऑर्डर स्थिति

किसी ऑर्डर की वर्तमान स्थिति जांचें।

GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=status&order=ORDER_ID
पैरामीटरप्रकारविवरण
key requiredstringआपकी एपीआई कुंजी
action requiredstringstatus
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आपकी एपीआई कुंजी
action requiredstringरद्द करें
order requiredintegerरद्द करने के लिए ऑर्डर आईडी होना चाहिए

प्रतिक्रिया - सफलता

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

बैलेंस जांचें

एपीआई कुंजी से जुड़े खाते का वर्तमान शेष लौटाता है।

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?