SmmTechs API
Common info
API gives you access to automatically create and control your orders, and get full statistics for them. You can also gain access to such extra info as: number of active SmmTechs users, availiable order types and prices for them.
To use a method in API SmmTechs you should make a POST or GET request using an example bellow:
https://smmtechs.com/api/method/METHOD_NAME?PARAMETERS&api_key=API_KEY
It contains several parts:
METHOD_NAME — name of the method you are trying to make a request for. List of all availiable methods can be found in the Methods tab.
PARAMETERS — data, requested for this method. Should be sent in a form of name=value pairs, divided by an ampersand. List of requested parameters for each method can also be found in a Methods tab.
API_KEY — access key. To get or change one use a Mehods tab.
Amount of api requests is restricted by daily and hourly limits. You can get info regarding these limits and request statistics using the Statistics tab. There is also a PHP library made for convinience. Examples of using it can be found in the method description.
You can adress us regarding limit increases or malfunctions in api functioning using our customer support or by sending an email to advers@SmmTechs.com ticket system or by the email advers@SmmTechs.com
Example of using API
Let's check an example of using our API on a selected task:
Our client needs 50 subscribers for his Youtube channel. To make such order, first of all, we need to know the type of this order and the price. Let's use the method getTypes
https://smmtechs.com/api/method/getTypes?api_key=API_KEY
{"response":{}"7":{},"type":23,},
"price":0.024,
"desc":"Subscribe to a channel on Youtube"
"8":{"type":24,},
"price":0.024,
"desc":"Set like on Youtube"
"9":{"type":25,},
"price":0.024,
"desc":"Set dislike on Youtube"
"10":{"type":56,},
"price":0.024,
"desc":"Support with likes on Youtube"
"11":{"type":10,},
"price":0.012,
"desc":"Follow (twitter)"
"12":{"type":11,},
"price":0.015,
"desc":"Make a post (twitter)"
"13":{"type":12,},
"price":0.015,
"desc":"Retweet a post"
"14":{"type":27,},
"price":0.015,
"desc":"Support with tweets (twitter)"
"15":{"type":28,},
"price":0.015,
"desc":"Support with likes (Twitter)"
"16":{"type":41,}
"price":0.015,
"desc":"Like a tweet (twitter)"
"success":0
Looking for ' Subscribe to a channel on Youtube ' - ' type ': 23 .
This response can be used for future creation of orders, but the list often changes. We add and remove different types of orders, so it's highly recommended to update this list at least once a month.
Now we can use this to to create an order using method newTask:
https://smmtechs.com/api/method/newTask?type=23&url=https://www.youtube.com/user/PewDiePie&status=1&quantity=50&task_name=Order#1&api_key=API_KEY
We get a response:
{"success":1,}
"response":{"id":6626433,}
"response":1
You can get all information regarding the requested parameters on a method description page newTask. To parameter task_name We suggest sending the ID of the order in your system.
In future you can control the progress of an order using method getTaskStat :
https://smmtechs.com/api/method/getTaskStat?tid=6626433&api_key=API_KEY
We get a response:
{"response":{}"count":0,},
"bad_count":0,
"money_spent":"0.00",
"money_returned":"0.00"
"success":1
To get more detailed order information you can use method getTasks. To get all users, who completed the order you can use method getTaskUsers.