--- title: predictiveSearch - Storefront API description: List of the predictive search results. api_version: 2025-10 api_name: storefront type: query api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/queries/predictivesearch md: https://shopify.dev/docs/api/storefront/latest/queries/predictivesearch.md --- # predictive​Search query List of the predictive search results. ## Arguments * limit [Int](https://shopify.dev/docs/api/storefront/latest/scalars/Int) Limits the number of results based on `limit_scope`. The value can range from 1 to 10, and the default is 10. * limit​Scope [Predictive​Search​Limit​Scope](https://shopify.dev/docs/api/storefront/latest/enums/PredictiveSearchLimitScope) Decides the distribution of results. * query [String!](https://shopify.dev/docs/api/storefront/latest/scalars/String) required The search query. * searchable​Fields [\[Searchable​Field!\]](https://shopify.dev/docs/api/storefront/latest/enums/SearchableField) Specifies the list of resource fields to use for search. The default fields searched on are TITLE, PRODUCT\_TYPE, VARIANT\_TITLE, and VENDOR. For the best search experience, you should search on the default field set. The input must not contain more than `250` values. * types [\[Predictive​Search​Type!\]](https://shopify.dev/docs/api/storefront/latest/enums/PredictiveSearchType) The types of resources to search for. The input must not contain more than `250` values. * unavailable​Products [Search​Unavailable​Products​Type](https://shopify.dev/docs/api/storefront/latest/enums/SearchUnavailableProductsType) Specifies how unavailable products are displayed in the search results. *** ## Possible returns * Predictive​Search​Result [Predictive​Search​Result](https://shopify.dev/docs/api/storefront/latest/objects/PredictiveSearchResult) A predictive search result represents a list of products, collections, pages, articles, and query suggestions that matches the predictive search query. *** ## Examples * ### predictiveSearch reference ## Query Reference ```graphql { predictiveSearch(query) { # predictiveSearch fields } } ```