# service_info
The EvoShield service_info GET endpoint returns information relating to a particular EvoShield compatible Evolution Host service.
Parameters
account
: The account key - which can be found in the Settings area of the Evolution Host client area: https://evolution-host.com/controlPanelservice_key
: The unique key for the particular Evolution Host service being used in this API call - Can be found by using the /list_services API endpointResponse
JSON array of objects containing information about the specified service
assigned_protection_ip
: The main DDoS protected IPv4 address assigned to the service (Remote Protection)protected_ips
: An array of IP addresses that are being protected by the service (Remote Protection)protection_endpoints
: An array of IP addresses that are being used as protection endpoints for the service, including the “main” protected_ip (Remote Protection)application
: The type of application or game being protected (Remote Protection)port_speed
: The upload port speed of the service (Remote Protection)ips
: An array of IP addresses that are assigned to the service. (VPS)hostname
: The chosen hostname for the service (VPS)package_name
: The package name of the service (VPS)vps_id
: The unique ID of the service - Can be used with the VPS API to control your server (VPS)is_vds
: Specified whether the server is a VDS (Virtual Dedicated Server) or not (VPS)bandwidth_used
: The amount of bandwidth used by the service during this billing cycle (VPS)type
: The type of service (VPS or Remote Protection)location
: The chosen location of the servicerenewal_date
: The date when the service is scheduled to renew, in Y-m-d (Year-month-date) formatbilling_cycle
: The billing cycle of the service (months)evoshield_level
: The Level of the EvoShield servicecost
: The total cost of the service per billing_cycle
(EUR)
$url = "https://evolution-host.com/api.php";
$action = "service_info";
$callData = http_build_query([
'account' => 'YOUR_ACCOUNT_KEY', //Obtain key from the Evolution Host client panel
'service_key' => 'YOUR_SERVICE_KEY', //Obtain key from the /list_services API endpoint
'action' => $action,
]);
$ch = curl_init($url . '?' . $callData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPGET, true);
$result = curl_exec($ch);
if($result != false)
{
$result = json_decode($result);
if (json_last_error() !== JSON_ERROR_NONE)
{
echo 'JSON Error: ' . json_last_error_msg();
}
echo '<pre>' . json_encode($result, JSON_PRETTY_PRINT) . '</pre>';
}
curl_close($ch);
Example Remote Protection Response
{
"assigned_protection_ip": "237.74.153.0",
"location": "Strasbourg, France",
"application": "EvoShield",
"port_speed": "1Gbps",
"evoshield_level": 1,
"renewal_date": "2025-03-15",
"billing_cycle": 1,
"cost": 14.99,
"protection_endpoints": [
"237.74.153.0",
"237.74.153.14"
],
"protected_ips": ["3.3.3.3",
"5.5.5.5"
],
"type": "Remote Protection"
}
Example VPS Response
{
"hostname": "my-vps",
"location": "London, UK",
"vps_id": 19450,
"package_name": "Business",
"renewal_date": "2025-02-18",
"billing_cycle": 1,
"cost": 60.52,
"is_vds": 0,
"evoshield_level": 2,
"bandwidth_used": "5.12GB",
"ips": [
"21.89.199.15",
"21.89.199.8"
],
"type": "VPS"
}