---
title: "List websites"
method: GET
path: "/api/hosting/v1/websites"
tags: ["Hosting: Websites"]
---

# List websites

`GET /api/hosting/v1/websites`

Retrieve a paginated list of websites (CloudLinux, Builder, and Horizons) accessible to the
authenticated client.

This endpoint returns websites from your hosting accounts as well as
websites from other client hosting accounts that have shared access
with you.

Each website includes a `website_type` field describing the type of
website detected on the underlying platform (`wordpress`, `builder`,
`horizons`, `nodejs`, or `other`). Some fields, such as
`vhost_type`, `username`, and `root_directory`, only apply to
CloudLinux websites and are null for other platforms.

Use the available query parameters to filter results by username,
order ID, enabled status, or domain name for more targeted results.

## Query parameters

- `page` integer
- `per_page` integer
- `username` string, nullable
- `order_id` integer, nullable
- `is_enabled` boolean, nullable
- `domain` string, nullable

## Response `200`

Success response

- object
  - `data` HostingV1WebsitesWebsiteResource[] — Array of [`Hosting.V1.Websites.WebsiteResource`](#model/hostingv1websiteswebsiteresource)
    - `domain` string, nullable — Website domain. Null for U4S websites with no domain attached.
    - `vhost_type` 'main' | 'addon' | 'parked' | 'subdomain', nullable — Virtual host type. Only present for CloudLinux websites.
    - `is_enabled` boolean — Whether website is enabled
    - `username` string, nullable — Username. Not applicable for U4S websites.
    - `client_id` integer — Client ID
    - `order_id` integer — Order ID
    - `created_at` string, date-time — Creation date
    - `root_directory` string, nullable — Root directory path. Only present for CloudLinux websites.
    - `parent_domain` string, nullable — Parent domain
    - `website_type` 'wordpress' | 'builder' | 'horizons' | 'nodejs' | 'other' — Type of website detected on the underlying platform.
    - `horizons_uuid` string, nullable — Horizons UUID. Only present for horizons websites.
  - `meta` CommonSchemaPaginationMetaSchema
    - `current_page` integer
    - `per_page` integer
    - `total` integer

## Other responses

- `401` — Unauthenticated response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/b7614212af12/schema)
