ENG
$USD
FAQ8 (800) 775-97-42
 
 

API RU VDS


With RU VDS API you can create your own White Label business, using a full spectrum of it functions listed on your account's page.
All API queries are SSL encrypted and are sent via the most common and convenient means, namely through HTTP GET or POST-request with JSON response format.
In your Account Settings you can set your own API-based Computer Properties, as well as get a universal 10% promo code for all API-based servers created.
Getting started
 
Users
 
Servers
API functions
Before you send any request, it is necessary to obtain authentication SessionToken. It can be valid indefinitely or for 24 hrs.
Develop your applications so that no customer can obtain your SessionToken. It should be known only to the server part of your application and never to the customer one.
SessionToken is valid until its expiration time provided that neither username or password is modified. Otherwise all previous SessionTokens get deactivated.
URL: https://ruvds.com/api/logon/
Query Parameters:
key – personal API key (specified in account settings)
username – your login or email
password – your account password
endless – enter 1 to get an indefinite token or 0 to get a 24 hrs token
Request Example:
Response Example:
{
"rejectReason": 0,
"sessionToken": "af85eb943daeb116eb351ec4b9b45983facfa97e37776c3a03538194245dc853",
"expire": "19032016164537"
}
Response Fields:
rejectReason – numeric value (error code)
errMessage – error description, if occured
sessionToken – your authentication token
expire – token expiration UTC date and time (ddMMyyyyHHmmss format). If NULL , the token is indefinite
Error Codes:
0 – request successfully completed
1 – login/email not provided
2 – password not provided
3 – incorrect login+password combination
5 – internal system error
6 – API key not provided
7 – incorrect API key
8 – you’ve exceeded the number of authentication attempts
13 – client's account prohibits authentication with third-party API keys

The function allows you to get available balance information and details about amounts added and paid on the website.
URL: https://ruvds.com/api/balance/
Query Parameters:
sessionToken – token received after authentication
details – enter 1 for information about amounts added and paid or 0 to see your current balance
Request Example:
Response Example:
{
"rejectReason": 0,
"amount": 50,
"currency": 1,
"details":
{
"income": 350,
"debited": 300,
"items":
[
{
"type": 2,
"dt": "12012016133846",
"amount": 300,
"currency": 1,
"description": "Pay for server RU36118 (from 07.02.2016 to 07.03.2016)",
},
{
"type": 1,
"dt": "12022016164537",
"amount": 350,
"currency": 1,
"description": "Pay by Visa/MasterCard card",
}
]
}
}
Response Fields:
rejectReason – numeric value (error code)
errMessage – error description, if occured
amount – available balance
currency – balance currency (1 - RUB, 2 - UAH, 3 - USD, 4 - EUR)
details – detailed information, if requested:
income – total amount added
debited – total amount paid
items – amount added/paid information:
type – 1 amount added, 2 amount paid
dt – operation date and time (UTC, ddMMyyyyHHmmss format)
amount – total
currency – operation currency
description – text description
Error Codes:
0 – request successfully completed
1 – invalid authentication token
2 – authentication token not specified
100 – internal system error

The function returns current price plans and currently available server configuration options (please note that server creation can be disabled separately for HDD, SSD, and premium or for all at once due to maintenance, for example).
By default, the function returns a list of current price plans only, but should you require an outdated price plan, you can also request it by ID.
URL: https://ruvds.com/api/tariff/
Query Parameters:
sessionToken – token received after authentication
id – required price plans IDs, separated by commas
Request Example:
Response Example:
{
"rejectReason": 0,
"newServer": true,
"videoRAM": true,
"regular": true,
"regularSSD": true,
"premium": false,
"premiumSSD": false,
"ddosProtection":
{
"regular":
{
"available": true,
"price": 400
},
"premium":
{
"available": false,
"price": null
}
},
"items":
[
{
"premium": false,
"id": 4,
"cpu": 60,
"ram": 140,
"vram": 1.953125,
"drive": {"hdd":5,"ssd":20 },
"ip": 100,
"active": true
},
{
"premium": true,
"id": 8,
"cpu": 90,
"ram": 210,
"vram": 1.953125,
"drive": {"hdd":7,"ssd":30 },
"ip": 100,
"active": true
}
]
}
Response Fields:
rejectReason – numeric value (error code)
errMessage – error description, if occured
newServer – new server creation possible, yes/no
videoRAM – possible to create new server with a graphics card or add a card to an existing one, yes/no
regular – new servers standard placement on HDD available, yes/no
regularSSD – new servers standard placement on SSD available, yes/no
premium – new servers premium placement on HDD available, yes/no
premiumSSD – new servers premium placement on SSD available, yes/no
ddosProtection – information on DDoS protection service availability and price
items – price plans
premium – premium price plan, yes/no
id – RuVDS system price plan ID
cpu – price of one CPU core (RUB)
ram – 1 GB RAM price (RUB)
vram – 1 MB VRAM price (RUB)
drive – 1 GB of disk space price (RUB) and options available (HDD, SSD)
ip – price 1 of extra IP address (RUB). 1 IP per server is free
active – price plan active, yes/no
Error Codes:
0 – request successfully completed
1 – invalid authentication token
2 – authentication token not specified
100 – internal system error

 
Servers
created
95666
Huawey
Supermicro
Cisco
Intel
Microsoft
ISP
Kaspersky
RuVDS
[please enable JavaScript in your browser]
8 (800) 775-97-42
+7 (495) 135-10-99
FOLLOW US
We use cookies (our own) to make our websites easier for you to use. By continuing to use our website, you consent to the use of cookies. Please see our Privacy Policy for more information on cookies and information on how you can change your browser's cookie settings.