API Documentation
Note: Please read the API instructions carefully. It's your sole responsibility what you add by our API.
| HTTP Method | POST |
| Response format | Json |
| API URL | https://www.apkey.net.royalcrown.id/api/v2 |
| API Key |
Place new Order
Create a new order. Use action add.
Parameters
keyYour API key.
actionMust be add.
serviceService ID.
linkLink to the post/page.
quantityNeeded quantity.
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "add",
"service": 1,
"link": "http://example.com/test",
"quantity": 100
}'
{
"status": "success",
"order": 32
}
Order Status
Check the status of an existing order. Use action status.
Parameters
keyYour API key.
actionMust be status.
orderOrder ID.
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "status",
"order": 12345
}'
{
"charge": "0.27874",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
Multiple Status
Check the status of multiple orders at once. Use action status.
Parameters
keyactionMust be status.
ordersOrder IDs separated by comma (e.g. 1,2,3).
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "status",
"orders": "12345,12346,12347"
}'
{
"1": {
"charge": "0.27874",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"2": {
"error": "Incorrect order ID"
}
}
Services List
Get a complete list of services. Use action services.
Parameters
keyactionMust be services.
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "services"
}'
[
{
"service": "1",
"name": "Instagram Followers",
"type": "Default",
"category": "Instagram",
"rate": "0.9000",
"min": "100",
"max": "10000",
"refill": true,
"cancel": true
}
]
User Balance
Get your current account balance. Use action balance.
Parameters
keyactionMust be balance.
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "balance"
}'
{
"balance": "100.84292",
"currency": "USD"
}
Payment Methods
Get a list of available cryptocurrency payment methods (Cryptomus). Use action payment_methods.
Parameters
keyactionMust be payment_methods.
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "payment_methods"
}'
{
"status": "success",
"methods": [
{
"network": "TRX",
"currency": "USDT",
"is_available": true,
"limit": {
"min_amount": "1.00",
"max_amount": "10000.00"
},
"commission": {
"fee_amount": "0.00",
"percent": "1.00"
}
}
]
}
Add Deposit
Create a new deposit. Use action add_deposit.
Parameters
keyactionMust be add_deposit.
amountMinimum 5.
to_currencye.g. USDT
networke.g. TRX
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "add_deposit",
"method": "TRX_USDT",
"amount": 500
}'
{
"status": "success",
"invoice": "DEP-A1B2C3D4E5",
"address": "Txxxxxx...",
"amount_to_pay": "5.00",
"currency": "USDT",
"network": "TRX",
"qr_image": "iVBORw0KGgo..."
}
Status Deposit
Check the status of an existing deposit. Use action status_deposit.
Parameters
keyactionMust be status_deposit.
invoiceDeposit Invoice ID (e.g., DEP-...).
curl -X POST https://www.apkey.net.royalcrown.id/api/v2 \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"key": "YOUR_API_KEY",
"action": "status_deposit",
"invoice": "INV-123"
}'
{
"status": "success",
"invoice": "DEP-A1B2C3D4E5",
"payment_status": "pending",
"amount": "5.00"
}
Webhook / Callback
Receive real-time HTTP POST updates when the status of your Orders or Deposits changes. Configure your Webhook URL in your API Key settings.
Payload Description
eventThe type of event that triggered the webhook. Either transaction_update or deposit_update.
data.invoiceThe invoice ID of the Order or Deposit.
data.statusThe new status (e.g. Success, Error, Processing, Paid).
{
"event": "transaction_update",
"data": {
"invoice": "ORD-12345",
"status": "Success",
"amount": "10.00"
}
}