API
| HTTP method | POST |
|---|
| API URL | https://heysmm.com/api/v2 |
|---|
| API key | Available on the Account page |
|---|
| Response format | JSON |
|---|
Send form parameters with each request. Generate your key on the Account page.
Service list
| Parameter | Description |
|---|
| key | Your API key |
| action | services |
Example response
[
{
"service": 1,
"name": "Example service",
"type": "Default",
"category": "Example category",
"rate": "0.90",
"min": "50",
"max": "10000",
"refill": true,
"cancel": true
}
]Add order
| Parameter | Description |
|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to the target page |
| quantity | Requested quantity within the service limits |
| comments | One comment per line. The number of lines determines the quantity. |
| quantity | Requested quantity within the service limits |
| username | Username of the comment owner |
| quantity | Requested quantity within the service limits |
| answer_number | Answer number, starting at 1 |
| quantity | Requested quantity within the service limits |
| country | Country code or full country name |
| device | 1 Desktop, 2 Android, 3 iOS, 4 mixed mobile, 5 mobile and desktop |
| type_of_traffic | 1 Google keyword, 2 custom referrer, 3 blank referrer |
| google_keyword | Required for traffic type 1 |
| referring_url | Required for traffic type 2 |
| runs (optional) | Number of deliveries for a drip-feed service |
| interval (optional) | Minutes between deliveries |
Example response
{
"order": 23501
}Order status
| Parameter | Description |
|---|
| key | Your API key |
| action | status |
| order | One order ID |
Example response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}Multiple orders status
| Parameter | Description |
|---|
| key | Your API key |
| action | status |
| orders | Up to 100 comma-separated order IDs |
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
}
}Create refill
| Parameter | Description |
|---|
| key | Your API key |
| action | refill |
| order | One order ID |
Example response
{
"refill": "1"
}Create multiple refill
| Parameter | Description |
|---|
| key | Your API key |
| action | refill |
| orders | Up to 100 comma-separated order IDs |
Example response
[
{
"order": 1,
"refill": 1
},
{
"order": 3,
"refill": {
"error": "Incorrect order ID"
}
}
]Refill status
| Parameter | Description |
|---|
| key | Your API key |
| action | refill_status |
| refill | One refill ID |
Example response
{
"status": "Completed"
}Multiple refill status
| Parameter | Description |
|---|
| key | Your API key |
| action | refill_status |
| refills | Up to 100 comma-separated refill IDs |
Example response
[
{
"refill": 1,
"status": "Completed"
},
{
"refill": 3,
"status": {
"error": "Refill not found"
}
}
]Create cancel
| Parameter | Description |
|---|
| key | Your API key |
| action | cancel |
| orders | Up to 100 comma-separated order IDs |
Example response
[
{
"order": 9,
"cancel": {
"error": "Incorrect order ID"
}
},
{
"order": 2,
"cancel": 1
}
]User balance
| Parameter | Description |
|---|
| key | Your API key |
| action | balance |
Example response
{
"balance": "100.84292",
"currency": "USD"
}Download code example