Search products and price lists
em_searchSearch Emalls products by keyword, category, brand, specs, price range and sort to find product IDs and lowest current Toman prices.
Instructions
Search Emalls (Iranian price comparison) for products, with price range, category, brand, spec and sort filters.
Use it first to find a product's id, or to browse a category by price (leave query empty and pass
category_id). Each product shows its lowest current price in Toman and how many shops sell it. For
"cheapest 8GB/256GB Samsung phone": em_filters(category_id) for the brand and spec option ids, then this with
sort=cheapest. Then call em_product for specs, em_offers for the shop-by-shop prices, em_compare to put
several side by side, or em_price_history for the trend. If the category is unknown, call em_categories with
the same words. has_next says whether page+1 exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 40 products per page. | |
| sort | No | popular (most viewed, the site default), cheapest, expensive or newest. cheapest also lists accessories and manuals: pair it with min_price or a category. | popular |
| limit | No | Max products to return from the page (1-40). | |
| query | No | Product words in Persian or English, e.g. گوشی سامسونگ A17 or ایسوس زنفوک. Empty to browse a whole category. | |
| brand_id | No | Only this brand (id from em_filters for the same category). | |
| in_stock | No | Only products at least one shop has in stock. | |
| max_price | No | Highest price in Toman, e.g. 40000000. | |
| min_price | No | Lowest price in Toman, e.g. 20000000. | |
| attributes | No | Spec filter option ids from em_filters, e.g. [18179, 18194] for 8GB RAM and 256GB storage. At most one option per spec group; all must match. | |
| category_id | No | Limit to a category (id from em_categories), e.g. 39 for mobile phones. |