List services for a dedicated server

GET/v1/hosts/dedicated_servers/{server_id}/services

Send a GET request to the /v1/hosts/dedicated_servers/{server_id}/services endpoint to show a list of services associated with a server. Specify its ID in the path parameter. The service data is updated every day between 3:00 AM and 9:00 AM UTC. The pre-paid billing implies that services ordered within the current billing period (2nd day of month and later) will be included into the invoice of the next month. To retrieve information about them, specify the date parameter with any date of the next month. For example, today is the 5th of October and you have a server ordered on the 2nd of October. To get services data, you should specify the date parameter with any date in November. You can learn more about billing in our knowledge base.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

server_id*string

A unique identifier of a server.

Query Parameters

date?string

Service information will be displayed for a billing period as of this date. The format is YYYY-MM-DD.

Formatdate
per_page?integer

The number of results [ 1 .. 100 ] displayed on a page. By default, 20 results are shown.

Range1 <= value <= 100
Default20
page?integer

The number of a page (>= 1) that will be returned. By default, it's 1.

Range1 <= value
Default1
sorting?string

This parameter sorts items. By default, it's id. Also, it's possible to sort by fee, total, subtotal, tax and discount_rate.

Default"id"

Value in

  • "fee"
  • "total"
  • "subtotal"
  • "tax"
  • "discount_rate"
  • "id"
direction?string

This parameter defines if items are sorted in an ascending ASC or descending DESC order. By default, ASC is set up.

Default"ASC"

Value in

  • "ASC"
  • "DESC"

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/hosts/dedicated_servers/J0dN8KaL/services?date=2026-05-01"
[  {    "id": "openRe7A",    "name": "Server hardware",    "type": "server_base",    "label": "title336",    "currency": "USD",    "started_at": "2026-05-28T00:00:00Z",    "finished_at": "2026-05-29T00:00:00Z",    "date_from": "2026-05-28",    "date_to": "2026-05-29",    "usage_quantity": 1,    "tax": 0,    "total": 60,    "subtotal": 60,    "discount_rate": 0  }]
{  "message": "Not found",  "code": "NOT_FOUND"}
{  "message": "Host is not ready",  "code": "PRECONDITION_FAILED"}