Expertrec’s ecommerce search results page api is of the following format-{search_query}&size={number_of_search_results}&page={pagination}&fq={facet_query}&nf={numeric_search_filters}&sort={sort_search_results}

Here is a sample api call-"Apple"&nf=price:400-1000&sort=score:desc

ecommerce search Api components-

  1. api_key– Can be obtained from your control panel (uniquely identifies your website).
  2. q-search query (example- apple)
  3. size– number of search results (example -15)
  4. page – pagination (example -0, 1, 2…10)
  5. fq– facet query (example- fq=category:”Apple”) the facet of filter the user clicks on.
  6. nf- numeric filter query( for price range filters. example- price:400-1000)
  7. sort-sort search results (example: score:desc (for descending (high to low) and score:asc (for ascending(high to low))

Have a look at for more details.

Muthali loves writing about emerging technologies and easy solutions for complex tech issues. You can reach out to him through chat or by raising a support ticket on the left hand side of the page.

You may also like