Mobile.ir Phones
v0.2.2Read-only Mobile.ir: phone specs, shop prices and history, used phones, numbered SIM cards.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mi_search Search phones by name
Find phones, tablets and smartwatches on Mobile.ir by name and get their ids (autocomplete, up to about 20). Use first when the user names a model. For filters use mi_find.
| Parameter | Type | Description |
|---|---|---|
query * | string | Part of a model name, English or Persian, e.g. 'galaxy s26'. |
mi_find Find phones with filters
Filter Mobile.ir's phone database like its 'mobile finder': brand, shop price range, OS, camera, weight, name. Returns cards with id, rating, year, screen, camera and lowest shop price (Toman). If `found` exceeds `limit`, tighten the filters; the site never shows more than 100.
| Parameter | Type | Description |
|---|---|---|
brand | string | null | Brand name or id; see mi_options('brands'). |
descending | boolean | Highest first. |
kind | string | Product class. |
limit | integer | Rows to return. |
market | string | 'any' adds discontinued and cancelled. |
max_price | integer | null | Highest shop price, Toman. |
max_weight_g | integer | null | Max weight, grams. |
min_camera_mp | integer | null | Main camera at least this many MP. |
min_price | integer | null | Lowest shop price, Toman. Unpriced phones are dropped. |
min_rating | number | null | Min user rating (0-10). |
min_year | integer | null | Released this year or later. |
name_contains | string | null | Part of the model name. |
os | array | null | Default both. |
sort | string | Order of the list. |
mi_phone Phone specifications
Get the full specification sheet of one phone, tablet or smartwatch from Mobile.ir, with rating and price range. Next: mi_shop_prices for who sells it, mi_price_history for the trend.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Product id from mi_search/mi_find, e.g. 41113. |
sections | array | null | Default all; pick a few to keep it short. |
mi_shop_prices Shop prices of a phone
List what each shop currently charges for a phone on Mobile.ir (price in Toman, shop, city, note, warranty). Cheapest first. Prices differ by variant: read each shop's note.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Product id from mi_search/mi_find, e.g. 41113. |
include_old | boolean | Include expired prices. |
mi_price_history Price history of a phone
Get a phone's shop-price history from Mobile.ir: per-shop first/last/min/max and the daily lowest price in Toman. Shops quote different variants: use the daily lowest as the market trend.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Product id from mi_search/mi_find, e.g. 41113. |
period | string | How far back. |
shop_id | integer | null | Only this shop (id from mi_shop_prices). |
mi_market_prices Latest shop prices market-wide
List the newest price rows that shops posted on Mobile.ir (one row per shop and model), with filters. For one model's full offer list use mi_shop_prices.
| Parameter | Type | Description |
|---|---|---|
brand | string | null | Brand name or id; see mi_options('brands'). |
days | integer | Updated within this many days (-1 = all). |
descending | boolean | Newest / most expensive first. |
kind | string | Product class. |
max_price | integer | null | Toman, highest price. |
min_price | integer | null | Toman, lowest price. |
name_contains | string | null | Part of the model name. |
page | integer | Page from 1. |
page_size | integer | Rows per page. |
province | integer | null | Province id, mi_options('provinces') (1 = Tehran). |
shop_id | integer | null | Shop id, mi_options('shops'). |
sort | string | Order of the rows. |
mi_used_search Search used-phone ads
Search the used and new phone ads that users post on Mobile.ir (price, condition, city, description). `price_note` holds non-numeric prices ('توافقی' = negotiable). Open one ad with mi_used_ad.
| Parameter | Type | Description |
|---|---|---|
brand | string | null | Brand name or id; see mi_options('brands'). |
condition | string | Sealed new or used. |
days | integer | Updated within this many days (-1 = all). |
descending | boolean | Newest / most expensive first. |
kind | string | Product class. |
max_price | integer | null | Toman; unpriced ads dropped. |
min_price | integer | null | Toman, lowest price. |
name_contains | string | null | Part of the model name. |
page | integer | Page from 1 (40 per page). |
province | integer | null | Province id, mi_options('provinces') (1 = Tehran). |
sort | string | Unpriced ads sort cheapest; set min_price to skip them. |
with_photos | boolean | Only ads with photos. |
mi_used_ad One used-phone ad
Read one used/new phone ad on Mobile.ir: price, market price, condition, box, city, description, photos, shops. `market_price_toman` is the site's own estimate of today's shop price.
| Parameter | Type | Description |
|---|---|---|
ad_id * | integer | ad_id from mi_used_search. |
mi_sim_search Search SIM card numbers
Search the SIM card numbers users sell on Mobile.ir (Iran's numbered-SIM market): operator, number, price. Output `number` is the full 11-digit number; open `url` on the site to contact the seller.
| Parameter | Type | Description |
|---|---|---|
condition | string | New (صفر) or used line. |
days | integer | Updated within this many days (-1 = all). |
descending | boolean | Newest / priciest / highest number first. |
match | string | How `number` matches. |
max_price | integer | null | Toman, highest price (unpriced ads dropped). |
min_price | integer | null | Toman, lowest price. |
number | string | null | Digits of the 7-digit part after the 09xx prefix, e.g. '1111'. |
operator | string | null | Prefixes per operator: mi_options('operators'). |
page | integer | Page from 1 (20 per page). |
plan | string | postpaid = دائمی, prepaid = اعتباری. |
prefix | string | null | Exact prefix, e.g. 0912 (overrides operator). |
province | integer | null | Province id, mi_options('provinces') (1 = Tehran). |
round_only | boolean | Only 'round' (رند) numbers. |
sort | string | Unpriced ads sort cheapest; set min_price to skip them. |
mi_options Brands, provinces, shops, operators
List the ids the other Mobile.ir tools take: brands, provinces, price-listing shops, SIM operator prefixes. Brand names are also accepted directly by `brand` arguments.
| Parameter | Type | Description |
|---|---|---|
what * | string |
mi_compare Compare phones side by side
Compare 2 to 4 phones, tablets or watches on Mobile.ir: price range, rating and each spec row side by side. `values` follow the order of `phones`. Only differing rows by default.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Product ids from mi_search/mi_find. |
only_differences | boolean | False returns every row. |
sections | array | null | Default all. |
mi_comments User comments on a phone
Read what Mobile.ir users wrote about a phone, tablet or watch: comment text, date (Persian calendar), likes. `reply_to` is the comment id a comment answers.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Product id from mi_search/mi_find, e.g. 41113. |
limit | integer | Comments to return. |
sort | string | Order of the comments. |
mi_articles Mobile.ir news and expert reviews
List the news and the expert reviews on Mobile.ir, newest first, optionally for one phone or brand. Read one result with mi_article, passing back its `source`, `id` and (reviews) `phone_id`.
| Parameter | Type | Description |
|---|---|---|
brand | string | null | Brand name or id (reviews). |
kind | string | Product class for reviews. |
page | integer | Page from 1 (20 news / 40 reviews each). |
phone_id | integer | null | Only articles about this product id. |
query | string | null | Search words (news only). |
source | string | News or expert phone reviews. |
mi_article Read a news article or review
Read the text of one Mobile.ir news item, expert review or product introduction (Persian, images dropped). Take `source`, `id`, `phone_id` from mi_articles. For long texts use `total_chars` and call again with `offset`.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Article id. |
source * | string | From mi_articles; for 'intro' the id is the product id. |
max_chars | integer | Characters to return. |
offset | integer | Start character. |
phone_id | integer | null | Product id (required for 'review'). |
mi_shop A shop's phone price list
Show one Mobile.ir shop's profile and the phones it lists with their current prices in Toman. For one model across all shops use mi_shop_prices. Contact details: open `shop_url`.
| Parameter | Type | Description |
|---|---|---|
shop_id * | integer | Shop id, mi_options('shops'). |
brand | string | null | Only this brand (name or id). |
name_contains | string | null | Part of the model name. |
page | integer | Page from 1 (20 per page). |
mi_brand_models All models of a brand
Page through every model Mobile.ir lists for one brand (id, rating, year, screen, camera, lowest shop price). Use when mi_find's 100-row cap is too small; to filter by price or camera use mi_find.
| Parameter | Type | Description |
|---|---|---|
brand * | string | Brand name or id; see mi_options('brands'). |
descending | boolean | Highest / newest first. |
kind | string | Product class. |
only_priced | boolean | Only models with a current shop price. |
page | integer | Page from 1 (40 per page). |
sort | string | Order of the list. |
mi_sim_summary SIM number market summary
Summarise the numbered-SIM market on Mobile.ir per operator: ad counts and the three cheapest priced numbers. Drill into one operator with mi_sim_search. Unpriced ads are counted in `ads` only.
| Parameter | Type | Description |
|---|---|---|
condition | string | New or used line. |
days | integer | Updated within this many days (-1 = all). |
min_price | integer | Toman; ignores placeholder prices. |
plan | string | Permanent or credit lines. |
round_only | boolean | Only 'round' (رند) numbers. |