Find cheapest product
mk_find_cheapestFind in-stock products for a keyword, sorted by final price after discounts. Use when you need to find a budget-friendly option.
Instructions
Find the cheapest in-stock products for a keyword, one flat list sorted by payable price.
Use when the user wants the lowest price for X. Scans the search results, keeps items that
can be bought online now, and sorts by final_price (after discount, Toman). Most items ship
free when the basket reaches 5,000,000 Toman (free_shipping); bulky ones never do.
mk_shipping gives the exact fee and date. complete=false means in-stock items go on past
scanned: raise scan.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scan | No | Max search results to scan, 500 per request; stops early once the in-stock items end. | |
| limit | No | Max offers to return. | |
| query | Yes | Product name or keyword, Persian or English, e.g. 'هندزفری بلوتوث' or 'xiaomi'. | |
| match_all_words | No | Keep only titles that contain every word of the query. | |
| include_accessories | No | Also keep cases, covers, screen protectors and straps made for the product (dropped by default unless the query names them). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||