API Documentation

  • Title Content
  • SMM API URL https://trixbay.com/api/v1 β€” POST only (PerfectPanel)
  • REST Base URL https://trixbay.com/api/v1 β€” Buy Accounts, Virtual Numbers, VTU, balance
  • Response Format JSON
  • HTTP Method POST for SMM; GET/POST for multi-product REST
  • Your API Key

    One key for all products. View or regenerate it after login (account password required):

    Dashboard β†’ Profile Setting β†’ API Key

    Guest visitors: sign in first, then open Profile Setting.

  • How to send the key

    SMM: body/query key=YOUR_API_KEY with action=...

    REST: header X-Api-Key: YOUR_API_KEY or ?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"}
                                        
                                    

Multi-product Reseller API

Use the same API key for Buy Accounts, Virtual Numbers, and VTU. Send X-Api-Key: YOUR_API_KEY or key=YOUR_API_KEY. SMM above stays PerfectPanel-style POST https://trixbay.com/api/v1.

REST Wallet Balance

Same wallet on every product base URL:

  • GET https://trixbay.com/api/v1/balance
  • GET https://trixbay.com/api/v1/buy-accounts/balance
  • GET https://trixbay.com/api/v1/virtual-numbers/balance
  • GET https://trixbay.com/api/v1/vtu/balance
  • X-Api-Key Your API Key
Success Response:
{
  "success": true,
  "data": {
    "balance": 100.84,
    "currency": "NGN"
  }
}
Example curl:
curl -H "X-Api-Key: YOUR_API_KEY" https://trixbay.com/api/v1/balance
curl -H "X-Api-Key: YOUR_API_KEY" https://trixbay.com/api/v1/buy-accounts/balance
curl -H "X-Api-Key: YOUR_API_KEY" https://trixbay.com/api/v1/virtual-numbers/balance
curl -H "X-Api-Key: YOUR_API_KEY" https://trixbay.com/api/v1/vtu/balance
Buy Accounts
  • GET https://trixbay.com/api/v1/buy-accounts/balance
  • GET https://trixbay.com/api/v1/buy-accounts/services
  • GET https://trixbay.com/api/v1/buy-accounts/services/{id}/stocks
  • POST https://trixbay.com/api/v1/buy-accounts/purchase β€” stock_id, quantity (1–10)
  • GET https://trixbay.com/api/v1/buy-accounts/orders
  • GET https://trixbay.com/api/v1/buy-accounts/orders/{id} β€” includes accounts when completed
Purchase Success Response:
{
  "success": true,
  "message": "Order placed successfully",
  "data": {
    "order_id": 12,
    "order_number": "BA...",
    "status": "Completed",
    "total_amount": 1500,
    "currency": "NGN"
  }
}
Example curl:
curl -X POST https://trixbay.com/api/v1/buy-accounts/purchase \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"stock_id":1,"quantity":1}'
Virtual Numbers
  • GET https://trixbay.com/api/v1/virtual-numbers/balance
  • GET https://trixbay.com/api/v1/virtual-numbers/countries (public)
  • GET https://trixbay.com/api/v1/virtual-numbers/services (public)
  • GET https://trixbay.com/api/v1/virtual-numbers/pricing?country=&service= (public)
  • POST https://trixbay.com/api/v1/virtual-numbers/purchase/activation β€” country, service
  • POST https://trixbay.com/api/v1/virtual-numbers/purchase/rental β€” country, service, rent_hours
  • GET https://trixbay.com/api/v1/virtual-numbers/orders
  • GET https://trixbay.com/api/v1/virtual-numbers/orders/{id}
  • POST https://trixbay.com/api/v1/virtual-numbers/orders/{id}/check
  • POST https://trixbay.com/api/v1/virtual-numbers/orders/{id}/finish / cancel
Example curl:
curl -X POST https://trixbay.com/api/v1/virtual-numbers/purchase/activation \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"country":"12","service":"tg"}'
VTU
  • GET https://trixbay.com/api/v1/vtu/balance
  • GET https://trixbay.com/api/v1/vtu/variations/data (public)
  • GET https://trixbay.com/api/v1/vtu/variations/tv (public)
  • POST https://trixbay.com/api/v1/vtu/purchase/airtime
  • POST https://trixbay.com/api/v1/vtu/purchase/data
  • POST https://trixbay.com/api/v1/vtu/purchase/electricity / tv / betting / epins
  • POST https://trixbay.com/api/v1/vtu/verify-customer
  • GET https://trixbay.com/api/v1/vtu/orders
  • GET https://trixbay.com/api/v1/vtu/orders/{id}
  • POST https://trixbay.com/api/v1/vtu/orders/{id}/requery
Example curl:
curl -X POST https://trixbay.com/api/v1/vtu/purchase/airtime \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"phone":"08012345678","service_id":"mtn","amount":1000}'
Auth Error Response (REST):
{
  "success": false,
  "error": "Invalid api key"
}