API Documentation
Integrate our service with your application using the endpoints below.
Api Documentations
- HTTP Method
- POST
- API URL
- https://smmgen.com/api/v2
- API Key
- Get an API key on the Settings page
- Response format
- JSON
Service list
| Parameters | Description |
|---|---|
| key | Your API key |
| action | services |
Example response
[
{
300">"service": 1,
300">"name": 300">"Followers",
300">"type": 300">"Default",
300">"category": 300">"First Category",
300">"rate": 300">"0.90",
300">"min": 300">"50",
300">"max": 300">"10000",
300">"refill": true,
300">"cancel": true
},
{
300">"service": 2,
300">"name": 300">"Comments",
300">"type": 300">"Custom Comments",
300">"category": 300">"Second Category",
300">"rate": 300">"8.00",
300">"min": 300">"10",
300">"max": 300">"1500",
300">"refill": false,
300">"cancel": true
}
]Add order
| Parameters | Description |
|---|---|
| key | Your API key |
| action | add |
| service | Service ID |
| link | Link to page |
| quantity | Needed quantity |
| runs (optional) | Runs to deliver |
| interval (optional) | Interval in minutes |
Example response
{
300">"order": 23501
}Order status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
Example response
{
300">"charge": 300">"0.27819",
300">"start_count": 300">"3572",
300">"status": 300">"Partial",
300">"remains": 300">"157",
300">"currency": 300">"USD"
}Multiple orders status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs separated by a comma (max 100) |
Example response
{
300">"1": {
300">"charge": 300">"0.27819",
300">"start_count": 300">"3572",
300">"status": 300">"Partial",
300">"remains": 300">"157",
300">"currency": 300">"USD"
},
300">"10": {
300">"error": 300">"Incorrect order ID"
},
300">"100": {
300">"charge": 300">"1.44219",
300">"start_count": 300">"234",
300">"status": 300">"In progress",
300">"remains": 300">"10",
300">"currency": 300">"USD"
}
}Create refill
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| order | Order ID |
Example response
{
300">"refill": 300">"1"
}Create multiple refill
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill |
| orders | Order IDs separated by a comma (max 100) |
Example response
[
{ 300">"order": 1, 300">"refill": 1 },
{ 300">"order": 2, 300">"refill": 2 },
{ 300">"order": 3, 300">"refill": { 300">"error": 300">"Incorrect order ID" } }
]Get refill status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refill | Refill ID |
Example response
{
300">"status": 300">"Completed"
}Get multiple refill status
| Parameters | Description |
|---|---|
| key | Your API key |
| action | refill_status |
| refills | Refill IDs separated by a comma (max 100) |
Example response
[
{ 300">"refill": 1, 300">"status": 300">"Completed" },
{ 300">"refill": 2, 300">"status": 300">"Rejected" },
{ 300">"refill": 3, 300">"status": { 300">"error": 300">"Refill not found" } }
]Create cancel
| Parameters | Description |
|---|---|
| key | Your API key |
| action | cancel |
| orders | Order IDs (separated by a comma, up to 100 IDs) |
Example response
[
{
300">"order": 9,
300">"cancel": {
300">"error": 300">"Incorrect order ID"
}
},
{
300">"order": 2,
300">"cancel": 1
}
]User balance
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
Example response
{
300">"balance": 300">"100.84292",
300">"currency": 300">"USD"
}
