Search Trovaprezzi products
Inputs
query requiredSearch words.
page optionalPage of offers, 20 a page. has_next_page says when to stop.
Default: 1sort optionalSort order of the offers, as the site offers it: relevance (the default) or lowest total price first.
Default: "relevance"shops optionalOnly these shops, by ids from the shops field of an earlier answer in the same category.
Default: []brands optionalOnly these brands, by ids from the brands field of an earlier answer in the same category.
Default: []category_id optionalSearch inside this category, by an id from the categories field of an earlier answer. Null searches all categories: the site then shows the matching categories, or goes to the offers of one category itself.
Default: nullOutput
url requiredpage requiredquery requiredshops requiredbrands requiredoffers requiredproducts requiredThe most relevant products the site shows for a search in all categories.
categories requiredCategories that match the search, when the site asks to choose one. Pass an id as category_id.
has_next_page requiredcategory_id optionalThe category of the offers. Null when the page shows categories to choose from.
category_name optionaltotal_results optionalNumber of offers the site counts for the search.
