---
title: "Search for available domain names and pricing"
method: GET
path: "/DomainRecommendations/domain_suggestions"
tags: ["DomainRecommendations"]
---

# Search for available domain names and pricing

`GET /DomainRecommendations/domain_suggestions`

This function returns available domain name suggestions and their registration pricing for a given search term.

The system retrieves the results from the configured domain store and caches them for up to two minutes per unique combination of `search_field`, `page`, `page_size`, and the requested `tld` list. Use the `use_cache=0` option to bypass the cache and force a live request.

**Note:**

This function requires the `domain_recommendation` feature.

## Query parameters

- `search_field` string, required
- `page` integer
- `page_size` integer
- `use_cache` 1 | 0

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer — The version of the API.
  - `func` string — The name of the method called.
  - `module` string — The name of the module called.
  - `result` object
    - `data` object — An object containing pagination metadata and domain suggestions.
      - `meta` object — Pagination and result metadata that the store returns.
        - `page` integer — The current page number (1-indexed).
        - `page_size` integer — The number of results per page.
        - `total_items` integer — The total number of available matching domain suggestions.
        - `total_pages` integer — The total number of available pages.
      - `suggestions` object — A mapping of available domain names to pricing periods. Each key is a fully-qualified domain name (for example, `mybusiness.com`). Each value is an object containing a `pricing` array of `PricingPeriod` objects, an `is_premium` flag, and optional `premium_cost_pricing` details. The function returns an empty object (`{}`) when no suggestions are available.
    - `errors` string[], nullable — List of errors if the API failed.
    - `messages` string[], nullable — List of messages generated by the API.
    - `metadata` object
      - `transformed` 1 — Post-processing may have transformed the data.
    - `status` 0 | 1 — * `1` — Success. * `0` — Failed. Check the `errors` field for more details.
    - `warnings` string[], nullable — List of warnings generated by the API. Warnings describe non-critical failures or other problematic conditions noted while running an API.

---

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