Find cheapest product
dk_find_cheapestFind in-stock Digikala products sorted by price in Toman (low to high), filtering out accessories, to identify affordable matches for a query. Use it for budget product searches such as “cheap X”.
Instructions
Find the cheapest in-stock products that really match a query, sorted by price (Toman).
Scans the top relevant results, keeps titles with every query word (else any word, with a
note) and drops accessories. Use for "cheapest X"; then dk_product on the winner, as another
seller may sell it for less.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max products to return. | |
| pages | No | Relevance pages to scan, 20 products each. | |
| query | Yes | Product name or words, Persian or English, e.g. 'گوشی سامسونگ' or 'airpods pro'. | |
| max_price | No | Highest price in Toman, e.g. 50000000. | |
| min_price | No | Skip anything cheaper than this, in Toman. Default: a quarter of the median price of the top matches (ignoring max_price), which drops accessories. |