Search products
tb_searchSearch Torob products to find model prices in Toman and compare shops, with shop count, image, and URL.
Instructions
Search Torob for products; each card has the cheapest shop price (Toman), shop count, image and URL.
Use first for any "find / how much is X" question. Cards are products (one per model/variant), not shop offers:
the price is the cheapest across shops. Next: tb_sellers (all offers), tb_cheapest (best offer for a query),
tb_product (specs). Prices are Toman; price is null when Torob lists none. Unknown query words and weak
matches set low_confidence and unmatched_terms; spellcheck / suggested_queries help rephrase.
count stops at 1200 (count_capped). ad marks sponsored cards. min_price/max_price in the reply are
the span of the unfiltered result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City id or name; sellers near it are preferred. Effect on search is Torob-side and unverified, use tb_sellers(city=) for exact local offers. | |
| page | No | 0-based page (default 0). | |
| sort | No | Order: popular (Torob default), cheapest, priciest, newest, most_sellers (most shops). | popular |
| brand | No | Brand id (e.g. 14) or name (e.g. 'Apple', 'اپل'); needs query or category. Unknown names are refused with the real brand list. | |
| limit | No | Products to return (default 10, max 50). | |
| query | No | Search text, Persian or Finglish, e.g. 'گوشی آیفون 13' or 'ayfon 13'. Optional when category is given. | |
| output | No | json (default) or csv text of the cards for export. | json |
| filters | No | Extra attribute filters {slug: value} from tb_filters, e.g. {'storage': '256 gb', 'ram': '8 gb'}. Validated: unknown slugs or values are refused. | |
| category | No | Limit to a category id (e.g. 94 = mobile phones). | |
| condition | No | new, used (کارکرده / stock) or any. | any |
| in_person | No | Only products with an in-person (offline) shop. | |
| max_price | No | Highest price in Toman, e.g. 30000000. | |
| min_price | No | Lowest price in Toman. | |
| installment | No | Only products sold in installments (Torob Pay). | |
| available_only | No | Only products in stock. |