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

Hyrje

API Resimi ju lejon të integroni shërbimet tona SMM në panelin, aplikacionin ose rrjedhën tuaj të punës. Të gjitha kërkesat kthehen JSON. API është i pajtueshëm me formatin standard API të panelit SMM të përdorur nga JAP, SMMKings, Peakerr dhe të tjerë — duke e bërë të lehtë ndërrimin ose integrimin.

URL-ja bazë: https://resimi.xyz/api/v2.php

Të gjitha pikat përfundimtare pranojnë të dyja kërkesat GET dhe POST. Përdorni POST për porositë dhe anulimet, GET për pyetje vetëm për lexim.

Autentifikimi

Çdo kërkesë duhet të përfshijë çelësin tuaj API si parametrin key.

Çelësi juaj API është te Cilësimet e llogarisë → Qasja në API. Mbaje të fshehtë - ka akses të plotë në llogarinë dhe gjendjen tënde.
GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=balance

Gabimet

Të gjitha gabimet kthejnë një objekt JSON me një çelës error:

{"error": "Insufficient balance. Please add funds."}
Mesazh gabimiKuptimi
Çelësi i pavlefshëm APIÇelësi është i gabuar ose llogaria është pezulluar
Bilanci i pamjaftueshëmShtoni fonde përpara se të bëni porosi
Shërbimi nuk u gjet ose joaktivID-ja e shërbimit është e gabuar ose shërbimi është i çaktivizuar
Sasia duhet të jetë ndërmjet X dhe YSasi jashtë diapazonit të lejuar për këtë shërbim
Porosia nuk u gjetID-ja e porosisë nuk ekziston ose i përket një përdoruesi tjetër
Porosia nuk mund të anulohetPorosia tashmë është përfunduar ose anuluar

Merr Shërbime

Rikthen listën e plotë të shërbimeve aktive me tarifa dhe kufizime.

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

Parametrat

ParametriLlojiPërshkrimi
key requiredstringÇelësi juaj API
action requiredstringDuhet të jetë shërbime

Përgjigje

[
  {
    "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
  },
  ...
]

Vendosni porosinë

Bën një porosi të re. Bilanci zbritet menjëherë. Kthen ID-në e porosisë.

POST https://resimi.xyz/api/v2.php
ParametriLlojiPërshkrimi
key requiredstringÇelësi juaj API
action requiredstringDuhet të jetë add
service requiredintegerID-ja e shërbimit nga lista e shërbimeve
link requiredstringURL-ja e profilit ose postimit të synuar
quantity requiredintegerSasia totale për të dorëzuar
runs optionalintegerNumri i ekzekutimeve të furnizimit me pika (parazgjedhja: 1)
interval optionalintegerMinutat ndërmjet ekzekutimeve të furnizimit me pika (parazgjedhja: 0)
comments optionalstringKomentet me porosi (për shërbimet e komenteve), një për rresht

Përgjigje - Suksese

{"order": 98765}

Përgjigje - Gabim

{"error": "Insufficient balance. Please add funds."}
Drip-feed: Cakto runs = numri i grupeve dhe interval = minuta ndërmjet secilës. Shembull — 1000 ndjekës gjatë 7 ditëve: sasia=1000&runs=7&interval=1440

Statusi i porosisë

Kontrolloni statusin aktual të një porosie.

GET https://resimi.xyz/api/v2.php?key=YOUR_API_KEY&action=status&order=ORDER_ID
ParametriLlojiPërshkrimi
key requiredstringÇelësi juaj API
action requiredstringDuhet të jetë status
order requiredintegerID-ja e porosisë u kthye nga <code>add</code>

Përgjigje

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

Vlerat e statusit

StatusiKuptimi
PendingNë pritje për t'u dërguar te ofruesi
ProcessingDërguar te ofruesi, në radhë
In_progressDorëzimi në vazhdim e sipër
CompletedDorëzuar plotësisht
PartialDorëzuar pjesërisht, pjesa e mbetur e rimbursuar
CancelledAnuluar, rimbursimi i mbetur

Anulo porosinë

Anulon një porosi në pritje ose në vazhdim. Pjesa e padorëzuar kthehet në balancën tuaj.

POST https://resimi.xyz/api/v2.php
ParametriLlojiPërshkrimi
key requiredstringÇelësi juaj API
action requiredstringDuhet të jetë cancel
order requiredintegerID-ja e porosisë për ta anuluar

Përgjigje - Suksese

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

Kontrolloni bilancin

Kthen bilancin aktual të llogarisë së lidhur me çelësin API.

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

Përgjigje

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

Shembuj kodesh

<?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?