Search products
dk_searchSearch Digikala's catalog by product name, then narrow results by price, brand, color, seller, rating, and delivery, and sort them to compare available offers.
Instructions
Search products by name: price (Toman), discount, seller, rating, 20 per page.
Search also returns loosely related items: each product has match ('all', 'some' with
missing_words, or 'none'); prefer 'all'. Filter ids come from dk_filters(query=...).
sort=cheapest puts accessories first: use dk_find_cheapest for the cheapest real match.
Next: dk_product for every seller's offer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, from 1 (20 products per page). | |
| sort | No | Order of the results. | relevance |
| query | Yes | Product name or words, Persian or English, e.g. 'گوشی سامسونگ' or 'airpods pro'. | |
| colors | No | Color ids from dk_filters, e.g. [1]. | |
| brand_ids | No | Brand ids from dk_product's brand_id or dk_brand_products' brand.id, e.g. [18] Samsung, [1662] Xiaomi. | |
| max_price | No | Highest price in Toman, e.g. 50000000. | |
| min_price | No | Lowest price in Toman, e.g. 10000000 for 10 million Toman. | |
| attributes | No | Feature filters from dk_filters: {attribute id: [value ids]}, e.g. {2226: [19239]}. Values OR, attributes AND. | |
| seller_type | No | Only offers from Digikala itself, official brand sellers, trusted sellers or rural (roosta) sellers. | |
| fast_delivery | No | Only items with fast (Jet) delivery. | |
| in_stock_only | No | Only products that can be bought now. | |
| ready_to_ship | No | Only items already in Digikala's warehouse (ship sooner). |