> ## Documentation Index
> Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
> Use this file to discover all available pages before exploring further.

# [Hosting Plans] Get web hosting plan details

> Retrieve detailed information about a specific web hosting plan including all pricing options.



## OpenAPI

````yaml https://api.onetsolutions.net/schema get /v1/hosting/plans/{id}
openapi: 3.0.3
info:
  title: OnetSolutions API
  version: v1 (v1)
  description: >

    ## Overview


    The OnetSolutions API provides programmatic access to manage your cloud
    infrastructure, domains, and web hosting services.


    ## Authentication


    All API requests require authentication using one of the following methods:


    - **JWT Token**: Obtain a token via login endpoints and include it in the
    `Authorization: Bearer <token>` header

    - **API Key**: Generate an API key from your account settings and use it as
    `Authorization: Bearer sk-onetsolutions-...`


    ## Rate Limiting


    API requests are rate-limited to ensure fair usage:

    - **Standard**: 1000 requests per minute

    - **Burst**: 100 requests per second


    ## Pagination


    List endpoints return paginated results. Use `page` and `page_size` query
    parameters.


    ## Error Handling


    The API uses standard HTTP status codes:

    - `200` Success

    - `201` Created

    - `400` Bad Request

    - `401` Unauthorized

    - `403` Forbidden

    - `404` Not Found

    - `429` Too Many Requests
servers:
  - url: https://api.onetsolutions.net
    description: Production
security: []
tags:
  - name: Authentication
    description: >-
      Login, passwordless authentication, MFA, OAuth providers, and token
      management.
  - name: Organizations
    description: >-
      Organization management, members, roles, modules, audit logs, and
      notification settings.
  - name: Projects
    description: Project management, team members, and project-scoped resources.
  - name: Compute
    description: >-
      Cloud instances, volumes, snapshots, backups, VPCs, firewalls, SSH keys,
      uptime monitors, and instance tasks.
  - name: Domains
    description: >-
      Domain availability, registration, transfers, DNS zones, DNS records, and
      TLD information.
  - name: Web Hosting
    description: >-
      cPanel-based web hosting, emails, databases, subdomains, FTP accounts,
      addon domains, and SSL certificates.
paths:
  /v1/hosting/plans/{id}:
    get:
      tags:
        - Web Hosting
      summary: '[Hosting Plans] Get web hosting plan details'
      description: >-
        Retrieve detailed information about a specific web hosting plan
        including all pricing options.
      operationId: get_web_hosting_plan
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying this Web Hosting Plan.
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebHostingPlan'
          description: Plan details retrieved successfully
        '401':
          description: Authentication credentials missing or invalid
        '404':
          description: Plan not found
      security:
        - BearerAuth: []
components:
  schemas:
    WebHostingPlan:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 255
        name_en:
          type: string
          maxLength: 255
        name_fr:
          type: string
          maxLength: 255
        slug:
          type: string
          maxLength: 50
          pattern: ^[-a-zA-Z0-9_]+$
        description:
          type: string
        description_en:
          type: string
        description_fr:
          type: string
        hosting_type:
          enum:
            - hostingaccount
            - reselleraccount
          type: string
          description: |-
            * `hostingaccount` - Standard Hosting
            * `reselleraccount` - Reseller Hosting
          x-spec-enum-id: 6fc75a35f7baf954
        group:
          allOf:
            - $ref: '#/components/schemas/WebHostingPlanGroup'
          readOnly: true
        disk_space_mb:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Disk space in MB, 0 for unlimited
        bandwidth_mb:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Bandwidth in MB per month, 0 for unlimited
        max_email_accounts:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum email accounts, 0 for unlimited
        max_databases:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum databases, 0 for unlimited
        max_subdomains:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum subdomains, 0 for unlimited
        max_addon_domains:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum addon domains, 0 for unlimited
        max_parked_domains:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum parked domains, 0 for unlimited
        max_ftp_accounts:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum FTP accounts, 0 for unlimited
        max_accounts:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
          description: Maximum accounts for reseller plans
        pricing:
          type: array
          items:
            $ref: '#/components/schemas/WebHostingPlanPricing'
          readOnly: true
        is_active:
          type: boolean
        created:
          type: string
          format: date-time
          readOnly: true
        modified:
          type: string
          format: date-time
          readOnly: true
      required:
        - created
        - group
        - modified
        - name
        - pricing
        - slug
    WebHostingPlanGroup:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
          maxLength: 255
        name_en:
          type: string
          maxLength: 255
        name_fr:
          type: string
          maxLength: 255
        slug:
          type: string
          maxLength: 50
          pattern: ^[-a-zA-Z0-9_]+$
        headline:
          type: string
          maxLength: 500
        headline_en:
          type: string
          maxLength: 500
        headline_fr:
          type: string
          maxLength: 500
        tagline:
          type: string
          maxLength: 500
        tagline_en:
          type: string
          maxLength: 500
        tagline_fr:
          type: string
          maxLength: 500
        display_order:
          type: integer
          maximum: 4294967295
          minimum: 0
          format: int64
        is_active:
          type: boolean
      required:
        - name
        - slug
    WebHostingPlanPricing:
      type: object
      properties:
        billing_cycle:
          enum:
            - monthly
            - quarterly
            - semi_annually
            - annually
            - biennially
            - triennially
          type: string
          description: |-
            * `monthly` - Monthly
            * `quarterly` - Quarterly
            * `semi_annually` - Semi-Annually
            * `annually` - Annually
            * `biennially` - Biennially
            * `triennially` - Triennially
          x-spec-enum-id: b8c932dbec4bc515
        price:
          type: string
          pattern: ^-?\d{0,6}(?:\.\d{0,4})?$
        discount_percent:
          type: string
          pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
          description: Discount percentage compared to monthly
        is_default:
          type: boolean
      required:
        - billing_cycle
        - price
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or API Key
      description: >-
        Use `Authorization: Bearer <token>` header. Token can be a JWT token or
        an API key (format: `sk-onetsolutions-...`).

````