-
Title
Content
-
API URL
https://2live.shop/api/v1
-
Response Format
JSON
-
HTTP Method
POST
-
Your API Key
Your API key
-
Example PHP Code
Code
Service List:
-
Required Parameter
Content
-
key
Your API Key
-
action
"services"
Service List Success Response:
[
{
"service": 1,
"name": "YouTube Livestream Viewers",
"rate": "0.33000000",
"min": 1000,
"max": 200000,
"category": "Live Stream [ Low ConCurrent | Less Price ] [ 30 Minutes to 24 Hours]",
"refill": true,
"dripfeed": true,
},
{
"service": 2,
"name": "YouTube Livestream Viewers ~",
"rate": "2.10000000",
"min": 1000,
"max": 200000,
"category": "Live Stream [ Low ConCurrent | Less Price ] [ 30 Minutes to 24 Hours]"
"refill": true,
"dripfeed": false,
}
]
Service List Error Response:
{"error" : "The action field is required"}
{"error" : "The api key field is required"}
{"error" : "Invalid api key"}
{"error" : "Invalid action"}
Place New Order:
-
Required Parameter
Content
-
key
Your API Key
-
action
"add"
-
service
Service ID
-
link
Link to Page
-
quantity
Quantity to be Delivered
-
runs(Optional)
Runs to Deliver
-
interval(Optional)
Interval in Minutes
New Order Success Response:
{
"order": 1242
}
New Order Error Response:
{"error" : "The action field is required"}
{"error" : "The api key field is required"}
{"error" : "Invalid api key"}
{"error" : "Invalid Service Id"}
{"error" : "The link field is required"}
{"error" : "The quantity field is required"}
{"error" : "Please follow the limit"}
{"error" : "Insufficient balance"}
Order Status:
-
Required Parameter
Content
-
key
Your API Key
-
action
"status"
-
order
Order ID
Order Status Success Response:
{
"status" : "Pending",
"start_count" : "1000",
"remains" : "500",
"currency" : USD
}
-
Available status
-
Pending
-
Processing
-
Complete
-
Order Cancelled
-
Refunded
Order Status Error Response:
{"error" : "The action field is required"}
{"error" : "The api key field is required"}
{"error" : "Invalid api key"}
{"error" : "Invalid action"}
{"error" : "The order field is required"}
{"error" : "Invalid Order Id"}
Order Refill:
-
Required Parameter
Content
-
key
Your API Key
-
action
"refill"
-
order
Order ID
Order Refill Success Response:
{
"success": "Your order will be refill asap. Thank you for patience",
"refill": 12345
}
Order Refill Error Response:
{"error" : "Order not eligible for refill"}
Get Refill Status:
-
Required Parameter
Content
-
key
Your API Key
-
action
"refill_status"
-
refill
Refill ID
Refill Status Success Response:
{
"status": "Completed"
}
User Balance:
-
Required Parameter
Content
-
key
Your API Key
-
action
"balance"
User Balance Success Response:
{
"balance": "100.84292",
"currency" :" USD"
}
User Balance Error Response:
{"error" : "The action field is required"}
{"error" : "The api key field is required"}
{"error" : "Invalid api key"}