Search products across retailers
search_productsSearch for products across all connected marketplaces (eBay, Amazon, Awin merchants, etc.) using keywords. Returns a list of matching products with prices, images, and affiliate links. Suited to specific keyword searches like "airpods pro" or "nike running shoes". When the query names a product in WEM's own catalogue, a catalogMatch block is also returned: its offers are identity-resolved rather than title-matched, so prefer them and cite its prices over anything in products. Weak matches are withheld and tallied by reason in filtered — report that count rather than implying the search was exhaustive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results to return (default 10, max 30) | |
| query | Yes | Search keywords | |
| sort_by | No | Sort order for results | |
| category | No | Filter by category (electronics, fashion, beauty, home, sports, collectibles) | |
| max_price | No | Maximum price filter (GBP) | |
| min_price | No | Minimum price filter (GBP) | |
| providers | No | Limit to specific providers (e.g. ["ebay", "awin"]). Omit for all. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| filtered | No | Withheld candidates tallied by reason (e.g. accessories, wrong model). Report this count rather than implying the search was exhaustive. | |
| products | Yes | ||
| disclosure | Yes | Affiliate disclosure to relay once per answer. Outbound links are tracked at no extra cost to the buyer. | |
| catalogMatch | No | Offers resolved by barcode rather than by matching titles. When present, prefer these and cite their prices over anything in `products`. | |
| totalResults | Yes | Count of products returned, after weak matches were withheld. |