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

บทนำ

Resimi API ช่วยให้คุณสามารถผสานรวมบริการ SMM ของเราเข้ากับแผงควบคุม แอป หรือเวิร์กโฟลว์ของคุณเอง คำขอทั้งหมดส่งคืน JSON API เข้ากันได้กับรูปแบบ API แผง SMM มาตรฐานที่ใช้โดย JAP, SMMKings, Peakerr และอื่นๆ — ทำให้ง่ายต่อการสลับหรือบูรณาการ

URL หลัก: 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จะต้อง เพิ่ม
service requiredintegerรหัสบริการจากรายการบริการ
link requiredstringURL ของโปรไฟล์หรือโพสต์เป้าหมาย
quantity requiredintegerปริมาณรวมที่จะส่งมอบ
runs optionalintegerจำนวนการป้อนแบบหยด (ค่าเริ่มต้น: 1)
interval optionalintegerนาทีระหว่างการป้อนแบบหยด (ค่าเริ่มต้น: 0)
comments optionalstringความคิดเห็นที่กำหนดเอง (สำหรับบริการแสดงความคิดเห็น) หนึ่งรายการต่อบรรทัด

การตอบสนอง — ความสำเร็จ

{"order": 98765}

การตอบสนอง — ข้อผิดพลาด

{"error": "Insufficient balance. Please add funds."}
Drip-feed: ชุด runs = จำนวนชุดและ ช่วง = นาทีระหว่างแต่ละชุด ตัวอย่าง — ผู้ติดตาม 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ต้องเป็น สถานะ
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?