API
अपनी API रिक्वेस्ट नीचे दिए एंडपॉइंट पर POST करें। अपनी key खाता पेज से लें।
| HTTP Method | POST |
| API URL | https://kugumedya.com/api/v2 |
| API Key | खाता पेज पर बनाई जाती है |
| रिस्पॉन्स फ़ॉर्मैट | JSON |
सर्विस सूची
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | services |
उदाहरण रिस्पॉन्स
[
{
"service": 1,
"name": "Followers",
"type": "Default",
"category": "First Category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500",
"refill": false,
"cancel": true
}
]ऑर्डर जोड़ें
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity |
| runs(वैकल्पिक) | Runs to deliver (drip-feed) |
| interval(वैकल्पिक) | Interval in minutes (drip-feed) |
उदाहरण रिस्पॉन्स
{
"order": 23501
}ऑर्डर स्थिति
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
उदाहरण रिस्पॉन्स
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}कई ऑर्डर की स्थिति
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
उदाहरण रिस्पॉन्स
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}रीफ़िल बनाएँ
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID |
उदाहरण रिस्पॉन्स
{
"refill": "1"
}कई रीफ़िल बनाएँ
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | refill |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
उदाहरण रिस्पॉन्स
[
{
"order": 1,
"refill": 1
},
{
"order": 2,
"refill": 2
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]रीफ़िल स्थिति देखें
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
उदाहरण रिस्पॉन्स
{
"status": "Completed"
}कई रीफ़िल की स्थिति देखें
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | refill_status |
| refills | Refill IDs (separated by a comma, up to 100 IDs) |
उदाहरण रिस्पॉन्स
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 2,
"status": "Rejected"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]ऑर्डर कैंसल करें
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | cancel |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
उदाहरण रिस्पॉन्स
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]यूज़र बैलेंस
पैरामीटर
| पैरामीटर | विवरण |
|---|---|
| key | Your API key |
| action | balance |
उदाहरण रिस्पॉन्स
{
"balance": "100.84292",
"currency": "USD"
}सर्विस टाइप के अनुसार `add` पैरामीटर
| Type | ज़रूरी | वैकल्पिक |
|---|---|---|
| Default | service, link, quantity | runs, interval (minutes) → drip-feed |
| Package | service, link | – |
| Custom Comments | service, link, comments (separated by \n) | – |
| Comment Likes | service, link, quantity, username | – |
| Subscriptions | service, username, min, max, delay (0, 5, 10, 15, 20, 30, 40, 50, 60, 90, 120, 150, 180, 210, 240, 270, 300, 360, 420, 480, 540, 600) | posts (new posts limit; unlimited when omitted), old_posts, expiry (d/m/Y) |
| Web Traffic | service, link, quantity, country ("US" or "United States"), device (1 Desktop, 2 Android, 3 iOS, 4 Mixed mobile, 5 Mixed all), type_of_traffic (1 Google Keyword, 2 Custom Referrer, 3 Blank Referrer) | runs, interval, google_keyword (required for type 1), referring_url (required for type 2) |
ऑर्डर स्थिति स्ट्रिंग
Pending, In progress, Processing, Completed, Partial, Canceled
त्रुटि रिस्पॉन्स
{
"error": "Incorrect request"
}PHP कोड का उदाहरण
example.txt डाउनलोड करें<?php
class Api
{
/** API URL */
public $api_url = 'https://kugumedya.com/api/v2';
/** Your API key */
public $api_key = '';
/** Add order */
public function order($data) {
$post = array_merge(['key' => $this->api_key, 'action' => 'add'], $data);
return json_decode($this->connect($post));
}
/** Get order status */
public function status($order_id) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'status',
'order' => $order_id
]));
}
/** Get orders status */
public function multiStatus($order_ids) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'status',
'orders' => implode(",", (array)$order_ids)
]));
}
/** Get services */
public function services() {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'services',
]));
}
/** Refill order */
public function refill(int $orderId) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'refill',
'order' => $orderId,
]));
}
/** Refill orders */
public function multiRefill(array $orderIds) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'refill',
'orders' => implode(',', $orderIds),
]), true);
}
/** Get refill status */
public function refillStatus(int $refillId) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'refill_status',
'refill' => $refillId,
]));
}
/** Get refill statuses */
public function multiRefillStatus(array $refillIds) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'refill_status',
'refills' => implode(',', $refillIds),
]), true);
}
/** Cancel orders */
public function cancel(array $orderIds) {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'cancel',
'orders' => implode(',', $orderIds),
]), true);
}
/** Get balance */
public function balance() {
return json_decode($this->connect([
'key' => $this->api_key,
'action' => 'balance',
]));
}
private function connect($post) {
$_post = [];
if (is_array($post)) {
foreach ($post as $name => $value) {
$_post[] = $name . '=' . urlencode($value);
}
}
$ch = curl_init($this->api_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
if (is_array($post)) {
curl_setopt($ch, CURLOPT_POSTFIELDS, join('&', $_post));
}
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)');
$result = curl_exec($ch);
if (curl_errno($ch) != 0 && empty($result)) {
$result = false;
}
curl_close($ch);
return $result;
}
}
// Examples
$api = new Api();
$services = $api->services(); # return all services
$balance = $api->balance(); # return user balance
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'quantity' => 100, 'runs' => 2, 'interval' => 5]); # Default
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test']); # Package
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'comments' => "good pic\ngreat photo\n:)\n;)"]); # Custom Comments
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'quantity' => 100, 'username' => 'test']); # Comment Likes
$order = $api->order(['service' => 1, 'username' => 'username', 'min' => 100, 'max' => 110, 'posts' => 0, 'delay' => 30, 'expiry' => '11/11/2022']); # Subscriptions
$order = $api->order(['service' => 1, 'link' => 'http://example.com/test', 'quantity' => 100, 'country' => 'US', 'device' => 1, 'type_of_traffic' => 1, 'google_keyword' => 'test']); # Web Traffic
$status = $api->status($order->order); # return status, charge, remains, start count, currency
$statuses = $api->multiStatus([1, 2, 3]); # return status, charge, remains, start count, currency of selected orders
$refill = $api->refill(1); # return refill ID
$refills = $api->multiRefill([1, 2, 3]); # return refill IDs
$refillStatus = $api->refillStatus(1); # return refill status
$refillStatuses = $api->multiRefillStatus([1, 2, 3]); # return refill statuses
$cancel = $api->cancel([1, 2, 3]); # return cancel status
AI से जोड़ें (MCP)
Claude या Cursor जैसे AI असिस्टेंट को अपने खाते से जोड़ें और बातचीत करके ऑर्डर दें। असिस्टेंट आपकी API कुंजी इस्तेमाल करता है और सिर्फ़ आपके खाते पर काम करता है।
- सर्विस और कीमत खोजें
- ऑर्डर दें (पहले कीमत दिखाता है)
- ऑर्डर स्थिति, रिफ़िल और कैंसल अनुरोध
- बैलेंस और सपोर्ट टिकट
MCP पता
https://kugumedya.com/mcpअकाउंट पेज की API कुंजी "Authorization: Bearer" हेडर में भेजें।
Claude Code
claude mcp add --transport http kugumedya https://kugumedya.com/mcp --header "Authorization: Bearer आपकी_API_कुंजी"
Cursor / VS Code / Windsurf
{
"mcpServers": {
"kugumedya": {
"url": "https://kugumedya.com/mcp",
"headers": {
"Authorization": "Bearer आपकी_API_कुंजी"
}
}
}
}Claude Desktop
{
"mcpServers": {
"kugumedya": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://kugumedya.com/mcp",
"--header",
"Authorization: Bearer आपकी_API_कुंजी"
]
}
}
}ऑर्डर की रकम तुरंत बैलेंस से कटती है। अपनी कुंजी किसी से साझा न करें; शक हो तो अकाउंट पेज पर नई बनाएँ।
