search_products
Search Tokopedia for products by keyword with filters for price, condition, shop tier, rating, and more. Returns product listings with name, price, rating, shop, and URL.
Instructions
Search Tokopedia products by keyword.
Returns a dict with a "products" list (name, price in IDR, rating, shop, URL) and the "count" of results returned. Each product can be passed to get_product_details for full information.
Args: keyword: Search keyword, e.g. "logitech mouse" or "asus zenbook". max_result: Maximum number of results (1-100, default 20). pmin: Minimum price in IDR. pmax: Maximum price in IDR. condition: Product condition: 1 = new, 2 = used. shop_tier: Shop tier: 2 = Mall, 3 = Power Shop. rt: Minimum average rating, e.g. 4.5. latest_product: Only products listed within the last 7, 30, or 90 days. bebas_ongkir_extra: Only products with extra free-shipping benefit. is_discount: Only discounted products. is_fulfillment: Only products fulfilled by Tokopedia. is_plus: Only Tokopedia PLUS seller products. cod: Only products eligible for cash on delivery.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rt | No | ||
| cod | No | ||
| pmax | No | ||
| pmin | No | ||
| is_plus | No | ||
| keyword | Yes | ||
| condition | No | ||
| shop_tier | No | ||
| max_result | No | ||
| is_discount | No | ||
| is_fulfillment | No | ||
| latest_product | No | ||
| bebas_ongkir_extra | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||