API keyinizi Hesabım sayfasından alabilirsiniz.
| HTTP Method | POST |
| API URL | https://smmonayim.com/api/v2 |
| Response format | JSON |
| 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"
},
{
"service": 2,
"name": "Comments",
"type": "Custom Comments",
"category": "Second Category",
"rate": "8",
"min": "10",
"max": "1500"
}
]
| 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
{
"order": 23501
}
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| order | Order ID |
Example response
{
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
}
| Parameters | Description |
|---|---|
| key | Your API key |
| action | status |
| orders | Order IDs separated by comma |
Example response
{
"1": {
"charge": "0.27819",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "USD"
},
"10": {
"error": "Incorrect order ID"
},
"100": {
"charge": "1.44219",
"start_count": "234",
"status": "In progress",
"remains": "10",
"currency": "USD"
}
}
| Parameters | Description |
|---|---|
| key | Your API key |
| action | balance |
Example response
{
"balance": "100.84292",
"currency": "USD"
}
Example of PHP code
| HTTP Method | POST |
| API URL | https://smmonayim.com/api/v1 |
| Response format | JSON |
İstek Url Adresi: https://smmonayim.com/api/v1/getCategories
Örnek Çıktı
[
{
"id": 1,
"name": "Google"
},
{
"id": 2,
"name": "Discord"
}
]
İstek Url Adresi: https://smmonayim.com/api/v1/getServices/category_id
Not: category_id değerini kategoriler listesinden bulabilirsiniz.
Örnek Çıktı
[
{
"id": 1,
"name": "Whatsapp Fransa",
"category": 1
},
{
"id": 2,
"name": "Whatsapp Endonezya",
"category": 1
}
]
İstek Url Adresi: https://smmonayim.com/api/v1/getServiceDetails/service_id
Not: service_id değerini servisler listesinden bulabilirsiniz.
Örnek Çıktı
[
{
"id": 1,
"price": "8",
"stock": 190
},
{
"id": 2,
"price": "2",
"stock": 170
}
]
İstek Url Adresi: https://smmonayim.com/api/v1/api_key/getNumber/service_id
Not: Çıktıdaki number ve number_id değerlerini servisler bir yere kaydedin. Daha sonrasında gelen kodu görebilmeniz için lazım olacaktır.
Örnek Çıktı
{
"success": true,
"number_id": 100,
"number": "+65789654123"
}
İstek Url Adresi: https://smmonayim.com/api/v1/api_key/getMessage/number_id
Not: number_id değerine numarayı sipariş verdikten sonra çıktıdan ulaşabilirsiniz.
Status = 1 ise: Mesaj geldi kod gösteriliyor.
Status = 0 ise: Mesaj bekleniyor.
Status = -1 ise: Numara iptal edildi.
Örnek Çıktı
{
"code": 110547,
"id": 100,
"status": 1
}
İstek Url Adresi: https://smmonayim.com/api/v1/api_key/cancelNumber/number_id
Not: number_id değerine numarayı sipariş verdikten sonra çıktıdan ulaşabilirsiniz.
success = true ise: Başarıyla iade edildi
success = false ise: İptal edilemedi
Örnek Çıktı
{
"success": true,
"title": "",
"message": ""
}
İstek Url Adresi: https://smmonayim.com/api/v1/api_key/getBalance
Örnek Çıktı
{
"balance": 100
}
Örnek PHP code