API Documentation
HTTP Method POST
API URL https://khmer-smm.com/api/v2
API Key Get an API key on the Account page
Response Format JSON
Service List
Parameters Description
key Your API key
action services

Example Response

[
    {
        "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
    }
]
                        
Add Order

Order Status
Parameters Description
key Your API key
action status
id Order ID

Example Response

{
    "status": 1,
    "message": "Order successfully completed"
}
                        
Order List
Parameters Description
key Your API key
action orders

Example Response

[
    {
        "id": 1,
        "service": 2,
        "link": "https://example.com",
        "quantity": 100,
        "status": "Completed"
    },
    {
        "id": 2,
        "service": 5,
        "link": "https://another-example.com",
        "quantity": 200,
        "status": "Pending"
    }
]
                        
Cancel Order
Parameters Description
key Your API key
action cancel
id Order ID

Example Response

{
    "status": 1,
    "message": "Order successfully canceled"
}
                        
Best Practices
  • Always validate and sanitize input data before sending requests to avoid errors or security issues.
  • Ensure that your API key is kept confidential and not exposed in client-side code.
  • Regularly check the status of your orders to monitor progress and address any issues promptly.
  • Handle errors gracefully by providing meaningful messages and retry logic where appropriate.
  • Use the latest version of the API for access to the most recent features and improvements.
,