services
Get Services
Get list of all available services
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| key | string | required | Your API key |
| action | string | required | Must be 'services' |
Success response
[
{
"category": "TikTok",
"max": 10000,
"min": 10,
"name": "TikTok Likes",
"rate": "5.50",
"service": 1,
"type": "Default"
}
]
Error response
{
"error": "Invalid API key"
}
PHP example
<?php
$api_url = "http://mytakipci.com/api/v2";
$api_key = "YOUR_API_KEY_HERE";
$params = array(
'key' => $api_key,
'action' => 'services'
);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $api_url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$response = curl_exec($ch);
curl_close($ch);
$result = json_decode($response, true);
print_r($result);
?>