search_products_v2
REQUIRED deliver_to. Search the BuyWhere product catalog by keyword. The deliver_to parameter is REQUIRED (ISO country code, e.g. "SG", "US") — it takes precedence over country_code/country and prevents all-market scans. Always pass deliver_to="SG" (or your buyer's country). Returns product records with title, description, image, price, and merchant information. Covers e-commerce platforms across Singapore, Malaysia, Indonesia, Thailand, Vietnam, and US. Use compact=true for agent-optimized responses with structured_specs, comparison_attributes, and normalized_price_usd fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Keyword search query | |
| mode | No | Search mode: keyword=FTS only (default, matches REST /v1/products/search), semantic=vector only, hybrid=RRF blend of FTS+vector. Falls back to keyword if vector DB or FLOWAI_EMBED_API_KEY unavailable. | keyword |
| limit | No | Number of results (max 100, default 20) | |
| query | No | Alias for q (accepted for agent convenience; use q). Without this, callers passing `query` get 0 rows and the reltuples-derived total — see BUY-75287. | |
| domain | No | Filter by merchant platform (e.g. lazada, shopee, amazon) | |
| offset | No | Pagination offset | |
| region | No | Filter by region (sea, us, eu, au) | |
| compact | No | Return agent-optimized compact shape: structured_specs, comparison_attributes, normalized_price_usd. Reduces response size ~40%. Recommended for agent tool-use. | |
| country | No | Alias for country_code (deprecated, use country_code) | |
| category | No | Filter by product category name (e.g. "Laptops", "Smartphones", "Televisions"). Use to exclude accessories and get actual products. | |
| max_price | No | Maximum price (in currency inferred from country_code, or SGD by default) | |
| min_price | No | Minimum price (in currency inferred from country_code, or SGD by default) | |
| deliver_to | Yes | REQUIRED. Buyer delivery country/market (ISO country code, e.g. "SG", "US"). | |
| country_code | No | Filter by ISO country code. Also infers default currency for price filters (SG→SGD, US→USD, VN→VND, TH→THB, MY→MYR). |