Info
Welcome to the generated API reference. Get Postman Collection
general
User login attempt and 2FA code SMS
Example request:
curl -X POST \
"http://localhost:8000/api/v1/login" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"username":"enim"}'
const url = new URL(
"http://localhost:8000/api/v1/login"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"username": "enim"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 201,
"expires_at": 1591275273,
"message": "کد تایید ارسال شد"
}
Example response (200):
{
"status": 429,
"message": "محدودیت ارسال درخواست"
}
HTTP Request
POST api/v1/login
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
username |
string | required | You can use both email or phone number, verification code will send to user's phone number |
Verify user login and create token
Example request:
curl -X POST \
"http://localhost:8000/api/v1/login/verify" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"code":"sint","username":"voluptas"}'
const url = new URL(
"http://localhost:8000/api/v1/login/verify"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"code": "sint",
"username": "voluptas"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiM2I5NGJhODVjMjU5NzZkMTI1ZjgzMmE4Nzc3MGNhZTgyYmNlYTIxYjY4ZGI4ZWQwMzlhNWI4YmZkMzlhYzA2Yzc3ZTMyODg1OGNiYjRhYTYiLCJpYXQiOjE1OTEyMDAzMTUsIm5iZiI6MTU5MTIwMDMxNSwiZXhwIjoxNjIyNzM2MzE1LCJzdWIiOiIxNzIiLCJzY29wZXMiOltdfQ.OKWJ81QA-zfwiwRFkkBI6rHY3Vxoq22O9N5BW_JxQU8aYhg-19RvoECyVbzaRfxJDi9qNvfDxdArjdLZlG9U_TN3pdpjf-na2shxF_GLjJ-fBz5t91SZJGENSOUVMHm-irA4fvvV6mYOz0gFYfHtI_se2KjlB1-s6_lvHLW3MMbmMpHJGsh9jyniwEoSeeE4F1lp1y1AMPRMhPMxxf5ElLM_3_uGRtH8FyIWxNfw9iwYaQxWqQPcYsT8Vd4A08K-gCFxjDVSJwVX6VTM30vClLtAyShlzXzGgg-EUbhe6gnWQHA0-koIKioRNeERoHhcji-azXJR8vB6--V0m8kfiJngOBu7FMEh4X_z5Oi7sge8Koyw6eqqMCXcCNJYJWRBgRd5VvjM4gIxBfe2_MpAXyK2EYiAG8jN3ZVFnHWvOrEG4ZFXC9ph2Rw9MFANk5PzVqZ5LJPbIeqML2nffDzSvfsQtOzwbfMUJtlKq6y1feN5vYzBddfDYFbL9hpVH58dB7dVfqD2ROANwc0ptS9vh62lfp4YcKaAavjHLR0xcOFi4DyxXu8Mrtix4vGnNQLytsYA56UwspCD4IiW8kT8NgZ0Yhr_VRKQWJdRzS5JQQdr-_arl22-f7b50RYYrmYYILWGf3uo92OA2X0ZtncGO2wOUKkuuLBFeDfWifOf7qw",
"token_type": "Bearer",
"expires_at": 1591275273
}
Example response (200):
{
"status": 404,
"message": "کاربر شناسایی نشد"
}
Example response (200):
{
"status": 401,
"message": "توکن اشتباه یا منقضی شده است"
}
Example response (200):
{
"status": 400,
"message": "فرمت پارامتر مورد نظر اشتباه است"
}
HTTP Request
POST api/v1/login/verify
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
code |
string | required | User's sent verification code |
username |
string | required | You can use both email or phone number, verification code will send to user's phone number |
Logout user (Revoke the token)
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/logout" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/logout"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"message": "با موفقیت خارج شدید",
"status": 200
}
HTTP Request
GET api/v1/logout
Get user profile data
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"user": {
"id": 176,
"ids": null,
"role": "user",
"login_type": null,
"first_name": "Ehsan",
"last_name": "Noureddini",
"email": "[email protected]",
"mobile": "09011235566",
"mobile_verified": 1,
"timezone": null,
"more_information": null,
"settings": null,
"desc": null,
"balance": 352,
"custom_rate": 0,
"api_key": null,
"spent": null,
"activation_key": null,
"reset_key": null,
"history_ip": null,
"status": 1,
"changed": 1592744153,
"created": 1591431859
}
}
HTTP Request
GET api/v1/user
Update User Profile
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/user" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"first_name":"earum","last_name":"porro","email":"illo","password":"quidem","mobile":"quas"}'
const url = new URL(
"http://localhost:8000/api/v1/user"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "earum",
"last_name": "porro",
"email": "illo",
"password": "quidem",
"mobile": "quas"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"user": {
"id": 176,
"ids": null,
"role": "user",
"login_type": null,
"first_name": "Ehsan",
"last_name": "Noureddini",
"email": "[email protected]",
"mobile": "09011235566",
"mobile_verified": 1,
"timezone": null,
"more_information": null,
"settings": null,
"desc": null,
"balance": 352,
"custom_rate": 0,
"api_key": null,
"spent": null,
"activation_key": null,
"reset_key": null,
"history_ip": null,
"status": 1,
"changed": 1592744153,
"created": 1591431859
}
}
Example response (200):
{
"status": 400,
"message": "فرمت پارامتر اشتباه است"
}
HTTP Request
POST api/v1/user
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
first_name |
string | optional | optional User's first name |
last_name |
string | optional | optional User's last name |
email |
string | optional | optional User's email example: [email protected] |
password |
string | optional | optional User's password |
mobile |
string | optional | optional User's phone number example: 09035782551 |
Get all user notifications
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/notifications" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/notifications"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"notifications": [
{
"id": "dc0ecfbd-1405-4f4e-9d4f-6bf9fd86cfbc",
"message": "Ehsan عزیز، حساب کاربری شما 12000 تومان شارژ شد.",
"created_at": 1591439578,
"read_at": null
}
]
}
HTTP Request
GET api/v1/user/notifications
Get user unread notifications
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/notifications/unread" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/notifications/unread"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"notifications": [
{
"id": "dc0ecfbd-1405-4f4e-9d4f-6bf9fd86cfbc",
"message": "Ehsan عزیز، حساب کاربری شما 12000 تومان شارژ شد.",
"created_at": 1591439578
}
]
}
HTTP Request
GET api/v1/user/notifications/unread
Mark all notifications as read
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/user/notifications" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/notifications"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"message": "اطلاع رسانی ها با موفقیت پاک شدند",
"status": 200
}
HTTP Request
POST api/v1/user/notifications
List user submitted tickets
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/tickets" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/tickets"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"tickets": [
{
"id": 19,
"ids": null,
"uid": 176,
"description": "test",
"subject": "test",
"status": "new",
"created": 1590932173,
"changed": 1590934096
}
]
}
HTTP Request
GET api/v1/user/tickets
Create new ticket
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/user/tickets" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"subject":"et","description":"itaque"}'
const url = new URL(
"http://localhost:8000/api/v1/user/tickets"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"subject": "et",
"description": "itaque"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 201,
"ticket": {
"subject": "test",
"description": "test description",
"uid": 176,
"changed": 1592924568,
"created": 1592924568,
"id": 21,
"user": [
{
"id": 176,
"ids": null,
"role": "user",
"login_type": null,
"first_name": "Ehsan",
"last_name": "Noureddini",
"email": "[email protected]",
"mobile": "09011235566",
"mobile_verified": 1,
"timezone": null,
"more_information": null,
"settings": null,
"desc": null,
"balance": 352,
"custom_rate": 0,
"api_key": null,
"spent": null,
"activation_key": null,
"reset_key": null,
"history_ip": null,
"status": 1,
"changed": 1592744153,
"created": 1591431859
}
],
"messages": []
}
}
Example response (200):
{
"status": 400,
"message": "پارامتر های وارد شده اشتباه هستند"
}
HTTP Request
POST api/v1/user/tickets
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
subject |
string | required | Ticket subject |
description |
string | required | Ticket description |
Get ticket information
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/tickets/autem" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/tickets/autem"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"ticket": {
"id": 19,
"ids": null,
"uid": 176,
"description": "test",
"subject": "test",
"status": "new",
"created": 1590932173,
"changed": 1590934096,
"user": [
{
"id": 176,
"ids": null,
"role": "user",
"login_type": null,
"first_name": "Ehsan",
"last_name": "Noureddini",
"email": "[email protected]",
"mobile": "09011235566",
"mobile_verified": 1,
"timezone": null,
"more_information": null,
"settings": null,
"desc": null,
"balance": 352,
"custom_rate": 0,
"api_key": null,
"spent": null,
"activation_key": null,
"reset_key": null,
"history_ip": null,
"status": 1,
"changed": 1592744153,
"created": 1591431859
}
],
"messages": [
{
"id": 38,
"ids": "03131b44583d648f5401fe350bd88841",
"uid": 176,
"ticket_id": 19,
"message": "<p>سلام ویو فقط برای فیلم ها هست اگر ویو + ایمپرشن باشد. ایمپرشن هم ارسال میشود و... <\/p>",
"is_read": 0,
"changed": 1590416559,
"created": 1590416559
},
{
"id": 39,
"ids": null,
"uid": 176,
"ticket_id": 19,
"message": "test",
"is_read": 0,
"changed": 1591788563,
"created": 1591788563
},
{
"id": 40,
"ids": null,
"uid": 176,
"ticket_id": 19,
"message": "test",
"is_read": 0,
"changed": 1592924210,
"created": 1592924210
}
]
}
}
HTTP Request
GET api/v1/user/tickets/{id}
URL Parameters
| Parameter | Status | Description |
|---|---|---|
id |
required | The ticket ID |
Submit new reply to created ticket
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/user/tickets/sint" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"message":"at"}'
const url = new URL(
"http://localhost:8000/api/v1/user/tickets/sint"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"message": "at"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 201,
"ticket_message": {
"uid": 176,
"ticket_id": "19",
"is_read": 0,
"message": "test",
"changed": 1592924444,
"created": 1592924444,
"id": 41
}
}
Example response (200):
{
"status": 403,
"message": "منع دسترسی"
}
HTTP Request
POST api/v1/user/tickets/{id}
URL Parameters
| Parameter | Status | Description |
|---|---|---|
id |
required | The ticket ID |
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
message |
string | required | User message |
Redirect user to payment gateway
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/user/payment" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"amount":7}'
const url = new URL(
"http://localhost:8000/api/v1/user/payment"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"amount": 7
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 400,
"message": "مبلغ وارد شده از حداقل مبلغ قابل پرداخت کمتر است"
}
HTTP Request
POST api/v1/user/payment
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
amount |
integer | required | Amount you want to pay in TOMAN min:1000 |
Test payment for testing payment gateway
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/payment/test" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/payment/test"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET api/v1/user/payment/test
Verify user payment
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/payment/verify" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/payment/verify"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (500):
{
"message": "Server Error"
}
HTTP Request
GET api/v1/user/payment/verify
Top most active users
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/stats/top_users" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"limit":12,"offset":6}'
const url = new URL(
"http://localhost:8000/api/v1/stats/top_users"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"limit": 12,
"offset": 6
}
fetch(url, {
method: "GET",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"users": [
{
"id": 115,
"first_name": "علیرضا",
"last_name": "...",
"mobile": "0930****399",
"order_count": 26,
"custom_rate": 10,
"amount": 11164220
},
{
"id": 51,
"first_name": "sami",
"last_name": "security",
"mobile": "0937****658",
"order_count": 169,
"custom_rate": 12,
"amount": 7163700
},
{
"id": 55,
"first_name": "ریحانه",
"last_name": "میری",
"mobile": "0912****402",
"order_count": 204,
"custom_rate": 12,
"amount": 3912632
},
{
"id": 54,
"first_name": "نگار",
"last_name": "حسینی",
"mobile": "0935****468",
"order_count": 73,
"custom_rate": 12,
"amount": 3509784
},
{
"id": 60,
"first_name": "مهدی",
"last_name": "میرقادری",
"mobile": "0910****065",
"order_count": 33,
"custom_rate": 10,
"amount": 2313840
},
{
"id": 117,
"first_name": "kaebeh ",
"last_name": "mehrabi",
"mobile": "0916****740",
"order_count": 94,
"custom_rate": 12,
"amount": 1748800
},
{
"id": 63,
"first_name": "مبینا",
"last_name": "مرادی",
"mobile": "0939****823",
"order_count": 13,
"custom_rate": 12,
"amount": 708000
},
{
"id": 69,
"first_name": "مریم ",
"last_name": "عشایری",
"mobile": "0919****636",
"order_count": 39,
"custom_rate": 0,
"amount": 455857
},
{
"id": 162,
"first_name": "avid",
"last_name": "aeeni",
"mobile": "0916****150",
"order_count": 9,
"custom_rate": 0,
"amount": 409020
},
{
"id": 57,
"first_name": "ali",
"last_name": "sh",
"mobile": "0922****624",
"order_count": 51,
"custom_rate": 0,
"amount": 408000
}
]
}
HTTP Request
GET api/v1/stats/top_users
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
limit |
integer | optional | optional Default and maximum : 10 |
offset |
integer | optional | optional source time period of calculation in unixtimestamp Default: 0 |
Most popular services
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/stats/top_services" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/stats/top_services"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"services": [
{
"service_id": 1811,
"count": 187,
"service": {
"id": 1811,
"ids": "528e6b4d3ff410d7b72b12e11c1e3484",
"uid": 38,
"cate_id": 48,
"name": "فالوور فیک (ریزش بالا) سرعت بالا",
"desc": "<p>.<\/p><p>استارت بین 1 تا 24 ساعت<\/p><p>اکانت های فیک با عکس پروفایل<\/p><p><strong>ریزش بین 5 تا 90 درصد و جبران آن وجود ندارد.<\/strong><\/p><p>آیدی پیج خود را مانند نمونه زیر وارد کنید :<\/p><ul><li>instagram<\/li><\/ul><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 8000,
"original_price": 0,
"min": 10,
"max": 5000,
"add_type": "api",
"type": "default",
"api_service_id": 630,
"api_provider_id": 4,
"dripfeed": 1,
"status": 1,
"changed": 1590273701,
"created": 1588547612
}
},
{
"service_id": 1817,
"count": 139,
"service": {
"id": 1817,
"ids": "8dced7e67b911393f71ff14871debe4d",
"uid": 38,
"cate_id": 49,
"name": "لایک پست - ایرانی کیفیت خوب (سرعت بالا) ⚡️",
"desc": "<p>استارت بین 1 تا 60 دقیقه<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 22000,
"original_price": 15000,
"min": 100,
"max": 2000,
"add_type": "api",
"type": "default",
"api_service_id": 79,
"api_provider_id": 7,
"dripfeed": 0,
"status": 1,
"changed": 1590915577,
"created": 1588550357
}
},
{
"service_id": 1819,
"count": 116,
"service": {
"id": 1819,
"ids": "ede36eb1033a57702a8580de954b6ed6",
"uid": 38,
"cate_id": 50,
"name": "ویو پست + ایمپرشن سرعت بالا",
"desc": "<p>استارت بین 1 تا 60 دقیقه<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 700,
"original_price": 0,
"min": 100,
"max": 5000000,
"add_type": "api",
"type": "default",
"api_service_id": 260,
"api_provider_id": 5,
"dripfeed": 0,
"status": 1,
"changed": 1590346737,
"created": 1588550993
}
},
{
"service_id": 1829,
"count": 103,
"service": {
"id": 1829,
"ids": "bae551faef95c5c744c0e618d2ef2c25",
"uid": 38,
"cate_id": 50,
"name": "ویو پست IGTV سرعت بالا ⚡⚡",
"desc": "<p>استارت بین 1 تا 60 دقیقه<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1000,
"original_price": 0,
"min": 100,
"max": 1000000,
"add_type": "api",
"type": "default",
"api_service_id": 960,
"api_provider_id": 5,
"dripfeed": 1,
"status": 1,
"changed": 1590346763,
"created": 1588558681
}
},
{
"service_id": 1841,
"count": 100,
"service": {
"id": 1841,
"ids": "8e2f494ee8cb869498cd006f7dded7ba",
"uid": 38,
"cate_id": 48,
"name": "فالوور ایرانی کیفیت خوب سرعت متوسط",
"desc": "<p>استارت آنی همراه با فالوور هدیه (روزانه حدود 500 فالوور)<\/p><p><strong>ریزش <\/strong><strong>نامشخص<\/strong><strong> و جبران آن وجود ندارد.<\/strong><\/p><p><strong>امکان افزایش سرعت و لغو وجود ندارد، همچنین تا تکمیل نشدن سفارش قبلی امکان سفارش مجدد وجود ندارد.<\/strong><\/p><p>آیدی پیج خود را مانند نمونه زیر وارد کنید :<\/p><ul><li>instagram<\/li><\/ul><p>پیج باید در حالت پابلیک باشد.<\/p><p>گزارش باقی ماندهی این سفارش به صورت لحظه ای تغییر نمی کند و پس از پایان به حالت «کامل شده» تغییر وضعیت خواهد داد.<\/p>",
"price": 32000,
"original_price": 23000,
"min": 100,
"max": 2000,
"add_type": "api",
"type": "default",
"api_service_id": 32,
"api_provider_id": 7,
"dripfeed": 0,
"status": 1,
"changed": 1590915213,
"created": 1588581779
}
},
{
"service_id": 1865,
"count": 97,
"service": {
"id": 1865,
"ids": "d35cd1ea2e1c086954ee4e3e319076eb",
"uid": 38,
"cate_id": 48,
"name": "فالوور ایرانی کیفیت عالی سرور ( سرعت بالا )💎⚡",
"desc": "<p>استارت آنی همراه با فالوور هدیه (روزانه حدود 5000 فالوور)<\/p><p><strong>ریزش نامشخص و جبران آن وجود ندارد.<\/strong><\/p><p>آیدی پیج خود را مانند نمونه زیر وارد کنید :<\/p><ul><li>instagram<\/li><\/ul><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 72000,
"original_price": 53000,
"min": 100,
"max": 5000,
"add_type": "api",
"type": "default",
"api_service_id": 35,
"api_provider_id": 7,
"dripfeed": 0,
"status": 1,
"changed": 1590915336,
"created": 1588724189
}
},
{
"service_id": 1826,
"count": 89,
"service": {
"id": 1826,
"ids": "d2c11a6096c8483df104d97940a15f89",
"uid": 38,
"cate_id": 49,
"name": "لایک پست ایرانی کیفیت عالی سرور ۱ ( سرعت متوسط ) ⚡💎",
"desc": "<p>استارت آنی<\/p><p><strong>ثبت سفارش برای پست های معمولی و IGTV امکان پذیر می باشد.<\/strong><\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 24000,
"original_price": 15000,
"min": 100,
"max": 2000,
"add_type": "api",
"type": "default",
"api_service_id": 79,
"api_provider_id": 7,
"dripfeed": 0,
"status": 1,
"changed": 1590915551,
"created": 1588554201
}
},
{
"service_id": 1867,
"count": 64,
"service": {
"id": 1867,
"ids": "a85b309c6b156e00f1e63907122a5ea6",
"uid": 38,
"cate_id": 49,
"name": "لایک پست فیک سرعت متوسط ( ریزش بالا )",
"desc": "<p>استارت بین 1 تا 12 ساعت<\/p><p><strong>ریزش <\/strong><strong>نامشخص<\/strong><strong> و جبران آن وجود ندارد.<\/strong><\/p><p>اکانت های فیک با عکس پروفایل<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 5500,
"original_price": 0,
"min": 10,
"max": 5000,
"add_type": "api",
"type": "default",
"api_service_id": 475,
"api_provider_id": 4,
"dripfeed": 1,
"status": 1,
"changed": 1590273774,
"created": 1588731863
}
},
{
"service_id": 1866,
"count": 62,
"service": {
"id": 1866,
"ids": "412b3a80c1c68a473ecd6b286584b453",
"uid": 38,
"cate_id": 49,
"name": "لایک پست - ایرانی کیفیت عالی سرور 2 (سرعت بالا) ⚡️💎",
"desc": "<p>استارت آنی<\/p><p><strong>ثبت سفارش برای پست های معمولی و IGTV امکان پذیر می باشد.<\/strong><\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 44000,
"original_price": 32000,
"min": 100,
"max": 5000,
"add_type": "api",
"type": "default",
"api_service_id": 36,
"api_provider_id": 7,
"dripfeed": 0,
"status": 1,
"changed": 1590915613,
"created": 1588724369
}
},
{
"service_id": 1828,
"count": 53,
"service": {
"id": 1828,
"ids": "f4a1b25522ff695508f1aae76c8c20f5",
"uid": 38,
"cate_id": 50,
"name": "ویو پست + ایمپرشن + ریچ + پروفایل ویزیت ⚡⚡",
"desc": "<p>استارت بین 1 تا 60 دقیقه<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1200,
"original_price": 0,
"min": 250,
"max": 1000000,
"add_type": "api",
"type": "default",
"api_service_id": 2261,
"api_provider_id": 5,
"dripfeed": 1,
"status": 1,
"changed": 1590346686,
"created": 1588558516
}
}
]
}
HTTP Request
GET api/v1/stats/top_services
List services
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/services" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"cate_id":9,"status":"impedit","order_by":"a"}'
const url = new URL(
"http://localhost:8000/api/v1/services"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"cate_id": 9,
"status": "impedit",
"order_by": "a"
}
fetch(url, {
method: "GET",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"services": [
{
"id": 1904,
"cate_id": 136,
"name": "ویو استوری اینستاگرام سرعت متوسط ",
"desc": "<p>استارت بین 1 ساعت تا 12 ساعت<\/p><p>اکانت های فیک با عکس پروفایل<\/p><p>آیدی پیج خود را مانند نمونه زیر وارد کنید :<\/p><ul><li>instagram<\/li><\/ul><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1,
"original_price": null,
"min": 100,
"max": 500,
"dripfeed": 0,
"status": 1,
"changed": 1590467774,
"created": 1590459686
},
{
"id": 1903,
"cate_id": 136,
"name": "سیو پست اینستاگرام سرعت متوسط ",
"desc": "<p>استارت بین 1 تا 6 ساعت<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1,
"original_price": null,
"min": 100,
"max": 500,
"dripfeed": 0,
"status": 1,
"changed": 1590460198,
"created": 1590459550
},
{
"id": 1902,
"cate_id": 136,
"name": "ویو پست اینستاگرام سرعت متوسط ",
"desc": "<p>استارت بین 1 تا 6 ساعت<\/p><p>لینک پست خود را از طریق اینستاگرام کپی کرده و وارد کنید.<\/p><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1,
"original_price": null,
"min": 500,
"max": 500,
"dripfeed": 0,
"status": 1,
"changed": 1590460217,
"created": 1590459491
}
]
}
HTTP Request
GET api/v1/services
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
cate_id |
integer | optional | optional Get specific category services |
status |
string | optional | optional 1 or 0 |
order_by |
string | optional | optional Sort output based on this |
List categories
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/categories" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"order_by":"tenetur"}'
const url = new URL(
"http://localhost:8000/api/v1/categories"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"order_by": "tenetur"
}
fetch(url, {
method: "GET",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"categories": [
{
"id": 136,
"name": "⭐ سرویس رایگان ⭐ ",
"desc": "",
"image": null,
"sort": 1,
"status": 1,
"changed": 1590459286,
"created": 1590459219
},
{
"id": 135,
"name": "فیسبوک",
"desc": "",
"image": null,
"sort": 14,
"status": 1,
"changed": 1589977398,
"created": 1589977398
},
{
"id": 134,
"name": "تخفیف ویژه هفته 🎁",
"desc": "",
"image": null,
"sort": 1,
"status": 1,
"changed": 1589365332,
"created": 1589365332
},
{
"id": 133,
"name": "نمایندگی و راه اندازی سایت فروش",
"desc": "",
"image": null,
"sort": 1,
"status": 1,
"changed": 1588686244,
"created": 1588686244
},
{
"id": 132,
"name": "تبلیغات اینستاگرام ",
"desc": "",
"image": null,
"sort": 30,
"status": 1,
"changed": 1588585362,
"created": 1588585362
},
{
"id": 131,
"name": "تیک تاک",
"desc": "",
"image": null,
"sort": 24,
"status": 1,
"changed": 1588571146,
"created": 1588571146
},
{
"id": 130,
"name": "فیسبوک",
"desc": "",
"image": null,
"sort": 22,
"status": 1,
"changed": 1588571132,
"created": 1588571132
},
{
"id": 129,
"name": "توییتر",
"desc": "",
"image": null,
"sort": 21,
"status": 1,
"changed": 1588571117,
"created": 1588564663
},
{
"id": 128,
"name": "منشن و دایرکت اینستاگرام",
"desc": "",
"image": null,
"sort": 7,
"status": 1,
"changed": 1588564506,
"created": 1588564506
},
{
"id": 127,
"name": "آمار و رای نظرسنجی اینستاگرام",
"desc": "",
"image": null,
"sort": 6,
"status": 1,
"changed": 1588552506,
"created": 1588552506
},
{
"id": 126,
"name": "تلگرام",
"desc": "",
"image": null,
"sort": 8,
"status": 1,
"changed": 1588552452,
"created": 1588552452
},
{
"id": 125,
"name": "یوتیوب",
"desc": "",
"image": null,
"sort": 20,
"status": 1,
"changed": 1588552528,
"created": 1588551110
},
{
"id": 124,
"name": "کامنت اینستاگرام ",
"desc": "",
"image": null,
"sort": 5,
"status": 1,
"changed": 1588686304,
"created": 1588550709
},
{
"id": 50,
"name": "ویو اینستاگرام ",
"desc": "",
"image": null,
"sort": 4,
"status": 1,
"changed": 1588550721,
"created": 1588546315
},
{
"id": 49,
"name": "لایک اینستاگرام ",
"desc": "",
"image": null,
"sort": 3,
"status": 1,
"changed": 1588686278,
"created": 1588546300
},
{
"id": 48,
"name": "فالوور اینستاگرام ",
"desc": "",
"image": null,
"sort": 2,
"status": 1,
"changed": 1588686257,
"created": 1588546285
}
]
}
HTTP Request
GET api/v1/categories
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
order_by |
string | optional | optional Sort output based on this |
Get free credit
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/freecredit" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/freecredit"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 201,
"amount": 93
}
Example response (200):
{
"status": 429,
"message": "شما تا 120 ثانیه دیگر قادر به ارسال درخواست خواهید بود"
}
Example response (200):
{
"status": 429,
"message": "به محدودیت درخواست ماهانه رسیده اید"
}
HTTP Request
GET api/v1/user/freecredit
Get user order list
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/order" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/order"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"orders": [
{
"id": 1533,
"ids": "d2db121b0be4d0a26a42f372c9696cdd",
"type": "direct",
"cate_id": 50,
"service_id": 1816,
"service_type": "default",
"api_provider_id": 4,
"api_service_id": "1001",
"api_order_id": 26960801,
"uid": 180,
"link": "https:\/\/www.instagram.com\/p\/CA2-Sn-n9YX\/?igshid=umy1k0igwj1b",
"quantity": 500,
"usernames": null,
"username": null,
"hashtags": null,
"hashtag": null,
"media": null,
"comments": null,
"sub_posts": null,
"sub_min": null,
"sub_max": null,
"sub_delay": null,
"sub_expiry": null,
"sub_response_orders": null,
"sub_response_posts": null,
"sub_status": null,
"charge": 250,
"status": "completed",
"start_counter": 46,
"remains": "0",
"is_drip_feed": 0,
"runs": 0,
"interval": 0,
"dripfeed_quantity": 0,
"note": "",
"changed": 1590964677,
"created": 1590958918
}
]
}
HTTP Request
GET api/v1/order
Create Order | Generally you can create two type of orders 1. regular orders 2. subscription orders which in this kind of orders you need to set is_drip_feed, runs and interval as required parameters.
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/order" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"service_id":"possimus","category_id":"consectetur","quantity":15,"link":"eum","runs":1,"api_provider_id":16,"api_service_id":6,"interval":6,"is_drip_feed":"facilis","service_type":"aperiam","comments":"cum","usernames_custom":"non","username":"atque","comments_custom_package":"ipsa","hashtag":"ea","hashtags":"neque","media_url":"quis"}'
const url = new URL(
"http://localhost:8000/api/v1/order"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"service_id": "possimus",
"category_id": "consectetur",
"quantity": 15,
"link": "eum",
"runs": 1,
"api_provider_id": 16,
"api_service_id": 6,
"interval": 6,
"is_drip_feed": "facilis",
"service_type": "aperiam",
"comments": "cum",
"usernames_custom": "non",
"username": "atque",
"comments_custom_package": "ipsa",
"hashtag": "ea",
"hashtags": "neque",
"media_url": "quis"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 201,
"message": "Order placed successfully",
"order": {
"uid": 176,
"cate_id": 50,
"service_id": 1816,
"service_type": "default",
"link": "https:\/\/www.instagram.com\/p\/CA2-Sn-n9YX\/?igshid=umy1k0igwj1b",
"quantity": 100,
"charge": 50,
"api_provider_id": null,
"api_service_id": null,
"is_drip_feed": 0,
"status": "pending",
"type": "mobile_app",
"changed": 1592744064,
"created": 1592744064,
"id": 1527
}
}
Example response (200):
{
"status": 400,
"message": "خطا"
}
HTTP Request
POST api/v1/order
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
service_id |
string | required | Service ID |
category_id |
string | required | Category ID |
quantity |
integer | required | |
link |
string | required | |
runs |
integer | required | |
api_provider_id |
integer | optional | optional |
api_service_id |
integer | optional | optional |
interval |
integer | optional | optional |
is_drip_feed |
string | optional | optional on or doesn't matter what |
service_type |
string | optional | optional put "subscriptions" or leave it |
comments |
string | optional | optional |
usernames_custom |
string | optional | optional |
username |
string | optional | optional |
comments_custom_package |
string | optional | optional |
hashtag |
string | optional | optional |
hashtags |
string | optional | optional |
media_url |
string | optional | optional |
Get order detail
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/order/porro" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/order/porro"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": "pending",
"id": 1528,
"ids": null,
"type": "",
"cate_id": 50,
"service_id": 1816,
"service_type": "default",
"api_provider_id": null,
"api_service_id": null,
"api_order_id": 0,
"uid": 176,
"link": "https:\/\/www.instagram.com\/p\/CA2-Sn-n9YX\/?igshid=umy1k0igwj1b",
"quantity": 100,
"usernames": null,
"username": null,
"hashtags": null,
"hashtag": null,
"media": null,
"comments": null,
"sub_posts": null,
"sub_min": null,
"sub_max": null,
"sub_delay": null,
"sub_expiry": null,
"sub_response_orders": null,
"sub_response_posts": null,
"sub_status": null,
"charge": 50,
"start_counter": 0,
"remains": "0",
"is_drip_feed": 0,
"runs": 0,
"interval": 0,
"dripfeed_quantity": 0,
"note": null,
"changed": 1592744153,
"created": 1592744153
}
Example response (200):
{
"status": 404,
"message": "سفارش مورد نظر یافت نشد"
}
Example response (200):
{
"status": 403,
"message": "منع دسترسی"
}
HTTP Request
GET api/v1/order/{id}
URL Parameters
| Parameter | Status | Description |
|---|---|---|
id |
required | integer Order id |
Wheel of fortune | You can not gift dripfeed service
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/wof" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/wof"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"user_gift": {
"uid": 176,
"gift_id": 1,
"quantity": 27,
"created": 1593182724,
"changed": 1593182724,
"expired_at": 1593269124,
"id": 24,
"service": {
"id": 1904,
"cate_id": 136,
"name": "ویو استوری اینستاگرام سرعت متوسط ",
"desc": "<p>استارت بین 1 ساعت تا 12 ساعت<\/p><p>اکانت های فیک با عکس پروفایل<\/p><p>آیدی پیج خود را مانند نمونه زیر وارد کنید :<\/p><ul><li>instagram<\/li><\/ul><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1,
"original_price": null,
"min": 100,
"max": 500,
"dripfeed": 0,
"status": 1,
"changed": 1590467774,
"created": 1590459686
}
}
}
Example response (200):
{
"status": 429,
"message": "شما به حداکثر تعداد جایزه، در ماه رسیده اید"
}
Example response (200):
{
"status": 429,
"message": "شما در هر 1 روز می توانید یک هدیه دریافت کنید."
}
HTTP Request
GET api/v1/user/wof
List user gifts
Requires authentication
Example request:
curl -X GET \
-G "http://localhost:8000/api/v1/user/gifts" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/v1/user/gifts"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 200,
"gifts": [
{
"gift": {
"id": 1,
"service_id": 1904,
"min": 30,
"max": 100,
"status": 1,
"created": 1593096286,
"changed": 1007078400,
"service": {
"id": 1904,
"cate_id": 136,
"name": "ویو استوری اینستاگرام سرعت متوسط ",
"desc": "<p>استارت بین 1 ساعت تا 12 ساعت<\/p><p>اکانت های فیک با عکس پروفایل<\/p><p>آیدی پیج خود را مانند نمونه زیر وارد کنید :<\/p><ul><li>instagram<\/li><\/ul><p>پیج باید در حالت پابلیک باشد.<\/p>",
"price": 1,
"original_price": null,
"min": 100,
"max": 500,
"dripfeed": 0,
"status": 1,
"changed": 1590467774,
"created": 1590459686
}
},
"used": 0,
"link": null,
"created": 1593096287,
"changed": 1593096287,
"expired_at": 1593096178
}
]
}
HTTP Request
GET api/v1/user/gifts
Use a user gift
Requires authentication
Example request:
curl -X POST \
"http://localhost:8000/api/v1/user/gifts" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"gift_id":15,"link":"quia"}'
const url = new URL(
"http://localhost:8000/api/v1/user/gifts"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"gift_id": 15,
"link": "quia"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
Example response (200):
{
"status": 201,
"order": {
"uid": 176,
"cate_id": 136,
"service_id": 1904,
"service_type": "default",
"link": "https:\/\/google.com",
"quantity": 25,
"charge": 0,
"api_provider_id": -1,
"api_service_id": -1,
"is_drip_feed": 0,
"status": "pending",
"type": "mobile_app_gift",
"changed": 1593104110,
"created": 1593104110,
"id": 1531
}
}
Example response (200):
{
"status": 400,
"message": "لطفا شناسه هدیه را به درستی وارد کنید"
}
Example response (200):
{
"status": 400,
"message": "لطفا لینک را به درستی وارد کنید"
}
Example response (200):
{
"status": 400,
"message": "هدیه شما استفاده یا منقضی شده است"
}
Example response (200):
{
"status": 404,
"message": "شما چنین هدیه ای دریافت نکرده اید"
}
HTTP Request
POST api/v1/user/gifts
Body Parameters
| Parameter | Type | Status | Description |
|---|---|---|---|
gift_id |
integer | required | ID of what gift you want to use |
link |
string | required | Link user want to run this gift on that |