---
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 (main and addon types) 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.

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 — Website domain
    - `vhost_type` 'main' | 'addon' | 'parked' | 'subdomain' — Virtual host type
    - `is_enabled` boolean — Whether website is enabled
    - `username` string — Username
    - `client_id` integer — Client ID
    - `order_id` integer — Order ID
    - `created_at` string, date-time — Creation date
    - `root_directory` string — Root directory path
    - `parent_domain` string, nullable — Parent domain
  - `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/74abfea76e36/schema)
