Khanoumi
v0.4.2Unofficial read-only Khanoumi: search cosmetics and skin care, compare prices, shades, reviews.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kh_search Search products
Search products by keyword: price, discount and stock of each match, plus matching category ids and brand slugs. Use first for "price of X". Next: kh_find_cheapest, kh_browse, kh_product.
| Parameter | Type | Description |
|---|---|---|
query * | string | Persian or English keyword, e.g. 'کرم مرطوب کننده', 'cerave'. |
in_stock_only | boolean | Only orderable products. |
limit | integer | Products per page. |
max_price | integer | null | Max payable price, Toman. |
min_price | integer | null | Min payable price, Toman. |
page | integer | From 1. |
sort | string | By payable price for cheapest / most_expensive. |
kh_find_cheapest Find cheapest product
Find the cheapest in-stock products for a keyword, one flat list by payable price (Toman). complete=false: matches go on past `scanned`, raise scan. Next: kh_product.
| Parameter | Type | Description |
|---|---|---|
query * | string | Persian or English keyword, e.g. 'کرم مرطوب کننده', 'cerave'. |
category_id | integer | null | Id from kh_categories / kh_search, e.g. 145. |
limit | integer | Max offers to return. |
match_all_words | boolean | Keep only products whose title or brand contains every query word. |
scan | integer | Max search results to scan, cheapest first, 300 per request. |
kh_browse Browse a category, brand or tag
List products of a category, brand(s) or campaign tag with sorting, price range and filters. Pass at least one of category_id, brands or tag; filter ids come from kh_filters. Next: kh_product.
| Parameter | Type | Description |
|---|---|---|
brands | array | null | Slugs from kh_brands / kh_filters (OR), e.g. ['simple']. |
category_id | integer | null | Id from kh_categories / kh_search, e.g. 145. |
colors | array | null | Color ids from kh_filters (OR), e.g. ['3'] (red). |
facets | array | null | Attribute keys from kh_filters (AND), e.g. ['facetKey.skin-type:oily']. |
in_stock_only | boolean | Only orderable products. |
limit | integer | Products per page. |
max_price | integer | null | Max payable price, Toman. |
min_price | integer | null | Min payable price, Toman. |
page | integer | From 1. |
query | string | null | Optional keyword inside the listing. |
sort | string | By payable price for cheapest / most_expensive. |
tag | string | null | Tag slug from kh_deals, e.g. 'festival-js'. |
kh_filters Filters of a listing
List the filters of a category, brand, tag or search: sub-categories, brands, colors and attribute facets (skin type, ingredients, ...) with ids and counts, plus price range and stock counts. Use before kh_browse (brands, colors, facets). Brands are cut to 40 and each group to 25 values (`omitted` = more); pass `group` for one in full. price_range is list price (min 0 = out-of-stock).
| Parameter | Type | Description |
|---|---|---|
brands | array | null | Slugs from kh_brands / kh_filters (OR), e.g. ['simple']. |
category_id | integer | null | Id from kh_categories / kh_search, e.g. 145. |
group | string | null | Only attribute groups whose name contains this, listed in full, e.g. 'نوع پوست' (skin type). |
query | string | null | Keyword, alone or inside the listing. |
tag | string | null | Tag slug from kh_deals, e.g. 'festival-js'. |
kh_categories List categories
List Khanoumi's category tree with ids, URL paths and product counts. Use to get a category_id. A query searches every level; without one, levels up to max_level.
| Parameter | Type | Description |
|---|---|---|
max_level | integer | Deepest level to list when no query is given (1 = top level). |
query | string | null | Filter on Persian name or English slug, e.g. 'ضد آفتاب' or 'shampoo'. |
kh_brands Find brands
Find brands by name (about 3,200) with their slugs, for the `brands` of kh_browse / kh_filters.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Brands per page. |
page | integer | From 1. |
query | string | null | Brand name, Persian or English, e.g. 'سیمپل' or 'cerave'. Empty = all, A-Z. |
kh_deals Current deals and discount codes
List today's home-page deals (daily pink box "جعبه صورتی" and other rows), biggest discount first, plus the public discount code of the pop-up campaign. A section's `tag` lists all its products via kh_browse(tag=...); without a tag it has only `link`.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max deals to return. |
kh_store_info Shipping, returns and store rules
Get Khanoumi's order rules from the official FAQ: packaging cost, shipping fees and times, returns, payment and refunds, authenticity guarantee, pink-box rules. Fees for the true order cost are in the delivery answers. With topic=all and no query, answers are cut to 300 characters; pick a topic or query, or set full_text=true.
| Parameter | Type | Description |
|---|---|---|
full_text | boolean | Do not clip answers when topic is all. |
query | string | null | Only Q&A containing this, e.g. 'هزینه ارسال'. |
topic | string | FAQ section; all = about 80 answers, clipped. |
kh_blog_search Search the beauty blog
Search the Khanoumi magazine (مجله خانومی): buying guides, care routines, ingredient explainers, with links. Use for what suits the user or how to use something; then kh_search.
| Parameter | Type | Description |
|---|---|---|
query * | string | Topic, Persian works best, e.g. 'شامپو ریزش مو'. |
page | integer | From 1 (20 posts per page). |
kh_product Product details
Get one product's full record: price and discount (Toman), every shade / size / seller variant with its own price, stock and max quantity, rating, brand, categories, attributes and description. Use to check a shade's stock and price. Next: kh_reviews, kh_similar.
| Parameter | Type | Description |
|---|---|---|
product * | string | Slug from a list reply (e.g. 'golden-rose-sheer-bright-lipstick-112222') or numeric id. |
full_text | boolean | Do not clip description and how_to_use. |
kh_reviews Product reviews
Read customer comments on a product, newest first, with a verified-buyer flag and photos. Text is cut to 400 characters unless full_text=true. No per-comment stars: the average is in kh_product.
| Parameter | Type | Description |
|---|---|---|
product * | string | Slug from a list reply (e.g. 'golden-rose-sheer-bright-lipstick-112222') or numeric id. |
full_text | boolean | Do not cut text. |
limit | integer | Reviews per page. |
page | integer | From 1, newest first. |
with_photos | boolean | Only reviews that include customer photos. |
kh_similar Similar and complementary products
List alternatives to a product (about 20) or the products the shop pairs with it, with prices and stock. Use when a product is out of stock or too expensive.
| Parameter | Type | Description |
|---|---|---|
product * | string | Slug from a list reply (e.g. 'golden-rose-sheer-bright-lipstick-112222') or numeric id. |
in_stock_only | boolean | Only orderable products. |
kind | string | complementary = shop pairings (often empty). |