{"openapi":"3.1.0","info":{"title":"Market Data API","description":"\n**API خواندنی داده‌های بازارهای مالی ایران، شرکت‌ها و آگهی‌های ثبتی، دیوار، اقتصاد کلان، کدال و بدهکاران بانکی.**\nRead-only JSON API over the platform's whole database.\n\n### شروع سریع · Quick start\n1. دکمهٔ **Authorize** را بزنید و **توکن** خود را بچسبانید (فقط خود توکن، بدون کلمه Bearer).\n2. روی هر endpoint کلیک کنید → **Try it out** → پارامترها را پر کنید → **Execute**.\n3. همان درخواست را با `curl` یا کد خودتان بزنید (نمونه‌ها در پاسخ همین صفحه نمایش داده می‌شود).\n\n```\ncurl -H \"Authorization: Bearer <TOKEN>\" \"/v1/prices/daily?symbol=فولاد&from=1405/01/01&limit=5\"\n```\n\n### قراردادها · Conventions\n* **فیلتر**: هر ستون با `ستون=مقدار` (چند مقدار با ویرگول، `null` برای NULL)، بازه با `ستون__gte` و `ستون__lte`،\n  جست‌وجوی متن با `ستون__like`. پارامتر اشتباه ۴۰۰ می‌دهد و پیشنهاد اصلاح می‌دهد.\n* **تاریخ**: ورودی شمسی (`1405/08/03`، ارقام فارسی هم) یا میلادی (`2026-10-25`) پذیرفته می‌شود؛ مقدار تاریخ‌های متنی\n  همان‌طور که در پایگاه است (شمسی) برمی‌گردد و ستون‌های `*_jalali` تاریخ شمسی را کنار تاریخ‌های میلادی می‌گذارند.\n* **صفحه‌بندی**: `limit` و `offset`؛ برای پیمایش کامل جدول‌های بزرگ از `cursor` (مقدار `next_cursor`) استفاده کنید.\n* **خروجی**: `format=json` (پیش‌فرض) · `csv` (UTF-8 با BOM، مستقیم در Excel) · `ndjson`.\n* **متن فارسی**: ی/ي و ک/ك یکسان فرض می‌شوند. آدرس را حتماً URL-encode کنید (curl: `-G --data-urlencode`؛ در ویندوز curl فارسی را خراب می‌کند — از Swagger/Postman/Python استفاده کنید).\n* **سهمیه**: 300 درخواست در 60 ثانیه برای هر توکن؛ هدرهای `X-RateLimit-*` و `Retry-After` را ببینید.\n","version":"2.0.0"},"paths":{"/v1":{"get":{"tags":["meta"],"summary":"فهرست سرویس — Service directory","description":"Public: what this API is, how to authenticate, and every endpoint.","operationId":"directory_v1_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/health":{"get":{"tags":["meta"],"summary":"سلامت سرویس — Health","description":"Public, no key. Reports the database connection, how fresh the company search table is, and `last_success_at`: when\neach collector (codal, sci_bulletin, cbi_tsd) last finished a healthy run, i.e. how far behind its source the data can be.\ncodal is refreshed every 10 minutes from 06:00 to 23:50 Tehran time; sci_bulletin and cbi_tsd once a night.","operationId":"health_v1_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/me":{"get":{"tags":["meta"],"summary":"کلید من و سهمیه — My key and quota","description":"Which key you are using and how many requests you have left in the current window.","operationId":"me_v1_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/tables":{"get":{"tags":["meta"],"summary":"فهرست جدول‌ها و ستون‌ها — Catalogue of every dataset","description":"Every endpoint with its table, row estimate, fast filters and full column list.","operationId":"tables_v1_tables_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/companies/search":{"get":{"tags":["companies"],"summary":"جست‌وجوی رتبه‌بندی‌شدهٔ نام شرکت — Ranked company-name search","description":"Matching is substring, on a normalised form, ranked exact → prefix → trigram similarity → notice count.\nNames are not unique (1,908 name groups cover more than one company): pick the `national_id` you want.","operationId":"company_search_v1_companies_search_get","parameters":[{"description":"**Required.** Part of the company name (≥ 2 characters). Arabic and Persian letter forms match each other.","required":false,"schema":{"type":"string","title":"Q","description":"**Required.** Part of the company name (≥ 2 characters). Arabic and Persian letter forms match each other."},"name":"q","in":"query"},{"required":false,"schema":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Limit","default":25},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Offset","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/companies/{national_id}":{"get":{"tags":["companies"],"summary":"پروفایل یک شرکت — Company profile","description":"Profile plus how many officer terms the notices yielded, per scope.","operationId":"company_v1_companies__national_id__get","parameters":[{"description":"National id: 11 digits for a company, 10 for a person.","required":true,"schema":{"type":"string","pattern":"^\\d{10,11}$","title":"National Id","description":"National id: 11 digits for a company, 10 for a person."},"name":"national_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/companies/{national_id}/officers":{"get":{"tags":["officers"],"summary":"هیئت‌مدیره و سایر سمت‌های یک شرکت — A company's officers","description":"Current officers, the full history and the dates the board changed. Pass `as_of` for a snapshot.","operationId":"company_officers_v1_companies__national_id__officers_get","parameters":[{"description":"National id: 11 digits for a company, 10 for a person.","required":true,"schema":{"type":"string","pattern":"^\\d{10,11}$","title":"National Id","description":"National id: 11 digits for a company, 10 for a person."},"name":"national_id","in":"path"},{"description":"`board`, `auditor` or `liquidation`.","required":false,"schema":{"type":"string","title":"Scope","description":"`board`, `auditor` or `liquidation`."},"name":"scope","in":"query"},{"description":"Who held office on this date: `1404/01/20` (Jalali) — Gregorian also works.","required":false,"schema":{"type":"string","title":"As Of","description":"Who held office on this date: `1404/01/20` (Jalali) — Gregorian also works."},"name":"as_of","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/people/{person_nid}":{"get":{"tags":["officers"],"summary":"همهٔ سمت‌های یک شخص — Every seat a person held","description":"One person → every seat, current and past. Anchored on the national id; `names_seen` shows every\nspelling the notices used for that id.","operationId":"person_v1_people__person_nid__get","parameters":[{"description":"National id: 11 digits for a company, 10 for a person.","required":true,"schema":{"type":"string","pattern":"^\\d{10,11}$","title":"Person Nid","description":"National id: 11 digits for a company, 10 for a person."},"name":"person_nid","in":"path"},{"required":false,"schema":{"type":"integer","maximum":200.0,"minimum":1.0,"title":"Limit","default":25},"name":"limit","in":"query"},{"required":false,"schema":{"type":"integer","maximum":100000.0,"minimum":0.0,"title":"Offset","default":0},"name":"offset","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/instruments/{instrument_id}":{"get":{"tags":["market"],"summary":"جزئیات یک ابزار — Instrument detail","description":"The instrument, its market, its cross-references and the range of daily bars we hold.","operationId":"instrument_detail_v1_instruments__instrument_id__get","parameters":[{"required":true,"schema":{"type":"integer","minimum":1.0,"title":"Instrument Id"},"name":"instrument_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/notices/{code}":{"get":{"tags":["companies"],"summary":"یک آگهی با متن کامل — One notice with its full text","operationId":"notice_detail_v1_notices__code__get","parameters":[{"description":"The notice `code` from /v1/notices.","required":true,"schema":{"type":"integer","minimum":1.0,"title":"Code","description":"The notice `code` from /v1/notices."},"name":"code","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/posts/{token}":{"get":{"tags":["divar"],"summary":"یک آگهی مسکن با تاریخچه — One housing listing","description":"The listing with its description, attributes and every recorded price/content revision.","operationId":"post_detail_v1_divar_posts__token__get","parameters":[{"description":"Divar listing token.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_\\-]{3,32}$","title":"Token","description":"Divar listing token."},"name":"token","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/cars/{token}":{"get":{"tags":["divar"],"summary":"یک آگهی خودرو با تاریخچه — One car listing","operationId":"car_detail_v1_divar_cars__token__get","parameters":[{"description":"Divar listing token.","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_\\-]{3,32}$","title":"Token","description":"Divar listing token."},"name":"token","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/codal/letters/{tracing_no}":{"get":{"tags":["codal"],"summary":"یک اطلاعیه کدال — One Codal letter","operationId":"letter_detail_v1_codal_letters__tracing_no__get","parameters":[{"required":true,"schema":{"type":"integer","minimum":1.0,"title":"Tracing No"},"name":"tracing_no","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/markets":{"get":{"tags":["market"],"summary":"بازارها — Markets","description":"فهرست بازارهایی که ابزارهای مالی به آن‌ها تعلق دارند.\n\n**Fast filters (indexed):** `market_code`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `market_code` | text ⚡ | کد بازار: TSE بورس تهران، IFB فرابورس، IFB_BASE بازار پایه، IME بورس کالا، IRENEX بورس انرژی، FX ارز، IR_GOLD طلا و سکه، CRYPTO رمزارز، GLOBAL جهانی. |\n| `name_fa` | text | نام فارسی |\n| `name_en` | text | نام انگلیسی |\n| `country` | text | کد کشور |\n| `details` | json | جزئیات (JSON) |","operationId":"list_markets","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `market_code`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `market_code`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کد بازار: TSE بورس تهران، IFB فرابورس، IFB_BASE بازار پایه، IME بورس کالا، IRENEX بورس انرژی، FX ارز، IR_GOLD طلا و سکه، CRYPTO رمزارز، GLOBAL جهانی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Market Code","description":"کد بازار: TSE بورس تهران، IFB فرابورس، IFB_BASE بازار پایه، IME بورس کالا، IRENEX بورس انرژی، FX ارز، IR_GOLD طلا و سکه، CRYPTO رمزارز، GLOBAL جهانی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"market_code","in":"query"},{"description":"نام فارسی — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name Fa","description":"نام فارسی — exact match; `null` for NULL."},"name":"name_fa","in":"query"},{"description":"نام فارسی — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Name Fa  Like","description":"نام فارسی — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"name_fa__like","in":"query"},{"description":"نام انگلیسی — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name En","description":"نام انگلیسی — exact match; `null` for NULL."},"name":"name_en","in":"query"},{"description":"نام انگلیسی — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Name En  Like","description":"نام انگلیسی — contains this text (case-insensitive)."},"name":"name_en__like","in":"query"},{"description":"کد کشور — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Country","description":"کد کشور — exact match; comma-separate several values, `null` for NULL."},"name":"country","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"market_code":{"type":"string","description":"کد بازار: TSE بورس تهران، IFB فرابورس، IFB_BASE بازار پایه، IME بورس کالا، IRENEX بورس انرژی، FX ارز، IR_GOLD طلا و سکه، CRYPTO رمزارز، GLOBAL جهانی."},"name_fa":{"type":"string","description":"نام فارسی"},"name_en":{"type":"string","description":"نام انگلیسی","nullable":true},"country":{"type":"string","description":"کد کشور","nullable":true},"details":{"type":"object","description":"جزئیات (JSON)"}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/sources":{"get":{"tags":["market"],"summary":"منابع داده — Data sources","description":"منابعی که داده از آن‌ها جمع‌آوری می‌شود.\n\n**Fast filters (indexed):** `source_code`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `source_code` | text ⚡ | کد منبع (tsetmc, tgju, nobitex, …) |\n| `name` | text | نام منبع |\n| `base_url` | text | نشانی پایه |\n| `requires_iran_ip` | bool | فقط از IP ایران در دسترس است |\n| `is_active` | bool | فعال |\n| `details` | json | جزئیات (JSON) |","operationId":"list_sources","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `source_code`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `source_code`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کد منبع (tsetmc, tgju, nobitex, …) — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Source Code","description":"کد منبع (tsetmc, tgju, nobitex, …) — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"source_code","in":"query"},{"description":"نام منبع — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name","description":"نام منبع — exact match; `null` for NULL."},"name":"name","in":"query"},{"description":"نام منبع — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Name  Like","description":"نام منبع — contains this text (case-insensitive)."},"name":"name__like","in":"query"},{"description":"نشانی پایه — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Url","description":"نشانی پایه — exact match; comma-separate several values, `null` for NULL."},"name":"base_url","in":"query"},{"description":"فقط از IP ایران در دسترس است — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Requires Iran Ip","description":"فقط از IP ایران در دسترس است — exact match; comma-separate several values, `null` for NULL."},"name":"requires_iran_ip","in":"query"},{"description":"فعال — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Active","description":"فعال — exact match; comma-separate several values, `null` for NULL."},"name":"is_active","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"source_code":{"type":"string","description":"کد منبع (tsetmc, tgju, nobitex, …)"},"name":{"type":"string","description":"نام منبع"},"base_url":{"type":"string","description":"نشانی پایه","nullable":true},"requires_iran_ip":{"type":"boolean","description":"فقط از IP ایران در دسترس است","nullable":true},"is_active":{"type":"boolean","description":"فعال","nullable":true},"details":{"type":"object","description":"جزئیات (JSON)"}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/instruments":{"get":{"tags":["market"],"summary":"ابزارهای مالی (نماد، صندوق، اوراق، اختیار، آتی، رمزارز، ارز، طلا) — Instruments","description":"همه ابزارهای مالی. `instrument_id` کلید پیوند با جدول‌های قیمت و بازار است.\n\nمثال: `/v1/instruments?q=فولاد&asset_class=equity` — سپس `instrument_id` را در `/v1/prices/daily` بدهید، یا\nمستقیم `symbol=فولاد` بنویسید.\n\n- **خط‌های معاملاتی یک سهم.** بورس هر شرکت را تا چهار «خط» فهرست می‌کند؛ ISIN آن‌ها در هشت نویسهٔ اول یکی است و با چهار رقم آخر فرق دارد:\n  `دامين` (…0001)، `دامين2` (…0002)، `دامين3`، `دامين4`. هر خط ابزار جدا با سری قیمت خودش است (۹۱۷ از ۱٬۷۲۴ سهم خط ۲ به بالا\n  هستند). `line_no` شماره‌اش، `primary_instrument_id` خط اصلی همان شرکت و `is_primary=true` فقط خط اصلی را می‌دهد؛ برای «همهٔ\n  شرکت‌ها» یا میانگین بازار `asset_class=equity&is_primary=true` بگیرید.\n- **املا.** `symbol` و `name` با حروف فارسی (ی، ک) چاپ می‌شوند؛ املای منبع در `symbol_native` و `name_native` است (به‌صراحت در\n  `fields` بخواهید). فیلتر و جست‌وجو هر دو املا را می‌پذیرند.\n- **`last_price_date`**: تاریخ آخرین کندل روزانهٔ ابزار؛ پیش‌فرض نیست و باید در `fields=` بخواهید (هر ردیف یک جست‌وجو در جدول کندل است:\n  با `limit` کوچک). `is_active` همان را خلاصه می‌کند.\n\n**Fast filters (indexed):** `q`, `instrument_id`, `asset_class`, `market_code`, `symbol`, `isin`, `native_code`, `sector_code`, `underlying_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). |\n| `asset_class` | text ⚡ | کلاس دارایی. |\n| `instrument_type` | text | نوع دقیق‌تر، مثلاً common_share، etf، gold_etf، debt، sukuk، treasury، option_call، option_put، crypto_spot، currency، rights، futures، gold، coin، metal، energy (tgju: نفت برنت، سبد نفتی اوپک، گاز طبیعی؛ EIA: `oil_wti`)، commodity_option، commodity_future، commodity_index (مشتقات بورس کالا از tgju)، usdt_irr_ref (تتر/تومان نوبیتکس)، gold_token، currency_pair (جفت‌ارز جهانی tgju: `eurusd`، `gbpusd`، `usdjpy`، `usdcny`؛ بازار GLOBAL، `asset_class=fx`، بدون ریال). metal در بازار GLOBAL: انس نقره، پلاتین، پالادیوم و، از ۱۴۰۵/۰۸/۱۸، مس، آلومینیوم، روی، سرب، نیکل، قلع، سنگ آهن و فولاد (`steel_coil`). |\n| `market_code` | text ⚡ | کد بازار (جدول /v1/markets). |\n| `source_code` | text | منبع داده (tsetmc, tgju, nobitex, …). |\n| `symbol` | text ⚡ | نماد با حروف فارسی (ی، ک)؛ املای ذخیره‌شدهٔ منبع در `symbol_native` است. در فیلتر، املای فارسی و عربی هر دو پذیرفته می‌شود. |\n| `name` | text | نام با حروف فارسی؛ املای منبع در `name_native`. بورس «نام ۳۰ حرفی» می‌دهد و نام‌های بلندتر را می‌بُرد؛ نام کامل شرکت در `/v1/companies` است. |\n| `isin` | text ⚡ | شناسه ISIN. |\n| `native_code` | text ⚡ | کد بومی منبع (برای TSETMC همان insCode). |\n| `board` | text | تابلو/بازار، مثلاً «بازار اول (تابلوی فرعی) بورس». خالی اگر بورس تابلویی نگفته باشد (خط‌های ۲ به بالای سهم‌ها و بخشی از اوراق؛ پیش‌تر به‌جای آن متن «-'» ذخیره می‌شد). |\n| `sector_code` | text ⚡ | کد صنعت. |\n| `sector_name` | text | نام صنعت. |\n| `currency` | text | واحد قیمت: IRR ریال (بورس، فرابورس، ارز و طلای tgju)، IRT تومان (بازارهای ریالی نوبیتکس؛ ۱ تومان = ۱۰ ریال)، USDT تتر، USD دلار (انس طلا، فلزات و انرژی جهانی tgju؛ واحد دقیق هر سری در `details.price_unit`)، JPY و CNY (فقط برای جفت‌ارزهای `usdjpy` و `usdcny`: واحدِ طرفِ دوم جفت). **شاخص‌ها (`asset_class=index`) واحد پولی ندارند**: عددشان امتیاز است و `currency` خالی است. |\n| `base_volume` | int | حجم مبنا. |\n| `underlying_id` | int ⚡ | برای اختیار/آتی: `instrument_id` دارایی پایه. |\n| `is_active` | bool | فعال بودن ابزار (غیرفعال: منقضی، حذف‌شده یا دیگر منتشر نمی‌شود). از روی کندل‌ها نگهداری می‌شود: ابزاری که در ۱۴ روز (بورس و فرابورس، tgju) یا ۷ روز (نوبیتکس) گذشته کندل نداشته غیرفعال است و با اولین کندل تازه دوباره فعال می‌شود. **اختیار از پایان روز سررسیدش غیرفعال است** (`details.expiry_jalali`) هرچند بورس تا ماه‌ها برایش کندل تخت و بی‌حجم می‌فرستد. خط‌های ۲ به بالای سهم‌ها تا وقتی کندل دارند فعال می‌مانند: برای فهرست شرکت‌ها `is_primary=true` بگیرید. |\n| `details` | json | جزئیات بسته به نوع (JSON). اختیار بورس: `opt_type` (call/put)، `underlying` (نماد پایه)، `strike`، `expiry_jalali` («1405/09/04») و `expiry` (همان روز به میلادی، «2026-11-25»)، `contract_size`، `exercise_style` (برای همهٔ اختیارهای بورس و فرابورس `european`: فقط در سررسید قابل اعمال است) و `settlement` (`cash_or_physical`: نوع تسویه به انتخاب دارندهٔ موقعیت است نه ویژگی قرارداد — نقدی، فقط برای قرارداد در سود و فقط مابه‌التفاوت قیمت اعمال و قیمت پایانی پایه، با درخواست یک روز کاری پیش از سررسید؛ فیزیکی، تحویل دارایی پایه، با درخواست روز سررسید؛ بورس می‌تواند روش را برای دسته‌ای از قراردادها تعیین کند، مثل تسویهٔ نقدی ۱۴۰۵/۰۲/۲۹ برای قراردادهای سررسیدشده در تعطیلی بازار؛ اختیار کالای tgju این دو کلید را ندارد). سهم: `line_no`، `primary_instrument_id` (ستون‌های هم‌نام را ببینید). اختیار و آتی کالا (tgju): `underlying`، `strike`، `opt_type` و `expiry` که در این‌ها **نشانهٔ ماه شمسی** است نه تاریخ («ordibehesht_05» = اردیبهشت ۱۴۰۵؛ tgju روز سررسید نمی‌دهد). رمزارز: `base`، `quote`. tgju و نوبیتکس: `unit` (rial، usd، toman، usdt؛ برای جفت‌ارزهای جهانی `rate`) و برای سری‌های دلاری tgju `price_unit` (USD/oz، USD/t، USD/bbl، USD/MMBtu؛ جفت‌ارز: «USD per EUR»، «JPY per USD»). فلزات پایه، سنگ آهن و فولادِ tgju: `tgju_table` (جدولی که از آن خوانده می‌شود) و `note`؛ tgju نه واحد را می‌گوید نه قرارداد را، واحد از روی سطح قیمت حدس زده شده است (فولاد: «USD/ton» بدون تمایز تن کوتاه و متریک). مس: بارهای تا ۲۰۲۶-۰۷-۲۰ از جدول قدیمی «copper» و از ۲۰۲۶-۰۷-۲۱ به بعد از جدول «basemetal-london-copper» (همان سری) است؛ خودِ منبع از ۲۰۲۶-۰۷-۲۱ تا ۲۰۲۶-۰۸-۲۱ ردیف ندارد. |\n| `first_seen_at` | ts | اولین زمانی که جمع‌آوری دیده شد. |\n| `updated_at` | ts | آخرین به‌روزرسانی. |\n| `market_name` | text | نام فارسی بازار — market name. |\n| `line_no` | int | فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. |\n| `primary_instrument_id` | int | فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. |\n| `is_primary` | bool | فقط سهم: `true` برای خط اصلی شرکت (کمترین شمارهٔ ISIN، مثل «دامين»)، `false` برای خط‌های ۲ به بالا («دامين2»…). برای بقیهٔ ابزارها خالی. `asset_class=equity&is_primary=true` هر شرکت را یک بار می‌شمرد. |\n| `last_price_date` | date | تاریخ (میلادی) آخرین کندل روزانهٔ خام این ابزار. فقط با `fields=` خواسته می‌شود: برای هر ردیف یک جست‌وجو در جدول کندل است (حدود ۱ تا ۲ میلی‌ثانیه)، پس با `limit` کوچک (تا چند صد ردیف) بخواهید. |\n| `symbol_native` | text | نماد با همان املایی که منبع داده (ممکن است حروف عربی ي ك داشته باشد). |\n| `name_native` | text | نام با همان املایی که منبع داده (ممکن است حروف عربی ي ك داشته باشد). |","operationId":"list_instruments","parameters":[{"description":"جست‌وجو در نماد یا نام (بخشی از متن). — Contains-text search in symbol or name.","required":false,"schema":{"type":"string","title":"Q","description":"جست‌وجو در نماد یا نام (بخشی از متن). — Contains-text search in symbol or name."},"name":"q","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `asset_class`, `instrument_type`, `market_code`, `source_code`, `symbol`, `name`, `sector_code`, `sector_name`, `is_active`, `first_seen_at`, `updated_at`, `line_no`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `asset_class`, `instrument_type`, `market_code`, `source_code`, `symbol`, `name`, `sector_code`, `sector_name`, `is_active`, `first_seen_at`, `updated_at`, `line_no`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`). — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"کلاس دارایی. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`. ⚡ indexed."},"name":"asset_class","in":"query"},{"description":"نوع دقیق‌تر، مثلاً common_share، etf، gold_etf، debt، sukuk، treasury، option_call، option_put، crypto_spot، currency، rights، futures، gold، coin، metal، energy (tgju: نفت برنت، سبد نفتی اوپک، گاز طبیعی؛ EIA: `oil_wti`)، commodity_option، commodity_future، commodity_index (مشتقات بورس کالا از tgju)، usdt_irr_ref (تتر/تومان نوبیتکس)، gold_token، currency_pair (جفت‌ارز جهانی tgju: `eurusd`، `gbpusd`، `usdjpy`، `usdcny`؛ بازار GLOBAL، `asset_class=fx`، بدون ریال). metal در بازار GLOBAL: انس نقره، پلاتین، پالادیوم و، از ۱۴۰۵/۰۸/۱۸، مس، آلومینیوم، روی، سرب، نیکل، قلع، سنگ آهن و فولاد (`steel_coil`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Instrument Type","description":"نوع دقیق‌تر، مثلاً common_share، etf، gold_etf، debt، sukuk، treasury، option_call، option_put، crypto_spot، currency، rights، futures، gold، coin، metal، energy (tgju: نفت برنت، سبد نفتی اوپک، گاز طبیعی؛ EIA: `oil_wti`)، commodity_option، commodity_future، commodity_index (مشتقات بورس کالا از tgju)، usdt_irr_ref (تتر/تومان نوبیتکس)، gold_token، currency_pair (جفت‌ارز جهانی tgju: `eurusd`، `gbpusd`، `usdjpy`، `usdcny`؛ بازار GLOBAL، `asset_class=fx`، بدون ریال). metal در بازار GLOBAL: انس نقره، پلاتین، پالادیوم و، از ۱۴۰۵/۰۸/۱۸، مس، آلومینیوم، روی، سرب، نیکل، قلع، سنگ آهن و فولاد (`steel_coil`). — exact match; comma-separate several values, `null` for NULL."},"name":"instrument_type","in":"query"},{"description":"کد بازار (جدول /v1/markets). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Market Code","description":"کد بازار (جدول /v1/markets). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"market_code","in":"query"},{"description":"منبع داده (tsetmc, tgju, nobitex, …). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source Code","description":"منبع داده (tsetmc, tgju, nobitex, …). — exact match; comma-separate several values, `null` for NULL."},"name":"source_code","in":"query"},{"description":"نماد با حروف فارسی (ی، ک)؛ املای ذخیره‌شدهٔ منبع در `symbol_native` است. در فیلتر، املای فارسی و عربی هر دو پذیرفته می‌شود. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد با حروف فارسی (ی، ک)؛ املای ذخیره‌شدهٔ منبع در `symbol_native` است. در فیلتر، املای فارسی و عربی هر دو پذیرفته می‌شود. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"نماد با حروف فارسی (ی، ک)؛ املای ذخیره‌شدهٔ منبع در `symbol_native` است. در فیلتر، املای فارسی و عربی هر دو پذیرفته می‌شود. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد با حروف فارسی (ی، ک)؛ املای ذخیره‌شدهٔ منبع در `symbol_native` است. در فیلتر، املای فارسی و عربی هر دو پذیرفته می‌شود. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"symbol__like","in":"query"},{"description":"نام با حروف فارسی؛ املای منبع در `name_native`. بورس «نام ۳۰ حرفی» می‌دهد و نام‌های بلندتر را می‌بُرد؛ نام کامل شرکت در `/v1/companies` است. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name","description":"نام با حروف فارسی؛ املای منبع در `name_native`. بورس «نام ۳۰ حرفی» می‌دهد و نام‌های بلندتر را می‌بُرد؛ نام کامل شرکت در `/v1/companies` است. — exact match; `null` for NULL."},"name":"name","in":"query"},{"description":"نام با حروف فارسی؛ املای منبع در `name_native`. بورس «نام ۳۰ حرفی» می‌دهد و نام‌های بلندتر را می‌بُرد؛ نام کامل شرکت در `/v1/companies` است. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Name  Like","description":"نام با حروف فارسی؛ املای منبع در `name_native`. بورس «نام ۳۰ حرفی» می‌دهد و نام‌های بلندتر را می‌بُرد؛ نام کامل شرکت در `/v1/companies` است. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"name__like","in":"query"},{"description":"شناسه ISIN. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Isin","description":"شناسه ISIN. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"isin","in":"query"},{"description":"کد بومی منبع (برای TSETMC همان insCode). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Native Code","description":"کد بومی منبع (برای TSETMC همان insCode). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"native_code","in":"query"},{"description":"تابلو/بازار، مثلاً «بازار اول (تابلوی فرعی) بورس». خالی اگر بورس تابلویی نگفته باشد (خط‌های ۲ به بالای سهم‌ها و بخشی از اوراق؛ پیش‌تر به‌جای آن متن «-'» ذخیره می‌شد). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Board","description":"تابلو/بازار، مثلاً «بازار اول (تابلوی فرعی) بورس». خالی اگر بورس تابلویی نگفته باشد (خط‌های ۲ به بالای سهم‌ها و بخشی از اوراق؛ پیش‌تر به‌جای آن متن «-'» ذخیره می‌شد). — exact match; `null` for NULL."},"name":"board","in":"query"},{"description":"تابلو/بازار، مثلاً «بازار اول (تابلوی فرعی) بورس». خالی اگر بورس تابلویی نگفته باشد (خط‌های ۲ به بالای سهم‌ها و بخشی از اوراق؛ پیش‌تر به‌جای آن متن «-'» ذخیره می‌شد). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Board  Like","description":"تابلو/بازار، مثلاً «بازار اول (تابلوی فرعی) بورس». خالی اگر بورس تابلویی نگفته باشد (خط‌های ۲ به بالای سهم‌ها و بخشی از اوراق؛ پیش‌تر به‌جای آن متن «-'» ذخیره می‌شد). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"board__like","in":"query"},{"description":"کد صنعت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Sector Code","description":"کد صنعت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"sector_code","in":"query"},{"description":"نام صنعت. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Sector Name","description":"نام صنعت. — exact match; `null` for NULL."},"name":"sector_name","in":"query"},{"description":"نام صنعت. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Sector Name  Like","description":"نام صنعت. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"sector_name__like","in":"query"},{"description":"واحد قیمت: IRR ریال (بورس، فرابورس، ارز و طلای tgju)، IRT تومان (بازارهای ریالی نوبیتکس؛ ۱ تومان = ۱۰ ریال)، USDT تتر، USD دلار (انس طلا، فلزات و انرژی جهانی tgju؛ واحد دقیق هر سری در `details.price_unit`)، JPY و CNY (فقط برای جفت‌ارزهای `usdjpy` و `usdcny`: واحدِ طرفِ دوم جفت). **شاخص‌ها (`asset_class=index`) واحد پولی ندارند**: عددشان امتیاز است و `currency` خالی است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency","description":"واحد قیمت: IRR ریال (بورس، فرابورس، ارز و طلای tgju)، IRT تومان (بازارهای ریالی نوبیتکس؛ ۱ تومان = ۱۰ ریال)، USDT تتر، USD دلار (انس طلا، فلزات و انرژی جهانی tgju؛ واحد دقیق هر سری در `details.price_unit`)، JPY و CNY (فقط برای جفت‌ارزهای `usdjpy` و `usdcny`: واحدِ طرفِ دوم جفت). **شاخص‌ها (`asset_class=index`) واحد پولی ندارند**: عددشان امتیاز است و `currency` خالی است. — exact match; comma-separate several values, `null` for NULL."},"name":"currency","in":"query"},{"description":"حجم مبنا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Volume","description":"حجم مبنا. — exact match; comma-separate several values, `null` for NULL."},"name":"base_volume","in":"query"},{"description":"حجم مبنا. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Volume  Gte","description":"حجم مبنا. — minimum (inclusive)."},"name":"base_volume__gte","in":"query"},{"description":"حجم مبنا. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Volume  Lte","description":"حجم مبنا. — maximum (inclusive)."},"name":"base_volume__lte","in":"query"},{"description":"برای اختیار/آتی: `instrument_id` دارایی پایه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Underlying Id","description":"برای اختیار/آتی: `instrument_id` دارایی پایه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"underlying_id","in":"query"},{"description":"برای اختیار/آتی: `instrument_id` دارایی پایه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Underlying Id  Gte","description":"برای اختیار/آتی: `instrument_id` دارایی پایه. — minimum (inclusive). ⚡ indexed."},"name":"underlying_id__gte","in":"query"},{"description":"برای اختیار/آتی: `instrument_id` دارایی پایه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Underlying Id  Lte","description":"برای اختیار/آتی: `instrument_id` دارایی پایه. — maximum (inclusive)."},"name":"underlying_id__lte","in":"query"},{"description":"فعال بودن ابزار (غیرفعال: منقضی، حذف‌شده یا دیگر منتشر نمی‌شود). از روی کندل‌ها نگهداری می‌شود: ابزاری که در ۱۴ روز (بورس و فرابورس، tgju) یا ۷ روز (نوبیتکس) گذشته کندل نداشته غیرفعال است و با اولین کندل تازه دوباره فعال می‌شود. **اختیار از پایان روز سررسیدش غیرفعال است** (`details.expiry_jalali`) هرچند بورس تا ماه‌ها برایش کندل تخت و بی‌حجم می‌فرستد. خط‌های ۲ به بالای سهم‌ها تا وقتی کندل دارند فعال می‌مانند: برای فهرست شرکت‌ها `is_primary=true` بگیرید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Active","description":"فعال بودن ابزار (غیرفعال: منقضی، حذف‌شده یا دیگر منتشر نمی‌شود). از روی کندل‌ها نگهداری می‌شود: ابزاری که در ۱۴ روز (بورس و فرابورس، tgju) یا ۷ روز (نوبیتکس) گذشته کندل نداشته غیرفعال است و با اولین کندل تازه دوباره فعال می‌شود. **اختیار از پایان روز سررسیدش غیرفعال است** (`details.expiry_jalali`) هرچند بورس تا ماه‌ها برایش کندل تخت و بی‌حجم می‌فرستد. خط‌های ۲ به بالای سهم‌ها تا وقتی کندل دارند فعال می‌مانند: برای فهرست شرکت‌ها `is_primary=true` بگیرید. — exact match; comma-separate several values, `null` for NULL."},"name":"is_active","in":"query"},{"description":"اولین زمانی که جمع‌آوری دیده شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Seen At","description":"اولین زمانی که جمع‌آوری دیده شد. — exact match; comma-separate several values, `null` for NULL."},"name":"first_seen_at","in":"query"},{"description":"اولین زمانی که جمع‌آوری دیده شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Seen At  Gte","description":"اولین زمانی که جمع‌آوری دیده شد. — minimum (inclusive)."},"name":"first_seen_at__gte","in":"query"},{"description":"اولین زمانی که جمع‌آوری دیده شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Seen At  Lte","description":"اولین زمانی که جمع‌آوری دیده شد. — maximum (inclusive)."},"name":"first_seen_at__lte","in":"query"},{"description":"آخرین به‌روزرسانی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"آخرین به‌روزرسانی. — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"آخرین به‌روزرسانی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"آخرین به‌روزرسانی. — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"آخرین به‌روزرسانی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"آخرین به‌روزرسانی. — maximum (inclusive)."},"name":"updated_at__lte","in":"query"},{"description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Line No","description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"line_no","in":"query"},{"description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Line No  Gte","description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. — minimum (inclusive)."},"name":"line_no__gte","in":"query"},{"description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Line No  Lte","description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی. — maximum (inclusive)."},"name":"line_no__lte","in":"query"},{"description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Primary Instrument Id","description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"primary_instrument_id","in":"query"},{"description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Primary Instrument Id  Gte","description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. — minimum (inclusive)."},"name":"primary_instrument_id__gte","in":"query"},{"description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Primary Instrument Id  Lte","description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی. — maximum (inclusive)."},"name":"primary_instrument_id__lte","in":"query"},{"description":"فقط سهم: `true` برای خط اصلی شرکت (کمترین شمارهٔ ISIN، مثل «دامين»)، `false` برای خط‌های ۲ به بالا («دامين2»…). برای بقیهٔ ابزارها خالی. `asset_class=equity&is_primary=true` هر شرکت را یک بار می‌شمرد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Primary","description":"فقط سهم: `true` برای خط اصلی شرکت (کمترین شمارهٔ ISIN، مثل «دامين»)، `false` برای خط‌های ۲ به بالا («دامين2»…). برای بقیهٔ ابزارها خالی. `asset_class=equity&is_primary=true` هر شرکت را یک بار می‌شمرد. — exact match; comma-separate several values, `null` for NULL."},"name":"is_primary","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه داخلی ابزار (کلید اصلی؛ در سایر جدول‌ها `instrument_id`)."},"asset_class":{"type":"string","description":"کلاس دارایی."},"instrument_type":{"type":"string","description":"نوع دقیق‌تر، مثلاً common_share، etf، gold_etf، debt، sukuk، treasury، option_call، option_put، crypto_spot، currency، rights، futures، gold، coin، metal، energy (tgju: نفت برنت، سبد نفتی اوپک، گاز طبیعی؛ EIA: `oil_wti`)، commodity_option، commodity_future، commodity_index (مشتقات بورس کالا از tgju)، usdt_irr_ref (تتر/تومان نوبیتکس)، gold_token، currency_pair (جفت‌ارز جهانی tgju: `eurusd`، `gbpusd`، `usdjpy`، `usdcny`؛ بازار GLOBAL، `asset_class=fx`، بدون ریال). metal در بازار GLOBAL: انس نقره، پلاتین، پالادیوم و، از ۱۴۰۵/۰۸/۱۸، مس، آلومینیوم، روی، سرب، نیکل، قلع، سنگ آهن و فولاد (`steel_coil`).","nullable":true},"market_code":{"type":"string","description":"کد بازار (جدول /v1/markets).","nullable":true},"source_code":{"type":"string","description":"منبع داده (tsetmc, tgju, nobitex, …).","nullable":true},"symbol":{"type":"string","description":"نماد با حروف فارسی (ی، ک)؛ املای ذخیره‌شدهٔ منبع در `symbol_native` است. در فیلتر، املای فارسی و عربی هر دو پذیرفته می‌شود."},"name":{"type":"string","description":"نام با حروف فارسی؛ املای منبع در `name_native`. بورس «نام ۳۰ حرفی» می‌دهد و نام‌های بلندتر را می‌بُرد؛ نام کامل شرکت در `/v1/companies` است.","nullable":true},"isin":{"type":"string","description":"شناسه ISIN.","nullable":true},"native_code":{"type":"string","description":"کد بومی منبع (برای TSETMC همان insCode).","nullable":true},"board":{"type":"string","description":"تابلو/بازار، مثلاً «بازار اول (تابلوی فرعی) بورس». خالی اگر بورس تابلویی نگفته باشد (خط‌های ۲ به بالای سهم‌ها و بخشی از اوراق؛ پیش‌تر به‌جای آن متن «-'» ذخیره می‌شد).","nullable":true},"sector_code":{"type":"string","description":"کد صنعت.","nullable":true},"sector_name":{"type":"string","description":"نام صنعت.","nullable":true},"currency":{"type":"string","description":"واحد قیمت: IRR ریال (بورس، فرابورس، ارز و طلای tgju)، IRT تومان (بازارهای ریالی نوبیتکس؛ ۱ تومان = ۱۰ ریال)، USDT تتر، USD دلار (انس طلا، فلزات و انرژی جهانی tgju؛ واحد دقیق هر سری در `details.price_unit`)، JPY و CNY (فقط برای جفت‌ارزهای `usdjpy` و `usdcny`: واحدِ طرفِ دوم جفت). **شاخص‌ها (`asset_class=index`) واحد پولی ندارند**: عددشان امتیاز است و `currency` خالی است.","nullable":true},"base_volume":{"type":"integer","description":"حجم مبنا.","nullable":true},"underlying_id":{"type":"integer","description":"برای اختیار/آتی: `instrument_id` دارایی پایه.","nullable":true},"is_active":{"type":"boolean","description":"فعال بودن ابزار (غیرفعال: منقضی، حذف‌شده یا دیگر منتشر نمی‌شود). از روی کندل‌ها نگهداری می‌شود: ابزاری که در ۱۴ روز (بورس و فرابورس، tgju) یا ۷ روز (نوبیتکس) گذشته کندل نداشته غیرفعال است و با اولین کندل تازه دوباره فعال می‌شود. **اختیار از پایان روز سررسیدش غیرفعال است** (`details.expiry_jalali`) هرچند بورس تا ماه‌ها برایش کندل تخت و بی‌حجم می‌فرستد. خط‌های ۲ به بالای سهم‌ها تا وقتی کندل دارند فعال می‌مانند: برای فهرست شرکت‌ها `is_primary=true` بگیرید.","nullable":true},"details":{"type":"object","description":"جزئیات بسته به نوع (JSON). اختیار بورس: `opt_type` (call/put)، `underlying` (نماد پایه)، `strike`، `expiry_jalali` («1405/09/04») و `expiry` (همان روز به میلادی، «2026-11-25»)، `contract_size`، `exercise_style` (برای همهٔ اختیارهای بورس و فرابورس `european`: فقط در سررسید قابل اعمال است) و `settlement` (`cash_or_physical`: نوع تسویه به انتخاب دارندهٔ موقعیت است نه ویژگی قرارداد — نقدی، فقط برای قرارداد در سود و فقط مابه‌التفاوت قیمت اعمال و قیمت پایانی پایه، با درخواست یک روز کاری پیش از سررسید؛ فیزیکی، تحویل دارایی پایه، با درخواست روز سررسید؛ بورس می‌تواند روش را برای دسته‌ای از قراردادها تعیین کند، مثل تسویهٔ نقدی ۱۴۰۵/۰۲/۲۹ برای قراردادهای سررسیدشده در تعطیلی بازار؛ اختیار کالای tgju این دو کلید را ندارد). سهم: `line_no`، `primary_instrument_id` (ستون‌های هم‌نام را ببینید). اختیار و آتی کالا (tgju): `underlying`، `strike`، `opt_type` و `expiry` که در این‌ها **نشانهٔ ماه شمسی** است نه تاریخ («ordibehesht_05» = اردیبهشت ۱۴۰۵؛ tgju روز سررسید نمی‌دهد). رمزارز: `base`، `quote`. tgju و نوبیتکس: `unit` (rial، usd، toman، usdt؛ برای جفت‌ارزهای جهانی `rate`) و برای سری‌های دلاری tgju `price_unit` (USD/oz، USD/t، USD/bbl، USD/MMBtu؛ جفت‌ارز: «USD per EUR»، «JPY per USD»). فلزات پایه، سنگ آهن و فولادِ tgju: `tgju_table` (جدولی که از آن خوانده می‌شود) و `note`؛ tgju نه واحد را می‌گوید نه قرارداد را، واحد از روی سطح قیمت حدس زده شده است (فولاد: «USD/ton» بدون تمایز تن کوتاه و متریک). مس: بارهای تا ۲۰۲۶-۰۷-۲۰ از جدول قدیمی «copper» و از ۲۰۲۶-۰۷-۲۱ به بعد از جدول «basemetal-london-copper» (همان سری) است؛ خودِ منبع از ۲۰۲۶-۰۷-۲۱ تا ۲۰۲۶-۰۸-۲۱ ردیف ندارد."},"first_seen_at":{"type":"string","format":"date-time","description":"اولین زمانی که جمع‌آوری دیده شد.","nullable":true},"updated_at":{"type":"string","format":"date-time","description":"آخرین به‌روزرسانی.","nullable":true},"market_name":{"type":"string","description":"نام فارسی بازار — market name.","nullable":true},"line_no":{"type":"integer","description":"فقط سهم: شمارهٔ خط معاملاتی (چهار رقم آخر ISIN؛ ۱ = خط اصلی، ۲ و ۳ و ۴ = «دامين2» و …). برای بقیهٔ ابزارها خالی.","nullable":true},"primary_instrument_id":{"type":"integer","description":"فقط سهم: `instrument_id` خط اصلی همین شرکت (برای خط اصلی خودش). برای بقیهٔ ابزارها خالی.","nullable":true},"is_primary":{"type":"boolean","description":"فقط سهم: `true` برای خط اصلی شرکت (کمترین شمارهٔ ISIN، مثل «دامين»)، `false` برای خط‌های ۲ به بالا («دامين2»…). برای بقیهٔ ابزارها خالی. `asset_class=equity&is_primary=true` هر شرکت را یک بار می‌شمرد.","nullable":true},"last_price_date":{"type":"string","format":"date","description":"تاریخ (میلادی) آخرین کندل روزانهٔ خام این ابزار. فقط با `fields=` خواسته می‌شود: برای هر ردیف یک جست‌وجو در جدول کندل است (حدود ۱ تا ۲ میلی‌ثانیه)، پس با `limit` کوچک (تا چند صد ردیف) بخواهید.","nullable":true},"symbol_native":{"type":"string","description":"نماد با همان املایی که منبع داده (ممکن است حروف عربی ي ك داشته باشد).","nullable":true},"name_native":{"type":"string","description":"نام با همان املایی که منبع داده (ممکن است حروف عربی ي ك داشته باشد).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/instrument-xref":{"get":{"tags":["market"],"summary":"پیوند سهم به شرکت ثبتی (شناسهٔ ملی) — Share to registered company","description":"شناسهٔ ملی شرکتِ هر سهم: پیوند نماد بورس به پروفایل ثبتی شرکت در `/v1/companies`.\n\nبورس سهم را با نماد می‌شناسد و ثبت شرکت‌ها با شناسهٔ ملی؛ در هیچ‌کدام نیست که کدام کدام است. پل بین آن‌ها **نام شرکت** است: کدال\nنام کامل حقوقی را کنار نماد می‌نویسد. سهمی پیوند می‌خورد که نام کدالش (با ی/ي و ک/ك یکسان؛ در گذر دوم بدون فاصله و نیم‌فاصله) نام\nدقیقاً یک شرکت **سهامی عام** در ثبت شرکت‌ها باشد (`details.method` = `name_unique`، `squeezed_name_unique`)، یا چند شرکت هم‌نام باشند\nولی یکی دست‌کم ۱۰ آگهی و ۵ برابر دومی داشته باشد (`name_dominant`؛ بقیه غلط‌های یک‌رقمی همان شناسه در آگهی‌های تکی‌اند). مبهم یا\nبی‌هم‌نام پیوند نمی‌خورد: پیوند غلط از نبودن پیوند بدتر است. هر خط معاملاتی سهم (`دامين2` …) همان شرکت را دارد.\n\nسهم‌هایی که هیچ قاعدهٔ نامی به آن‌ها نمی‌رسد (نام کدال با نام ثبتی فرق دارد: «گکیش»، «ودانا»، «وسنا» …) ۲۴ مورد دست‌ساز دارند\n(`details.method = curated`؛ هرکدام با فهرست نام‌های ثبت شرکت‌ها سنجیده شده و `details.note` می‌گوید چرا)؛ اگر قاعده‌ای بعداً چیز دیگری\nبگوید پیوند قاعده می‌ماند.\n\nپوشش: ۷۹۹ از ۸۰۵ سهم اصلی فعال (۱٬۷۳۸ ابزار با خط‌های دوم و سوم). شش سهم پیوند ندارند چون شرکت ثبتی‌شان با اطمینان پیدا نشد:\nبازرگام، حخزر، خفولا، گنگين، وپخش، كپرور. هر هفته از نو ساخته می‌شود.\n\nمثال: `/v1/market/instrument-xref?symbol=فولاد` ← `national_id=10260289464`؛ و برعکس `national_id=10260289464` ← همهٔ خط‌های\nآن شرکت. سپس `/v1/companies/10260289464` یا `/v1/notices?national_id=…`.\n\n**Fast filters (indexed):** `symbol`, `instrument_id`, `source_code`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه داخلی ابزار (سهم). |\n| `source_code` | text ⚡ | منبع پیوند: `rrk` (روزنامه رسمی؛ `source_native_id` شناسهٔ ملی شرکت). |\n| `source_symbol` | text | نام شرکت در آن منبع. |\n| `source_native_id` | text | شناسه در آن منبع؛ برای `rrk` شناسهٔ ملی شرکت (۱۱ رقم). |\n| `details` | json | چگونگی پیوند (JSON): `method`، `codal_company_name`، `line_no`، `primary_instrument_id`؛ برای `method=curated` یادداشت `note`. |\n| `national_id` | text | شناسهٔ ملی شرکت (همان `national_id` در `/v1/companies`)؛ برای پیوندهای `rrk`. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_instrument_xref","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه داخلی ابزار (سهم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه داخلی ابزار (سهم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه داخلی ابزار (سهم). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه داخلی ابزار (سهم). — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه داخلی ابزار (سهم). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه داخلی ابزار (سهم). — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"منبع پیوند: `rrk` (روزنامه رسمی؛ `source_native_id` شناسهٔ ملی شرکت). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Source Code","description":"منبع پیوند: `rrk` (روزنامه رسمی؛ `source_native_id` شناسهٔ ملی شرکت). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"source_code","in":"query"},{"description":"نام شرکت در آن منبع. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Source Symbol","description":"نام شرکت در آن منبع. — exact match; `null` for NULL."},"name":"source_symbol","in":"query"},{"description":"نام شرکت در آن منبع. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Source Symbol  Like","description":"نام شرکت در آن منبع. — contains this text (case-insensitive)."},"name":"source_symbol__like","in":"query"},{"description":"شناسه در آن منبع؛ برای `rrk` شناسهٔ ملی شرکت (۱۱ رقم). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source Native Id","description":"شناسه در آن منبع؛ برای `rrk` شناسهٔ ملی شرکت (۱۱ رقم). — exact match; comma-separate several values, `null` for NULL."},"name":"source_native_id","in":"query"},{"description":"شناسهٔ ملی شرکت (همان `national_id` در `/v1/companies`)؛ برای پیوندهای `rrk`. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"National Id","description":"شناسهٔ ملی شرکت (همان `national_id` در `/v1/companies`)؛ برای پیوندهای `rrk`. — exact match; comma-separate several values, `null` for NULL."},"name":"national_id","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه داخلی ابزار (سهم)."},"source_code":{"type":"string","description":"منبع پیوند: `rrk` (روزنامه رسمی؛ `source_native_id` شناسهٔ ملی شرکت)."},"source_symbol":{"type":"string","description":"نام شرکت در آن منبع.","nullable":true},"source_native_id":{"type":"string","description":"شناسه در آن منبع؛ برای `rrk` شناسهٔ ملی شرکت (۱۱ رقم).","nullable":true},"details":{"type":"object","description":"چگونگی پیوند (JSON): `method`، `codal_company_name`، `line_no`، `primary_instrument_id`؛ برای `method=curated` یادداشت `note`."},"national_id":{"type":"string","description":"شناسهٔ ملی شرکت (همان `national_id` در `/v1/companies`)؛ برای پیوندهای `rrk`.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/prices/daily":{"get":{"tags":["prices"],"summary":"کندل روزانه (OHLCV) — Daily bars","description":"کندل روزانه همه ابزارها از ۱۳۸۰ (حدود ۹٫۴ میلیون ردیف).\n\n- نماد را با `symbol=` یا `instrument_id=` بدهید؛ بازه را با `from=` و `to=` (شمسی یا میلادی).\n- پیش‌فرض قیمت **خام** است؛ `adjusted=true` قیمت تعدیل‌شده می‌دهد، `adjusted=all` هر دو.\n- قیمت تعدیل‌شده را خودمان از کندل‌های خام می‌سازیم (منبع رسمی تعدیل‌شده دیگر پاسخ نمی‌دهد): در روز تعدیل بورس\n  «قیمت دیروز» را کم می‌کند و ضریب = قیمت دیروز ÷ پایانی روز قبل است؛ هر کندل در ضرایب همهٔ روزهای بعد از خودش ضرب می‌شود،\n  پس آخرین کندل همیشه با خام برابر است و بازده روزانه در هر دو یکی است. فقط **سهام عادی** (نمادی که به رقم ختم نشود) تعدیل\n  می‌شود؛ برای صندوق، سری‌های ۲ و ۳ سهام، اوراق، حق تقدم، اختیار و بقیه تعدیل‌شده همان خام است. حجم، ارزش و تعداد معامله\n  تعدیل نمی‌شوند. رویدادها در `/v1/market/corporate-actions` هستند. قیمت‌های تعدیل‌شدهٔ قدیمی (قبل از ۱۴۰۵/۰۸/۰۴) فقط کپی\n  خام بودند.\n- از ۱۴۰۴/۱۲/۰۹ تا ۱۴۰۵/۰۲/۲۸ (۵۰ روز کاری) برای همهٔ نمادها حجم، ارزش و تعداد معامله صفر است و کندل‌ها تخت‌اند\n  (باز=بالا=پایین=پایانی=قیمت مبنا): منبع در آن دوره هیچ معامله‌ای نشان نمی‌دهد. این وضع منبع است، نه خطای جمع‌آوری.\n- بدون هیچ فیلتری جدیدترین کندل‌ها برمی‌گردد. برای دریافت کل تاریخچه یک نماد از `format=csv` یا `cursor` استفاده کنید.\n- **tgju** (ارز، طلا، سکه، فلزات، انرژی و مشتقات بورس کالا): ردیف هر روز بعد از پایان همان روز منتشر می‌شود، پس تازه‌ترین\n  کندل معمولاً مال دیروز است. حجم، ارزش، تعداد معامله و قیمت دیروز همیشه خالی‌اند. کندل تخت (باز=بالا=پایین=پایانی) یعنی tgju\n  قیمت قبلی را تکرار کرده، نه اینکه معامله‌ای شده باشد (۱۰٪ کندل‌های دلار، ۲۳٪ مس، ۹۴٪ سبد اوپک). ردیف‌های ناممکن (قیمت صفر یا\n  منفی، بازهٔ بیش از ۲۵٪ قیمت) و جهش واحدی که چند روز بعد برمی‌گردد ذخیره نمی‌شوند؛ چند ارز کوچک (وون کره، لیر لبنان، دینار\n  عراق، فلورین آروبا) در برخی بازه‌ها از خود منبع نویزی‌اند.\n- **نوبیتکس**: قیمت بازارهای `…IRT` **تومان** است نه ریال (`currency=IRT`) و بازارهای `…USDT` تتر. حجم به واحد ارز پایه است و\n  ارزش خالی. کندل روز جاری ناتمام است و `is_final=false` دارد. آخرین کندل واقعی بازار USDTIRT ۱۴۰۵/۰۷/۰۷ است (نوبیتکس آن را پشت WAF بسته)؛ کندل‌های بعد\n  از آن با `source=nobitex_implied` از میانهٔ ده کوین ساخته شده‌اند (میانگین خطا ۰٫۱٪).\n- **شاخص‌های بورس و فرابورس**: فقط بالا، پایین و پایانی؛ باز، حجم و ارزش خالی‌اند. هر کندل به تاریخ جلسهٔ معاملاتی است؛ از\n  ۱۴۰۵/۰۴/۰۸ تا ۱۴۰۵/۰۸/۰۴ روزهای تعطیل نسخهٔ تکراری آخرین جلسه داشتند و حذف شدند.\n- **`close` و بازهٔ روز (سهام).** `close` قیمت پایانی رسمی بورس است، نه آخرین معامله؛ `low` و `high` کمترین و بیشترین قیمت\n  **معاملات** روزند. پس `close` گاهی بیرون از [`low`, `high`] است: در فولاد ۲۸۵ روز از ۴٬۳۵۷ (۶٫۵٪)، بیشترشان بین 2008 و 2015\n  (در 2009: ۸۹ روز) و از 2016 فقط ۷ روز؛ شپنا (۲۹۸ روز)، وبملت (۱۷۸)، خودرو (۴۱۵) و فملی هم همین‌طورند. این وضع منبع است و دست‌کاری نمی‌شود.\n- **خطِ دومِ صندوق‌ها (`شفق2` …).** در روز معامله، بورس برای نمادِ صندوقِ خطِ دوم `open = high = low = close = 1` و `value = volume` می‌نویسد و در\n  روزِ بی‌معامله قیمت مرجعِ قبل را با حجم صفر؛ در ۳۰ روز تا ۱۴۰۵/۰۸/۱۷ ۱۷۰ صندوق و ۱٬۹۳۷ کندل چنین بوده‌اند. ستون `price_is_placeholder`\n  این کندل‌ها را `true` می‌کند؛ قیمت‌ها خالی نشده‌اند (مقدارِ منبع است).\n- **`prev_close`** قیمت مرجع همان روز است، نه همیشه پایانی روز قبل (روز سود و افزایش سرمایه). در روز بی‌معاملهٔ یک نماد\n  متوقف منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند (درپاد ۱۴۰۴/۱۱/۰۵ و ۰۶)؛ این روزها رویداد تعدیل نیستند.\n- **`is_final`**: `false` یعنی کندل هنوز تغییر می‌کند (کندل روز جاریِ رمزارز تا پایان روز).\n- `date_jalali` تاریخ شمسی همان روز است.\n\n**Fast filters (indexed):** `symbol`, `from`, `to`, `instrument_id`, `ts`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `ts` | ts ⚡ | زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. |\n| `resolution` | text | بازه کندل — فعلاً فقط `1d`. |\n| `adjusted` | bool | تعدیل‌شده؟ |\n| `open` | num | قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. |\n| `high` | num | بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). |\n| `low` | num | کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). |\n| `close` | num | قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. |\n| `prev_close` | num | قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. |\n| `value` | num | ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. |\n| `volume` | num | حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. |\n| `trade_count` | int | تعداد معاملات. |\n| `source` | text | منبع: tsetmc، tgju، nobitex، و nobitex_implied برای کندل‌های USDTIRT که از میانهٔ بازار کوین‌ها ساخته شده‌اند (تخت، بی‌حجم). |\n| `date` | date | روز معاملاتی (میلادی). |\n| `date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |\n| `change_pct` | num | درصد تغییر قیمت پایانی نسبت به روز قبل. |\n| `is_final` | bool | `false` برای کندلی که هنوز تغییر می‌کند: کندل روز جاریِ رمزارز (نوبیتکس) تا پایان روز. بقیهٔ منابع کندل را بعد از پایان روز می‌نویسند و `true` هستند. |\n| `price_is_placeholder` | bool | `true`: کندلِ صندوقی که قیمتش «۱» است با حجم (خطِ دومِ صندوق‌های درآمد ثابت و مانند آن: `open = high = low = close = 1`، `value = volume`). «۱» جایگزینِ خودِ بورس است و قیمت واقعی نیست؛ حدّ مجازِ همان روز (`price_min`، `price_max`) واقعی است و با آن نمی‌خواند. این کندل‌ها را از تحلیل کنار بگذارید (`price_is_placeholder=false`). مقدارِ خودِ منبع دست‌نخورده می‌ماند. درباره‌ی سهام و بقیهٔ کلاس‌ها همیشه `false` است. فقط در خروجی و فیلتر (`fields=`، `price_is_placeholder=false`). |\n| `price_max` | num | سقف مجاز قیمت همان روز (ریال، مقیاس کندل خام) از `/v1/market/daily-limits`؛ فقط برای کندل خام (`adjusted=false`) سهم، صندوق و حق تقدم. روز قفل بالا: `low = high = price_max`. تهی: بازیابی نشده یا بورس ثبتی ندارد. فقط در خروجی می‌آید (`fields=`)؛ هر ردیف یک جست‌وجو است، برای خروجی بزرگ به آن مسیر بروید. |\n| `price_min` | num | کف مجاز قیمت همان روز (ریال، مقیاس کندل خام)؛ مثل `price_max`. |\n| `buy_queue_volume` | num | حجم صف خرید پایان همان روز (سهم) از `/v1/market/daily-book`: سفارش‌های خرید در سقف مجاز بدون فروشنده. ۰: برداشت شد و صف نبود؛ تهی: آن روز برداشت نشده (بورس تاریخچه نمی‌دهد؛ برداشت از روز راه‌اندازی شروع شده). فقط در خروجی (`fields=`). |\n| `sell_queue_volume` | num | حجم صف فروش پایان همان روز (کف مجاز، بدون خریدار)؛ مثل `buy_queue_volume`. |\n| `symbol_status` | text | وضعیت نماد در پایان همان روز، با متن بورس («مجاز» و …)؛ حرفش `state_code` در `/v1/market/daily-book` است. تهی: برداشت نشده. |","operationId":"list_prices_daily","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`ts`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`ts`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `ts`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `ts`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Ts","description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"ts","in":"query"},{"description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Ts  Gte","description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. — minimum (inclusive). ⚡ indexed."},"name":"ts__gte","in":"query"},{"description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ts  Lte","description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی. — maximum (inclusive)."},"name":"ts__lte","in":"query"},{"description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Open","description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"open","in":"query"},{"description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Open  Gte","description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. — minimum (inclusive)."},"name":"open__gte","in":"query"},{"description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Open  Lte","description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی. — maximum (inclusive)."},"name":"open__lte","in":"query"},{"description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"High","description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). — exact match; comma-separate several values, `null` for NULL."},"name":"high","in":"query"},{"description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"High  Gte","description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). — minimum (inclusive)."},"name":"high__gte","in":"query"},{"description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"High  Lte","description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز). — maximum (inclusive)."},"name":"high__lte","in":"query"},{"description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Low","description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). — exact match; comma-separate several values, `null` for NULL."},"name":"low","in":"query"},{"description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Low  Gte","description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). — minimum (inclusive)."},"name":"low__gte","in":"query"},{"description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Low  Lte","description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت). — maximum (inclusive)."},"name":"low__lte","in":"query"},{"description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close","description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. — exact match; comma-separate several values, `null` for NULL."},"name":"close","in":"query"},{"description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Gte","description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. — minimum (inclusive)."},"name":"close__gte","in":"query"},{"description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Lte","description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد. — maximum (inclusive)."},"name":"close__lte","in":"query"},{"description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Prev Close","description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. — exact match; comma-separate several values, `null` for NULL."},"name":"prev_close","in":"query"},{"description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Prev Close  Gte","description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. — minimum (inclusive)."},"name":"prev_close__gte","in":"query"},{"description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Prev Close  Lte","description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند. — maximum (inclusive)."},"name":"prev_close__lte","in":"query"},{"description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Value","description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"value","in":"query"},{"description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Gte","description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. — minimum (inclusive)."},"name":"value__gte","in":"query"},{"description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Lte","description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی. — maximum (inclusive)."},"name":"value__lte","in":"query"},{"description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume","description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"volume","in":"query"},{"description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Gte","description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. — minimum (inclusive)."},"name":"volume__gte","in":"query"},{"description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Lte","description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی. — maximum (inclusive)."},"name":"volume__lte","in":"query"},{"description":"تعداد معاملات. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Count","description":"تعداد معاملات. — exact match; comma-separate several values, `null` for NULL."},"name":"trade_count","in":"query"},{"description":"تعداد معاملات. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Gte","description":"تعداد معاملات. — minimum (inclusive)."},"name":"trade_count__gte","in":"query"},{"description":"تعداد معاملات. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Lte","description":"تعداد معاملات. — maximum (inclusive)."},"name":"trade_count__lte","in":"query"},{"description":"منبع: tsetmc، tgju، nobitex، و nobitex_implied برای کندل‌های USDTIRT که از میانهٔ بازار کوین‌ها ساخته شده‌اند (تخت، بی‌حجم). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: tsetmc، tgju، nobitex، و nobitex_implied برای کندل‌های USDTIRT که از میانهٔ بازار کوین‌ها ساخته شده‌اند (تخت، بی‌حجم). — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"},{"description":"درصد تغییر قیمت پایانی نسبت به روز قبل. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Change Pct  Gte","description":"درصد تغییر قیمت پایانی نسبت به روز قبل. — minimum (inclusive)."},"name":"change_pct__gte","in":"query"},{"description":"درصد تغییر قیمت پایانی نسبت به روز قبل. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Change Pct  Lte","description":"درصد تغییر قیمت پایانی نسبت به روز قبل. — maximum (inclusive)."},"name":"change_pct__lte","in":"query"},{"description":"`false` برای کندلی که هنوز تغییر می‌کند: کندل روز جاریِ رمزارز (نوبیتکس) تا پایان روز. بقیهٔ منابع کندل را بعد از پایان روز می‌نویسند و `true` هستند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Final","description":"`false` برای کندلی که هنوز تغییر می‌کند: کندل روز جاریِ رمزارز (نوبیتکس) تا پایان روز. بقیهٔ منابع کندل را بعد از پایان روز می‌نویسند و `true` هستند. — exact match; comma-separate several values, `null` for NULL."},"name":"is_final","in":"query"},{"description":"`true`: کندلِ صندوقی که قیمتش «۱» است با حجم (خطِ دومِ صندوق‌های درآمد ثابت و مانند آن: `open = high = low = close = 1`، `value = volume`). «۱» جایگزینِ خودِ بورس است و قیمت واقعی نیست؛ حدّ مجازِ همان روز (`price_min`، `price_max`) واقعی است و با آن نمی‌خواند. این کندل‌ها را از تحلیل کنار بگذارید (`price_is_placeholder=false`). مقدارِ خودِ منبع دست‌نخورده می‌ماند. درباره‌ی سهام و بقیهٔ کلاس‌ها همیشه `false` است. فقط در خروجی و فیلتر (`fields=`، `price_is_placeholder=false`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Is Placeholder","description":"`true`: کندلِ صندوقی که قیمتش «۱» است با حجم (خطِ دومِ صندوق‌های درآمد ثابت و مانند آن: `open = high = low = close = 1`، `value = volume`). «۱» جایگزینِ خودِ بورس است و قیمت واقعی نیست؛ حدّ مجازِ همان روز (`price_min`، `price_max`) واقعی است و با آن نمی‌خواند. این کندل‌ها را از تحلیل کنار بگذارید (`price_is_placeholder=false`). مقدارِ خودِ منبع دست‌نخورده می‌ماند. درباره‌ی سهام و بقیهٔ کلاس‌ها همیشه `false` است. فقط در خروجی و فیلتر (`fields=`، `price_is_placeholder=false`). — exact match; comma-separate several values, `null` for NULL."},"name":"price_is_placeholder","in":"query"},{"description":"`false` (پیش‌فرض): قیمت خام معامله؛ `true`: قیمت تعدیل‌شده برای افزایش سرمایه و سود؛ `all`: هر دو. — `false` = raw traded prices (default), `true` = adjusted for capital increases and dividends, `all` = both rows.","required":false,"schema":{"type":"string","enum":["false","true","all"],"title":"Adjusted","description":"`false` (پیش‌فرض): قیمت خام معامله؛ `true`: قیمت تعدیل‌شده برای افزایش سرمایه و سود؛ `all`: هر دو. — `false` = raw traded prices (default), `true` = adjusted for capital increases and dividends, `all` = both rows.","default":"false"},"name":"adjusted","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"ts":{"type":"string","format":"date-time","description":"زمان کندل (نیمه‌شب تهران). برای روزانه همان روز معاملاتی."},"resolution":{"type":"string","description":"بازه کندل — فعلاً فقط `1d`."},"adjusted":{"type":"boolean","description":"تعدیل‌شده؟"},"open":{"type":"number","description":"قیمت باز شدن روز. سهام، اختیار و رمزارز: قیمت اولین معامله. tgju: «بازِ» همان روز به گزارش tgju (برابر پایانی روز قبل نیست و ممکن است بیرون از بازهٔ پایین–بالا بیفتد). شاخص‌های بورس: خالی.","nullable":true},"high":{"type":"number","description":"بیشترین قیمت. tgju بازهٔ روز را با مقایسهٔ متنی می‌سازد؛ روزی که از ۱۰۰، ۱٬۰۰۰، ۱۰٬۰۰۰ یا ۱٬۰۰۰٬۰۰۰ بگذرد، بازه به کوچک‌ترین بازه‌ای گسترش یافته که باز و پایانی را هم بگیرد (کران، نه لزوماً بیشینهٔ دقیق روز).","nullable":true},"low":{"type":"number","description":"کمترین قیمت (برای tgju همان توضیح بیشترین قیمت).","nullable":true},"close":{"type":"number","description":"قیمت پایانی. سهام: قیمت پایانی رسمی بورس (میانگین وزنی معاملات پایان جلسه؛ مبنای قیمت دیروز روز بعد) نه آخرین معامله، پس گاهی بیرون از بازهٔ [`low`, `high`] می‌افتد. بقیه: آخرین قیمت دوره. **خطِ دومِ صندوق‌ها** (نمادی که به ۲ ختم می‌شود، مثل `شفق2`): در روزی که معامله شده بورس `open = high = low = close = 1` می‌نویسد و `value = volume` — «۱» قیمت نیست؛ `price_is_placeholder` آن‌ها را نشان می‌دهد.","nullable":true},"prev_close":{"type":"number","description":"قیمت مرجع (دیروز) همان روز: مبنای دامنهٔ نوسان، **نه همیشه پایانی روز قبل**. در روز تعدیل (سود نقدی، افزایش سرمایه) بورس آن را کم می‌کند و همین اختلاف ضریب تعدیل را می‌دهد. در روزهای بی‌معامله (نماد متوقف) منبع گاهی مرجع آخرین روز معامله را تکرار می‌کند و با پایانی روز قبل فرق می‌ماند؛ این‌ها تعدیل نیستند و در ساخت `adjusted` نادیده گرفته می‌شوند.","nullable":true},"value":{"type":"number","description":"ارزش معاملات (ریال). فقط بورس و فرابورس؛ رمزارز، tgju و شاخص‌ها: خالی.","nullable":true},"volume":{"type":"number","description":"حجم معاملات (تعداد سهم/واحد). رمزارز: مقدار ارز پایه (مثلاً تعداد بیت‌کوین برای BTCIRT). tgju و شاخص‌ها: خالی.","nullable":true},"trade_count":{"type":"integer","description":"تعداد معاملات.","nullable":true},"source":{"type":"string","description":"منبع: tsetmc، tgju، nobitex، و nobitex_implied برای کندل‌های USDTIRT که از میانهٔ بازار کوین‌ها ساخته شده‌اند (تخت، بی‌حجم).","nullable":true},"date":{"type":"string","format":"date","description":"روز معاملاتی (میلادی).","nullable":true},"date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true},"change_pct":{"type":"number","description":"درصد تغییر قیمت پایانی نسبت به روز قبل.","nullable":true},"is_final":{"type":"boolean","description":"`false` برای کندلی که هنوز تغییر می‌کند: کندل روز جاریِ رمزارز (نوبیتکس) تا پایان روز. بقیهٔ منابع کندل را بعد از پایان روز می‌نویسند و `true` هستند.","nullable":true},"price_is_placeholder":{"type":"boolean","description":"`true`: کندلِ صندوقی که قیمتش «۱» است با حجم (خطِ دومِ صندوق‌های درآمد ثابت و مانند آن: `open = high = low = close = 1`، `value = volume`). «۱» جایگزینِ خودِ بورس است و قیمت واقعی نیست؛ حدّ مجازِ همان روز (`price_min`، `price_max`) واقعی است و با آن نمی‌خواند. این کندل‌ها را از تحلیل کنار بگذارید (`price_is_placeholder=false`). مقدارِ خودِ منبع دست‌نخورده می‌ماند. درباره‌ی سهام و بقیهٔ کلاس‌ها همیشه `false` است. فقط در خروجی و فیلتر (`fields=`، `price_is_placeholder=false`).","nullable":true},"price_max":{"type":"number","description":"سقف مجاز قیمت همان روز (ریال، مقیاس کندل خام) از `/v1/market/daily-limits`؛ فقط برای کندل خام (`adjusted=false`) سهم، صندوق و حق تقدم. روز قفل بالا: `low = high = price_max`. تهی: بازیابی نشده یا بورس ثبتی ندارد. فقط در خروجی می‌آید (`fields=`)؛ هر ردیف یک جست‌وجو است، برای خروجی بزرگ به آن مسیر بروید.","nullable":true},"price_min":{"type":"number","description":"کف مجاز قیمت همان روز (ریال، مقیاس کندل خام)؛ مثل `price_max`.","nullable":true},"buy_queue_volume":{"type":"number","description":"حجم صف خرید پایان همان روز (سهم) از `/v1/market/daily-book`: سفارش‌های خرید در سقف مجاز بدون فروشنده. ۰: برداشت شد و صف نبود؛ تهی: آن روز برداشت نشده (بورس تاریخچه نمی‌دهد؛ برداشت از روز راه‌اندازی شروع شده). فقط در خروجی (`fields=`).","nullable":true},"sell_queue_volume":{"type":"number","description":"حجم صف فروش پایان همان روز (کف مجاز، بدون خریدار)؛ مثل `buy_queue_volume`.","nullable":true},"symbol_status":{"type":"string","description":"وضعیت نماد در پایان همان روز، با متن بورس («مجاز» و …)؛ حرفش `state_code` در `/v1/market/daily-book` است. تهی: برداشت نشده.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/prices/weekly":{"get":{"tags":["prices"],"summary":"کندل هفتگی (تجمیع‌شده از روزانه) — Weekly bars","description":"تجمیع هفتگی قیمت‌های روزانه. هفته ایرانی است: از شنبه تا جمعه و `bucket` همیشه یک شنبه است (تا ۱۴۰۵/۰۸/۰۴ هفته‌ها دوشنبه‌شروع بودند و هر هفتهٔ معاملاتی را دو نیم می‌کردند). دورهٔ جاری (ناتمام) هم می‌آید و هر ۶ ساعت به‌روز می‌شود: `is_final=false` یعنی هنوز کامل نیست. پیش‌فرض قیمت خام؛ برای تعدیل‌شده `adjusted=true`. تاریخچه از اولین کندل روزانهٔ هر ابزار شروع می‌شود.\n\n**Fast filters (indexed):** `symbol`, `from`, `to`, `instrument_id`, `bucket`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `adjusted` | bool | تعدیل‌شده؟ |\n| `bucket` | ts ⚡ | شروع دوره (به وقت تهران). |\n| `open` | num | اولین قیمت دوره. |\n| `high` | num | بیشترین. |\n| `low` | num | کمترین. |\n| `close` | num | آخرین قیمت پایانی دوره. |\n| `volume` | num | جمع حجم. |\n| `value` | num | جمع ارزش (ریال). |\n| `trade_count` | num | جمع تعداد معاملات. |\n| `date` | date | تاریخ شروع دوره (میلادی). |\n| `date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `is_final` | bool | `false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_prices_weekly","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`bucket`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`bucket`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `bucket`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `bucket`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"شروع دوره (به وقت تهران). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bucket","description":"شروع دوره (به وقت تهران). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"bucket","in":"query"},{"description":"شروع دوره (به وقت تهران). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bucket  Gte","description":"شروع دوره (به وقت تهران). — minimum (inclusive). ⚡ indexed."},"name":"bucket__gte","in":"query"},{"description":"شروع دوره (به وقت تهران). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Bucket  Lte","description":"شروع دوره (به وقت تهران). — maximum (inclusive)."},"name":"bucket__lte","in":"query"},{"description":"اولین قیمت دوره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Open","description":"اولین قیمت دوره. — exact match; comma-separate several values, `null` for NULL."},"name":"open","in":"query"},{"description":"اولین قیمت دوره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Open  Gte","description":"اولین قیمت دوره. — minimum (inclusive)."},"name":"open__gte","in":"query"},{"description":"اولین قیمت دوره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Open  Lte","description":"اولین قیمت دوره. — maximum (inclusive)."},"name":"open__lte","in":"query"},{"description":"بیشترین. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"High","description":"بیشترین. — exact match; comma-separate several values, `null` for NULL."},"name":"high","in":"query"},{"description":"بیشترین. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"High  Gte","description":"بیشترین. — minimum (inclusive)."},"name":"high__gte","in":"query"},{"description":"بیشترین. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"High  Lte","description":"بیشترین. — maximum (inclusive)."},"name":"high__lte","in":"query"},{"description":"کمترین. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Low","description":"کمترین. — exact match; comma-separate several values, `null` for NULL."},"name":"low","in":"query"},{"description":"کمترین. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Low  Gte","description":"کمترین. — minimum (inclusive)."},"name":"low__gte","in":"query"},{"description":"کمترین. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Low  Lte","description":"کمترین. — maximum (inclusive)."},"name":"low__lte","in":"query"},{"description":"آخرین قیمت پایانی دوره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close","description":"آخرین قیمت پایانی دوره. — exact match; comma-separate several values, `null` for NULL."},"name":"close","in":"query"},{"description":"آخرین قیمت پایانی دوره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Gte","description":"آخرین قیمت پایانی دوره. — minimum (inclusive)."},"name":"close__gte","in":"query"},{"description":"آخرین قیمت پایانی دوره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Lte","description":"آخرین قیمت پایانی دوره. — maximum (inclusive)."},"name":"close__lte","in":"query"},{"description":"جمع حجم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume","description":"جمع حجم. — exact match; comma-separate several values, `null` for NULL."},"name":"volume","in":"query"},{"description":"جمع حجم. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Gte","description":"جمع حجم. — minimum (inclusive)."},"name":"volume__gte","in":"query"},{"description":"جمع حجم. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Lte","description":"جمع حجم. — maximum (inclusive)."},"name":"volume__lte","in":"query"},{"description":"جمع ارزش (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Value","description":"جمع ارزش (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"value","in":"query"},{"description":"جمع ارزش (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Gte","description":"جمع ارزش (ریال). — minimum (inclusive)."},"name":"value__gte","in":"query"},{"description":"جمع ارزش (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Lte","description":"جمع ارزش (ریال). — maximum (inclusive)."},"name":"value__lte","in":"query"},{"description":"جمع تعداد معاملات. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Count","description":"جمع تعداد معاملات. — exact match; comma-separate several values, `null` for NULL."},"name":"trade_count","in":"query"},{"description":"جمع تعداد معاملات. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Gte","description":"جمع تعداد معاملات. — minimum (inclusive)."},"name":"trade_count__gte","in":"query"},{"description":"جمع تعداد معاملات. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Lte","description":"جمع تعداد معاملات. — maximum (inclusive)."},"name":"trade_count__lte","in":"query"},{"description":"`false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Final","description":"`false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند. — exact match; comma-separate several values, `null` for NULL."},"name":"is_final","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"},{"description":"`false` (پیش‌فرض): قیمت خام معامله؛ `true`: قیمت تعدیل‌شده برای افزایش سرمایه و سود؛ `all`: هر دو. — `false` = raw traded prices (default), `true` = adjusted for capital increases and dividends, `all` = both rows.","required":false,"schema":{"type":"string","enum":["false","true","all"],"title":"Adjusted","description":"`false` (پیش‌فرض): قیمت خام معامله؛ `true`: قیمت تعدیل‌شده برای افزایش سرمایه و سود؛ `all`: هر دو. — `false` = raw traded prices (default), `true` = adjusted for capital increases and dividends, `all` = both rows.","default":"false"},"name":"adjusted","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"adjusted":{"type":"boolean","description":"تعدیل‌شده؟"},"bucket":{"type":"string","format":"date-time","description":"شروع دوره (به وقت تهران)."},"open":{"type":"number","description":"اولین قیمت دوره.","nullable":true},"high":{"type":"number","description":"بیشترین.","nullable":true},"low":{"type":"number","description":"کمترین.","nullable":true},"close":{"type":"number","description":"آخرین قیمت پایانی دوره.","nullable":true},"volume":{"type":"number","description":"جمع حجم.","nullable":true},"value":{"type":"number","description":"جمع ارزش (ریال).","nullable":true},"trade_count":{"type":"number","description":"جمع تعداد معاملات.","nullable":true},"date":{"type":"string","format":"date","description":"تاریخ شروع دوره (میلادی).","nullable":true},"date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"is_final":{"type":"boolean","description":"`false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/prices/monthly":{"get":{"tags":["prices"],"summary":"کندل ماهانه (تجمیع‌شده از روزانه) — Monthly bars","description":"تجمیع ماهانهٔ قیمت‌های روزانه. ماه **میلادی** است، نه شمسی (ماه شمسی طول ثابت ندارد و تجمیع پیوسته نمی‌تواند آن را بسازد): `bucket` روز اول ماه میلادی است (2026-09-01 = سپتامبر ۲۰۲۶، یعنی ۱۴۰۵/۰۶/۱۰ تا ۱۴۰۵/۰۷/۰۸)؛ این جدول از هفتگی ساخته نمی‌شود و به شنبه ربطی ندارد. دورهٔ جاری (ناتمام) هم می‌آید و هر ۶ ساعت به‌روز می‌شود: `is_final=false` یعنی هنوز کامل نیست. پیش‌فرض قیمت خام؛ برای تعدیل‌شده `adjusted=true`. تاریخچه از اولین کندل روزانهٔ هر ابزار شروع می‌شود.\n\n**Fast filters (indexed):** `symbol`, `from`, `to`, `instrument_id`, `bucket`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `adjusted` | bool | تعدیل‌شده؟ |\n| `bucket` | ts ⚡ | شروع دوره (به وقت تهران). |\n| `open` | num | اولین قیمت دوره. |\n| `high` | num | بیشترین. |\n| `low` | num | کمترین. |\n| `close` | num | آخرین قیمت پایانی دوره. |\n| `volume` | num | جمع حجم. |\n| `value` | num | جمع ارزش (ریال). |\n| `trade_count` | num | جمع تعداد معاملات. |\n| `date` | date | تاریخ شروع دوره (میلادی). |\n| `date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `is_final` | bool | `false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_prices_monthly","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`bucket`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`bucket`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `bucket`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `bucket`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"شروع دوره (به وقت تهران). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bucket","description":"شروع دوره (به وقت تهران). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"bucket","in":"query"},{"description":"شروع دوره (به وقت تهران). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bucket  Gte","description":"شروع دوره (به وقت تهران). — minimum (inclusive). ⚡ indexed."},"name":"bucket__gte","in":"query"},{"description":"شروع دوره (به وقت تهران). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Bucket  Lte","description":"شروع دوره (به وقت تهران). — maximum (inclusive)."},"name":"bucket__lte","in":"query"},{"description":"اولین قیمت دوره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Open","description":"اولین قیمت دوره. — exact match; comma-separate several values, `null` for NULL."},"name":"open","in":"query"},{"description":"اولین قیمت دوره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Open  Gte","description":"اولین قیمت دوره. — minimum (inclusive)."},"name":"open__gte","in":"query"},{"description":"اولین قیمت دوره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Open  Lte","description":"اولین قیمت دوره. — maximum (inclusive)."},"name":"open__lte","in":"query"},{"description":"بیشترین. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"High","description":"بیشترین. — exact match; comma-separate several values, `null` for NULL."},"name":"high","in":"query"},{"description":"بیشترین. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"High  Gte","description":"بیشترین. — minimum (inclusive)."},"name":"high__gte","in":"query"},{"description":"بیشترین. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"High  Lte","description":"بیشترین. — maximum (inclusive)."},"name":"high__lte","in":"query"},{"description":"کمترین. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Low","description":"کمترین. — exact match; comma-separate several values, `null` for NULL."},"name":"low","in":"query"},{"description":"کمترین. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Low  Gte","description":"کمترین. — minimum (inclusive)."},"name":"low__gte","in":"query"},{"description":"کمترین. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Low  Lte","description":"کمترین. — maximum (inclusive)."},"name":"low__lte","in":"query"},{"description":"آخرین قیمت پایانی دوره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close","description":"آخرین قیمت پایانی دوره. — exact match; comma-separate several values, `null` for NULL."},"name":"close","in":"query"},{"description":"آخرین قیمت پایانی دوره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Gte","description":"آخرین قیمت پایانی دوره. — minimum (inclusive)."},"name":"close__gte","in":"query"},{"description":"آخرین قیمت پایانی دوره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Lte","description":"آخرین قیمت پایانی دوره. — maximum (inclusive)."},"name":"close__lte","in":"query"},{"description":"جمع حجم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume","description":"جمع حجم. — exact match; comma-separate several values, `null` for NULL."},"name":"volume","in":"query"},{"description":"جمع حجم. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Gte","description":"جمع حجم. — minimum (inclusive)."},"name":"volume__gte","in":"query"},{"description":"جمع حجم. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Lte","description":"جمع حجم. — maximum (inclusive)."},"name":"volume__lte","in":"query"},{"description":"جمع ارزش (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Value","description":"جمع ارزش (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"value","in":"query"},{"description":"جمع ارزش (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Gte","description":"جمع ارزش (ریال). — minimum (inclusive)."},"name":"value__gte","in":"query"},{"description":"جمع ارزش (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Lte","description":"جمع ارزش (ریال). — maximum (inclusive)."},"name":"value__lte","in":"query"},{"description":"جمع تعداد معاملات. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Count","description":"جمع تعداد معاملات. — exact match; comma-separate several values, `null` for NULL."},"name":"trade_count","in":"query"},{"description":"جمع تعداد معاملات. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Gte","description":"جمع تعداد معاملات. — minimum (inclusive)."},"name":"trade_count__gte","in":"query"},{"description":"جمع تعداد معاملات. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Lte","description":"جمع تعداد معاملات. — maximum (inclusive)."},"name":"trade_count__lte","in":"query"},{"description":"`false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Final","description":"`false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند. — exact match; comma-separate several values, `null` for NULL."},"name":"is_final","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"},{"description":"`false` (پیش‌فرض): قیمت خام معامله؛ `true`: قیمت تعدیل‌شده برای افزایش سرمایه و سود؛ `all`: هر دو. — `false` = raw traded prices (default), `true` = adjusted for capital increases and dividends, `all` = both rows.","required":false,"schema":{"type":"string","enum":["false","true","all"],"title":"Adjusted","description":"`false` (پیش‌فرض): قیمت خام معامله؛ `true`: قیمت تعدیل‌شده برای افزایش سرمایه و سود؛ `all`: هر دو. — `false` = raw traded prices (default), `true` = adjusted for capital increases and dividends, `all` = both rows.","default":"false"},"name":"adjusted","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"adjusted":{"type":"boolean","description":"تعدیل‌شده؟"},"bucket":{"type":"string","format":"date-time","description":"شروع دوره (به وقت تهران)."},"open":{"type":"number","description":"اولین قیمت دوره.","nullable":true},"high":{"type":"number","description":"بیشترین.","nullable":true},"low":{"type":"number","description":"کمترین.","nullable":true},"close":{"type":"number","description":"آخرین قیمت پایانی دوره.","nullable":true},"volume":{"type":"number","description":"جمع حجم.","nullable":true},"value":{"type":"number","description":"جمع ارزش (ریال).","nullable":true},"trade_count":{"type":"number","description":"جمع تعداد معاملات.","nullable":true},"date":{"type":"string","format":"date","description":"تاریخ شروع دوره (میلادی).","nullable":true},"date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"is_final":{"type":"boolean","description":"`false` برای دورهٔ جاری که هنوز تمام نشده و با هر روز تازه تغییر می‌کند.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/prices/quotes":{"get":{"tags":["prices"],"summary":"تصویر لحظه‌ای بازار (قیمت، سفارش‌ها، P/E) — Quote snapshots","description":"روزی دو بار (حدود ۱۶:۳۰ و ۲۳:۳۰، پس از پایان جلسه) تصویر کامل بازار برداشته می‌شود؛ از ۱۴۰۵/۰۴/۰۸. `latest=true` آخرین تصویر را می‌دهد؛ `symbol=` + `from=`/`to=` تاریخچه یک نماد را. برای تاریخچهٔ قیمت از کندل روزانه استفاده کنید. تصویرهای قبل از ۱۴۰۵/۰۸/۰۴ با نگاشت اشتباه ذخیره شده بودند: حجم و ارزش جابه‌جا بود و آخرین قیمت، قیمت پایانی، تعداد معامله و ارزش بازار صفر بود. حجم و ارزش در آن ردیف‌ها اصلاح شد و آن چهار ستون برای تصویرهای قدیمی خالی مانده است (بازسازی نشده).\n\n**Fast filters (indexed):** `symbol`, `latest`, `from`, `to`, `instrument_id`, `ts`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `ts` | ts ⚡ | زمان برداشت تصویر. |\n| `last_price` | num | آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). |\n| `close_price` | num | قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). |\n| `yesterday_price` | num | قیمت دیروز (مبنای دامنهٔ نوسان امروز). |\n| `first_price` | num | قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). |\n| `min_price` | num | کمترین قیمت معامله‌شدهٔ امروز. |\n| `max_price` | num | بیشترین قیمت معامله‌شدهٔ امروز. |\n| `allowed_min` | num | حد پایین مجاز نوسان. |\n| `allowed_max` | num | حد بالای مجاز نوسان. |\n| `volume` | num | حجم معاملات امروز (تعداد سهم/واحد). |\n| `value` | num | ارزش معاملات امروز (ریال). |\n| `trade_count` | int | تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). |\n| `best_bid` | num | بهترین قیمت خرید (خالی اگر سفارشی نیست). |\n| `best_ask` | num | بهترین قیمت فروش (خالی اگر سفارشی نیست). |\n| `eps` | num | سود هر سهم. |\n| `pe` | num | P/E. |\n| `market_cap` | num | ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. |\n| `state` | text | وضعیت نماد (مجاز، ممنوع، …). |\n| `source` | text | منبع. |\n| `ts_jalali` | text | تاریخ شمسی برداشت. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_prices_quotes","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`ts`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`ts`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `ts`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `ts`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"زمان برداشت تصویر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Ts","description":"زمان برداشت تصویر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"ts","in":"query"},{"description":"زمان برداشت تصویر. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Ts  Gte","description":"زمان برداشت تصویر. — minimum (inclusive). ⚡ indexed."},"name":"ts__gte","in":"query"},{"description":"زمان برداشت تصویر. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ts  Lte","description":"زمان برداشت تصویر. — maximum (inclusive)."},"name":"ts__lte","in":"query"},{"description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Price","description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — exact match; comma-separate several values, `null` for NULL."},"name":"last_price","in":"query"},{"description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Gte","description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — minimum (inclusive)."},"name":"last_price__gte","in":"query"},{"description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Lte","description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — maximum (inclusive)."},"name":"last_price__lte","in":"query"},{"description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close Price","description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — exact match; comma-separate several values, `null` for NULL."},"name":"close_price","in":"query"},{"description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Gte","description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — minimum (inclusive)."},"name":"close_price__gte","in":"query"},{"description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Lte","description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی). — maximum (inclusive)."},"name":"close_price__lte","in":"query"},{"description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Yesterday Price","description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز). — exact match; comma-separate several values, `null` for NULL."},"name":"yesterday_price","in":"query"},{"description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Gte","description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز). — minimum (inclusive)."},"name":"yesterday_price__gte","in":"query"},{"description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Lte","description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز). — maximum (inclusive)."},"name":"yesterday_price__lte","in":"query"},{"description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Price","description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). — exact match; comma-separate several values, `null` for NULL."},"name":"first_price","in":"query"},{"description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Price  Gte","description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). — minimum (inclusive)."},"name":"first_price__gte","in":"query"},{"description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Price  Lte","description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده). — maximum (inclusive)."},"name":"first_price__lte","in":"query"},{"description":"کمترین قیمت معامله‌شدهٔ امروز. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Price","description":"کمترین قیمت معامله‌شدهٔ امروز. — exact match; comma-separate several values, `null` for NULL."},"name":"min_price","in":"query"},{"description":"کمترین قیمت معامله‌شدهٔ امروز. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Gte","description":"کمترین قیمت معامله‌شدهٔ امروز. — minimum (inclusive)."},"name":"min_price__gte","in":"query"},{"description":"کمترین قیمت معامله‌شدهٔ امروز. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Lte","description":"کمترین قیمت معامله‌شدهٔ امروز. — maximum (inclusive)."},"name":"min_price__lte","in":"query"},{"description":"بیشترین قیمت معامله‌شدهٔ امروز. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Price","description":"بیشترین قیمت معامله‌شدهٔ امروز. — exact match; comma-separate several values, `null` for NULL."},"name":"max_price","in":"query"},{"description":"بیشترین قیمت معامله‌شدهٔ امروز. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Gte","description":"بیشترین قیمت معامله‌شدهٔ امروز. — minimum (inclusive)."},"name":"max_price__gte","in":"query"},{"description":"بیشترین قیمت معامله‌شدهٔ امروز. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Lte","description":"بیشترین قیمت معامله‌شدهٔ امروز. — maximum (inclusive)."},"name":"max_price__lte","in":"query"},{"description":"حد پایین مجاز نوسان. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Allowed Min","description":"حد پایین مجاز نوسان. — exact match; comma-separate several values, `null` for NULL."},"name":"allowed_min","in":"query"},{"description":"حد پایین مجاز نوسان. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Allowed Min  Gte","description":"حد پایین مجاز نوسان. — minimum (inclusive)."},"name":"allowed_min__gte","in":"query"},{"description":"حد پایین مجاز نوسان. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Allowed Min  Lte","description":"حد پایین مجاز نوسان. — maximum (inclusive)."},"name":"allowed_min__lte","in":"query"},{"description":"حد بالای مجاز نوسان. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Allowed Max","description":"حد بالای مجاز نوسان. — exact match; comma-separate several values, `null` for NULL."},"name":"allowed_max","in":"query"},{"description":"حد بالای مجاز نوسان. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Allowed Max  Gte","description":"حد بالای مجاز نوسان. — minimum (inclusive)."},"name":"allowed_max__gte","in":"query"},{"description":"حد بالای مجاز نوسان. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Allowed Max  Lte","description":"حد بالای مجاز نوسان. — maximum (inclusive)."},"name":"allowed_max__lte","in":"query"},{"description":"حجم معاملات امروز (تعداد سهم/واحد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume","description":"حجم معاملات امروز (تعداد سهم/واحد). — exact match; comma-separate several values, `null` for NULL."},"name":"volume","in":"query"},{"description":"حجم معاملات امروز (تعداد سهم/واحد). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Gte","description":"حجم معاملات امروز (تعداد سهم/واحد). — minimum (inclusive)."},"name":"volume__gte","in":"query"},{"description":"حجم معاملات امروز (تعداد سهم/واحد). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Lte","description":"حجم معاملات امروز (تعداد سهم/واحد). — maximum (inclusive)."},"name":"volume__lte","in":"query"},{"description":"ارزش معاملات امروز (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Value","description":"ارزش معاملات امروز (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"value","in":"query"},{"description":"ارزش معاملات امروز (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Gte","description":"ارزش معاملات امروز (ریال). — minimum (inclusive)."},"name":"value__gte","in":"query"},{"description":"ارزش معاملات امروز (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Lte","description":"ارزش معاملات امروز (ریال). — maximum (inclusive)."},"name":"value__lte","in":"query"},{"description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Count","description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). — exact match; comma-separate several values, `null` for NULL."},"name":"trade_count","in":"query"},{"description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Gte","description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). — minimum (inclusive)."},"name":"trade_count__gte","in":"query"},{"description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Count  Lte","description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی). — maximum (inclusive)."},"name":"trade_count__lte","in":"query"},{"description":"بهترین قیمت خرید (خالی اگر سفارشی نیست). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Bid","description":"بهترین قیمت خرید (خالی اگر سفارشی نیست). — exact match; comma-separate several values, `null` for NULL."},"name":"best_bid","in":"query"},{"description":"بهترین قیمت خرید (خالی اگر سفارشی نیست). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid  Gte","description":"بهترین قیمت خرید (خالی اگر سفارشی نیست). — minimum (inclusive)."},"name":"best_bid__gte","in":"query"},{"description":"بهترین قیمت خرید (خالی اگر سفارشی نیست). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid  Lte","description":"بهترین قیمت خرید (خالی اگر سفارشی نیست). — maximum (inclusive)."},"name":"best_bid__lte","in":"query"},{"description":"بهترین قیمت فروش (خالی اگر سفارشی نیست). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Ask","description":"بهترین قیمت فروش (خالی اگر سفارشی نیست). — exact match; comma-separate several values, `null` for NULL."},"name":"best_ask","in":"query"},{"description":"بهترین قیمت فروش (خالی اگر سفارشی نیست). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask  Gte","description":"بهترین قیمت فروش (خالی اگر سفارشی نیست). — minimum (inclusive)."},"name":"best_ask__gte","in":"query"},{"description":"بهترین قیمت فروش (خالی اگر سفارشی نیست). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask  Lte","description":"بهترین قیمت فروش (خالی اگر سفارشی نیست). — maximum (inclusive)."},"name":"best_ask__lte","in":"query"},{"description":"سود هر سهم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Eps","description":"سود هر سهم. — exact match; comma-separate several values, `null` for NULL."},"name":"eps","in":"query"},{"description":"سود هر سهم. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Eps  Gte","description":"سود هر سهم. — minimum (inclusive)."},"name":"eps__gte","in":"query"},{"description":"سود هر سهم. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Eps  Lte","description":"سود هر سهم. — maximum (inclusive)."},"name":"eps__lte","in":"query"},{"description":"P/E. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pe","description":"P/E. — exact match; comma-separate several values, `null` for NULL."},"name":"pe","in":"query"},{"description":"P/E. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pe  Gte","description":"P/E. — minimum (inclusive)."},"name":"pe__gte","in":"query"},{"description":"P/E. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pe  Lte","description":"P/E. — maximum (inclusive)."},"name":"pe__lte","in":"query"},{"description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Cap","description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"market_cap","in":"query"},{"description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Market Cap  Gte","description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. — minimum (inclusive)."},"name":"market_cap__gte","in":"query"},{"description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Market Cap  Lte","description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی. — maximum (inclusive)."},"name":"market_cap__lte","in":"query"},{"description":"وضعیت نماد (مجاز، ممنوع، …). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"State","description":"وضعیت نماد (مجاز، ممنوع، …). — exact match; comma-separate several values, `null` for NULL."},"name":"state","in":"query"},{"description":"منبع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"},{"description":"فقط آخرین تصویر بازار (همهٔ ابزارها در همان لحظه برداشت). — Only the most recent snapshot (every instrument at the last collection time).","required":false,"schema":{"type":"boolean","title":"Latest","description":"فقط آخرین تصویر بازار (همهٔ ابزارها در همان لحظه برداشت). — Only the most recent snapshot (every instrument at the last collection time)."},"name":"latest","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"ts":{"type":"string","format":"date-time","description":"زمان برداشت تصویر."},"last_price":{"type":"number","description":"آخرین قیمت معامله (خالی اگر قیمتی نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی).","nullable":true},"close_price":{"type":"number","description":"قیمت پایانی (خالی اگر نبوده؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ همیشه خالی).","nullable":true},"yesterday_price":{"type":"number","description":"قیمت دیروز (مبنای دامنهٔ نوسان امروز).","nullable":true},"first_price":{"type":"number","description":"قیمت اولین معامله امروز (خالی اگر معامله‌ای نشده).","nullable":true},"min_price":{"type":"number","description":"کمترین قیمت معامله‌شدهٔ امروز.","nullable":true},"max_price":{"type":"number","description":"بیشترین قیمت معامله‌شدهٔ امروز.","nullable":true},"allowed_min":{"type":"number","description":"حد پایین مجاز نوسان.","nullable":true},"allowed_max":{"type":"number","description":"حد بالای مجاز نوسان.","nullable":true},"volume":{"type":"number","description":"حجم معاملات امروز (تعداد سهم/واحد).","nullable":true},"value":{"type":"number","description":"ارزش معاملات امروز (ریال).","nullable":true},"trade_count":{"type":"integer","description":"تعداد معاملات امروز (برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی).","nullable":true},"best_bid":{"type":"number","description":"بهترین قیمت خرید (خالی اگر سفارشی نیست).","nullable":true},"best_ask":{"type":"number","description":"بهترین قیمت فروش (خالی اگر سفارشی نیست).","nullable":true},"eps":{"type":"number","description":"سود هر سهم.","nullable":true},"pe":{"type":"number","description":"P/E.","nullable":true},"market_cap":{"type":"number","description":"ارزش بازار = تعداد سهم × قیمت پایانی (یا آخرین معامله اگر پایانی نیست)؛ برای تصاویر قبل از ۱۴۰۵/۰۸/۰۴ خالی.","nullable":true},"state":{"type":"string","description":"وضعیت نماد (مجاز، ممنوع، …).","nullable":true},"source":{"type":"string","description":"منبع.","nullable":true},"ts_jalali":{"type":"string","description":"تاریخ شمسی برداشت.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/client-type":{"get":{"tags":["market"],"summary":"جریان حقیقی / حقوقی روزانه — Individual vs legal flows","description":"تفکیک خرید و فروش حقیقی (`ind_*`) و حقوقی (`corp_*`) به‌ازای هر نماد و روز، از ۲۰۰۸ — فقط سهام.\n\nهر شب بعد از کندل‌ها به‌روز می‌شود (۱۰ روز اخیر هر سهمی که معامله داشته)، و هر هفته ۲۵ روز اخیر همهٔ سهم‌ها بازبینی می‌شود؛\nتازه‌ترین روز این جدول با تازه‌ترین کندل سهم‌ها یکی است.\n\nدر بیشتر روزها جمع خرید و جمع فروش با حجم و ارزش `/v1/prices/daily` برابرند (۹۹٫۷٪ روزها). استثناهای منبع که اصلاح نشده‌اند:\n\n- **یک طرف خالی (null).** منبع در ۴۰۲ روز یک طرف را نفرستاده (همهٔ ستون‌های خرید صفر بود در حالی که فروش پر بود: ۲۹۸ سهم در\n  ۱۳۹۸/۱۰/۲۳ = 2020-01-13، ۱۰۳ سهم در ۱۳۹۹/۰۳/۰۷ = 2020-05-27 و یک مورد دیگر). هر سهمی که فروخته شود خریدار دارد، پس آن صفرها\n  را «کسی نخرید» نخوانید؛ ستون‌های آن طرف **null** (نامعلوم) گذاشته شده‌اند. صفر یعنی واقعاً صفر.\n- **اختلاف با جدول قیمت.** حجم حقیقی/حقوقی در چند روز با حجم کندل فرق دارد (2013-09-17 در هر پنج سهم بزرگ، 2017 و 2020 چند روز)؛ جمع\n  خرید و فروش در 2020-05-04 و 2020-05-13 اندکی نابرابر است.\n- **روز جاافتاده.** چند روز معاملاتی که سهم حجم داشته ردیف حقیقی/حقوقی ندارد (فولاد 2022-02-08، شپنا و فولاد روزهای پراکنده تا ۲۰۰۹)؛\n  منبع آن‌ها را نمی‌دهد و پر نشده‌اند.\n\nبرای آخرین روزها: `symbol=…&order_by=-trade_date&limit=30`.\n\n**Fast filters (indexed):** `symbol`, `instrument_id`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `trade_date` | date | روز معاملاتی. |\n| `ind_buy_count` | int | تعداد خریداران حقیقی. |\n| `ind_buy_vol` | num | حجم خرید حقیقی. |\n| `ind_buy_val` | num | ارزش خرید حقیقی (ریال). |\n| `ind_sell_count` | int | تعداد فروشندگان حقیقی. |\n| `ind_sell_vol` | num | حجم فروش حقیقی. |\n| `ind_sell_val` | num | ارزش فروش حقیقی (ریال). |\n| `corp_buy_count` | int | تعداد خریداران حقوقی. |\n| `corp_buy_vol` | num | حجم خرید حقوقی. |\n| `corp_buy_val` | num | ارزش خرید حقوقی (ریال). |\n| `corp_sell_count` | int | تعداد فروشندگان حقوقی. |\n| `corp_sell_vol` | num | حجم فروش حقوقی. |\n| `corp_sell_val` | num | ارزش فروش حقوقی (ریال). |\n| `source` | text | منبع. |\n| `trade_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_client_type","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`trade_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`trade_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `trade_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `trade_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"روز معاملاتی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Date","description":"روز معاملاتی. — exact match; comma-separate several values, `null` for NULL."},"name":"trade_date","in":"query"},{"description":"روز معاملاتی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date  Gte","description":"روز معاملاتی. — minimum (inclusive)."},"name":"trade_date__gte","in":"query"},{"description":"روز معاملاتی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date  Lte","description":"روز معاملاتی. — maximum (inclusive)."},"name":"trade_date__lte","in":"query"},{"description":"تعداد خریداران حقیقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ind Buy Count","description":"تعداد خریداران حقیقی. — exact match; comma-separate several values, `null` for NULL."},"name":"ind_buy_count","in":"query"},{"description":"تعداد خریداران حقیقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Buy Count  Gte","description":"تعداد خریداران حقیقی. — minimum (inclusive)."},"name":"ind_buy_count__gte","in":"query"},{"description":"تعداد خریداران حقیقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Buy Count  Lte","description":"تعداد خریداران حقیقی. — maximum (inclusive)."},"name":"ind_buy_count__lte","in":"query"},{"description":"حجم خرید حقیقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ind Buy Vol","description":"حجم خرید حقیقی. — exact match; comma-separate several values, `null` for NULL."},"name":"ind_buy_vol","in":"query"},{"description":"حجم خرید حقیقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Buy Vol  Gte","description":"حجم خرید حقیقی. — minimum (inclusive)."},"name":"ind_buy_vol__gte","in":"query"},{"description":"حجم خرید حقیقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Buy Vol  Lte","description":"حجم خرید حقیقی. — maximum (inclusive)."},"name":"ind_buy_vol__lte","in":"query"},{"description":"ارزش خرید حقیقی (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ind Buy Val","description":"ارزش خرید حقیقی (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"ind_buy_val","in":"query"},{"description":"ارزش خرید حقیقی (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Buy Val  Gte","description":"ارزش خرید حقیقی (ریال). — minimum (inclusive)."},"name":"ind_buy_val__gte","in":"query"},{"description":"ارزش خرید حقیقی (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Buy Val  Lte","description":"ارزش خرید حقیقی (ریال). — maximum (inclusive)."},"name":"ind_buy_val__lte","in":"query"},{"description":"تعداد فروشندگان حقیقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ind Sell Count","description":"تعداد فروشندگان حقیقی. — exact match; comma-separate several values, `null` for NULL."},"name":"ind_sell_count","in":"query"},{"description":"تعداد فروشندگان حقیقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Sell Count  Gte","description":"تعداد فروشندگان حقیقی. — minimum (inclusive)."},"name":"ind_sell_count__gte","in":"query"},{"description":"تعداد فروشندگان حقیقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Sell Count  Lte","description":"تعداد فروشندگان حقیقی. — maximum (inclusive)."},"name":"ind_sell_count__lte","in":"query"},{"description":"حجم فروش حقیقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ind Sell Vol","description":"حجم فروش حقیقی. — exact match; comma-separate several values, `null` for NULL."},"name":"ind_sell_vol","in":"query"},{"description":"حجم فروش حقیقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Sell Vol  Gte","description":"حجم فروش حقیقی. — minimum (inclusive)."},"name":"ind_sell_vol__gte","in":"query"},{"description":"حجم فروش حقیقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Sell Vol  Lte","description":"حجم فروش حقیقی. — maximum (inclusive)."},"name":"ind_sell_vol__lte","in":"query"},{"description":"ارزش فروش حقیقی (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ind Sell Val","description":"ارزش فروش حقیقی (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"ind_sell_val","in":"query"},{"description":"ارزش فروش حقیقی (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Sell Val  Gte","description":"ارزش فروش حقیقی (ریال). — minimum (inclusive)."},"name":"ind_sell_val__gte","in":"query"},{"description":"ارزش فروش حقیقی (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ind Sell Val  Lte","description":"ارزش فروش حقیقی (ریال). — maximum (inclusive)."},"name":"ind_sell_val__lte","in":"query"},{"description":"تعداد خریداران حقوقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Corp Buy Count","description":"تعداد خریداران حقوقی. — exact match; comma-separate several values, `null` for NULL."},"name":"corp_buy_count","in":"query"},{"description":"تعداد خریداران حقوقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Buy Count  Gte","description":"تعداد خریداران حقوقی. — minimum (inclusive)."},"name":"corp_buy_count__gte","in":"query"},{"description":"تعداد خریداران حقوقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Buy Count  Lte","description":"تعداد خریداران حقوقی. — maximum (inclusive)."},"name":"corp_buy_count__lte","in":"query"},{"description":"حجم خرید حقوقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Corp Buy Vol","description":"حجم خرید حقوقی. — exact match; comma-separate several values, `null` for NULL."},"name":"corp_buy_vol","in":"query"},{"description":"حجم خرید حقوقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Buy Vol  Gte","description":"حجم خرید حقوقی. — minimum (inclusive)."},"name":"corp_buy_vol__gte","in":"query"},{"description":"حجم خرید حقوقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Buy Vol  Lte","description":"حجم خرید حقوقی. — maximum (inclusive)."},"name":"corp_buy_vol__lte","in":"query"},{"description":"ارزش خرید حقوقی (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Corp Buy Val","description":"ارزش خرید حقوقی (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"corp_buy_val","in":"query"},{"description":"ارزش خرید حقوقی (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Buy Val  Gte","description":"ارزش خرید حقوقی (ریال). — minimum (inclusive)."},"name":"corp_buy_val__gte","in":"query"},{"description":"ارزش خرید حقوقی (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Buy Val  Lte","description":"ارزش خرید حقوقی (ریال). — maximum (inclusive)."},"name":"corp_buy_val__lte","in":"query"},{"description":"تعداد فروشندگان حقوقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Corp Sell Count","description":"تعداد فروشندگان حقوقی. — exact match; comma-separate several values, `null` for NULL."},"name":"corp_sell_count","in":"query"},{"description":"تعداد فروشندگان حقوقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Sell Count  Gte","description":"تعداد فروشندگان حقوقی. — minimum (inclusive)."},"name":"corp_sell_count__gte","in":"query"},{"description":"تعداد فروشندگان حقوقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Sell Count  Lte","description":"تعداد فروشندگان حقوقی. — maximum (inclusive)."},"name":"corp_sell_count__lte","in":"query"},{"description":"حجم فروش حقوقی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Corp Sell Vol","description":"حجم فروش حقوقی. — exact match; comma-separate several values, `null` for NULL."},"name":"corp_sell_vol","in":"query"},{"description":"حجم فروش حقوقی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Sell Vol  Gte","description":"حجم فروش حقوقی. — minimum (inclusive)."},"name":"corp_sell_vol__gte","in":"query"},{"description":"حجم فروش حقوقی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Sell Vol  Lte","description":"حجم فروش حقوقی. — maximum (inclusive)."},"name":"corp_sell_vol__lte","in":"query"},{"description":"ارزش فروش حقوقی (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Corp Sell Val","description":"ارزش فروش حقوقی (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"corp_sell_val","in":"query"},{"description":"ارزش فروش حقوقی (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Sell Val  Gte","description":"ارزش فروش حقوقی (ریال). — minimum (inclusive)."},"name":"corp_sell_val__gte","in":"query"},{"description":"ارزش فروش حقوقی (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Corp Sell Val  Lte","description":"ارزش فروش حقوقی (ریال). — maximum (inclusive)."},"name":"corp_sell_val__lte","in":"query"},{"description":"منبع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"trade_date":{"type":"string","format":"date","description":"روز معاملاتی."},"ind_buy_count":{"type":"integer","description":"تعداد خریداران حقیقی.","nullable":true},"ind_buy_vol":{"type":"number","description":"حجم خرید حقیقی.","nullable":true},"ind_buy_val":{"type":"number","description":"ارزش خرید حقیقی (ریال).","nullable":true},"ind_sell_count":{"type":"integer","description":"تعداد فروشندگان حقیقی.","nullable":true},"ind_sell_vol":{"type":"number","description":"حجم فروش حقیقی.","nullable":true},"ind_sell_val":{"type":"number","description":"ارزش فروش حقیقی (ریال).","nullable":true},"corp_buy_count":{"type":"integer","description":"تعداد خریداران حقوقی.","nullable":true},"corp_buy_vol":{"type":"number","description":"حجم خرید حقوقی.","nullable":true},"corp_buy_val":{"type":"number","description":"ارزش خرید حقوقی (ریال).","nullable":true},"corp_sell_count":{"type":"integer","description":"تعداد فروشندگان حقوقی.","nullable":true},"corp_sell_vol":{"type":"number","description":"حجم فروش حقوقی.","nullable":true},"corp_sell_val":{"type":"number","description":"ارزش فروش حقوقی (ریال).","nullable":true},"source":{"type":"string","description":"منبع.","nullable":true},"trade_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/shareholders":{"get":{"tags":["market"],"summary":"سهامداران عمده — Major shareholders","description":"فهرست سهامداران عمده در ۷۲ تاریخ برداشت هفتگی از ۱۴۰۳/۰۳/۱۲ (۲۰۲۴-۰۶-۰۱). برای نمادهایی که جمع‌آورندهٔ قبلی دیر به آن‌ها رسید (مثلاً فولاد از ۲۰۲۶-۰۸-۱۳) فهرست‌های قدیمی‌تر از فراخوان تاریخ‌دار خود بورس پر شده است (`source=tsetmc_bydate`؛ نام و تعداد و درصد هر سهامدار با برداشت قدیمی یکی است، فقط شناسهٔ ردیف فرق دارد). نمادی که بعد از ۲۰۲۴-۰۶-۰۱ ایجاد شده از نخستین تاریخ برداشتِ پس از ایجادش فهرست دارد. `symbol=فولاد&latest_snapshot=true&order_by=-pct` بزرگ‌ترین سهامداران فعلی را می‌دهد.\n\n**Fast filters (indexed):** `symbol`, `instrument_id`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `snapshot_date` | date | تاریخ برداشت فهرست سهامداران. |\n| `shareholder_id` | int | شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. |\n| `shareholder_name` | text | نام سهامدار با حروف فارسی (املای منبع در `shareholder_name_native`). منبع نام را در حدود ۵۳ نویسه می‌بُرد، پس نام‌های بلند ناقص‌اند («موسسه صندوق بازنشستگی ،وظیفه ،ازکارافتادگی وپ»). |\n| `shares` | int | تعداد سهم. |\n| `pct` | num | درصد مالکیت. |\n| `source` | text | منبع: `tsetmc` (برداشت هفتگی)، `tsetmc_bydate` (فراخوان تاریخ‌دار بورس برای تاریخ‌های پیش از شروع برداشت آن نماد). |\n| `snapshot_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `shareholder_name_native` | text | نام سهامدار با همان املایی که منبع داده. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_shareholders","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`snapshot_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`snapshot_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `snapshot_date`, `shareholder_id`, `shareholder_name`, `shares`, `pct`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `snapshot_date`, `shareholder_id`, `shareholder_name`, `shares`, `pct`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"تاریخ برداشت فهرست سهامداران. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Snapshot Date","description":"تاریخ برداشت فهرست سهامداران. — exact match; comma-separate several values, `null` for NULL."},"name":"snapshot_date","in":"query"},{"description":"تاریخ برداشت فهرست سهامداران. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Snapshot Date  Gte","description":"تاریخ برداشت فهرست سهامداران. — minimum (inclusive)."},"name":"snapshot_date__gte","in":"query"},{"description":"تاریخ برداشت فهرست سهامداران. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Snapshot Date  Lte","description":"تاریخ برداشت فهرست سهامداران. — maximum (inclusive)."},"name":"snapshot_date__lte","in":"query"},{"description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Shareholder Id","description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. — exact match; comma-separate several values, `null` for NULL."},"name":"shareholder_id","in":"query"},{"description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Shareholder Id  Gte","description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. — minimum (inclusive)."},"name":"shareholder_id__gte","in":"query"},{"description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Shareholder Id  Lte","description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید. — maximum (inclusive)."},"name":"shareholder_id__lte","in":"query"},{"description":"نام سهامدار با حروف فارسی (املای منبع در `shareholder_name_native`). منبع نام را در حدود ۵۳ نویسه می‌بُرد، پس نام‌های بلند ناقص‌اند («موسسه صندوق بازنشستگی ،وظیفه ،ازکارافتادگی وپ»). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Shareholder Name","description":"نام سهامدار با حروف فارسی (املای منبع در `shareholder_name_native`). منبع نام را در حدود ۵۳ نویسه می‌بُرد، پس نام‌های بلند ناقص‌اند («موسسه صندوق بازنشستگی ،وظیفه ،ازکارافتادگی وپ»). — exact match; `null` for NULL."},"name":"shareholder_name","in":"query"},{"description":"نام سهامدار با حروف فارسی (املای منبع در `shareholder_name_native`). منبع نام را در حدود ۵۳ نویسه می‌بُرد، پس نام‌های بلند ناقص‌اند («موسسه صندوق بازنشستگی ،وظیفه ،ازکارافتادگی وپ»). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Shareholder Name  Like","description":"نام سهامدار با حروف فارسی (املای منبع در `shareholder_name_native`). منبع نام را در حدود ۵۳ نویسه می‌بُرد، پس نام‌های بلند ناقص‌اند («موسسه صندوق بازنشستگی ،وظیفه ،ازکارافتادگی وپ»). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"shareholder_name__like","in":"query"},{"description":"تعداد سهم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Shares","description":"تعداد سهم. — exact match; comma-separate several values, `null` for NULL."},"name":"shares","in":"query"},{"description":"تعداد سهم. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Shares  Gte","description":"تعداد سهم. — minimum (inclusive)."},"name":"shares__gte","in":"query"},{"description":"تعداد سهم. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Shares  Lte","description":"تعداد سهم. — maximum (inclusive)."},"name":"shares__lte","in":"query"},{"description":"درصد مالکیت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pct","description":"درصد مالکیت. — exact match; comma-separate several values, `null` for NULL."},"name":"pct","in":"query"},{"description":"درصد مالکیت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pct  Gte","description":"درصد مالکیت. — minimum (inclusive)."},"name":"pct__gte","in":"query"},{"description":"درصد مالکیت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pct  Lte","description":"درصد مالکیت. — maximum (inclusive)."},"name":"pct__lte","in":"query"},{"description":"منبع: `tsetmc` (برداشت هفتگی)، `tsetmc_bydate` (فراخوان تاریخ‌دار بورس برای تاریخ‌های پیش از شروع برداشت آن نماد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: `tsetmc` (برداشت هفتگی)، `tsetmc_bydate` (فراخوان تاریخ‌دار بورس برای تاریخ‌های پیش از شروع برداشت آن نماد). — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"},{"description":"فقط آخرین فهرست هر نماد. نیازمند `symbol` یا `instrument_id`. — Latest snapshot only; needs `symbol` or `instrument_id`.","required":false,"schema":{"type":"boolean","title":"Latest Snapshot","description":"فقط آخرین فهرست هر نماد. نیازمند `symbol` یا `instrument_id`. — Latest snapshot only; needs `symbol` or `instrument_id`."},"name":"latest_snapshot","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"snapshot_date":{"type":"string","format":"date","description":"تاریخ برداشت فهرست سهامداران."},"shareholder_id":{"type":"integer","description":"شناسه ردیف در منبع؛ در دو منبع (`source`) یکی نیست، پس سهامدار را با `shareholder_name` یکی کنید."},"shareholder_name":{"type":"string","description":"نام سهامدار با حروف فارسی (املای منبع در `shareholder_name_native`). منبع نام را در حدود ۵۳ نویسه می‌بُرد، پس نام‌های بلند ناقص‌اند («موسسه صندوق بازنشستگی ،وظیفه ،ازکارافتادگی وپ»).","nullable":true},"shares":{"type":"integer","description":"تعداد سهم.","nullable":true},"pct":{"type":"number","description":"درصد مالکیت.","nullable":true},"source":{"type":"string","description":"منبع: `tsetmc` (برداشت هفتگی)، `tsetmc_bydate` (فراخوان تاریخ‌دار بورس برای تاریخ‌های پیش از شروع برداشت آن نماد).","nullable":true},"snapshot_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"shareholder_name_native":{"type":"string","description":"نام سهامدار با همان املایی که منبع داده.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/corporate-actions":{"get":{"tags":["market"],"summary":"تعدیل و افزایش سرمایه — Corporate actions","description":"تعدیل‌های قیمت و افزایش سرمایهٔ سهام.\n\n- `adjustment`: فقط **سهام عادی** (نمادی که به رقم ختم نشود). روزی که بورس «قیمت دیروز» را کمتر از پایانی روز قبل می‌گذارد\n  (سود نقدی یا افزایش سرمایه) یک رویداد است؛ همین ضرایب در `/v1/prices/daily?adjusted=true` اعمال شده‌اند. روزهای بدون معامله هم\n  شمرده می‌شوند. صندوق‌ها، اوراق، حق تقدم و سری‌های ۲ و ۳ سهام رویداد ندارند: قیمت پایهٔ آن‌ها هر روز بازتنظیم می‌شود و تعدیل\n  شرکتی نیست. تا ۱۴۰۵/۰۸/۰۴ این جدول ۱۰۰٬۷۹۷ رویداد `adjustment` داشت که ۹۲٪ آن‌ها از همین بازتنظیم‌ها بود؛ پاک شد.\n- `capital_increase`: از تعداد سهم‌های بورس؛ ضریب آن نسبت سهم‌های قبل به بعد است. در افزایش سرمایهٔ نقدی قیمت کمتر از این نسبت\n  افت می‌کند، پس ضریب `adjustment` همان روز ممکن است با آن فرق کند؛ برای تعدیل قیمت، ضریب `adjustment` (همان که بورس اعمال کرده) ملاک است.\n- **یک رویداد، دو ردیف.** افزایش سرمایه با افتِ مرجع قیمتش دو ردیف از دو نوع است (فولاد 2025-03-12: `capital_increase` ضریب ۰٫۷۲ و\n  `adjustment` ضریب ۰٫۷۲۰۰۷۲؛ گاهی چند روز فاصله دارند). `related_event_date` ردیف همتا را نشان می‌دهد. فقط `adjustment`ها را در\n  قیمت ضرب کنید.\n- **این جدول «افت مرجع» است، نه فهرست «رویدادهای شرکتی».** هر روزی که بورس قیمت مرجع را زیر پایانی روز قبل می‌گذارد یک `adjustment` دارد؛\n  نوع علت (سود نقدی، افزایش سرمایه، حق تقدم، تغییر مرجع) را منبع نمی‌دهد و ما حدس نمی‌زنیم. ماه‌های فصل مجامع (تیر و مرداد) پرتعدادترند.\n- روزهای بی‌معامله هم شمرده می‌شوند (سود نقدی حین توقف نماد)، ولی تکرار مرجع قدیمی در یک روز بی‌معامله رویداد نیست و نمی‌آید.\n  افزایش سرمایه‌ای که منبع دو روز پشت‌هم با همان تعداد سهم فهرست کرده یک بار می‌آید.\n\n**Fast filters (indexed):** `symbol`, `instrument_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه ابزار. |\n| `action_date` | date | تاریخ رویداد. |\n| `action_type` | text | نوع: `adjustment` (تعدیل قیمت سهام عادی: بورس «قیمت دیروز» را کم کرده)، `capital_increase` (افزایش سرمایه، از تعداد سهم). |\n| `adjustment_coefficient` | num | ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. |\n| `old_price` | num | پایانی روز قبل (فقط `adjustment`). |\n| `new_price` | num | قیمت دیروز در روز تعدیل (فقط `adjustment`). |\n| `details` | json | برای افزایش سرمایه: old_shares، new_shares، pct (JSON). |\n| `source` | text | منبع. |\n| `action_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `related_event_date` | date | تاریخ نزدیک‌ترین رویداد از نوع دیگر برای همین نماد در ±۱۰ روز، یا خالی. افزایش سرمایه (`capital_increase`) و افتِ قیمت مرجع همان روزها (`adjustment`) معمولاً یک رویدادند و دو ردیف می‌دهند؛ اگر این ستون پر است، ضریب را فقط از `adjustment` بگیرید و دوبار اعمال نکنید. (حدسِ نزدیکی تاریخ است، نه شناسهٔ رویداد منبع.) |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_corporate_actions","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`action_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`action_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `action_date`, `action_type`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `action_date`, `action_type`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه ابزار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه ابزار. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه ابزار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه ابزار. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"تاریخ رویداد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Action Date","description":"تاریخ رویداد. — exact match; comma-separate several values, `null` for NULL."},"name":"action_date","in":"query"},{"description":"تاریخ رویداد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Action Date  Gte","description":"تاریخ رویداد. — minimum (inclusive)."},"name":"action_date__gte","in":"query"},{"description":"تاریخ رویداد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Action Date  Lte","description":"تاریخ رویداد. — maximum (inclusive)."},"name":"action_date__lte","in":"query"},{"description":"نوع: `adjustment` (تعدیل قیمت سهام عادی: بورس «قیمت دیروز» را کم کرده)، `capital_increase` (افزایش سرمایه، از تعداد سهم). — exact match; comma-separate several values, `null` for NULL. Values: `adjustment`, `capital_increase`.","required":false,"schema":{"type":"string","title":"Action Type","description":"نوع: `adjustment` (تعدیل قیمت سهام عادی: بورس «قیمت دیروز» را کم کرده)، `capital_increase` (افزایش سرمایه، از تعداد سهم). — exact match; comma-separate several values, `null` for NULL. Values: `adjustment`, `capital_increase`."},"name":"action_type","in":"query"},{"description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Adjustment Coefficient","description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. — exact match; comma-separate several values, `null` for NULL."},"name":"adjustment_coefficient","in":"query"},{"description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Adjustment Coefficient  Gte","description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. — minimum (inclusive)."},"name":"adjustment_coefficient__gte","in":"query"},{"description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Adjustment Coefficient  Lte","description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد. — maximum (inclusive)."},"name":"adjustment_coefficient__lte","in":"query"},{"description":"پایانی روز قبل (فقط `adjustment`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Old Price","description":"پایانی روز قبل (فقط `adjustment`). — exact match; comma-separate several values, `null` for NULL."},"name":"old_price","in":"query"},{"description":"پایانی روز قبل (فقط `adjustment`). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Old Price  Gte","description":"پایانی روز قبل (فقط `adjustment`). — minimum (inclusive)."},"name":"old_price__gte","in":"query"},{"description":"پایانی روز قبل (فقط `adjustment`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Old Price  Lte","description":"پایانی روز قبل (فقط `adjustment`). — maximum (inclusive)."},"name":"old_price__lte","in":"query"},{"description":"قیمت دیروز در روز تعدیل (فقط `adjustment`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"New Price","description":"قیمت دیروز در روز تعدیل (فقط `adjustment`). — exact match; comma-separate several values, `null` for NULL."},"name":"new_price","in":"query"},{"description":"قیمت دیروز در روز تعدیل (فقط `adjustment`). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"New Price  Gte","description":"قیمت دیروز در روز تعدیل (فقط `adjustment`). — minimum (inclusive)."},"name":"new_price__gte","in":"query"},{"description":"قیمت دیروز در روز تعدیل (فقط `adjustment`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"New Price  Lte","description":"قیمت دیروز در روز تعدیل (فقط `adjustment`). — maximum (inclusive)."},"name":"new_price__lte","in":"query"},{"description":"منبع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه ابزار."},"action_date":{"type":"string","format":"date","description":"تاریخ رویداد."},"action_type":{"type":"string","description":"نوع: `adjustment` (تعدیل قیمت سهام عادی: بورس «قیمت دیروز» را کم کرده)، `capital_increase` (افزایش سرمایه، از تعداد سهم)."},"adjustment_coefficient":{"type":"number","description":"ضریب: برای `adjustment` قیمت دیروز ÷ پایانی روز قبل (همیشه کمتر از ۱)؛ برای `capital_increase` تعداد سهم قبل ÷ بعد.","nullable":true},"old_price":{"type":"number","description":"پایانی روز قبل (فقط `adjustment`).","nullable":true},"new_price":{"type":"number","description":"قیمت دیروز در روز تعدیل (فقط `adjustment`).","nullable":true},"details":{"type":"object","description":"برای افزایش سرمایه: old_shares، new_shares، pct (JSON)."},"source":{"type":"string","description":"منبع.","nullable":true},"action_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"related_event_date":{"type":"string","format":"date","description":"تاریخ نزدیک‌ترین رویداد از نوع دیگر برای همین نماد در ±۱۰ روز، یا خالی. افزایش سرمایه (`capital_increase`) و افتِ قیمت مرجع همان روزها (`adjustment`) معمولاً یک رویدادند و دو ردیف می‌دهند؛ اگر این ستون پر است، ضریب را فقط از `adjustment` بگیرید و دوبار اعمال نکنید. (حدسِ نزدیکی تاریخ است، نه شناسهٔ رویداد منبع.)","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/fund-nav":{"get":{"tags":["market"],"summary":"ارزش خالص دارایی صندوق‌ها (NAV) — Fund NAV","description":"قیمت صدور و ابطال صندوق‌های قابل معامله، از خود بورس (TSETMC)، یک ردیف برای هر صندوق و روز معاملاتی.\n\nبورس این دو قیمت را در طول جلسه به‌روز می‌کند (NAV لحظه‌ای) و بعد از جلسه روی آخرین محاسبه می‌ماند؛ هر شب همان آخرین مقدار روز\nثبت می‌شود. **از ۱۴۰۵/۰۸/۰۵ (2026-10-27) شروع شده و تاریخچهٔ قبل از آن ندارد**: بورس سابقه نمی‌دهد. NAV آماری و رسمی مدیر صندوق\n(فیپیران) خالی است. حدود ۳۳۰ از ۵۸۷ صندوق پاسخ می‌دهند؛ سری‌های دوم یک صندوق، صندوق‌های درآمد ثابت و بعضی دیگر نه و ردیف ندارند.\n\nمقایسهٔ قیمت و NAV: همان `instrument_id` را در `/v1/prices/daily` بدهید (`close` ÷ `nav_cancel`).\n\n**Fast filters (indexed):** `symbol`, `instrument_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسه صندوق. |\n| `nav_date` | date | روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. |\n| `nav_issue` | num | قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. |\n| `nav_cancel` | num | قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. |\n| `nav_statistical` | num | NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. |\n| `units` | int | تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). |\n| `source` | text | منبع: tsetmc. |\n| `nav_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_fund_nav","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`nav_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`nav_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `nav_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `nav_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه صندوق. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسه صندوق. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسه صندوق. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسه صندوق. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسه صندوق. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسه صندوق. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Nav Date","description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. — exact match; comma-separate several values, `null` for NULL."},"name":"nav_date","in":"query"},{"description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Date  Gte","description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. — minimum (inclusive)."},"name":"nav_date__gte","in":"query"},{"description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Date  Lte","description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده. — maximum (inclusive)."},"name":"nav_date__lte","in":"query"},{"description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Nav Issue","description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. — exact match; comma-separate several values, `null` for NULL."},"name":"nav_issue","in":"query"},{"description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Issue  Gte","description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. — minimum (inclusive)."},"name":"nav_issue__gte","in":"query"},{"description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Issue  Lte","description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه. — maximum (inclusive)."},"name":"nav_issue__lte","in":"query"},{"description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Nav Cancel","description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. — exact match; comma-separate several values, `null` for NULL."},"name":"nav_cancel","in":"query"},{"description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Cancel  Gte","description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. — minimum (inclusive)."},"name":"nav_cancel__gte","in":"query"},{"description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Cancel  Lte","description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال. — maximum (inclusive)."},"name":"nav_cancel__lte","in":"query"},{"description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Nav Statistical","description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. — exact match; comma-separate several values, `null` for NULL."},"name":"nav_statistical","in":"query"},{"description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Statistical  Gte","description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. — minimum (inclusive)."},"name":"nav_statistical__gte","in":"query"},{"description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Nav Statistical  Lte","description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست. — maximum (inclusive)."},"name":"nav_statistical__lte","in":"query"},{"description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Units","description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). — exact match; comma-separate several values, `null` for NULL."},"name":"units","in":"query"},{"description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Units  Gte","description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). — minimum (inclusive)."},"name":"units__gte","in":"query"},{"description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Units  Lte","description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد). — maximum (inclusive)."},"name":"units__lte","in":"query"},{"description":"منبع: tsetmc. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: tsetmc. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسه صندوق."},"nav_date":{"type":"string","format":"date","description":"روز معاملاتی (میلادی) که بورس این قیمت‌ها را محاسبه کرده."},"nav_issue":{"type":"number","description":"قیمت صدور (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه.","nullable":true},"nav_cancel":{"type":"number","description":"قیمت ابطال (ریال برای هر واحد): آخرین محاسبهٔ بورس تا پایان جلسه؛ همان NAV ابطال.","nullable":true},"nav_statistical":{"type":"number","description":"NAV آماری مدیر صندوق (فیپیران). فعلاً همیشه خالی: آن منبع از سرور در دسترس نیست.","nullable":true},"units":{"type":"integer","description":"تعداد واحدهای صادرشده طبق بورس (ممکن است یک روز عقب‌تر از `nav_date` باشد).","nullable":true},"source":{"type":"string","description":"منبع: tsetmc.","nullable":true},"nav_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/daily-limits":{"get":{"tags":["market"],"summary":"حد مجاز قیمت هر روز — Daily price limits","description":"حد مجاز قیمت (سقف و کف) هر روز معاملاتی از خود بورس (`GetStaticThreshold` در TSETMC)، یک ردیف برای هر سهم، صندوق قابل\nمعامله و حق تقدم و هر روز؛ مقیاس قیمت همان کندل خام همان روز است (`adjusted=false`). برای بک‌تست: سفارش خرید روزی که قیمت قفل\nبالا بود (`low = high = price_max`) پر نمی‌شد مگر صف فروش بود.\n\nحد نوسان ثابت نیست: بورس آن را برای هر نماد و بازار و دوره تعیین می‌کند (۳٪، ۵٪، ۶٪ …) و با تصمیم ناگهانی عوض می‌شود؛ پس مقدارش را فقط از\nاینجا بخوانید، نه از درصد ثابت. هر روز معمولاً یک رکورد دارد (دامنهٔ ساعت ۶:۰۱)؛ اگر چند رکورد داشته باشد (دامنهٔ موقتاً بازتر برای\nحراج بازگشایی، تغییر دامنه در جلسه، و در حدود یک‌سوم روزها رکوردی حوالی ساعت ۱۲:۳۰ که سقف و کف را هر دو برابر قیمت پایانی می‌گذارد و\nدیگر دامنه نیست)، آخرین رکوردی نگه داشته می‌شود که دامنهٔ واقعی باشد (سقف بالاتر از کف)؛ فقط اگر هیچ‌کدام دامنه نبود، آخرین رکورد\n(نمادی که فقط در یک قیمت معامله می‌شود: `price_max = price_min`). ردیف با `price_max` و `price_min` تهی یعنی بورس برای آن روز حدی ثبت\nنکرده است یا «۱ و ۱» نوشته است (جایگزینی که برای نماد بی‌دامنه می‌گذارد: دومین سری صندوق‌ها — نمادهای با پسوند ۲ که کندل خامشان\nقیمت ۱ ریال دارد — و بعضی حق تقدم‌ها). برای همان نمادها گاهی دامنه‌ای نوشته می‌شود که با قیمت ۱ ریالِ کندل جور نیست؛ آن ردیف‌ها را\nکنار بگذارید. هر شب روزهای تازه اضافه می‌شود و بازیابی روزهای قدیمی از تازه به قدیم می‌رود (`tse.limits --since`)؛ کندل خامی که\nردیفی اینجا ندارد هنوز بازیابی نشده است، نه اینکه حدی نداشته باشد.\n\nهمین دو عدد کنار کندل هم هست: `/v1/prices/daily?symbol=فولاد&fields=date,low,high,close,price_min,price_max` (هر ردیف یک جست‌وجو؛ برای\nخروجی بزرگ همین مسیر سریع‌تر است). حجم صف خرید و فروش پایان روز و وضعیت نماد در `/v1/market/daily-book` است (بورس تاریخچه‌اش را\nنمی‌دهد، پس فقط از روز راه‌اندازی به بعد).\n\n**Fast filters (indexed):** `symbol`, `from`, `to`, `instrument_id`, `day`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). |\n| `day` | date ⚡ | روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. |\n| `price_max` | num | سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. |\n| `price_min` | num | کف مجاز قیمت همان روز (ریال). |\n| `source` | text | منبع: tsetmc. |\n| `captured_at` | ts | زمان ثبت ردیف در پایگاه. |\n| `day_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_daily_limits","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `day`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `day`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day","description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"day","in":"query"},{"description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day  Gte","description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — minimum (inclusive). ⚡ indexed."},"name":"day__gte","in":"query"},{"description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Day  Lte","description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — maximum (inclusive)."},"name":"day__lte","in":"query"},{"description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Max","description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. — exact match; comma-separate several values, `null` for NULL."},"name":"price_max","in":"query"},{"description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price Max  Gte","description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. — minimum (inclusive)."},"name":"price_max__gte","in":"query"},{"description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price Max  Lte","description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است. — maximum (inclusive)."},"name":"price_max__lte","in":"query"},{"description":"کف مجاز قیمت همان روز (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Min","description":"کف مجاز قیمت همان روز (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"price_min","in":"query"},{"description":"کف مجاز قیمت همان روز (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price Min  Gte","description":"کف مجاز قیمت همان روز (ریال). — minimum (inclusive)."},"name":"price_min__gte","in":"query"},{"description":"کف مجاز قیمت همان روز (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price Min  Lte","description":"کف مجاز قیمت همان روز (ریال). — maximum (inclusive)."},"name":"price_min__lte","in":"query"},{"description":"منبع: tsetmc. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: tsetmc. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"زمان ثبت ردیف در پایگاه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Captured At","description":"زمان ثبت ردیف در پایگاه. — exact match; comma-separate several values, `null` for NULL."},"name":"captured_at","in":"query"},{"description":"زمان ثبت ردیف در پایگاه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Captured At  Gte","description":"زمان ثبت ردیف در پایگاه. — minimum (inclusive)."},"name":"captured_at__gte","in":"query"},{"description":"زمان ثبت ردیف در پایگاه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Captured At  Lte","description":"زمان ثبت ردیف در پایگاه. — maximum (inclusive)."},"name":"captured_at__lte","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم)."},"day":{"type":"string","format":"date","description":"روز معاملاتی (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`."},"price_max":{"type":"number","description":"سقف مجاز قیمت همان روز (ریال، مقیاس خام همان روز، مثل کندل‌های خام). تهی: بورس برای آن روز دامنه‌ای ثبت نکرده است.","nullable":true},"price_min":{"type":"number","description":"کف مجاز قیمت همان روز (ریال).","nullable":true},"source":{"type":"string","description":"منبع: tsetmc."},"captured_at":{"type":"string","format":"date-time","description":"زمان ثبت ردیف در پایگاه."},"day_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/daily-book":{"get":{"tags":["market"],"summary":"صف خرید و فروش و وضعیت نماد در پایان هر روز — End-of-day queues and symbol state","description":"دفتر سفارش‌ها و وضعیت هر نماد، همان‌طور که جلسهٔ آن روز تمام شد؛ یک ردیف برای هر سهم، صندوق قابل معامله و حق تقدم و هر\nروز. برای بک‌تست: روزی که قیمت به سقف چسبید (`low = high = price_max` در `/v1/market/daily-limits`) پشتش صف خرید بود یا نه، و نماد اصلاً\nمجاز به معامله بود یا نه.\n\nبورس هیچ‌کدام را تاریخچه نمی‌دهد (فقط دفتر سفارش‌ها و وضعیتِ **همین لحظه**)، پس برداشت از روز راه‌اندازی شروع شده (اجرای عصر، بعد از\nپایان جلسه) و پیش از آن چیزی وجود ندارد؛ هر روز یک روز به آن اضافه می‌شود. ردیف نبودن یعنی آن روز برداشت نشده، نه اینکه صف نبوده.\nدفتر بعد از ساعت ۱۲:۳۰ هم تا حدود دو ساعت کم می‌شود (لغو سفارش؛ ۲۰۲۶-۱۱-۰۳: سکرما ۲٬۰۵۲٬۱۴۹ ← ۱٬۹۹۲٬۱۴۹ سهم بین ۱۲:۴۷ و ۱۲:۴۹، احیا\n۱۲۱٬۰۷۸٬۵۱۵ ← ۱۱۲٬۸۶۳٬۰۴۸ تا ساعت ۱۵:۰۰) و بعد ثابت می‌ماند: هفت نمادِ پرصف که هر نیم‌ساعت نمونه شدند تا آخرین نمونه (۱۶:۰۵) دیگر تغییر\nنکرده بودند. عددِ جدول دفتر آرام‌شدهٔ همان عصر است (اجرای ۱۶:۳۰)، جز ردیف‌های روز اول (۲۰۲۶-۱۱-۰۳) که ۱۳:۰۰ تا ۱۳:۱۹، حدود ۳۵ تا ۵۰\nدقیقه پس از پایان جلسه، برداشت شدند و کمی بزرگ‌ترند (احیا ۱۱۹٬۹۹۱٬۰۱۵ در برابر ۱۱۲٬۸۶۳٬۰۴۸). اینکه دفتر تا صبح روز بعد می‌ماند بررسی نشده است.\n\nصف خرید = حجم بهترین سفارش خرید، وقتی آن قیمت خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در همان قیمت یا پایین‌تر نمانده (فروشی\nبالاتر از سقف مانعش نیست: کسی در آن قیمت نمی‌تواند بخرد)؛ صف فروش قرینهٔ آن در کف. ۰ یعنی برداشت شد و صف نبود. `best_bid` یا\n`best_ask` تهی: همان سمت دفتر خالی بود. وضعیت: `state_code` و `state_title` را بورس می‌دهد (`A` / «مجاز»).\n\nکنار کندل هم هست: `/v1/prices/daily?symbol=فولاد&fields=date,low,high,close,price_max,buy_queue_volume,symbol_status`.\n\n**Fast filters (indexed):** `symbol`, `from`, `to`, `instrument_id`, `day`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `instrument_id` | int ⚡ | شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). |\n| `day` | date ⚡ | روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. |\n| `best_bid` | num | بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. |\n| `best_bid_volume` | num | حجم سفارش‌های خرید در همان قیمت. |\n| `best_bid_orders` | int | تعداد سفارش‌های خرید در همان قیمت. |\n| `best_ask` | num | بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. |\n| `best_ask_volume` | num | حجم سفارش‌های فروش در همان قیمت. |\n| `best_ask_orders` | int | تعداد سفارش‌های فروش در همان قیمت. |\n| `buy_queue_volume` | num | حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. |\n| `sell_queue_volume` | num | حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. |\n| `state_code` | text | حرف وضعیت نماد در بورس: `A` یعنی مجاز؛ هر حرف دیگر وضعیتی غیر از مجاز است. |\n| `state_title` | text | عنوان وضعیت نماد با متن بورس («مجاز» …). |\n| `source` | text | منبع: tsetmc. |\n| `captured_at` | ts | زمان برداشت دفتر سفارش‌ها. |\n| `day_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `symbol` | text | نماد (حروف فارسی؛ املای منبع در `/v1/instruments`). |\n| `name` | text | نام (حروف فارسی). |\n| `asset_class` | text | کلاس دارایی ابزار. |\n| `market_code` | text | بازار ابزار. |","operationId":"list_daily_book","parameters":[{"description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد، مثلاً `فولاد` یا `خودرو` (چند نماد با ویرگول). املای فارسی و عربی (ی/ي، ک/ك) هر دو پذیرفته می‌شود. ممکن است یک نماد چند ابزار باشد؛ با `instrument_id` تفکیک کنید. — Ticker symbol(s), comma-separated; either letter spelling works. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `day`, `buy_queue_volume`, `sell_queue_volume`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `instrument_id`, `day`, `buy_queue_volume`, `sell_queue_volume`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم). — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day","description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"day","in":"query"},{"description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day  Gte","description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — minimum (inclusive). ⚡ indexed."},"name":"day__gte","in":"query"},{"description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Day  Lte","description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`. — maximum (inclusive)."},"name":"day__lte","in":"query"},{"description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Bid","description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. — exact match; comma-separate several values, `null` for NULL."},"name":"best_bid","in":"query"},{"description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid  Gte","description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. — minimum (inclusive)."},"name":"best_bid__gte","in":"query"},{"description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid  Lte","description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود. — maximum (inclusive)."},"name":"best_bid__lte","in":"query"},{"description":"حجم سفارش‌های خرید در همان قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Bid Volume","description":"حجم سفارش‌های خرید در همان قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"best_bid_volume","in":"query"},{"description":"حجم سفارش‌های خرید در همان قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid Volume  Gte","description":"حجم سفارش‌های خرید در همان قیمت. — minimum (inclusive)."},"name":"best_bid_volume__gte","in":"query"},{"description":"حجم سفارش‌های خرید در همان قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid Volume  Lte","description":"حجم سفارش‌های خرید در همان قیمت. — maximum (inclusive)."},"name":"best_bid_volume__lte","in":"query"},{"description":"تعداد سفارش‌های خرید در همان قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Bid Orders","description":"تعداد سفارش‌های خرید در همان قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"best_bid_orders","in":"query"},{"description":"تعداد سفارش‌های خرید در همان قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid Orders  Gte","description":"تعداد سفارش‌های خرید در همان قیمت. — minimum (inclusive)."},"name":"best_bid_orders__gte","in":"query"},{"description":"تعداد سفارش‌های خرید در همان قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Bid Orders  Lte","description":"تعداد سفارش‌های خرید در همان قیمت. — maximum (inclusive)."},"name":"best_bid_orders__lte","in":"query"},{"description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Ask","description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. — exact match; comma-separate several values, `null` for NULL."},"name":"best_ask","in":"query"},{"description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask  Gte","description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. — minimum (inclusive)."},"name":"best_ask__gte","in":"query"},{"description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask  Lte","description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود. — maximum (inclusive)."},"name":"best_ask__lte","in":"query"},{"description":"حجم سفارش‌های فروش در همان قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Ask Volume","description":"حجم سفارش‌های فروش در همان قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"best_ask_volume","in":"query"},{"description":"حجم سفارش‌های فروش در همان قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask Volume  Gte","description":"حجم سفارش‌های فروش در همان قیمت. — minimum (inclusive)."},"name":"best_ask_volume__gte","in":"query"},{"description":"حجم سفارش‌های فروش در همان قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask Volume  Lte","description":"حجم سفارش‌های فروش در همان قیمت. — maximum (inclusive)."},"name":"best_ask_volume__lte","in":"query"},{"description":"تعداد سفارش‌های فروش در همان قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Ask Orders","description":"تعداد سفارش‌های فروش در همان قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"best_ask_orders","in":"query"},{"description":"تعداد سفارش‌های فروش در همان قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask Orders  Gte","description":"تعداد سفارش‌های فروش در همان قیمت. — minimum (inclusive)."},"name":"best_ask_orders__gte","in":"query"},{"description":"تعداد سفارش‌های فروش در همان قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Ask Orders  Lte","description":"تعداد سفارش‌های فروش در همان قیمت. — maximum (inclusive)."},"name":"best_ask_orders__lte","in":"query"},{"description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Buy Queue Volume","description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. — exact match; comma-separate several values, `null` for NULL."},"name":"buy_queue_volume","in":"query"},{"description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Buy Queue Volume  Gte","description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. — minimum (inclusive)."},"name":"buy_queue_volume__gte","in":"query"},{"description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Buy Queue Volume  Lte","description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود. — maximum (inclusive)."},"name":"buy_queue_volume__lte","in":"query"},{"description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Sell Queue Volume","description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. — exact match; comma-separate several values, `null` for NULL."},"name":"sell_queue_volume","in":"query"},{"description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Sell Queue Volume  Gte","description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. — minimum (inclusive)."},"name":"sell_queue_volume__gte","in":"query"},{"description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Sell Queue Volume  Lte","description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود. — maximum (inclusive)."},"name":"sell_queue_volume__lte","in":"query"},{"description":"حرف وضعیت نماد در بورس: `A` یعنی مجاز؛ هر حرف دیگر وضعیتی غیر از مجاز است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"State Code","description":"حرف وضعیت نماد در بورس: `A` یعنی مجاز؛ هر حرف دیگر وضعیتی غیر از مجاز است. — exact match; comma-separate several values, `null` for NULL."},"name":"state_code","in":"query"},{"description":"عنوان وضعیت نماد با متن بورس («مجاز» …). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"State Title","description":"عنوان وضعیت نماد با متن بورس («مجاز» …). — exact match; comma-separate several values, `null` for NULL."},"name":"state_title","in":"query"},{"description":"منبع: tsetmc. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: tsetmc. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"زمان برداشت دفتر سفارش‌ها. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Captured At","description":"زمان برداشت دفتر سفارش‌ها. — exact match; comma-separate several values, `null` for NULL."},"name":"captured_at","in":"query"},{"description":"زمان برداشت دفتر سفارش‌ها. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Captured At  Gte","description":"زمان برداشت دفتر سفارش‌ها. — minimum (inclusive)."},"name":"captured_at__gte","in":"query"},{"description":"زمان برداشت دفتر سفارش‌ها. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Captured At  Lte","description":"زمان برداشت دفتر سفارش‌ها. — maximum (inclusive)."},"name":"captured_at__lte","in":"query"},{"description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`.","required":false,"schema":{"type":"string","title":"Asset Class","description":"کلاس دارایی ابزار. — exact match; comma-separate several values, `null` for NULL. Values: `equity`, `option`, `bond`, `etf`, `fx`, `commodity`, `crypto`, `index`, `future`, `right`, `other`."},"name":"asset_class","in":"query"},{"description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Code","description":"بازار ابزار. — exact match; comma-separate several values, `null` for NULL."},"name":"market_code","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"instrument_id":{"type":"integer","description":"شناسهٔ ابزار (سهم، صندوق قابل معامله، حق تقدم)."},"day":{"type":"string","format":"date","description":"روز جلسه (میلادی)؛ همان روز کندل خام در `/v1/prices/daily`."},"best_bid":{"type":"number","description":"بهترین قیمت خرید در پایان جلسه (ریال، مقیاس خام همان روز). تهی: سفارش خریدی نمانده بود.","nullable":true},"best_bid_volume":{"type":"number","description":"حجم سفارش‌های خرید در همان قیمت.","nullable":true},"best_bid_orders":{"type":"integer","description":"تعداد سفارش‌های خرید در همان قیمت.","nullable":true},"best_ask":{"type":"number","description":"بهترین قیمت فروش (ریال). تهی: سفارش فروشی نمانده بود.","nullable":true},"best_ask_volume":{"type":"number","description":"حجم سفارش‌های فروش در همان قیمت.","nullable":true},"best_ask_orders":{"type":"integer","description":"تعداد سفارش‌های فروش در همان قیمت.","nullable":true},"buy_queue_volume":{"type":"number","description":"حجم صف خرید: بهترین قیمت خرید خودِ سقف مجاز آن روز است و هیچ فروشنده‌ای در آن قیمت یا پایین‌تر نمانده؛ حجم سفارش‌های همان قیمت. ۰: برداشت شد و صف نبود."},"sell_queue_volume":{"type":"number","description":"حجم صف فروش: بهترین قیمت فروش خودِ کف مجاز است و هیچ خریداری در آن قیمت یا بالاتر نمانده. ۰: صف نبود."},"state_code":{"type":"string","description":"حرف وضعیت نماد در بورس: `A` یعنی مجاز؛ هر حرف دیگر وضعیتی غیر از مجاز است.","nullable":true},"state_title":{"type":"string","description":"عنوان وضعیت نماد با متن بورس («مجاز» …).","nullable":true},"source":{"type":"string","description":"منبع: tsetmc."},"captured_at":{"type":"string","format":"date-time","description":"زمان برداشت دفتر سفارش‌ها."},"day_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"symbol":{"type":"string","description":"نماد (حروف فارسی؛ املای منبع در `/v1/instruments`).","nullable":true},"name":{"type":"string","description":"نام (حروف فارسی).","nullable":true},"asset_class":{"type":"string","description":"کلاس دارایی ابزار.","nullable":true},"market_code":{"type":"string","description":"بازار ابزار.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/trading-days":{"get":{"tags":["market"],"summary":"تقویم معاملاتی — Trading calendar","description":"تقویم روزهای معاملاتی بورس، از ۲۰۱۰-۰۱-۰۱ (۱۳۸۸/۱۰/۱۱) تا امروز (به‌محض اینکه امروز روز معاملاتی بوده)، به‌علاوهٔ پنجشنبه و\nجمعه‌های ۶۰ روز آینده (`is_projected=true`)؛ یک ردیف برای هر روز تقویمی، با روز تعطیل.\n\n**از رفتار خود بورس ساخته شده، نه فهرست رسمی تعطیلات:** روزی معاملاتی است که دست‌کم ۱۰۰ سهم کندل خام با حجم داشته باشند (از ۲۰۱۰ به بعد\nروز معاملاتی همیشه ۱۱۰ سهم یا بیشتر دارد و روز بسته هیچ؛ بین این دو مقداری نیست). کندل شاخص برای این کار کافی نیست: در تعطیلی\n۱۴۰۴/۱۲/۰۹ تا ۱۴۰۵/۰۲/۲۸ هم کندل شاخص (تخت) هست. نام تعطیلی (نوروز، عاشورا …) را هیچ منبعی نمی‌دهد؛ `kind` فقط می‌گوید پنجشنبه/جمعه بوده\n(`weekend`) یا شنبه تا چهارشنبه‌ای که بازار کار نکرد (`closed`). پیش از ۲۰۱۰ بازار آن‌قدر کوچک بود که این قاعده جواب نمی‌دهد، پس از آن شروع می‌شود.\nامروز در همان اجرای عصر (۱۶:۳۰) محاسبه می‌شود، به شرطی که روزِ معاملاتی بوده باشد؛ روزِ تعطیل یا بی‌کندل تا فردا نمی‌آید تا کندلِ دیررسیده\nآن را «تعطیل» نکند. ده روز آخر هر شب دوباره سنجیده می‌شود (کندل دیرهنگام).\n\nشمردن روز معاملاتی بین دو تاریخِ گذشته: `/v1/market/trading-days?is_trading_day=true&day__gte=2026-10-01&day__lte=2026-10-31&count=true&limit=1`\n(`total`). **روزهای آینده:** فقط پنجشنبه و جمعه‌های ۶۰ روز پیش‌رو آمده‌اند (`is_projected=true`)؛ شنبه تا چهارشنبه‌ی آینده نیست، چون تعطیلی‌های\nرسمی پیش‌رو (نوروز، عاشورا …) را از هیچ منبعی نمی‌دانیم و باید از جای دیگر بدانید. برای «آخرین روز محاسبه‌شده از روی کندل‌ها»\n`is_projected=false` را بگذارید (`order_by=-day&limit=1`).\n\n**Fast filters (indexed):** `from`, `to`, `day`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `day` | date ⚡ | روز تقویمی (میلادی). |\n| `is_trading_day` | bool | `true`: سهام در آن روز معامله شد. |\n| `equities_traded` | int | چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). |\n| `kind` | text | `trading` روز معاملاتی؛ `weekend` پنجشنبه یا جمعه (بورس بسته است)؛ `closed` شنبه تا چهارشنبه‌ای که معامله نشد (تعطیلی رسمی یا بسته بودن بازار، مثل ۱۴۰۴/۱۲/۰۹ تا ۱۴۰۵/۰۲/۲۸). |\n| `computed_at` | ts | زمان آخرین محاسبهٔ ردیف. |\n| `is_projected` | bool | `true`: روزی که هنوز نیامده و فقط قاعدهٔ آخر هفته را می‌دانیم (پنجشنبه و جمعه، `kind=weekend`، `is_trading_day=false`، `equities_traded` تهی). با رسیدنِ روز، همین ردیف از روی کندل‌ها دوباره محاسبه می‌شود و `false` می‌شود. شنبه تا چهارشنبه‌ی آینده در جدول نیست: تعطیلی رسمی را نمی‌دانیم. |\n| `day_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |","operationId":"list_trading_days","parameters":[{"description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `day`, `equities_traded`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `day`, `equities_traded`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"روز تقویمی (میلادی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day","description":"روز تقویمی (میلادی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"day","in":"query"},{"description":"روز تقویمی (میلادی). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day  Gte","description":"روز تقویمی (میلادی). — minimum (inclusive). ⚡ indexed."},"name":"day__gte","in":"query"},{"description":"روز تقویمی (میلادی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Day  Lte","description":"روز تقویمی (میلادی). — maximum (inclusive)."},"name":"day__lte","in":"query"},{"description":"`true`: سهام در آن روز معامله شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Trading Day","description":"`true`: سهام در آن روز معامله شد. — exact match; comma-separate several values, `null` for NULL."},"name":"is_trading_day","in":"query"},{"description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Equities Traded","description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). — exact match; comma-separate several values, `null` for NULL."},"name":"equities_traded","in":"query"},{"description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Equities Traded  Gte","description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). — minimum (inclusive)."},"name":"equities_traded__gte","in":"query"},{"description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Equities Traded  Lte","description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`). — maximum (inclusive)."},"name":"equities_traded__lte","in":"query"},{"description":"`trading` روز معاملاتی؛ `weekend` پنجشنبه یا جمعه (بورس بسته است)؛ `closed` شنبه تا چهارشنبه‌ای که معامله نشد (تعطیلی رسمی یا بسته بودن بازار، مثل ۱۴۰۴/۱۲/۰۹ تا ۱۴۰۵/۰۲/۲۸). — exact match; comma-separate several values, `null` for NULL. Values: `trading`, `weekend`, `closed`.","required":false,"schema":{"type":"string","title":"Kind","description":"`trading` روز معاملاتی؛ `weekend` پنجشنبه یا جمعه (بورس بسته است)؛ `closed` شنبه تا چهارشنبه‌ای که معامله نشد (تعطیلی رسمی یا بسته بودن بازار، مثل ۱۴۰۴/۱۲/۰۹ تا ۱۴۰۵/۰۲/۲۸). — exact match; comma-separate several values, `null` for NULL. Values: `trading`, `weekend`, `closed`."},"name":"kind","in":"query"},{"description":"زمان آخرین محاسبهٔ ردیف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Computed At","description":"زمان آخرین محاسبهٔ ردیف. — exact match; comma-separate several values, `null` for NULL."},"name":"computed_at","in":"query"},{"description":"زمان آخرین محاسبهٔ ردیف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Computed At  Gte","description":"زمان آخرین محاسبهٔ ردیف. — minimum (inclusive)."},"name":"computed_at__gte","in":"query"},{"description":"زمان آخرین محاسبهٔ ردیف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Computed At  Lte","description":"زمان آخرین محاسبهٔ ردیف. — maximum (inclusive)."},"name":"computed_at__lte","in":"query"},{"description":"`true`: روزی که هنوز نیامده و فقط قاعدهٔ آخر هفته را می‌دانیم (پنجشنبه و جمعه، `kind=weekend`، `is_trading_day=false`، `equities_traded` تهی). با رسیدنِ روز، همین ردیف از روی کندل‌ها دوباره محاسبه می‌شود و `false` می‌شود. شنبه تا چهارشنبه‌ی آینده در جدول نیست: تعطیلی رسمی را نمی‌دانیم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Projected","description":"`true`: روزی که هنوز نیامده و فقط قاعدهٔ آخر هفته را می‌دانیم (پنجشنبه و جمعه، `kind=weekend`، `is_trading_day=false`، `equities_traded` تهی). با رسیدنِ روز، همین ردیف از روی کندل‌ها دوباره محاسبه می‌شود و `false` می‌شود. شنبه تا چهارشنبه‌ی آینده در جدول نیست: تعطیلی رسمی را نمی‌دانیم. — exact match; comma-separate several values, `null` for NULL."},"name":"is_projected","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"day":{"type":"string","format":"date","description":"روز تقویمی (میلادی)."},"is_trading_day":{"type":"boolean","description":"`true`: سهام در آن روز معامله شد."},"equities_traded":{"type":"integer","description":"چند سهم در آن روز کندل خامِ دارای حجم داشتند (شاهد حکم). تهی برای روزِ پیش‌بینی‌شده (`is_projected`).","nullable":true},"kind":{"type":"string","description":"`trading` روز معاملاتی؛ `weekend` پنجشنبه یا جمعه (بورس بسته است)؛ `closed` شنبه تا چهارشنبه‌ای که معامله نشد (تعطیلی رسمی یا بسته بودن بازار، مثل ۱۴۰۴/۱۲/۰۹ تا ۱۴۰۵/۰۲/۲۸)."},"computed_at":{"type":"string","format":"date-time","description":"زمان آخرین محاسبهٔ ردیف."},"is_projected":{"type":"boolean","description":"`true`: روزی که هنوز نیامده و فقط قاعدهٔ آخر هفته را می‌دانیم (پنجشنبه و جمعه، `kind=weekend`، `is_trading_day=false`، `equities_traded` تهی). با رسیدنِ روز، همین ردیف از روی کندل‌ها دوباره محاسبه می‌شود و `false` می‌شود. شنبه تا چهارشنبه‌ی آینده در جدول نیست: تعطیلی رسمی را نمی‌دانیم."},"day_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/market/treasury-bills":{"get":{"tags":["market"],"summary":"اسناد خزانه اسلامی (اخزا): قیمت و بازده هر روز — Treasury bills: prices and yields","description":"قیمت اسناد خزانه اسلامی (نمادهای `اخزا…`، بدون کوپن، ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال) که در بورس معامله شده‌اند: یک ردیف\nبرای هر اوراق و هر روزی که پیش از سررسید به قیمتی کمتر از ارزش اسمی معامله شده، با بازدهٔ مؤثر سالانه‌ای که قیمت پایانی می‌دهد. سری نرخ\nبدون ریسک (`platform:risk_free:tbill` در `/v1/macro/observations`) میانهٔ همین بازده‌هاست؛ اینجا خود اوراق را دارید تا **منحنی بازده**\nرا خودتان بسازید یا نرخ را برای سررسید دلخواه بخوانید.\n\n- منحنی یک روز: `/v1/market/treasury-bills?day=2026-11-02&order_by=days_to_maturity&fields=symbol,maturity,days_to_maturity,close,volume,ytm`\n  (محور افقی `days_to_maturity`، محور عمودی `ytm`). یک اوراق در طول زمان: `?symbol=اخزا212&order_by=day`.\n- **بازدهٔ همهٔ ردیف‌ها نمایندهٔ بازار نیست.** اوراقِ چند روز مانده به سررسید بازدهٔ بی‌معنی می‌دهند (بزرگ‌ترین مقدار ثبت‌شده ۱۶۹٪ است) و\n  اوراقی که روزی چند برگه معامله شده قیمت نمایندهٔ بازار ندارد. برای منحنی `days_to_maturity__gte=30` و `volume__gte=` را بگذارید؛ سری\n  نرخ بدون ریسک فقط اوراق ۳۰ تا ۴۰۰ روز مانده را می‌گیرد (و اگر نبود، ۱۰ تا ۸۰۰) و میانهٔ بازده‌شان را می‌نویسد.\n- **پوشش:** از ۲۰۱۵-۰۹-۳۰ (۱۳۹۴/۰۷/۰۸)؛ با اجراهای روزانهٔ ۱۶:۳۰ و ۲۳:۳۰ تازه می‌شود (ردیف یک روز وقتی می‌آید که بورس فهرست روزانهٔ آن را\n  داده باشد). تا ۲۰۲۶-۱۱-۰۲: ۱۳۲ اوراق و ۴۹٬۲۳۷ ردیف.\n  اوراق منقضی‌شده هم هست (بورس فقط اوراق زنده را در دیده‌بان بازار نگه می‌دارد). روزی که اوراقی معامله نشده ردیف ندارد، و پیش از ۱۳۹۴/۰۷\n  معاملهٔ اسناد خزانه در دست نیست. یک اوراق برای هر روز یک ردیف دارد (خط اول، بازار عادی).\n\n**Fast filters (indexed):** `from`, `to`, `ins_code`, `day`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `ins_code` | text ⚡ | کد بورس خط اول اوراق (`insCode`)؛ همان `native_code` در `/v1/instruments`. |\n| `day` | date ⚡ | روز معاملاتی (میلادی). |\n| `symbol` | text | نماد اوراق، مثلاً `اخزا212`. |\n| `maturity` | date | سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. |\n| `close` | num | قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). |\n| `last` | num | قیمت آخرین معامله همان روز (ریال). |\n| `volume` | num | تعداد برگهٔ معامله‌شده. |\n| `trades` | int | تعداد معاملات. |\n| `value` | num | ارزش معاملات (ریال). |\n| `ytm` | num | بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. |\n| `fetched_at` | ts | زمان ثبت ردیف. |\n| `days_to_maturity` | int | روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. |\n| `day_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `maturity_jalali` | text | سررسید به شمسی. |","operationId":"list_treasury_bills","parameters":[{"description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`day`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `day`, `symbol`, `maturity`, `close`, `volume`, `ytm`, `days_to_maturity`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `day`, `symbol`, `maturity`, `close`, `volume`, `ytm`, `days_to_maturity`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کد بورس خط اول اوراق (`insCode`)؛ همان `native_code` در `/v1/instruments`. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Ins Code","description":"کد بورس خط اول اوراق (`insCode`)؛ همان `native_code` در `/v1/instruments`. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"ins_code","in":"query"},{"description":"روز معاملاتی (میلادی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day","description":"روز معاملاتی (میلادی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"day","in":"query"},{"description":"روز معاملاتی (میلادی). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Day  Gte","description":"روز معاملاتی (میلادی). — minimum (inclusive). ⚡ indexed."},"name":"day__gte","in":"query"},{"description":"روز معاملاتی (میلادی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Day  Lte","description":"روز معاملاتی (میلادی). — maximum (inclusive)."},"name":"day__lte","in":"query"},{"description":"نماد اوراق، مثلاً `اخزا212`. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد اوراق، مثلاً `اخزا212`. — exact match; comma-separate several values, `null` for NULL."},"name":"symbol","in":"query"},{"description":"نماد اوراق، مثلاً `اخزا212`. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد اوراق، مثلاً `اخزا212`. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"symbol__like","in":"query"},{"description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Maturity","description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. — exact match; comma-separate several values, `null` for NULL."},"name":"maturity","in":"query"},{"description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Maturity  Gte","description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. — minimum (inclusive)."},"name":"maturity__gte","in":"query"},{"description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Maturity  Lte","description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است. — maximum (inclusive)."},"name":"maturity__lte","in":"query"},{"description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close","description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). — exact match; comma-separate several values, `null` for NULL."},"name":"close","in":"query"},{"description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Gte","description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). — minimum (inclusive)."},"name":"close__gte","in":"query"},{"description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close  Lte","description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است). — maximum (inclusive)."},"name":"close__lte","in":"query"},{"description":"قیمت آخرین معامله همان روز (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last","description":"قیمت آخرین معامله همان روز (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"last","in":"query"},{"description":"قیمت آخرین معامله همان روز (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last  Gte","description":"قیمت آخرین معامله همان روز (ریال). — minimum (inclusive)."},"name":"last__gte","in":"query"},{"description":"قیمت آخرین معامله همان روز (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last  Lte","description":"قیمت آخرین معامله همان روز (ریال). — maximum (inclusive)."},"name":"last__lte","in":"query"},{"description":"تعداد برگهٔ معامله‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume","description":"تعداد برگهٔ معامله‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"volume","in":"query"},{"description":"تعداد برگهٔ معامله‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Gte","description":"تعداد برگهٔ معامله‌شده. — minimum (inclusive)."},"name":"volume__gte","in":"query"},{"description":"تعداد برگهٔ معامله‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Volume  Lte","description":"تعداد برگهٔ معامله‌شده. — maximum (inclusive)."},"name":"volume__lte","in":"query"},{"description":"تعداد معاملات. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades","description":"تعداد معاملات. — exact match; comma-separate several values, `null` for NULL."},"name":"trades","in":"query"},{"description":"تعداد معاملات. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades  Gte","description":"تعداد معاملات. — minimum (inclusive)."},"name":"trades__gte","in":"query"},{"description":"تعداد معاملات. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades  Lte","description":"تعداد معاملات. — maximum (inclusive)."},"name":"trades__lte","in":"query"},{"description":"ارزش معاملات (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Value","description":"ارزش معاملات (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"value","in":"query"},{"description":"ارزش معاملات (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Gte","description":"ارزش معاملات (ریال). — minimum (inclusive)."},"name":"value__gte","in":"query"},{"description":"ارزش معاملات (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Value  Lte","description":"ارزش معاملات (ریال). — maximum (inclusive)."},"name":"value__lte","in":"query"},{"description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ytm","description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. — exact match; comma-separate several values, `null` for NULL."},"name":"ytm","in":"query"},{"description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ytm  Gte","description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. — minimum (inclusive)."},"name":"ytm__gte","in":"query"},{"description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ytm  Lte","description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد. — maximum (inclusive)."},"name":"ytm__lte","in":"query"},{"description":"زمان ثبت ردیف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"زمان ثبت ردیف. — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"زمان ثبت ردیف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"زمان ثبت ردیف. — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"زمان ثبت ردیف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"زمان ثبت ردیف. — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Days To Maturity","description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. — exact match; comma-separate several values, `null` for NULL."},"name":"days_to_maturity","in":"query"},{"description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Days To Maturity  Gte","description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. — minimum (inclusive)."},"name":"days_to_maturity__gte","in":"query"},{"description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Days To Maturity  Lte","description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده. — maximum (inclusive)."},"name":"days_to_maturity__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"ins_code":{"type":"string","description":"کد بورس خط اول اوراق (`insCode`)؛ همان `native_code` در `/v1/instruments`."},"day":{"type":"string","format":"date","description":"روز معاملاتی (میلادی)."},"symbol":{"type":"string","description":"نماد اوراق، مثلاً `اخزا212`."},"maturity":{"type":"string","format":"date","description":"سررسید (میلادی)؛ از شش رقم آخر نام اوراق (سال، ماه و روز شمسی) خوانده شده است."},"close":{"type":"number","description":"قیمت پایانی همان روز (ریال برای هر برگه؛ ارزش اسمی هر برگه ۱٬۰۰۰٬۰۰۰ ریال است)."},"last":{"type":"number","description":"قیمت آخرین معامله همان روز (ریال).","nullable":true},"volume":{"type":"number","description":"تعداد برگهٔ معامله‌شده."},"trades":{"type":"integer","description":"تعداد معاملات.","nullable":true},"value":{"type":"number","description":"ارزش معاملات (ریال).","nullable":true},"ytm":{"type":"number","description":"بازدهٔ مؤثر سالانه تا سررسید، **درصد**: `(۱٬۰۰۰٬۰۰۰ ÷ close) ^ (۳۶۵ ÷ days_to_maturity) − ۱`. محاسبهٔ پلتفرم از قیمت پایانی است، نه عددی که بورس بدهد.","nullable":true},"fetched_at":{"type":"string","format":"date-time","description":"زمان ثبت ردیف."},"days_to_maturity":{"type":"integer","description":"روز تا سررسید در همان روز معامله (`maturity − day`). محور افقی منحنی بازده."},"day_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"maturity_jalali":{"type":"string","description":"سررسید به شمسی.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/companies":{"get":{"tags":["companies"],"summary":"شرکت‌ها — Companies","description":"حدود ۱٫۱ میلیون شرکت ثبت‌شده که نامشان از آگهی‌های روزنامه رسمی استخراج شده (شرکتی که هنوز هیچ آگهی‌اش نام نداشته، اینجا نیست).\n\n- جست‌وجوی نام: `q=`. یا شهر: `city=تبریز`.\n- نام شرکت‌ها یکتا نیست (حدود ۱٬۹۰۰ نام برای بیش از یک شرکت)؛ از `national_id` استفاده کنید.\n- `established_date` (تاریخ ثبت) برای حدود ۶۷٪ شرکت‌ها (≈۷۴۰ هزار) پر است: آن‌ها که آگهی «تأسیس»شان در روزنامه رسمی دیجیتال هست (و ۴۹۶ شرکتِ بورسیِ قدیمی از لیست بدهکارانِ بانک مرکزی؛ `fields=established_source,established_note` منبع را می‌گویند). کار هر\n  روز (۱۶:۳۰ و ۲۳:۳۰) با آگهی‌های تازه ادامه دارد. تاریخ همان است که متن آگهی تأسیس می‌گوید، نه تاریخ انتشار؛ برای آگهی‌ای که تاریخ\n  درستی در متنش نیست تاریخ خود آگهی می‌آید. تأسیس‌های پیش از آن (شرکت‌های قدیمی) `null` است و هیچ‌جا حدس زده نمی‌شود.\n  معمولاً `established_date` ≤ `first_notice_date` است؛ برای ≈۰٫۰۴٪ شرکت‌ها آگهی دیگری با تاریخ پیش از ثبت هست (غلط تاریخی در یکی از دو آگهی).\n- برای رده‌بندی بر اساس نام و مشاهده سمت‌ها: `/v1/companies/search` و `/v1/companies/{national_id}/officers`.\n\n**Fast filters (indexed):** `q`, `national_id`, `city`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `national_id` | text ⚡ | شناسه ملی شرکت (۱۱ رقم). |\n| `name` | text | نام شرکت؛ با آخرین آگهی به‌روز می‌شود (شرکت تغییرنام‌داده نام تازه را دارد). |\n| `name_norm` | text | نام نرمال‌شده برای جست‌وجو. |\n| `company_type` | text | نوع شرکت. |\n| `notice_count` | int | تعداد آگهی ثبت‌شده. |\n| `last_notice_date` | text | تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). |\n| `officers_current` | int | تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. |\n| `refreshed_at` | ts | آخرین به‌روزرسانی ردیف جست‌وجو. |\n| `registration_number` | text | شماره ثبت؛ از عنوان آگهی‌ها خوانده می‌شود و برای حدود ۶۱٪ شرکت‌ها پر است (بقیه هرگز در عنوان آگهی نیامده). |\n| `established_date` | text | تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. |\n| `established_source` | text | منبعِ `established_date`: `gazette` آگهی «تأسیس» روزنامه رسمی (چهار مقدارِ دستیِ قدیمیِ بدون آگهی هم همین‌جا می‌آید)؛ `cbi_debtors` ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی؛ `curated` تاریخی که با دست بررسی شده (سه غلط‌املای سالِ آگهی)؛ `unknown` تاریخ نامعلوم است و `established_date` تهی (برای ۲۹۸ شرکتِ بورسی: نبودِ آگهیِ تأسیس در روزنامه رسمیِ دیجیتال و نبودِ منبعی دیگر، پس شرکت پیش از ۱۳۸۸ ثبت شده فرض می‌شود — نتیجه‌ای از نبودِ آگهی است نه از سند؛ هر وقت تاریخ پیدا شد جایگزین می‌شود). تهی (`null`) هم‌زمان با `established_date` تهی: هنوز بررسی نشده. فقط در خروجی (`fields=established_source`). |\n| `established_note` | text | توضیحِ منبع یا نامعلومیِ تاریخ ثبت (فارسی)؛ برای تاریخ‌های روزنامه رسمی تهی. فقط در خروجی (`fields=established_note`). |\n| `first_notice_date` | text | تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. |\n| `updated_at` | ts | آخرین به‌روزرسانی (جدول companies). |\n| `city` | text ⚡ | شهر ثبت. |","operationId":"list_companies","parameters":[{"description":"جست‌وجو در نام شرکت (بخشی از متن؛ ی/ي و ک/ك یکسان در نظر گرفته می‌شوند). حداقل ۳ حرف. — Company-name contains search. ⚡ trigram index.","required":false,"schema":{"type":"string","title":"Q","description":"جست‌وجو در نام شرکت (بخشی از متن؛ ی/ي و ک/ك یکسان در نظر گرفته می‌شوند). حداقل ۳ حرف. — Company-name contains search. ⚡ trigram index."},"name":"q","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `national_id`, `name`, `company_type`, `notice_count`, `last_notice_date`, `officers_current`, `city`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `national_id`, `name`, `company_type`, `notice_count`, `last_notice_date`, `officers_current`, `city`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ملی شرکت (۱۱ رقم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"National Id","description":"شناسه ملی شرکت (۱۱ رقم). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"national_id","in":"query"},{"description":"نام شرکت؛ با آخرین آگهی به‌روز می‌شود (شرکت تغییرنام‌داده نام تازه را دارد). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name","description":"نام شرکت؛ با آخرین آگهی به‌روز می‌شود (شرکت تغییرنام‌داده نام تازه را دارد). — exact match; `null` for NULL."},"name":"name","in":"query"},{"description":"نوع شرکت. — exact match; comma-separate several values, `null` for NULL. Values: `سهامی خاص`, `با مسئولیت محدود`, `تعاونی`, `موسسه غیرتجاری`, `سهامی عام`, `تضامنی`, `نسبی`, `مختلط سهامی`, `مختلط غیرسهامی`.","required":false,"schema":{"type":"string","title":"Company Type","description":"نوع شرکت. — exact match; comma-separate several values, `null` for NULL. Values: `سهامی خاص`, `با مسئولیت محدود`, `تعاونی`, `موسسه غیرتجاری`, `سهامی عام`, `تضامنی`, `نسبی`, `مختلط سهامی`, `مختلط غیرسهامی`."},"name":"company_type","in":"query"},{"description":"تعداد آگهی ثبت‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Notice Count","description":"تعداد آگهی ثبت‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"notice_count","in":"query"},{"description":"تعداد آگهی ثبت‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Count  Gte","description":"تعداد آگهی ثبت‌شده. — minimum (inclusive)."},"name":"notice_count__gte","in":"query"},{"description":"تعداد آگهی ثبت‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Count  Lte","description":"تعداد آگهی ثبت‌شده. — maximum (inclusive)."},"name":"notice_count__lte","in":"query"},{"description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Notice Date","description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). — exact match; comma-separate several values, `null` for NULL."},"name":"last_notice_date","in":"query"},{"description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Notice Date  Gte","description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). — minimum (inclusive)."},"name":"last_notice_date__gte","in":"query"},{"description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Notice Date  Lte","description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود). — maximum (inclusive)."},"name":"last_notice_date__lte","in":"query"},{"description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Officers Current","description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. — exact match; comma-separate several values, `null` for NULL."},"name":"officers_current","in":"query"},{"description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Officers Current  Gte","description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. — minimum (inclusive)."},"name":"officers_current__gte","in":"query"},{"description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Officers Current  Lte","description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است. — maximum (inclusive)."},"name":"officers_current__lte","in":"query"},{"description":"آخرین به‌روزرسانی ردیف جست‌وجو. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Refreshed At","description":"آخرین به‌روزرسانی ردیف جست‌وجو. — exact match; comma-separate several values, `null` for NULL."},"name":"refreshed_at","in":"query"},{"description":"آخرین به‌روزرسانی ردیف جست‌وجو. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Refreshed At  Gte","description":"آخرین به‌روزرسانی ردیف جست‌وجو. — minimum (inclusive)."},"name":"refreshed_at__gte","in":"query"},{"description":"آخرین به‌روزرسانی ردیف جست‌وجو. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Refreshed At  Lte","description":"آخرین به‌روزرسانی ردیف جست‌وجو. — maximum (inclusive)."},"name":"refreshed_at__lte","in":"query"},{"description":"شماره ثبت؛ از عنوان آگهی‌ها خوانده می‌شود و برای حدود ۶۱٪ شرکت‌ها پر است (بقیه هرگز در عنوان آگهی نیامده). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Registration Number","description":"شماره ثبت؛ از عنوان آگهی‌ها خوانده می‌شود و برای حدود ۶۱٪ شرکت‌ها پر است (بقیه هرگز در عنوان آگهی نیامده). — exact match; comma-separate several values, `null` for NULL."},"name":"registration_number","in":"query"},{"description":"شماره ثبت؛ از عنوان آگهی‌ها خوانده می‌شود و برای حدود ۶۱٪ شرکت‌ها پر است (بقیه هرگز در عنوان آگهی نیامده). — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Registration Number  Like","description":"شماره ثبت؛ از عنوان آگهی‌ها خوانده می‌شود و برای حدود ۶۱٪ شرکت‌ها پر است (بقیه هرگز در عنوان آگهی نیامده). — contains this text (case-insensitive)."},"name":"registration_number__like","in":"query"},{"description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Established Date","description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. — exact match; comma-separate several values, `null` for NULL."},"name":"established_date","in":"query"},{"description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Established Date  Gte","description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. — minimum (inclusive)."},"name":"established_date__gte","in":"query"},{"description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Established Date  Lte","description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست. — maximum (inclusive)."},"name":"established_date__lte","in":"query"},{"description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Notice Date","description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. — exact match; comma-separate several values, `null` for NULL."},"name":"first_notice_date","in":"query"},{"description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Notice Date  Gte","description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. — minimum (inclusive)."},"name":"first_notice_date__gte","in":"query"},{"description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Notice Date  Lte","description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹. — maximum (inclusive)."},"name":"first_notice_date__lte","in":"query"},{"description":"آخرین به‌روزرسانی (جدول companies). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"آخرین به‌روزرسانی (جدول companies). — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"آخرین به‌روزرسانی (جدول companies). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"آخرین به‌روزرسانی (جدول companies). — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"آخرین به‌روزرسانی (جدول companies). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"آخرین به‌روزرسانی (جدول companies). — maximum (inclusive)."},"name":"updated_at__lte","in":"query"},{"description":"شهر ثبت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City","description":"شهر ثبت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"national_id":{"type":"string","description":"شناسه ملی شرکت (۱۱ رقم)."},"name":{"type":"string","description":"نام شرکت؛ با آخرین آگهی به‌روز می‌شود (شرکت تغییرنام‌داده نام تازه را دارد)."},"name_norm":{"type":"string","description":"نام نرمال‌شده برای جست‌وجو."},"company_type":{"type":"string","description":"نوع شرکت.","nullable":true},"notice_count":{"type":"integer","description":"تعداد آگهی ثبت‌شده.","nullable":true},"last_notice_date":{"type":"string","description":"تاریخ آخرین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹ (تاریخ نگهبان منبع، ۱۳۰۰/۰۲/۰۱، نادیده گرفته می‌شود).","nullable":true},"officers_current":{"type":"integer","description":"تعداد افراد (نه سمت‌ها) که اکنون در یکی از سمت‌ها هستند (هیئت‌مدیره، مدیرعامل، بازرس، …)؛ کسی که هم عضو و هم رئیس است یک نفر شمرده می‌شود. تعریف «در سمت» در توضیح /v1/officers/terms آمده است.","nullable":true},"refreshed_at":{"type":"string","format":"date-time","description":"آخرین به‌روزرسانی ردیف جست‌وجو.","nullable":true},"registration_number":{"type":"string","description":"شماره ثبت؛ از عنوان آگهی‌ها خوانده می‌شود و برای حدود ۶۱٪ شرکت‌ها پر است (بقیه هرگز در عنوان آگهی نیامده).","nullable":true},"established_date":{"type":"string","description":"تاریخ ثبت شرکت (شمسی، `YYYY/MM/DD`). معمولاً از آگهی «تأسیس» روزنامه رسمی: تاریخی که متن آگهی می‌گوید («در تاریخ …»)، و اگر متن تاریخ درستی نداشت تاریخ خود آگهی. برای شرکت‌های بورسی قدیمی که آگهی تأسیس ندارند (ثبت‌شده پیش از دیجیتال‌شدن روزنامه) از ۱۴۰۵/۰۸/۱۹ تاریخِ ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی آمده (۴۹۶ شرکت؛ `established_source=cbi_debtors` — در ۸۴٫۵٪ شرکت‌هایی که هر دو منبع را دارند با تاریخ روزنامه برابر است و در ۸۷٪ هم‌سال؛ روزِ دقیق تأسیس را تضمین نمی‌کند). `null` یعنی تاریخ را نمی‌دانیم؛ دلیلش در `established_source` و `established_note` است. حدس زده نمی‌شود و `first_notice_date` (اولین آگهیِ موجود، نه تأسیس) جای آن نیست.","nullable":true},"established_source":{"type":"string","description":"منبعِ `established_date`: `gazette` آگهی «تأسیس» روزنامه رسمی (چهار مقدارِ دستیِ قدیمیِ بدون آگهی هم همین‌جا می‌آید)؛ `cbi_debtors` ستون «تاریخ ثبت» در لیست بدهکارانِ بانک مرکزی؛ `curated` تاریخی که با دست بررسی شده (سه غلط‌املای سالِ آگهی)؛ `unknown` تاریخ نامعلوم است و `established_date` تهی (برای ۲۹۸ شرکتِ بورسی: نبودِ آگهیِ تأسیس در روزنامه رسمیِ دیجیتال و نبودِ منبعی دیگر، پس شرکت پیش از ۱۳۸۸ ثبت شده فرض می‌شود — نتیجه‌ای از نبودِ آگهی است نه از سند؛ هر وقت تاریخ پیدا شد جایگزین می‌شود). تهی (`null`) هم‌زمان با `established_date` تهی: هنوز بررسی نشده. فقط در خروجی (`fields=established_source`).","nullable":true},"established_note":{"type":"string","description":"توضیحِ منبع یا نامعلومیِ تاریخ ثبت (فارسی)؛ برای تاریخ‌های روزنامه رسمی تهی. فقط در خروجی (`fields=established_note`).","nullable":true},"first_notice_date":{"type":"string","description":"تاریخ اولین آگهی (شمسی)؛ فقط تاریخ‌های ۱۳۸۰ تا ۱۴۴۹.","nullable":true},"updated_at":{"type":"string","format":"date-time","description":"آخرین به‌روزرسانی (جدول companies).","nullable":true},"city":{"type":"string","description":"شهر ثبت.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/notices":{"get":{"tags":["companies"],"summary":"آگهی‌های روزنامه رسمی — Gazette notices","description":"۴٫۶ میلیون آگهی ثبتی (تأسیس، تغییرات، انحلال، …) از ۱۳۸۰. متن کامل پیش‌فرض برگردانده نمی‌شود\n(حجیم است): `fields=*` یا `GET /v1/notices/{code}`.\n\nبرای جلوگیری از اسکن ۱۵ گیگابایت، فیلتر باید یکی از `national_id`، `code`، `id`، `city`، `city_code` را شامل شود؛\nتاریخ و نوع را کنار آن‌ها بدهید. بدون فیلتر، تازه‌ترین آگهی‌ها برمی‌گردد.\n\n**Fast filters (indexed):** `id`, `code`, `national_id`, `city`, `city_code`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه داخلی (افزایشی). |\n| `code` | int ⚡ | کد آگهی در rrk.ir (یکتا). |\n| `peygiri` | text | شماره پیگیری. |\n| `national_id` | text ⚡ | شناسه ملی شرکت. NULL یا «-» برای آگهی‌های غیرشرکتی (علامت تجاری، مناقصه، …): آگهی‌های تازه به‌جای «-» NULL دارند و اگر ستون شناسه خالی باشد از متن آگهی شرکتی خوانده می‌شود. |\n| `title` | text | عنوان آگهی (فاصلهٔ ابتدا و انتها حذف می‌شود). |\n| `full_text` | text large | متن کامل آگهی (حجیم؛ با `fields=full_text` یا /v1/notices/{code}). آگهی‌های تهران در ۱۴۰۵/۰۶/۱۳ (حدود ۵۵۰ آگهی) تا خوانده شدن دوبارهٔ متن، متن خطای صفحه را دارند. |\n| `notice_date` | text | تاریخ آگهی (شمسی). |\n| `gazette_date` | text | تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. |\n| `gazette_number` | text | شماره روزنامه (تا زمان انتشار خالی). |\n| `page_number` | text | شماره صفحه (تا زمان انتشار خالی). |\n| `status` | text | وضعیت (آماده ارسال به چاپ، انتشار یافته امضا نشده، …)؛ آگهی تازه «آماده ارسال به چاپ» است و هر شب برای سه ماه اخیر به‌روز می‌شود. |\n| `indicator` | text | شاخص/شناسه آگهی. |\n| `city` | text ⚡ | شهر ثبت. |\n| `source` | text | منبع. |\n| `fetched_at` | ts | زمان جمع‌آوری. |\n| `issuer` | text | صادرکننده — عملاً خالی است (حدود ۹۹٫۹۵٪ ردیف‌ها؛ در آگهی‌های ۱۴۰۵ هرگز پر نشده). برای محل ثبت از `city` استفاده کنید. |\n| `city_code` | text ⚡ | کد شهر (/v1/gazette-cities). |\n| `comp_name` | text | نام شرکت (استخراج‌شده از متن). |\n| `comp_type` | text | نوع شرکت (استخراج‌شده). |","operationId":"list_notices","parameters":[{"description":"Start of the period, **inclusive** (`notice_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`notice_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `code`, `national_id`, `notice_date`, `gazette_date`, `city`, `fetched_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `code`, `national_id`, `notice_date`, `gazette_date`, `city`, `fetched_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه داخلی (افزایشی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه داخلی (افزایشی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه داخلی (افزایشی). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه داخلی (افزایشی). — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه داخلی (افزایشی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه داخلی (افزایشی). — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"کد آگهی در rrk.ir (یکتا). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Code","description":"کد آگهی در rrk.ir (یکتا). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"code","in":"query"},{"description":"کد آگهی در rrk.ir (یکتا). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Code  Gte","description":"کد آگهی در rrk.ir (یکتا). — minimum (inclusive). ⚡ indexed."},"name":"code__gte","in":"query"},{"description":"کد آگهی در rrk.ir (یکتا). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Code  Lte","description":"کد آگهی در rrk.ir (یکتا). — maximum (inclusive)."},"name":"code__lte","in":"query"},{"description":"شماره پیگیری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Peygiri","description":"شماره پیگیری. — exact match; comma-separate several values, `null` for NULL."},"name":"peygiri","in":"query"},{"description":"شناسه ملی شرکت. NULL یا «-» برای آگهی‌های غیرشرکتی (علامت تجاری، مناقصه، …): آگهی‌های تازه به‌جای «-» NULL دارند و اگر ستون شناسه خالی باشد از متن آگهی شرکتی خوانده می‌شود. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"National Id","description":"شناسه ملی شرکت. NULL یا «-» برای آگهی‌های غیرشرکتی (علامت تجاری، مناقصه، …): آگهی‌های تازه به‌جای «-» NULL دارند و اگر ستون شناسه خالی باشد از متن آگهی شرکتی خوانده می‌شود. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"national_id","in":"query"},{"description":"عنوان آگهی (فاصلهٔ ابتدا و انتها حذف می‌شود). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان آگهی (فاصلهٔ ابتدا و انتها حذف می‌شود). — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان آگهی (فاصلهٔ ابتدا و انتها حذف می‌شود). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان آگهی (فاصلهٔ ابتدا و انتها حذف می‌شود). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"},{"description":"تاریخ آگهی (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Notice Date","description":"تاریخ آگهی (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"notice_date","in":"query"},{"description":"تاریخ آگهی (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Date  Gte","description":"تاریخ آگهی (شمسی). — minimum (inclusive)."},"name":"notice_date__gte","in":"query"},{"description":"تاریخ آگهی (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Date  Lte","description":"تاریخ آگهی (شمسی). — maximum (inclusive)."},"name":"notice_date__lte","in":"query"},{"description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Gazette Date","description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. — exact match; comma-separate several values, `null` for NULL."},"name":"gazette_date","in":"query"},{"description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Gazette Date  Gte","description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. — minimum (inclusive)."},"name":"gazette_date__gte","in":"query"},{"description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Gazette Date  Lte","description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود. — maximum (inclusive)."},"name":"gazette_date__lte","in":"query"},{"description":"شماره روزنامه (تا زمان انتشار خالی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Gazette Number","description":"شماره روزنامه (تا زمان انتشار خالی). — exact match; comma-separate several values, `null` for NULL."},"name":"gazette_number","in":"query"},{"description":"شماره صفحه (تا زمان انتشار خالی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Page Number","description":"شماره صفحه (تا زمان انتشار خالی). — exact match; comma-separate several values, `null` for NULL."},"name":"page_number","in":"query"},{"description":"وضعیت (آماده ارسال به چاپ، انتشار یافته امضا نشده، …)؛ آگهی تازه «آماده ارسال به چاپ» است و هر شب برای سه ماه اخیر به‌روز می‌شود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status","description":"وضعیت (آماده ارسال به چاپ، انتشار یافته امضا نشده، …)؛ آگهی تازه «آماده ارسال به چاپ» است و هر شب برای سه ماه اخیر به‌روز می‌شود. — exact match; comma-separate several values, `null` for NULL."},"name":"status","in":"query"},{"description":"شاخص/شناسه آگهی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Indicator","description":"شاخص/شناسه آگهی. — exact match; comma-separate several values, `null` for NULL."},"name":"indicator","in":"query"},{"description":"شهر ثبت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City","description":"شهر ثبت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city","in":"query"},{"description":"منبع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"منبع. — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"زمان جمع‌آوری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"زمان جمع‌آوری. — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"زمان جمع‌آوری. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"زمان جمع‌آوری. — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"زمان جمع‌آوری. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"زمان جمع‌آوری. — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"صادرکننده — عملاً خالی است (حدود ۹۹٫۹۵٪ ردیف‌ها؛ در آگهی‌های ۱۴۰۵ هرگز پر نشده). برای محل ثبت از `city` استفاده کنید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Issuer","description":"صادرکننده — عملاً خالی است (حدود ۹۹٫۹۵٪ ردیف‌ها؛ در آگهی‌های ۱۴۰۵ هرگز پر نشده). برای محل ثبت از `city` استفاده کنید. — exact match; comma-separate several values, `null` for NULL."},"name":"issuer","in":"query"},{"description":"کد شهر (/v1/gazette-cities). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Code","description":"کد شهر (/v1/gazette-cities). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city_code","in":"query"},{"description":"نام شرکت (استخراج‌شده از متن). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Comp Name","description":"نام شرکت (استخراج‌شده از متن). — exact match; `null` for NULL."},"name":"comp_name","in":"query"},{"description":"نام شرکت (استخراج‌شده از متن). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Comp Name  Like","description":"نام شرکت (استخراج‌شده از متن). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"comp_name__like","in":"query"},{"description":"نوع شرکت (استخراج‌شده). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Comp Type","description":"نوع شرکت (استخراج‌شده). — exact match; comma-separate several values, `null` for NULL."},"name":"comp_type","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه داخلی (افزایشی)."},"code":{"type":"integer","description":"کد آگهی در rrk.ir (یکتا).","nullable":true},"peygiri":{"type":"string","description":"شماره پیگیری.","nullable":true},"national_id":{"type":"string","description":"شناسه ملی شرکت. NULL یا «-» برای آگهی‌های غیرشرکتی (علامت تجاری، مناقصه، …): آگهی‌های تازه به‌جای «-» NULL دارند و اگر ستون شناسه خالی باشد از متن آگهی شرکتی خوانده می‌شود.","nullable":true},"title":{"type":"string","description":"عنوان آگهی (فاصلهٔ ابتدا و انتها حذف می‌شود).","nullable":true},"full_text":{"type":"string","description":"متن کامل آگهی (حجیم؛ با `fields=full_text` یا /v1/notices/{code}). آگهی‌های تهران در ۱۴۰۵/۰۶/۱۳ (حدود ۵۵۰ آگهی) تا خوانده شدن دوبارهٔ متن، متن خطای صفحه را دارند.","nullable":true},"notice_date":{"type":"string","description":"تاریخ آگهی (شمسی).","nullable":true},"gazette_date":{"type":"string","description":"تاریخ انتشار در روزنامه (شمسی). تا زمان انتشار خالی است؛ هر شب سه ماه اخیر دوباره خوانده و تکمیل می‌شود.","nullable":true},"gazette_number":{"type":"string","description":"شماره روزنامه (تا زمان انتشار خالی).","nullable":true},"page_number":{"type":"string","description":"شماره صفحه (تا زمان انتشار خالی).","nullable":true},"status":{"type":"string","description":"وضعیت (آماده ارسال به چاپ، انتشار یافته امضا نشده، …)؛ آگهی تازه «آماده ارسال به چاپ» است و هر شب برای سه ماه اخیر به‌روز می‌شود.","nullable":true},"indicator":{"type":"string","description":"شاخص/شناسه آگهی.","nullable":true},"city":{"type":"string","description":"شهر ثبت.","nullable":true},"source":{"type":"string","description":"منبع.","nullable":true},"fetched_at":{"type":"string","format":"date-time","description":"زمان جمع‌آوری.","nullable":true},"issuer":{"type":"string","description":"صادرکننده — عملاً خالی است (حدود ۹۹٫۹۵٪ ردیف‌ها؛ در آگهی‌های ۱۴۰۵ هرگز پر نشده). برای محل ثبت از `city` استفاده کنید.","nullable":true},"city_code":{"type":"string","description":"کد شهر (/v1/gazette-cities).","nullable":true},"comp_name":{"type":"string","description":"نام شرکت (استخراج‌شده از متن).","nullable":true},"comp_type":{"type":"string","description":"نوع شرکت (استخراج‌شده).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/gazette-cities":{"get":{"tags":["companies"],"summary":"شهرهای ثبت (روزنامه رسمی) — Registration cities","description":"۷۱۲ شهر/منطقه ثبتی. `code` با `city_code` در /v1/notices یکی است. فهرست هفته‌ای یک بار از سایت دوباره خوانده می‌شود و واحد تازه خودکار جمع‌آوری می‌شود.\n\n**Fast filters (indexed):** `code`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `code` | text ⚡ | کد شهر. |\n| `name` | text | نام شهر. |\n| `harvested_at` | ts | زمان جمع‌آوری. |","operationId":"list_gazette_cities","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `code`, `name`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `code`, `name`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کد شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Code","description":"کد شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"code","in":"query"},{"description":"نام شهر. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name","description":"نام شهر. — exact match; `null` for NULL."},"name":"name","in":"query"},{"description":"نام شهر. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Name  Like","description":"نام شهر. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"name__like","in":"query"},{"description":"زمان جمع‌آوری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Harvested At","description":"زمان جمع‌آوری. — exact match; comma-separate several values, `null` for NULL."},"name":"harvested_at","in":"query"},{"description":"زمان جمع‌آوری. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Harvested At  Gte","description":"زمان جمع‌آوری. — minimum (inclusive)."},"name":"harvested_at__gte","in":"query"},{"description":"زمان جمع‌آوری. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Harvested At  Lte","description":"زمان جمع‌آوری. — maximum (inclusive)."},"name":"harvested_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"code":{"type":"string","description":"کد شهر."},"name":{"type":"string","description":"نام شهر."},"harvested_at":{"type":"string","format":"date-time","description":"زمان جمع‌آوری.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/officers/terms":{"get":{"tags":["officers"],"summary":"دوره‌های تصدی سمت‌ها — Officer terms","description":"حدود ۸٫۴ میلیون دوره تصدی. «در سمت» یعنی `to_date` خالی است — تنها تعریفی که این داده پشتیبانی می‌کند، چون ۹۹٫۳٪ ترک سمت‌ها بی‌صدا است و فقط از آگهی بعدی دانسته می‌شود. دورهٔ یک نفر در این موارد پایان می‌یابد: ۱) **انتخاب هیئت‌مدیرهٔ کامل** — آگهی‌ای که دست‌کم به اندازهٔ حداقل قانونی اعضا را نام ببرد (۵ نفر برای سهامی عام، ۳ برای سهامی خاص، تعاونی و موسسه غیرتجاری) اعضای نام‌نبرده را پایان می‌دهد؛ ۲) آگهیِ «A به جای B»: سمت B پایان می‌یابد (ردیف خام او `departed` است)؛ ۳) **عضو حقوقی**: وقتی شرکتی «به نمایندگی» یک شخص عضو هیئت‌مدیره است، صندلی مال شرکت است (`represents_nid` = شناسه ملی ۱۱‌رقمی شرکت) و نمایندهٔ تازهٔ همان شرکت، نمایندهٔ قبلی را پایان می‌دهد (و با عضویتِ او، رئیس یا نایب‌رئیس‌بودنش را)؛ ۴) سمت‌های تک‌نفره (مدیرعامل، رئیس، نایب رئیس، منشی، خزانه‌دار) با نام‌بردن شخص دیگری برای همان سمت؛ ۵) بازرسان و مدیران تصفیه، هر حوزه (`scope`) فقط خودش را: آگهی‌ای که بازرس تازه نام ببرد بازرسان نام‌نبرده را پایان می‌دهد، جلسهٔ بازرسان دورهٔ هیئت‌مدیره را تمام نمی‌کند. آگهی جایگزینیِ یک عضو یا تعیین مدیرعامل **کس دیگری را پایان نمی‌دهد** (تا ۱۴۰۵/۰۸/۱۶ پایان می‌داد و هیئت‌مدیره را خالی نشان می‌داد)؛ بهای این قاعده: عضوی که بدون هیچ‌یک از این نشانه‌ها جایگزین شده تا انتخاب بعدی «در سمت» می‌ماند، پس هیئت‌مدیرهٔ جاری ممکن است یک یا دو نفر بیش از واقع داشته باشد؛ و آگهیِ بخشی از هیئت‌مدیره ممکن است عضوی را که هیچ آگهی‌ای نام نبرده کم نشان دهد. عضو حقوقی ثبت نمی‌شود، نمایندهٔ حقیقی‌اش ثبت می‌شود و شرکتی که نمایندگی می‌کند در `represents_nid` است. رئیس و نایب‌رئیس هیئت‌مدیره عضو هم هستند: از تاریخ نام‌بردنشان یک دورهٔ `board_member` هم برایشان ثبت می‌شود (جدا از دورهٔ `chair` / `vice_chair`)، پس شمارِ `board_member`های جاری اندازهٔ هیئت‌مدیره است؛ اگر آگهی دیگری رئیس تازه بگذارد، رئیسِ قبلی عضو می‌ماند. شخص با **شناسه ملی** تعریف می‌شود نه نام: پس از بازسازی ۱۴۰۵/۰۸/۰۵ (استخراج‌کننده 2026-10-27.2) نام حدود ۰٫۸٪ ردیف‌ها خالی است (آگهی نام را کنار شناسه چاپ نکرده) و کمتر از ۰٫۰۱٪ متن آگهی را در خود دارند.\n\nفیلتر سریع: `company_nid` (همه سمت‌های یک شرکت) یا `person_nid` (همه سمت‌های یک شخص).\n\n**Fast filters (indexed):** `id`, `company_nid`, `person_nid`, `represents_nid`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `company_nid` | text ⚡ | شناسه ملی شرکت. |\n| `person_nid` | text ⚡ | شناسه ملی شخص (۱۰ رقم) — لنگر هویت. |\n| `person_name` | text | نامی که آگهی‌ها کنار شناسه چاپ کرده‌اند (حدود ۰٫۸٪ خالی؛ ممکن است املای دیگری هم داشته باشد). |\n| `role` | text | نقش (slug). |\n| `scope` | text | حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه). |\n| `from_date` | text | آغاز دوره (شمسی). |\n| `to_date` | text | پایان دوره (شمسی)؛ خالی = هنوز در سمت. |\n| `from_notice` | int | کد آگهی آغاز. |\n| `to_notice` | int | کد آگهی پایان. |\n| `represents_nid` | text ⚡ | شناسه ملی شرکتی که این شخص به نمایندگی از آن در سمت است (۱۱ رقم)؛ خالی = برای خودش. صندلیِ عضو حقوقی مال آن شرکت است: با نمایندهٔ تازه‌اش دورهٔ نمایندهٔ قبلی پایان می‌یابد. |\n| `role_fa` | text | عنوان فارسی سمت — Persian role label. |\n| `scope_fa` | text | حوزه به فارسی: هیئت مدیره / بازرسان / تصفیه. |\n| `is_current` | bool | در سمت (to_date خالی است) — still in office. |\n| `company_name` | text | نام شرکت. |\n| `company_city` | text | شهر شرکت. |\n| `company_type` | text | نوع شرکت. |","operationId":"list_officer_terms","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `company_nid`, `person_nid`, `role`, `scope`, `from_date`, `to_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `company_nid`, `person_nid`, `role`, `scope`, `from_date`, `to_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"شناسه ملی شرکت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Company Nid","description":"شناسه ملی شرکت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"company_nid","in":"query"},{"description":"شناسه ملی شخص (۱۰ رقم) — لنگر هویت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Person Nid","description":"شناسه ملی شخص (۱۰ رقم) — لنگر هویت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"person_nid","in":"query"},{"description":"نامی که آگهی‌ها کنار شناسه چاپ کرده‌اند (حدود ۰٫۸٪ خالی؛ ممکن است املای دیگری هم داشته باشد). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Person Name","description":"نامی که آگهی‌ها کنار شناسه چاپ کرده‌اند (حدود ۰٫۸٪ خالی؛ ممکن است املای دیگری هم داشته باشد). — exact match; `null` for NULL."},"name":"person_name","in":"query"},{"description":"نامی که آگهی‌ها کنار شناسه چاپ کرده‌اند (حدود ۰٫۸٪ خالی؛ ممکن است املای دیگری هم داشته باشد). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Person Name  Like","description":"نامی که آگهی‌ها کنار شناسه چاپ کرده‌اند (حدود ۰٫۸٪ خالی؛ ممکن است املای دیگری هم داشته باشد). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"person_name__like","in":"query"},{"description":"نقش (slug). — exact match; comma-separate several values, `null` for NULL. Values: `chair`, `vice_chair`, `ceo`, `board_member`, `board_alt`, `secretary`, `treasurer`, `deputy`, `supervisor`, `auditor`, `auditor_alt`, `liquidator`.","required":false,"schema":{"type":"string","title":"Role","description":"نقش (slug). — exact match; comma-separate several values, `null` for NULL. Values: `chair`, `vice_chair`, `ceo`, `board_member`, `board_alt`, `secretary`, `treasurer`, `deputy`, `supervisor`, `auditor`, `auditor_alt`, `liquidator`."},"name":"role","in":"query"},{"description":"حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه). — exact match; comma-separate several values, `null` for NULL. Values: `board`, `auditor`, `liquidation`.","required":false,"schema":{"type":"string","title":"Scope","description":"حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه). — exact match; comma-separate several values, `null` for NULL. Values: `board`, `auditor`, `liquidation`."},"name":"scope","in":"query"},{"description":"آغاز دوره (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"From Date","description":"آغاز دوره (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"from_date","in":"query"},{"description":"آغاز دوره (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"From Date  Gte","description":"آغاز دوره (شمسی). — minimum (inclusive)."},"name":"from_date__gte","in":"query"},{"description":"آغاز دوره (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"From Date  Lte","description":"آغاز دوره (شمسی). — maximum (inclusive)."},"name":"from_date__lte","in":"query"},{"description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"To Date","description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت. — exact match; comma-separate several values, `null` for NULL."},"name":"to_date","in":"query"},{"description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"To Date  Gte","description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت. — minimum (inclusive)."},"name":"to_date__gte","in":"query"},{"description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"To Date  Lte","description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت. — maximum (inclusive)."},"name":"to_date__lte","in":"query"},{"description":"کد آگهی آغاز. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"From Notice","description":"کد آگهی آغاز. — exact match; comma-separate several values, `null` for NULL."},"name":"from_notice","in":"query"},{"description":"کد آگهی آغاز. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"From Notice  Gte","description":"کد آگهی آغاز. — minimum (inclusive)."},"name":"from_notice__gte","in":"query"},{"description":"کد آگهی آغاز. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"From Notice  Lte","description":"کد آگهی آغاز. — maximum (inclusive)."},"name":"from_notice__lte","in":"query"},{"description":"کد آگهی پایان. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"To Notice","description":"کد آگهی پایان. — exact match; comma-separate several values, `null` for NULL."},"name":"to_notice","in":"query"},{"description":"کد آگهی پایان. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"To Notice  Gte","description":"کد آگهی پایان. — minimum (inclusive)."},"name":"to_notice__gte","in":"query"},{"description":"کد آگهی پایان. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"To Notice  Lte","description":"کد آگهی پایان. — maximum (inclusive)."},"name":"to_notice__lte","in":"query"},{"description":"شناسه ملی شرکتی که این شخص به نمایندگی از آن در سمت است (۱۱ رقم)؛ خالی = برای خودش. صندلیِ عضو حقوقی مال آن شرکت است: با نمایندهٔ تازه‌اش دورهٔ نمایندهٔ قبلی پایان می‌یابد. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Represents Nid","description":"شناسه ملی شرکتی که این شخص به نمایندگی از آن در سمت است (۱۱ رقم)؛ خالی = برای خودش. صندلیِ عضو حقوقی مال آن شرکت است: با نمایندهٔ تازه‌اش دورهٔ نمایندهٔ قبلی پایان می‌یابد. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"represents_nid","in":"query"},{"description":"چه کسی در این تاریخ در سمت بود؟ تاریخ شمسی یا میلادی. با `company_nid` یا `person_nid` استفاده کنید. — Who held office on this date.","required":false,"schema":{"type":"string","title":"As Of","description":"چه کسی در این تاریخ در سمت بود؟ تاریخ شمسی یا میلادی. با `company_nid` یا `person_nid` استفاده کنید. — Who held office on this date."},"name":"as_of","in":"query"},{"description":"فقط سمت‌های جاری (`to_date` خالی). — Only current seats.","required":false,"schema":{"type":"boolean","title":"Current","description":"فقط سمت‌های جاری (`to_date` خالی). — Only current seats."},"name":"current","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"company_nid":{"type":"string","description":"شناسه ملی شرکت."},"person_nid":{"type":"string","description":"شناسه ملی شخص (۱۰ رقم) — لنگر هویت."},"person_name":{"type":"string","description":"نامی که آگهی‌ها کنار شناسه چاپ کرده‌اند (حدود ۰٫۸٪ خالی؛ ممکن است املای دیگری هم داشته باشد).","nullable":true},"role":{"type":"string","description":"نقش (slug)."},"scope":{"type":"string","description":"حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه).","nullable":true},"from_date":{"type":"string","description":"آغاز دوره (شمسی)."},"to_date":{"type":"string","description":"پایان دوره (شمسی)؛ خالی = هنوز در سمت.","nullable":true},"from_notice":{"type":"integer","description":"کد آگهی آغاز.","nullable":true},"to_notice":{"type":"integer","description":"کد آگهی پایان.","nullable":true},"represents_nid":{"type":"string","description":"شناسه ملی شرکتی که این شخص به نمایندگی از آن در سمت است (۱۱ رقم)؛ خالی = برای خودش. صندلیِ عضو حقوقی مال آن شرکت است: با نمایندهٔ تازه‌اش دورهٔ نمایندهٔ قبلی پایان می‌یابد.","nullable":true},"role_fa":{"type":"string","description":"عنوان فارسی سمت — Persian role label.","nullable":true},"scope_fa":{"type":"string","description":"حوزه به فارسی: هیئت مدیره / بازرسان / تصفیه.","nullable":true},"is_current":{"type":"boolean","description":"در سمت (to_date خالی است) — still in office.","nullable":true},"company_name":{"type":"string","description":"نام شرکت.","nullable":true},"company_city":{"type":"string","description":"شهر شرکت.","nullable":true},"company_type":{"type":"string","description":"نوع شرکت.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/officers/mentions":{"get":{"tags":["officers"],"summary":"اشاره‌های خام به سمت در آگهی‌ها — Raw officer mentions","description":"حدود ۱۳٫۳ میلیون اشاره خام که از متن آگهی‌ها استخراج شده است؛ ماده‌ی اولیهٔ /v1/officers/terms. معمولاً `/v1/officers/terms` را بخواهید.\n\n**Fast filters (indexed):** `id`, `company_nid`, `notice_code`, `person_nid`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `company_nid` | text ⚡ | شناسه ملی شرکت. |\n| `notice_code` | int ⚡ | کد آگهی. |\n| `notice_date` | text | تاریخ آگهی (شمسی). |\n| `effective_date` | text | تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. |\n| `person_nid` | text ⚡ | شناسه ملی شخص. |\n| `person_name` | text | نام چاپ‌شده کنار شناسه (حدود ۰٫۸٪ خالی). |\n| `role` | text | نقش (slug). |\n| `role_raw` | text | عنوان سمت دقیقاً مطابق متن آگهی. |\n| `scope` | text | حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه)؛ یک مقدار برای هر ردیف. |\n| `term_years` | int | مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. |\n| `represents_nid` | text | شناسه ملی شرکتی که این شخص در آگهی به نمایندگی از آن معرفی شده (۱۱ رقم)؛ خالی = برای خودش. |\n| `departed` | bool | `true` = آگهی می‌گوید این شخص جایش را به دیگری داده است («A به جای B»: ردیف B)؛ سمت او تمام شده، نه آغاز شده. ردیف‌های عادی `false`. |\n| `role_fa` | text | عنوان فارسی سمت — Persian role label. |\n| `scope_fa` | text | حوزه به فارسی: هیئت مدیره / بازرسان / تصفیه. |","operationId":"list_officer_mentions","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `company_nid`, `notice_code`, `notice_date`, `effective_date`, `person_nid`, `role`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `company_nid`, `notice_code`, `notice_date`, `effective_date`, `person_nid`, `role`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"شناسه ملی شرکت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Company Nid","description":"شناسه ملی شرکت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"company_nid","in":"query"},{"description":"کد آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Notice Code","description":"کد آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"notice_code","in":"query"},{"description":"کد آگهی. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Notice Code  Gte","description":"کد آگهی. — minimum (inclusive). ⚡ indexed."},"name":"notice_code__gte","in":"query"},{"description":"کد آگهی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Code  Lte","description":"کد آگهی. — maximum (inclusive)."},"name":"notice_code__lte","in":"query"},{"description":"تاریخ آگهی (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Notice Date","description":"تاریخ آگهی (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"notice_date","in":"query"},{"description":"تاریخ آگهی (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Date  Gte","description":"تاریخ آگهی (شمسی). — minimum (inclusive)."},"name":"notice_date__gte","in":"query"},{"description":"تاریخ آگهی (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Date  Lte","description":"تاریخ آگهی (شمسی). — maximum (inclusive)."},"name":"notice_date__lte","in":"query"},{"description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Effective Date","description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. — exact match; comma-separate several values, `null` for NULL."},"name":"effective_date","in":"query"},{"description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Effective Date  Gte","description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. — minimum (inclusive)."},"name":"effective_date__gte","in":"query"},{"description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Effective Date  Lte","description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی. — maximum (inclusive)."},"name":"effective_date__lte","in":"query"},{"description":"شناسه ملی شخص. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Person Nid","description":"شناسه ملی شخص. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"person_nid","in":"query"},{"description":"نام چاپ‌شده کنار شناسه (حدود ۰٫۸٪ خالی). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Person Name","description":"نام چاپ‌شده کنار شناسه (حدود ۰٫۸٪ خالی). — exact match; `null` for NULL."},"name":"person_name","in":"query"},{"description":"نام چاپ‌شده کنار شناسه (حدود ۰٫۸٪ خالی). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Person Name  Like","description":"نام چاپ‌شده کنار شناسه (حدود ۰٫۸٪ خالی). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"person_name__like","in":"query"},{"description":"نقش (slug). — exact match; comma-separate several values, `null` for NULL. Values: `chair`, `vice_chair`, `ceo`, `board_member`, `board_alt`, `secretary`, `treasurer`, `deputy`, `supervisor`, `auditor`, `auditor_alt`, `liquidator`.","required":false,"schema":{"type":"string","title":"Role","description":"نقش (slug). — exact match; comma-separate several values, `null` for NULL. Values: `chair`, `vice_chair`, `ceo`, `board_member`, `board_alt`, `secretary`, `treasurer`, `deputy`, `supervisor`, `auditor`, `auditor_alt`, `liquidator`."},"name":"role","in":"query"},{"description":"عنوان سمت دقیقاً مطابق متن آگهی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Role Raw","description":"عنوان سمت دقیقاً مطابق متن آگهی. — exact match; comma-separate several values, `null` for NULL."},"name":"role_raw","in":"query"},{"description":"حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه)؛ یک مقدار برای هر ردیف. — exact match; comma-separate several values, `null` for NULL. Values: `board`, `auditor`, `liquidation`.","required":false,"schema":{"type":"string","title":"Scope","description":"حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه)؛ یک مقدار برای هر ردیف. — exact match; comma-separate several values, `null` for NULL. Values: `board`, `auditor`, `liquidation`."},"name":"scope","in":"query"},{"description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Term Years","description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. — exact match; comma-separate several values, `null` for NULL."},"name":"term_years","in":"query"},{"description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Term Years  Gte","description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. — minimum (inclusive)."},"name":"term_years__gte","in":"query"},{"description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Term Years  Lte","description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست. — maximum (inclusive)."},"name":"term_years__lte","in":"query"},{"description":"شناسه ملی شرکتی که این شخص در آگهی به نمایندگی از آن معرفی شده (۱۱ رقم)؛ خالی = برای خودش. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Represents Nid","description":"شناسه ملی شرکتی که این شخص در آگهی به نمایندگی از آن معرفی شده (۱۱ رقم)؛ خالی = برای خودش. — exact match; comma-separate several values, `null` for NULL."},"name":"represents_nid","in":"query"},{"description":"`true` = آگهی می‌گوید این شخص جایش را به دیگری داده است («A به جای B»: ردیف B)؛ سمت او تمام شده، نه آغاز شده. ردیف‌های عادی `false`. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Departed","description":"`true` = آگهی می‌گوید این شخص جایش را به دیگری داده است («A به جای B»: ردیف B)؛ سمت او تمام شده، نه آغاز شده. ردیف‌های عادی `false`. — exact match; comma-separate several values, `null` for NULL."},"name":"departed","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"company_nid":{"type":"string","description":"شناسه ملی شرکت."},"notice_code":{"type":"integer","description":"کد آگهی.","nullable":true},"notice_date":{"type":"string","description":"تاریخ آگهی (شمسی).","nullable":true},"effective_date":{"type":"string","description":"تاریخ مؤثر تصمیم (شمسی): برای آگهی تأسیس تاریخ ثبت شرکت، در غیر این صورت تاریخ صورتجلسه، و اگر متن تاریخی ندارد تاریخ آگهی.","nullable":true},"person_nid":{"type":"string","description":"شناسه ملی شخص."},"person_name":{"type":"string","description":"نام چاپ‌شده کنار شناسه (حدود ۰٫۸٪ خالی).","nullable":true},"role":{"type":"string","description":"نقش (slug)."},"role_raw":{"type":"string","description":"عنوان سمت دقیقاً مطابق متن آگهی.","nullable":true},"scope":{"type":"string","description":"حوزهٔ همین سمت (هیئت‌مدیره / بازرسان / تصفیه)؛ یک مقدار برای هر ردیف.","nullable":true},"term_years":{"type":"integer","description":"مدت تصدی همین شخص (سال): ۰ = نامحدود، خالی = ذکر نشده. مدت شرکت نیست.","nullable":true},"represents_nid":{"type":"string","description":"شناسه ملی شرکتی که این شخص در آگهی به نمایندگی از آن معرفی شده (۱۱ رقم)؛ خالی = برای خودش.","nullable":true},"departed":{"type":"boolean","description":"`true` = آگهی می‌گوید این شخص جایش را به دیگری داده است («A به جای B»: ردیف B)؛ سمت او تمام شده، نه آغاز شده. ردیف‌های عادی `false`."},"role_fa":{"type":"string","description":"عنوان فارسی سمت — Persian role label.","nullable":true},"scope_fa":{"type":"string","description":"حوزه به فارسی: هیئت مدیره / بازرسان / تصفیه.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/posts":{"get":{"tags":["divar"],"summary":"آگهی‌های مسکن دیوار — Housing listings","description":"۳ میلیون آگهی مسکن (خرید/فروش، رهن/اجاره، زمین، مغازه، اداری) از سراسر ایران.\nقیمت‌ها **تومان** است.\n\n- شهر: `city=تهران` (یا `city_id`). دسته: `category=`. بازه قیمت: `price__gte` / `price__lte`.\n- تازه‌ترین: پیش‌فرض بر اساس `last_seen`. برای زمان انتشار آگهی `order_by=-published_at`\n  (فقط آگهی‌هایی که تاریخ انتشار دارند، یعنی جزئیاتشان خوانده شده).\n- هشدارها: آگهی‌های تهاتر/اقساط قیمت‌های غیرواقعی دارند؛ مبلغ‌های ساختگی `is_placeholder=true` دارند؛ متراژ برخی آگهی‌ها غیرمنطقی است.\n- زنده بودن: `gone_at IS NULL` (و `expires_at` اگر پر است). `last_seen` نشانهٔ زنده بودن نیست.\n- شمارش‌ها کل بازار نیستند: آگهی‌ای که پیش از رسیدن جمع‌آور پاک شده ثبت نشده است. تا ۱۴۰۵/۰۸/۰۵ فیدهای بزرگ (تهران، مشهد، اندیشه، کرج …) فقط ~۱۵٪ ثبت می‌شدند؛ آمار پیش از آن به شب و عصر کج است.\n- تاریخچه قیمت یک آگهی: `/v1/divar/post-revisions?token=…`\n\n**Fast filters (indexed):** `token`, `category`, `city_id`, `city`, `price`, `last_seen`, `published_at`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `token` | text ⚡ | شناسه آگهی در دیوار (آدرس: divar.ir/v/…). |\n| `category` | text ⚡ | دسته. |\n| `city_id` | int ⚡ | شناسه شهر (/v1/divar/cities). |\n| `city` | text ⚡ | نام شهر. |\n| `district` | text | محله/منطقه. |\n| `title` | text | عنوان آگهی. |\n| `price_text` | text | قیمت به صورتی که در آگهی نوشته شده. |\n| `price` | num ⚡ | قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. |\n| `area` | num | متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. |\n| `rooms` | text | تعداد اتاق (متن، ارقام فارسی). |\n| `year_built` | text | سال ساخت (متن، ارقام فارسی). |\n| `floor` | text | طبقه (متن، مثلاً «۲ از ۵»). |\n| `price_per_m` | num | قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. |\n| `deposit` | num | ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. |\n| `rent` | num | اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. |\n| `attrs` | json | ویژگی‌های کارت آگهی (JSON). |\n| `detailed` | bool | صفحهٔ جزئیات خوانده شده؟ آگهی‌ای که دیوار دیگر ندارد (۴۰۴) خوانده‌نشده می‌ماند و gone_at دارد. |\n| `first_seen` | ts | اولین بار که دیده شد. |\n| `last_seen` | ts ⚡ | آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. |\n| `content_hash` | text | هش محتوا (برای تشخیص تغییر). |\n| `revisions` | int | تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). |\n| `description` | text large | متن توضیحات آگهی. |\n| `features` | json | امکانات (JSON). |\n| `lat` | num | عرض جغرافیایی. |\n| `lon` | num | طول جغرافیایی. |\n| `seller_type` | text | نوع آگهی‌دهنده: personal، premium-panel (مشاور/بنگاه). |\n| `published_txt` | text | زمان انتشار به متن آگهی (مثلاً «۲ ساعت پیش»). |\n| `detail_v` | int | نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. |\n| `published_at` | ts ⚡ | زمان انتشار در دیوار. |\n| `bumped_at` | ts | آخرین نردبان. |\n| `updated_at` | ts | آخرین به‌روزرسانی ردیف. |\n| `gone_at` | ts | اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. |\n| `expires_at` | ts | «unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. |\n| `land_area` | num | متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. |\n| `is_placeholder` | bool | مبلغ آگهی عددی ساختگی است: قیمت خرید کمتر از ۱۰ میلیون تومان، یا ودیعه/اجاره بین ۱ تا ۹۹۹٬۹۹۹ تومان. در میانگین و میانه کنار بگذارید. |","operationId":"list_divar_posts","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `token`, `category`, `city_id`, `price`, `area`, `price_per_m`, `deposit`, `rent`, `detailed`, `first_seen`, `last_seen`, `revisions`, `published_at`, `gone_at`, `land_area`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `token`, `category`, `city_id`, `price`, `area`, `price_per_m`, `deposit`, `rent`, `detailed`, `first_seen`, `last_seen`, `revisions`, `published_at`, `gone_at`, `land_area`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه آگهی در دیوار (آدرس: divar.ir/v/…). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Token","description":"شناسه آگهی در دیوار (آدرس: divar.ir/v/…). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"token","in":"query"},{"description":"دسته. — exact match; comma-separate several values, `null` for NULL. Values: `apartment-sell`, `apartment-rent`, `house-villa-sell`, `house-villa-rent`, `plot-old`, `shop-sell`, `shop-rent`, `office-sell`, `office-rent`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Category","description":"دسته. — exact match; comma-separate several values, `null` for NULL. Values: `apartment-sell`, `apartment-rent`, `house-villa-sell`, `house-villa-rent`, `plot-old`, `shop-sell`, `shop-rent`, `office-sell`, `office-rent`. ⚡ indexed."},"name":"category","in":"query"},{"description":"شناسه شهر (/v1/divar/cities). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Id","description":"شناسه شهر (/v1/divar/cities). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city_id","in":"query"},{"description":"شناسه شهر (/v1/divar/cities). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"شناسه شهر (/v1/divar/cities). — minimum (inclusive). ⚡ indexed."},"name":"city_id__gte","in":"query"},{"description":"شناسه شهر (/v1/divar/cities). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"شناسه شهر (/v1/divar/cities). — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"نام شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City","description":"نام شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city","in":"query"},{"description":"محله/منطقه. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"District","description":"محله/منطقه. — exact match; `null` for NULL."},"name":"district","in":"query"},{"description":"محله/منطقه. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"District  Like","description":"محله/منطقه. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"district__like","in":"query"},{"description":"عنوان آگهی. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان آگهی. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان آگهی. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان آگهی. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"},{"description":"قیمت به صورتی که در آگهی نوشته شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Text","description":"قیمت به صورتی که در آگهی نوشته شده. — exact match; comma-separate several values, `null` for NULL."},"name":"price_text","in":"query"},{"description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Price","description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"price","in":"query"},{"description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Price  Gte","description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. — minimum (inclusive). ⚡ indexed."},"name":"price__gte","in":"query"},{"description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Lte","description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن. — maximum (inclusive)."},"name":"price__lte","in":"query"},{"description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Area","description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. — exact match; comma-separate several values, `null` for NULL."},"name":"area","in":"query"},{"description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Area  Gte","description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. — minimum (inclusive)."},"name":"area__gte","in":"query"},{"description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Area  Lte","description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید. — maximum (inclusive)."},"name":"area__lte","in":"query"},{"description":"تعداد اتاق (متن، ارقام فارسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rooms","description":"تعداد اتاق (متن، ارقام فارسی). — exact match; comma-separate several values, `null` for NULL."},"name":"rooms","in":"query"},{"description":"سال ساخت (متن، ارقام فارسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Year Built","description":"سال ساخت (متن، ارقام فارسی). — exact match; comma-separate several values, `null` for NULL."},"name":"year_built","in":"query"},{"description":"طبقه (متن، مثلاً «۲ از ۵»). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Floor","description":"طبقه (متن، مثلاً «۲ از ۵»). — exact match; comma-separate several values, `null` for NULL."},"name":"floor","in":"query"},{"description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Per M","description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. — exact match; comma-separate several values, `null` for NULL."},"name":"price_per_m","in":"query"},{"description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price Per M  Gte","description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. — minimum (inclusive)."},"name":"price_per_m__gte","in":"query"},{"description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price Per M  Lte","description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد. — maximum (inclusive)."},"name":"price_per_m__lte","in":"query"},{"description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Deposit","description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. — exact match; comma-separate several values, `null` for NULL."},"name":"deposit","in":"query"},{"description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Deposit  Gte","description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. — minimum (inclusive)."},"name":"deposit__gte","in":"query"},{"description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Deposit  Lte","description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره. — maximum (inclusive)."},"name":"deposit__lte","in":"query"},{"description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rent","description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. — exact match; comma-separate several values, `null` for NULL."},"name":"rent","in":"query"},{"description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rent  Gte","description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. — minimum (inclusive)."},"name":"rent__gte","in":"query"},{"description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rent  Lte","description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم. — maximum (inclusive)."},"name":"rent__lte","in":"query"},{"description":"صفحهٔ جزئیات خوانده شده؟ آگهی‌ای که دیوار دیگر ندارد (۴۰۴) خوانده‌نشده می‌ماند و gone_at دارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Detailed","description":"صفحهٔ جزئیات خوانده شده؟ آگهی‌ای که دیوار دیگر ندارد (۴۰۴) خوانده‌نشده می‌ماند و gone_at دارد. — exact match; comma-separate several values, `null` for NULL."},"name":"detailed","in":"query"},{"description":"اولین بار که دیده شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Seen","description":"اولین بار که دیده شد. — exact match; comma-separate several values, `null` for NULL."},"name":"first_seen","in":"query"},{"description":"اولین بار که دیده شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Seen  Gte","description":"اولین بار که دیده شد. — minimum (inclusive)."},"name":"first_seen__gte","in":"query"},{"description":"اولین بار که دیده شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Seen  Lte","description":"اولین بار که دیده شد. — maximum (inclusive)."},"name":"first_seen__lte","in":"query"},{"description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Last Seen","description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"last_seen","in":"query"},{"description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Last Seen  Gte","description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. — minimum (inclusive). ⚡ indexed."},"name":"last_seen__gte","in":"query"},{"description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Seen  Lte","description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at. — maximum (inclusive)."},"name":"last_seen__lte","in":"query"},{"description":"هش محتوا (برای تشخیص تغییر). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Content Hash","description":"هش محتوا (برای تشخیص تغییر). — exact match; comma-separate several values, `null` for NULL."},"name":"content_hash","in":"query"},{"description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Revisions","description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). — exact match; comma-separate several values, `null` for NULL."},"name":"revisions","in":"query"},{"description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Revisions  Gte","description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). — minimum (inclusive)."},"name":"revisions__gte","in":"query"},{"description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Revisions  Lte","description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …). — maximum (inclusive)."},"name":"revisions__lte","in":"query"},{"description":"عرض جغرافیایی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lat","description":"عرض جغرافیایی. — exact match; comma-separate several values, `null` for NULL."},"name":"lat","in":"query"},{"description":"عرض جغرافیایی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lat  Gte","description":"عرض جغرافیایی. — minimum (inclusive)."},"name":"lat__gte","in":"query"},{"description":"عرض جغرافیایی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lat  Lte","description":"عرض جغرافیایی. — maximum (inclusive)."},"name":"lat__lte","in":"query"},{"description":"طول جغرافیایی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lon","description":"طول جغرافیایی. — exact match; comma-separate several values, `null` for NULL."},"name":"lon","in":"query"},{"description":"طول جغرافیایی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lon  Gte","description":"طول جغرافیایی. — minimum (inclusive)."},"name":"lon__gte","in":"query"},{"description":"طول جغرافیایی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lon  Lte","description":"طول جغرافیایی. — maximum (inclusive)."},"name":"lon__lte","in":"query"},{"description":"نوع آگهی‌دهنده: personal، premium-panel (مشاور/بنگاه). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seller Type","description":"نوع آگهی‌دهنده: personal، premium-panel (مشاور/بنگاه). — exact match; comma-separate several values, `null` for NULL."},"name":"seller_type","in":"query"},{"description":"زمان انتشار به متن آگهی (مثلاً «۲ ساعت پیش»). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Published Txt","description":"زمان انتشار به متن آگهی (مثلاً «۲ ساعت پیش»). — exact match; comma-separate several values, `null` for NULL."},"name":"published_txt","in":"query"},{"description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Detail V","description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. — exact match; comma-separate several values, `null` for NULL."},"name":"detail_v","in":"query"},{"description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Detail V  Gte","description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. — minimum (inclusive)."},"name":"detail_v__gte","in":"query"},{"description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Detail V  Lte","description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره. — maximum (inclusive)."},"name":"detail_v__lte","in":"query"},{"description":"زمان انتشار در دیوار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Published At","description":"زمان انتشار در دیوار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"published_at","in":"query"},{"description":"زمان انتشار در دیوار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Published At  Gte","description":"زمان انتشار در دیوار. — minimum (inclusive). ⚡ indexed."},"name":"published_at__gte","in":"query"},{"description":"زمان انتشار در دیوار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Published At  Lte","description":"زمان انتشار در دیوار. — maximum (inclusive)."},"name":"published_at__lte","in":"query"},{"description":"آخرین نردبان. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Bumped At","description":"آخرین نردبان. — exact match; comma-separate several values, `null` for NULL."},"name":"bumped_at","in":"query"},{"description":"آخرین نردبان. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Bumped At  Gte","description":"آخرین نردبان. — minimum (inclusive)."},"name":"bumped_at__gte","in":"query"},{"description":"آخرین نردبان. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Bumped At  Lte","description":"آخرین نردبان. — maximum (inclusive)."},"name":"bumped_at__lte","in":"query"},{"description":"آخرین به‌روزرسانی ردیف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"آخرین به‌روزرسانی ردیف. — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"آخرین به‌روزرسانی ردیف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"آخرین به‌روزرسانی ردیف. — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"آخرین به‌روزرسانی ردیف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"آخرین به‌روزرسانی ردیف. — maximum (inclusive)."},"name":"updated_at__lte","in":"query"},{"description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Gone At","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — exact match; comma-separate several values, `null` for NULL."},"name":"gone_at","in":"query"},{"description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Gone At  Gte","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — minimum (inclusive)."},"name":"gone_at__gte","in":"query"},{"description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Gone At  Lte","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — maximum (inclusive)."},"name":"gone_at__lte","in":"query"},{"description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Expires At","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"expires_at","in":"query"},{"description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Expires At  Gte","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — minimum (inclusive)."},"name":"expires_at__gte","in":"query"},{"description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Expires At  Lte","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — maximum (inclusive)."},"name":"expires_at__lte","in":"query"},{"description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Land Area","description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"land_area","in":"query"},{"description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Land Area  Gte","description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. — minimum (inclusive)."},"name":"land_area__gte","in":"query"},{"description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Land Area  Lte","description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی. — maximum (inclusive)."},"name":"land_area__lte","in":"query"},{"description":"مبلغ آگهی عددی ساختگی است: قیمت خرید کمتر از ۱۰ میلیون تومان، یا ودیعه/اجاره بین ۱ تا ۹۹۹٬۹۹۹ تومان. در میانگین و میانه کنار بگذارید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Placeholder","description":"مبلغ آگهی عددی ساختگی است: قیمت خرید کمتر از ۱۰ میلیون تومان، یا ودیعه/اجاره بین ۱ تا ۹۹۹٬۹۹۹ تومان. در میانگین و میانه کنار بگذارید. — exact match; comma-separate several values, `null` for NULL."},"name":"is_placeholder","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"token":{"type":"string","description":"شناسه آگهی در دیوار (آدرس: divar.ir/v/…)."},"category":{"type":"string","description":"دسته."},"city_id":{"type":"integer","description":"شناسه شهر (/v1/divar/cities).","nullable":true},"city":{"type":"string","description":"نام شهر.","nullable":true},"district":{"type":"string","description":"محله/منطقه.","nullable":true},"title":{"type":"string","description":"عنوان آگهی.","nullable":true},"price_text":{"type":"string","description":"قیمت به صورتی که در آگهی نوشته شده.","nullable":true},"price":{"type":"number","description":"قیمت کل (تومان) — برای رهن/اجاره خالی یا مبلغ رهن.","nullable":true},"area":{"type":"number","description":"متراژ (مترمربع). آگهی خوانده‌شده (detailed=true): «متراژ» صفحهٔ آگهی، برای ویلا متراژ بنا. آگهی خوانده‌نشده: عددی که در عنوان آمده — برای ویلا اغلب زمین است نه بنا، به آن اتکا نکنید.","nullable":true},"rooms":{"type":"string","description":"تعداد اتاق (متن، ارقام فارسی).","nullable":true},"year_built":{"type":"string","description":"سال ساخت (متن، ارقام فارسی).","nullable":true},"floor":{"type":"string","description":"طبقه (متن، مثلاً «۲ از ۵»).","nullable":true},"price_per_m":{"type":"number","description":"قیمت هر متر (تومان). ویلا: بر اساس متراژ زمین (land_area) و فقط برای آگهی خوانده‌شده؛ سایر دسته‌ها: قیمت ÷ area. وقتی is_placeholder=true معنا ندارد.","nullable":true},"deposit":{"type":"number","description":"ودیعه/رهن (تومان) — آگهی‌های اجاره؛ از خط بالای کارت، صفحهٔ آگهی یا اسلایدر ودیعه/اجاره.","nullable":true},"rent":{"type":"number","description":"اجارهٔ ماهانه (تومان). ۰ یعنی «رهن کامل» (اجارهٔ ماهانه ندارد)؛ خالی یعنی نامعلوم.","nullable":true},"attrs":{"type":"object","description":"ویژگی‌های کارت آگهی (JSON)."},"detailed":{"type":"boolean","description":"صفحهٔ جزئیات خوانده شده؟ آگهی‌ای که دیوار دیگر ندارد (۴۰۴) خوانده‌نشده می‌ماند و gone_at دارد."},"first_seen":{"type":"string","format":"date-time","description":"اولین بار که دیده شد.","nullable":true},"last_seen":{"type":"string","format":"date-time","description":"آخرین بار که آگهی در فهرست دیده یا صفحه‌اش خوانده شد. نشانهٔ زنده بودن نیست؛ برای آن gone_at و expires_at.","nullable":true},"content_hash":{"type":"string","description":"هش محتوا (برای تشخیص تغییر).","nullable":true},"revisions":{"type":"integer","description":"تعداد نسخه‌های ثبت‌شده (تغییر قیمت و …).","nullable":true},"description":{"type":"string","description":"متن توضیحات آگهی.","nullable":true},"features":{"type":"object","description":"امکانات (JSON)."},"lat":{"type":"number","description":"عرض جغرافیایی.","nullable":true},"lon":{"type":"number","description":"طول جغرافیایی.","nullable":true},"seller_type":{"type":"string","description":"نوع آگهی‌دهنده: personal، premium-panel (مشاور/بنگاه).","nullable":true},"published_txt":{"type":"string","description":"زمان انتشار به متن آگهی (مثلاً «۲ ساعت پیش»).","nullable":true},"detail_v":{"type":"integer","description":"نسخهٔ تجزیه صفحه جزئیات؛ ۰ = خوانده‌نشده یا پس از ویرایش آگهی منتظر خواندن دوباره.","nullable":true},"published_at":{"type":"string","format":"date-time","description":"زمان انتشار در دیوار.","nullable":true},"bumped_at":{"type":"string","format":"date-time","description":"آخرین نردبان.","nullable":true},"updated_at":{"type":"string","format":"date-time","description":"آخرین به‌روزرسانی ردیف.","nullable":true},"gone_at":{"type":"string","format":"date-time","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی.","nullable":true},"expires_at":{"type":"string","format":"date-time","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده.","nullable":true},"land_area":{"type":"number","description":"متراژ زمین (مترمربع) از صفحهٔ آگهی — ویلا و برخی ویلای اجاره‌ای؛ تا خواندن صفحه خالی.","nullable":true},"is_placeholder":{"type":"boolean","description":"مبلغ آگهی عددی ساختگی است: قیمت خرید کمتر از ۱۰ میلیون تومان، یا ودیعه/اجاره بین ۱ تا ۹۹۹٬۹۹۹ تومان. در میانگین و میانه کنار بگذارید.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/post-revisions":{"get":{"tags":["divar"],"summary":"تاریخچه تغییر آگهی مسکن — Housing listing revisions","description":"هر بار که قیمت یا محتوای یک آگهی تغییر کرده یک نسخه ثبت شده. با `token=` فیلتر کنید.\n\n**Fast filters (indexed):** `id`, `token`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `token` | text ⚡ | شناسه آگهی. |\n| `seen_at` | ts | زمان مشاهده این نسخه. |\n| `price` | num | قیمت. |\n| `deposit` | num | ودیعه. |\n| `rent` | num | اجاره. |\n| `area` | num | متراژ. |\n| `title` | text | عنوان. |\n| `data` | json | نسخه کامل (JSON). |","operationId":"list_divar_post_revisions","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `token`, `seen_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `token`, `seen_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"شناسه آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Token","description":"شناسه آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"token","in":"query"},{"description":"زمان مشاهده این نسخه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seen At","description":"زمان مشاهده این نسخه. — exact match; comma-separate several values, `null` for NULL."},"name":"seen_at","in":"query"},{"description":"زمان مشاهده این نسخه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Seen At  Gte","description":"زمان مشاهده این نسخه. — minimum (inclusive)."},"name":"seen_at__gte","in":"query"},{"description":"زمان مشاهده این نسخه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Seen At  Lte","description":"زمان مشاهده این نسخه. — maximum (inclusive)."},"name":"seen_at__lte","in":"query"},{"description":"قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price","description":"قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"price","in":"query"},{"description":"قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Gte","description":"قیمت. — minimum (inclusive)."},"name":"price__gte","in":"query"},{"description":"قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Lte","description":"قیمت. — maximum (inclusive)."},"name":"price__lte","in":"query"},{"description":"ودیعه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Deposit","description":"ودیعه. — exact match; comma-separate several values, `null` for NULL."},"name":"deposit","in":"query"},{"description":"ودیعه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Deposit  Gte","description":"ودیعه. — minimum (inclusive)."},"name":"deposit__gte","in":"query"},{"description":"ودیعه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Deposit  Lte","description":"ودیعه. — maximum (inclusive)."},"name":"deposit__lte","in":"query"},{"description":"اجاره. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rent","description":"اجاره. — exact match; comma-separate several values, `null` for NULL."},"name":"rent","in":"query"},{"description":"اجاره. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rent  Gte","description":"اجاره. — minimum (inclusive)."},"name":"rent__gte","in":"query"},{"description":"اجاره. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rent  Lte","description":"اجاره. — maximum (inclusive)."},"name":"rent__lte","in":"query"},{"description":"متراژ. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Area","description":"متراژ. — exact match; comma-separate several values, `null` for NULL."},"name":"area","in":"query"},{"description":"متراژ. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Area  Gte","description":"متراژ. — minimum (inclusive)."},"name":"area__gte","in":"query"},{"description":"متراژ. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Area  Lte","description":"متراژ. — maximum (inclusive)."},"name":"area__lte","in":"query"},{"description":"عنوان. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"token":{"type":"string","description":"شناسه آگهی."},"seen_at":{"type":"string","format":"date-time","description":"زمان مشاهده این نسخه.","nullable":true},"price":{"type":"number","description":"قیمت.","nullable":true},"deposit":{"type":"number","description":"ودیعه.","nullable":true},"rent":{"type":"number","description":"اجاره.","nullable":true},"area":{"type":"number","description":"متراژ.","nullable":true},"title":{"type":"string","description":"عنوان.","nullable":true},"data":{"type":"object","description":"نسخه کامل (JSON)."}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/cars":{"get":{"tags":["divar"],"summary":"آگهی‌های خودرو دیوار — Car listings","description":"۱٫۳ میلیون آگهی خودرو. قیمت **تومان** است و فقط روی ردیف‌های `is_cash=true` قابل اتکا\n(حدود ۸۲٪ ردیف‌ها): بقیه تهاتر، اقساط، حواله یا عدد ساختگی‌اند. `price_flag` قیمت‌های نقدیِ ۸ برابرِ میانهٔ همان مدل و سال را\nعلامت می‌زند (هشدار است نه حذف). زنده بودن آگهی: `gone_at IS NULL`.\n\nفیلتر سریع: `city`، `brand_model`، `published_at`. برای تازه‌ترین‌ها: `order_by=-published_at`.\n\n**Fast filters (indexed):** `token`, `city`, `brand_model`, `published_at`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `token` | text ⚡ | شناسه آگهی. |\n| `city_id` | int | شناسه شهر. |\n| `category` | text | دسته (فعلاً light = سواری). |\n| `city` | text ⚡ | نام شهر. |\n| `district` | text | محله. |\n| `title` | text | عنوان. |\n| `price_text` | text | قیمت به متن آگهی. |\n| `price` | num | قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. |\n| `mileage` | num | کارکرد (کیلومتر). |\n| `model_year` | int | سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). |\n| `brand_model` | text ⚡ | برند و مدل (متن آگهی). |\n| `color` | text | رنگ. |\n| `gearbox` | text | گیربکس: دنده‌ای / اتوماتیک. |\n| `fuel` | text | سوخت. |\n| `body_status` | text | وضعیت بدنه (از ردیف «بدنه» در وضعیت‌ها، مثلاً «سالم و بی‌خط و خش»). |\n| `is_cash` | bool | عدد `price` یک قیمت نقدی واقعی است؟ false یعنی تهاتر/اقساط/حواله/پیش‌فروش یا عدد ساختگی. «معاوضه ندارم / اقساط نمیدم» نقدی است؛ پرچم «امکان خرید قسطی» دیوار به‌تنهایی دلیل نیست. |\n| `excl_reason` | text | دلیل غیرنقدی بودن: swap، placeholder، installment، allocation، presale، no_price (بدون قیمت). |\n| `description` | text large | توضیحات آگهی. |\n| `attrs` | json | ویژگی‌ها (JSON). |\n| `scores` | json | امتیازها (JSON). |\n| `lat` | num | عرض جغرافیایی. |\n| `lon` | num | طول جغرافیایی. |\n| `seller_type` | text | نوع آگهی‌دهنده. |\n| `published_txt` | text | زمان انتشار به متن. |\n| `published_at` | ts ⚡ | زمان انتشار در دیوار. |\n| `bumped_at` | ts | آخرین نردبان. |\n| `updated_at` | ts | به‌روزرسانی ردیف. |\n| `content_hash` | text | هش محتوا. |\n| `revisions` | int | تعداد نسخه‌ها. |\n| `detailed` | bool | جزئیات خوانده شده؟ (۴۰۴ = false و gone_at پر) |\n| `detail_v` | int | نسخهٔ تجزیه. |\n| `first_seen` | ts | اولین مشاهده. |\n| `last_seen` | ts | آخرین مشاهده. |\n| `gone_at` | ts | اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. |\n| `expires_at` | ts | «unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. |\n| `price_flag` | text | high یا low وقتی قیمتِ یک آگهی نقدی ۸ برابر بیشتر یا کمتر از میانهٔ همان مدل و سال باشد (دست‌کم ۱۵ آگهی هم‌مدل)؛ فقط هشدار است و is_cash را عوض نمی‌کند. |\n| `model_year_jalali` | int | سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. |","operationId":"list_divar_cars","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `token`, `city_id`, `city`, `price`, `mileage`, `model_year`, `brand_model`, `is_cash`, `published_at`, `revisions`, `first_seen`, `gone_at`, `model_year_jalali`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `token`, `city_id`, `city`, `price`, `mileage`, `model_year`, `brand_model`, `is_cash`, `published_at`, `revisions`, `first_seen`, `gone_at`, `model_year_jalali`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Token","description":"شناسه آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"token","in":"query"},{"description":"شناسه شهر. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"City Id","description":"شناسه شهر. — exact match; comma-separate several values, `null` for NULL."},"name":"city_id","in":"query"},{"description":"شناسه شهر. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"شناسه شهر. — minimum (inclusive)."},"name":"city_id__gte","in":"query"},{"description":"شناسه شهر. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"شناسه شهر. — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"دسته (فعلاً light = سواری). — exact match; comma-separate several values, `null` for NULL. Values: `light`.","required":false,"schema":{"type":"string","title":"Category","description":"دسته (فعلاً light = سواری). — exact match; comma-separate several values, `null` for NULL. Values: `light`."},"name":"category","in":"query"},{"description":"نام شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City","description":"نام شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city","in":"query"},{"description":"محله. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"District","description":"محله. — exact match; `null` for NULL."},"name":"district","in":"query"},{"description":"محله. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"District  Like","description":"محله. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"district__like","in":"query"},{"description":"عنوان. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"},{"description":"قیمت به متن آگهی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Text","description":"قیمت به متن آگهی. — exact match; comma-separate several values, `null` for NULL."},"name":"price_text","in":"query"},{"description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price","description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. — exact match; comma-separate several values, `null` for NULL."},"name":"price","in":"query"},{"description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Gte","description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. — minimum (inclusive)."},"name":"price__gte","in":"query"},{"description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Lte","description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است. — maximum (inclusive)."},"name":"price__lte","in":"query"},{"description":"کارکرد (کیلومتر). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Mileage","description":"کارکرد (کیلومتر). — exact match; comma-separate several values, `null` for NULL."},"name":"mileage","in":"query"},{"description":"کارکرد (کیلومتر). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Mileage  Gte","description":"کارکرد (کیلومتر). — minimum (inclusive)."},"name":"mileage__gte","in":"query"},{"description":"کارکرد (کیلومتر). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Mileage  Lte","description":"کارکرد (کیلومتر). — maximum (inclusive)."},"name":"mileage__lte","in":"query"},{"description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Model Year","description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). — exact match; comma-separate several values, `null` for NULL."},"name":"model_year","in":"query"},{"description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Model Year  Gte","description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). — minimum (inclusive)."},"name":"model_year__gte","in":"query"},{"description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Model Year  Lte","description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی). — maximum (inclusive)."},"name":"model_year__lte","in":"query"},{"description":"برند و مدل (متن آگهی). — exact match; `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Brand Model","description":"برند و مدل (متن آگهی). — exact match; `null` for NULL. ⚡ indexed."},"name":"brand_model","in":"query"},{"description":"برند و مدل (متن آگهی). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Brand Model  Like","description":"برند و مدل (متن آگهی). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"brand_model__like","in":"query"},{"description":"رنگ. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Color","description":"رنگ. — exact match; comma-separate several values, `null` for NULL."},"name":"color","in":"query"},{"description":"گیربکس: دنده‌ای / اتوماتیک. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Gearbox","description":"گیربکس: دنده‌ای / اتوماتیک. — exact match; comma-separate several values, `null` for NULL."},"name":"gearbox","in":"query"},{"description":"سوخت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fuel","description":"سوخت. — exact match; comma-separate several values, `null` for NULL."},"name":"fuel","in":"query"},{"description":"وضعیت بدنه (از ردیف «بدنه» در وضعیت‌ها، مثلاً «سالم و بی‌خط و خش»). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Body Status","description":"وضعیت بدنه (از ردیف «بدنه» در وضعیت‌ها، مثلاً «سالم و بی‌خط و خش»). — exact match; comma-separate several values, `null` for NULL."},"name":"body_status","in":"query"},{"description":"عدد `price` یک قیمت نقدی واقعی است؟ false یعنی تهاتر/اقساط/حواله/پیش‌فروش یا عدد ساختگی. «معاوضه ندارم / اقساط نمیدم» نقدی است؛ پرچم «امکان خرید قسطی» دیوار به‌تنهایی دلیل نیست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Cash","description":"عدد `price` یک قیمت نقدی واقعی است؟ false یعنی تهاتر/اقساط/حواله/پیش‌فروش یا عدد ساختگی. «معاوضه ندارم / اقساط نمیدم» نقدی است؛ پرچم «امکان خرید قسطی» دیوار به‌تنهایی دلیل نیست. — exact match; comma-separate several values, `null` for NULL."},"name":"is_cash","in":"query"},{"description":"دلیل غیرنقدی بودن: swap، placeholder، installment، allocation، presale، no_price (بدون قیمت). — exact match; comma-separate several values, `null` for NULL. Values: `swap`, `placeholder`, `installment`, `allocation`, `presale`, `no_price`.","required":false,"schema":{"type":"string","title":"Excl Reason","description":"دلیل غیرنقدی بودن: swap، placeholder، installment، allocation، presale، no_price (بدون قیمت). — exact match; comma-separate several values, `null` for NULL. Values: `swap`, `placeholder`, `installment`, `allocation`, `presale`, `no_price`."},"name":"excl_reason","in":"query"},{"description":"عرض جغرافیایی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lat","description":"عرض جغرافیایی. — exact match; comma-separate several values, `null` for NULL."},"name":"lat","in":"query"},{"description":"عرض جغرافیایی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lat  Gte","description":"عرض جغرافیایی. — minimum (inclusive)."},"name":"lat__gte","in":"query"},{"description":"عرض جغرافیایی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lat  Lte","description":"عرض جغرافیایی. — maximum (inclusive)."},"name":"lat__lte","in":"query"},{"description":"طول جغرافیایی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lon","description":"طول جغرافیایی. — exact match; comma-separate several values, `null` for NULL."},"name":"lon","in":"query"},{"description":"طول جغرافیایی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lon  Gte","description":"طول جغرافیایی. — minimum (inclusive)."},"name":"lon__gte","in":"query"},{"description":"طول جغرافیایی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lon  Lte","description":"طول جغرافیایی. — maximum (inclusive)."},"name":"lon__lte","in":"query"},{"description":"نوع آگهی‌دهنده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seller Type","description":"نوع آگهی‌دهنده. — exact match; comma-separate several values, `null` for NULL."},"name":"seller_type","in":"query"},{"description":"زمان انتشار به متن. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Published Txt","description":"زمان انتشار به متن. — exact match; comma-separate several values, `null` for NULL."},"name":"published_txt","in":"query"},{"description":"زمان انتشار در دیوار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Published At","description":"زمان انتشار در دیوار. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"published_at","in":"query"},{"description":"زمان انتشار در دیوار. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Published At  Gte","description":"زمان انتشار در دیوار. — minimum (inclusive). ⚡ indexed."},"name":"published_at__gte","in":"query"},{"description":"زمان انتشار در دیوار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Published At  Lte","description":"زمان انتشار در دیوار. — maximum (inclusive)."},"name":"published_at__lte","in":"query"},{"description":"آخرین نردبان. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Bumped At","description":"آخرین نردبان. — exact match; comma-separate several values, `null` for NULL."},"name":"bumped_at","in":"query"},{"description":"آخرین نردبان. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Bumped At  Gte","description":"آخرین نردبان. — minimum (inclusive)."},"name":"bumped_at__gte","in":"query"},{"description":"آخرین نردبان. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Bumped At  Lte","description":"آخرین نردبان. — maximum (inclusive)."},"name":"bumped_at__lte","in":"query"},{"description":"به‌روزرسانی ردیف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"به‌روزرسانی ردیف. — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"به‌روزرسانی ردیف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"به‌روزرسانی ردیف. — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"به‌روزرسانی ردیف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"به‌روزرسانی ردیف. — maximum (inclusive)."},"name":"updated_at__lte","in":"query"},{"description":"هش محتوا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Content Hash","description":"هش محتوا. — exact match; comma-separate several values, `null` for NULL."},"name":"content_hash","in":"query"},{"description":"تعداد نسخه‌ها. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Revisions","description":"تعداد نسخه‌ها. — exact match; comma-separate several values, `null` for NULL."},"name":"revisions","in":"query"},{"description":"تعداد نسخه‌ها. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Revisions  Gte","description":"تعداد نسخه‌ها. — minimum (inclusive)."},"name":"revisions__gte","in":"query"},{"description":"تعداد نسخه‌ها. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Revisions  Lte","description":"تعداد نسخه‌ها. — maximum (inclusive)."},"name":"revisions__lte","in":"query"},{"description":"جزئیات خوانده شده؟ (۴۰۴ = false و gone_at پر) — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Detailed","description":"جزئیات خوانده شده؟ (۴۰۴ = false و gone_at پر) — exact match; comma-separate several values, `null` for NULL."},"name":"detailed","in":"query"},{"description":"نسخهٔ تجزیه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Detail V","description":"نسخهٔ تجزیه. — exact match; comma-separate several values, `null` for NULL."},"name":"detail_v","in":"query"},{"description":"نسخهٔ تجزیه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Detail V  Gte","description":"نسخهٔ تجزیه. — minimum (inclusive)."},"name":"detail_v__gte","in":"query"},{"description":"نسخهٔ تجزیه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Detail V  Lte","description":"نسخهٔ تجزیه. — maximum (inclusive)."},"name":"detail_v__lte","in":"query"},{"description":"اولین مشاهده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Seen","description":"اولین مشاهده. — exact match; comma-separate several values, `null` for NULL."},"name":"first_seen","in":"query"},{"description":"اولین مشاهده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Seen  Gte","description":"اولین مشاهده. — minimum (inclusive)."},"name":"first_seen__gte","in":"query"},{"description":"اولین مشاهده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Seen  Lte","description":"اولین مشاهده. — maximum (inclusive)."},"name":"first_seen__lte","in":"query"},{"description":"آخرین مشاهده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Seen","description":"آخرین مشاهده. — exact match; comma-separate several values, `null` for NULL."},"name":"last_seen","in":"query"},{"description":"آخرین مشاهده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Seen  Gte","description":"آخرین مشاهده. — minimum (inclusive)."},"name":"last_seen__gte","in":"query"},{"description":"آخرین مشاهده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Seen  Lte","description":"آخرین مشاهده. — maximum (inclusive)."},"name":"last_seen__lte","in":"query"},{"description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Gone At","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — exact match; comma-separate several values, `null` for NULL."},"name":"gone_at","in":"query"},{"description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Gone At  Gte","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — minimum (inclusive)."},"name":"gone_at__gte","in":"query"},{"description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Gone At  Lte","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی. — maximum (inclusive)."},"name":"gone_at__lte","in":"query"},{"description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Expires At","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"expires_at","in":"query"},{"description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Expires At  Gte","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — minimum (inclusive)."},"name":"expires_at__gte","in":"query"},{"description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Expires At  Lte","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده. — maximum (inclusive)."},"name":"expires_at__lte","in":"query"},{"description":"high یا low وقتی قیمتِ یک آگهی نقدی ۸ برابر بیشتر یا کمتر از میانهٔ همان مدل و سال باشد (دست‌کم ۱۵ آگهی هم‌مدل)؛ فقط هشدار است و is_cash را عوض نمی‌کند. — exact match; comma-separate several values, `null` for NULL. Values: `high`, `low`.","required":false,"schema":{"type":"string","title":"Price Flag","description":"high یا low وقتی قیمتِ یک آگهی نقدی ۸ برابر بیشتر یا کمتر از میانهٔ همان مدل و سال باشد (دست‌کم ۱۵ آگهی هم‌مدل)؛ فقط هشدار است و is_cash را عوض نمی‌کند. — exact match; comma-separate several values, `null` for NULL. Values: `high`, `low`."},"name":"price_flag","in":"query"},{"description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Model Year Jalali","description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. — exact match; comma-separate several values, `null` for NULL."},"name":"model_year_jalali","in":"query"},{"description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Model Year Jalali  Gte","description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. — minimum (inclusive)."},"name":"model_year_jalali__gte","in":"query"},{"description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Model Year Jalali  Lte","description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است. — maximum (inclusive)."},"name":"model_year_jalali__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"token":{"type":"string","description":"شناسه آگهی."},"city_id":{"type":"integer","description":"شناسه شهر.","nullable":true},"category":{"type":"string","description":"دسته (فعلاً light = سواری).","nullable":true},"city":{"type":"string","description":"نام شهر.","nullable":true},"district":{"type":"string","description":"محله.","nullable":true},"title":{"type":"string","description":"عنوان.","nullable":true},"price_text":{"type":"string","description":"قیمت به متن آگهی.","nullable":true},"price":{"type":"number","description":"قیمت (تومان). فقط وقتی `is_cash=true` قیمت واقعی نقدی است.","nullable":true},"mileage":{"type":"number","description":"کارکرد (کیلومتر).","nullable":true},"model_year":{"type":"integer","description":"سال ساخت (شمسی برای ایرانی‌ها، میلادی برای خارجی‌ها طبق آگهی).","nullable":true},"brand_model":{"type":"string","description":"برند و مدل (متن آگهی).","nullable":true},"color":{"type":"string","description":"رنگ.","nullable":true},"gearbox":{"type":"string","description":"گیربکس: دنده‌ای / اتوماتیک.","nullable":true},"fuel":{"type":"string","description":"سوخت.","nullable":true},"body_status":{"type":"string","description":"وضعیت بدنه (از ردیف «بدنه» در وضعیت‌ها، مثلاً «سالم و بی‌خط و خش»).","nullable":true},"is_cash":{"type":"boolean","description":"عدد `price` یک قیمت نقدی واقعی است؟ false یعنی تهاتر/اقساط/حواله/پیش‌فروش یا عدد ساختگی. «معاوضه ندارم / اقساط نمیدم» نقدی است؛ پرچم «امکان خرید قسطی» دیوار به‌تنهایی دلیل نیست.","nullable":true},"excl_reason":{"type":"string","description":"دلیل غیرنقدی بودن: swap، placeholder، installment، allocation، presale، no_price (بدون قیمت).","nullable":true},"description":{"type":"string","description":"توضیحات آگهی.","nullable":true},"attrs":{"type":"object","description":"ویژگی‌ها (JSON)."},"scores":{"type":"object","description":"امتیازها (JSON)."},"lat":{"type":"number","description":"عرض جغرافیایی.","nullable":true},"lon":{"type":"number","description":"طول جغرافیایی.","nullable":true},"seller_type":{"type":"string","description":"نوع آگهی‌دهنده.","nullable":true},"published_txt":{"type":"string","description":"زمان انتشار به متن.","nullable":true},"published_at":{"type":"string","format":"date-time","description":"زمان انتشار در دیوار.","nullable":true},"bumped_at":{"type":"string","format":"date-time","description":"آخرین نردبان.","nullable":true},"updated_at":{"type":"string","format":"date-time","description":"به‌روزرسانی ردیف.","nullable":true},"content_hash":{"type":"string","description":"هش محتوا.","nullable":true},"revisions":{"type":"integer","description":"تعداد نسخه‌ها.","nullable":true},"detailed":{"type":"boolean","description":"جزئیات خوانده شده؟ (۴۰۴ = false و gone_at پر)","nullable":true},"detail_v":{"type":"integer","description":"نسخهٔ تجزیه.","nullable":true},"first_seen":{"type":"string","format":"date-time","description":"اولین مشاهده.","nullable":true},"last_seen":{"type":"string","format":"date-time","description":"آخرین مشاهده.","nullable":true},"gone_at":{"type":"string","format":"date-time","description":"اولین باری که دیوار پاسخ «آگهی یافت نشد» (۴۰۴) داد؛ یعنی آگهی حذف یا منقضی شده است. برای ردیف‌های قدیمی تاریخ اصلاح است، نه تاریخ واقعی.","nullable":true},"expires_at":{"type":"string","format":"date-time","description":"«unavailable_after» خود دیوار: حدود ۳۱ روز پس از آخرین انتشار یا نردبان. فقط برای آگهی خوانده‌شده.","nullable":true},"price_flag":{"type":"string","description":"high یا low وقتی قیمتِ یک آگهی نقدی ۸ برابر بیشتر یا کمتر از میانهٔ همان مدل و سال باشد (دست‌کم ۱۵ آگهی هم‌مدل)؛ فقط هشدار است و is_cash را عوض نمی‌کند.","nullable":true},"model_year_jalali":{"type":"integer","description":"سال ساخت شمسی؛ مدل‌های میلادی (حدود ۶٪) ۶۲۱ سال کم شده‌اند. «قبل از ۱۳۶۶» خالی است.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/car-revisions":{"get":{"tags":["divar"],"summary":"تاریخچه تغییر آگهی خودرو — Car revisions","description":"تغییرات قیمت/کارکرد آگهی‌های خودرو. با `token=` فیلتر کنید.\n\n**Fast filters (indexed):** `id`, `token`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `token` | text ⚡ | شناسه آگهی. |\n| `seen_at` | ts | زمان مشاهده. |\n| `price` | num | قیمت. |\n| `mileage` | num | کارکرد. |\n| `title` | text | عنوان. |\n| `data` | json | نسخه کامل (JSON). |","operationId":"list_divar_car_revisions","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `token`, `seen_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `token`, `seen_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"شناسه آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Token","description":"شناسه آگهی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"token","in":"query"},{"description":"زمان مشاهده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seen At","description":"زمان مشاهده. — exact match; comma-separate several values, `null` for NULL."},"name":"seen_at","in":"query"},{"description":"زمان مشاهده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Seen At  Gte","description":"زمان مشاهده. — minimum (inclusive)."},"name":"seen_at__gte","in":"query"},{"description":"زمان مشاهده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Seen At  Lte","description":"زمان مشاهده. — maximum (inclusive)."},"name":"seen_at__lte","in":"query"},{"description":"قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price","description":"قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"price","in":"query"},{"description":"قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Gte","description":"قیمت. — minimum (inclusive)."},"name":"price__gte","in":"query"},{"description":"قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price  Lte","description":"قیمت. — maximum (inclusive)."},"name":"price__lte","in":"query"},{"description":"کارکرد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Mileage","description":"کارکرد. — exact match; comma-separate several values, `null` for NULL."},"name":"mileage","in":"query"},{"description":"کارکرد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Mileage  Gte","description":"کارکرد. — minimum (inclusive)."},"name":"mileage__gte","in":"query"},{"description":"کارکرد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Mileage  Lte","description":"کارکرد. — maximum (inclusive)."},"name":"mileage__lte","in":"query"},{"description":"عنوان. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"token":{"type":"string","description":"شناسه آگهی."},"seen_at":{"type":"string","format":"date-time","description":"زمان مشاهده.","nullable":true},"price":{"type":"number","description":"قیمت.","nullable":true},"mileage":{"type":"number","description":"کارکرد.","nullable":true},"title":{"type":"string","description":"عنوان.","nullable":true},"data":{"type":"object","description":"نسخه کامل (JSON)."}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/divar/cities":{"get":{"tags":["divar"],"summary":"شهرهای دیوار — Divar cities","description":"۱٬۱۷۷ شهر و روستای دیوار.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه شهر. |\n| `name` | text | نام شهر. |\n| `slug` | text | slug انگلیسی. |\n| `latitude` | num | عرض جغرافیایی. |\n| `longitude` | num | طول جغرافیایی. |","operationId":"list_divar_cities","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `name`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `name`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه شهر. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه شهر. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه شهر. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه شهر. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه شهر. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"نام شهر. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name","description":"نام شهر. — exact match; `null` for NULL."},"name":"name","in":"query"},{"description":"نام شهر. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Name  Like","description":"نام شهر. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"name__like","in":"query"},{"description":"slug انگلیسی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Slug","description":"slug انگلیسی. — exact match; comma-separate several values, `null` for NULL."},"name":"slug","in":"query"},{"description":"عرض جغرافیایی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Latitude","description":"عرض جغرافیایی. — exact match; comma-separate several values, `null` for NULL."},"name":"latitude","in":"query"},{"description":"عرض جغرافیایی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Latitude  Gte","description":"عرض جغرافیایی. — minimum (inclusive)."},"name":"latitude__gte","in":"query"},{"description":"عرض جغرافیایی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Latitude  Lte","description":"عرض جغرافیایی. — maximum (inclusive)."},"name":"latitude__lte","in":"query"},{"description":"طول جغرافیایی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Longitude","description":"طول جغرافیایی. — exact match; comma-separate several values, `null` for NULL."},"name":"longitude","in":"query"},{"description":"طول جغرافیایی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Longitude  Gte","description":"طول جغرافیایی. — minimum (inclusive)."},"name":"longitude__gte","in":"query"},{"description":"طول جغرافیایی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Longitude  Lte","description":"طول جغرافیایی. — maximum (inclusive)."},"name":"longitude__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه شهر."},"name":{"type":"string","description":"نام شهر.","nullable":true},"slug":{"type":"string","description":"slug انگلیسی.","nullable":true},"latitude":{"type":"number","description":"عرض جغرافیایی.","nullable":true},"longitude":{"type":"number","description":"طول جغرافیایی.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/macro/series":{"get":{"tags":["macro"],"summary":"فهرست سری‌های اقتصادی — Macro series","description":"≈۴۵٫۷ هزار سری: بانک مرکزی (۱٬۶۵۷) و مرکز آمار (≈۴۴ هزار). عنوان به‌تنهایی کلید نیست («نرخ رسمی» هم زیر\nدلار است هم زیر یورو)؛ `path` را ببینید. مقدارها در `/v1/macro/observations`.\n\n**تازگی یک سری:** `fields=series_key,last_period_end` آخرین دورهٔ دارای مقدار را می‌دهد (`last_periods` به ازای هر بسامد) و\n`last_success_at` می‌گوید جمع‌آوریِ منبع زنده است. هر دو را کنار هم بخوانید: سری‌ای که `last_success_at`اش دیروز است ولی `last_period_end`اش\nماه‌ها عقب است یعنی خودِ منبع دورهٔ تازه‌ای ندارد (مثلاً شاخص قیمت مصرف‌کنندهٔ بانک مرکزی تا ۱۴۰۴/۱۲/۲۹ است؛ تا مهر ۱۴۰۵ را سریِ\n«99 / کل کشور» از مرکز آمار می‌دهد، `stat_id=28579`، و این دو شاخص هم‌سطح نیستند).\n\nمرکز آمار دو دسته سری دارد که از روی `series_id` (و `updated_at`) جدا می‌شوند:\n\n- `sci:s<شمارهٔ آمار>:…` — **جاری.** از ۱۴۰۵/۰۸/۰۴ هر شب از amar.org.ir خوانده می‌شود: ۵۳۶ جدول آماری (شاخص‌های\n  قیمت، حساب‌های ملی، نیروی کار، جمعیت، تجارت …) با بسامد ماهانه، فصلی یا سالانه؛ بیشتر آن‌ها `unit` دارند و\n  سال‌های آینده (مثل پیش‌بینی جمعیت) با `report_type=3` آمده‌اند.\n- `sci:<uuid>:…` — **قدیمی و منجمد** (جمع‌آوری‌شده از data.gov.ir تا ۱۴۰۵/۰۶/۲۴): بدون واحد، و برخی ردیف‌هایش\n  تجزیهٔ نادرست دارد؛ ارقام آن را بدون کنترل به‌کار نبرید. فقط نشریات (شاخص‌های کلان، گزارش فصلی اقتصاد ایران …)\n  که دیگر خوانده نمی‌شوند در این دسته می‌مانند.\n\nسری‌های `source=platform` را خود پلتفرم از داده‌های خودش می‌سازد:\n\n- `platform:risk_free:tbill` — **نرخ بدون ریسک** (واحد «درصد در سال»؛ `freq=daily` و `freq=monthly`). میانهٔ بازدهٔ سالانهٔ مؤثر\n  اسناد خزانه اسلامی (نمادهای «اخزا…») که همان روز در بازار عادی فرابورس معامله شده و ۳۰ تا ۴۰۰ روز به سررسید داشته‌اند\n  (اگر هیچ‌کدام نبود: ۱۰ تا ۸۰۰ روز). بازدهٔ هر اسناد = (۱٬۰۰۰٬۰۰۰ ÷ قیمت پایانی) ^ (۳۶۵ ÷ روز تا سررسید) − ۱. ماهانه = میانگین\n  روزهای همان ماه شمسی، فقط برای ماه‌های تمام‌شده. از ۱۳۹۴/۰۷/۰۸ (۲۰۱۵-۰۹-۳۰) است و هر روز معاملاتی (۱۶:۳۰) تازه می‌شود. برای\n  قیمت‌گذاری اختیار (نرخ پیوسته): `r = ln(1 + amount / 100)`. پیش از ۱۳۹۴/۰۷ معاملهٔ اسناد خزانه در دست نیست؛ سقف نرخ سپرده بانکی\n  (سری‌های بانک مرکزی) نرخ بدون ریسک نیست و جای آن را نمی‌گیرد. قیمت و بازدهٔ هر اوراقی که این میانه از آن‌ها ساخته می‌شود (برای\n  ساختن منحنی بازده) در `/v1/market/treasury-bills` است.\n\nسری‌های `source=global_macro` (از ۱۴۰۵/۰۸/۱۹) را خودِ ناشرها می‌دهند، از نشانی‌های عمومیِ بدون حساب و کلید؛ هیچ‌کدام از فروشندهٔ داده یا\nاز صفحهٔ وب نیست. شناسه‌شان `global:<ناشر>:<کلید>` است و `period_end` همیشه **تاریخِ شمسیِ** همان روز (روزانه)، آخرین روزِ ماهِ میلادی\n(ماهانه)، آخرین روزِ فصلِ میلادی (فصلی) یا روزِ پایانِ هفته (هفتگی) است؛ `period_label` تاریخ، ماه یا فصلِ میلادی را به‌صورت\n`2026-11-06` / `2026-10` / `2026Q3` نگه می‌دارد.\nمقدارِ «قبلی» همان مشاهدهٔ پیشین است؛ **«پیش‌بینیِ بازار» (consensus) را هیچ ناشری نمی‌دهد و در API نیست.**\n\n- فدرال رزرو: `global:fed:effr` (نرخ مؤثر وجوه فدرال، از ۲۰۱۶/۰۳/۰۱)، `global:fed:target_lower` و `global:fed:target_upper` (بازهٔ هدف)،\n  `global:fed:broad_dollar_index` (شاخص دلارِ اسمیِ گسترده، H.10، ژانویهٔ ۱۹۹۷ = ۱۰۰، از ۲۰۰۶؛ **DXY نیست** و جای آن را می‌گیرد).\n- خزانه‌داری آمریکا: `global:ust:3m`، `1y`، `2y`، `5y`، `10y`، `30y` — بازدهٔ روزانهٔ منحنی par (درصد در سال) از ۱۹۹۰.\n- BLS (واسط عمومی v1 بدون کلید): `global:bls:unemployment_rate` (نرخ بیکاری، تعدیل‌شدهٔ فصلی)، `global:bls:nonfarm_payrolls` (اشتغال\n  غیرکشاورزی، هزار نفر) و `…_change` (تغییر ماهانه، **مشتق**)، `global:bls:cpi_u` و `global:bls:core_cpi` (شاخص‌های قیمت مصرف‌کننده، بدون\n  تعدیل فصلی؛ هستهٔ بدون غذا و انرژی) و `…_yoy` (تغییر ۱۲ماهه، **مشتق** از همان شاخص‌ها). `report_type=1` یعنی رقم هنوز مقدماتی است.\n  ماهی که BLS رقمی برایش ندارد (مثل مهر ۲۰۲۵ در بیکاری) نیست و صفر گذاشته نمی‌شود.\n- بانک مرکزی اروپا: `global:ecb:deposit_rate`، `global:ecb:refinancing_rate`، `global:ecb:lending_rate` (از ۱۹۹۹) و `global:ecb:hicp_yoy` (تورم\n  سالانهٔ منطقهٔ یورو، ماهانه؛ تا هر ماهی که ECB داده است). بانک انگلستان: `global:boe:bank_rate` (از ۱۹۷۵).\n- EIA: `global:eia:crude_stocks` (موجودی هفتگی نفت خام آمریکا بدون ذخایر راهبردی، هزار بشکه، از ۱۹۸۲). قیمت نقدی WTI سری نیست، ابزار\n  `oil_wti` است (`/v1/instruments?symbol=oil_wti`، بازار GLOBAL، دلار بر بشکه، از ۱۹۸۶؛ یک رقم در روز، پس `open=high=low=close`؛ EIA حدود یک هفته\n  دیر منتشر می‌کند).\n- بانک مرکزی ژاپن (واسط رسمیِ «Time-Series Data Search»؛ بدون کلید): `global:boj:call_rate` (نرخ call شبانهٔ بدون وثیقه، میانگین روزانه، از ۱۹۸۵؛\n  همان نرخ بازاری که سیاست پولیِ بانک مرکزی ژاپن آن را هدف می‌گیرد، **نه** خودِ «نرخ هدفِ مصوب جلسه») و `global:boj:basic_loan_rate` (نرخ پایهٔ\n  تنزیل و وام‌دهی). روزهای تعطیل ژاپن رقم ندارند و در سری نیستند. *This service uses the API provided by the \"Bank of Japan Time-Series Data\n  Search.\" The Bank of Japan does not guarantee the content of the service.*\n- BEA آمریکا (فایل عمومیِ حساب‌های ملی، جدول‌های ۱.۱.۱ و ۱.۱.۵ و ۱.۱.۶؛ فصلی، از ۱۹۴۷): `global:bea:real_gdp_growth` (تغییر فصلیِ تولید ناخالص\n  داخلی واقعی، **نرخ سالانه‌شده**، درصد)، `global:bea:gdp_nominal` (اسمی، میلیون دلار، نرخ سالانه) و `global:bea:gdp_real` (واقعی، میلیون دلار به\n  قیمت ثابت ۲۰۱۷). `report_type=1` فقط برای تازه‌ترین فصل است (برآورد اولیه، دوم یا سوم که BEA بازنگری می‌کند)؛ فصل‌های قدیمی‌تر ۲.\n- بانک جهانی، «Commodity Price Data (The Pink Sheet)» (CC BY 4.0؛ ماهانه، میانگین ماه، دلار): `global:wb:urea` (اوره، پریل، تحویل روی کشتی در\n  خاورمیانه از مارس ۲۰۲۲، پیش از آن دریای سیاه)، `global:wb:dap`، `global:wb:tsp`، `global:wb:potash` (از ژانویهٔ ۲۰۲۰ برزیل CFR)،\n  `global:wb:phosphate_rock`، `global:wb:gas_us` (هنری هاب)، `global:wb:gas_europe` (TTF از آوریل ۲۰۱۵)، `global:wb:lng_japan` (دو ماهِ آخر برآورد\n  است: `report_type=1`)، `global:wb:crude_brent` و `global:wb:crude_dubai`. این‌ها نزدیک‌ترین چیزِ رایگان و مجاز به قیمتِ خوراک و فراورده‌ی\n  پتروشیمی‌اند؛ قیمتِ متانول و پلی‌اتیلن در هیچ منبعِ رایگانِ مجاز نیست. منبع: The World Bank, Commodity Price Data (The Pink Sheet).\nمنتشرنشده در این منابع (و پس در API نیست): «پیش‌بینیِ بازار» (consensus)، شاخص مدیران خرید چین، شاخص‌های سهام، DXY و VIX، قیمتِ متانول و\nپلی‌اتیلن — منبعِ رایگان و مجاز برایشان پیدا نشد.\n\n**Fast filters (indexed):** `q`, `series_id`, `source`, `unit_id`, `series_key`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `series_id` | text ⚡ | شناسه سری. برای مرکز آمار متن بلندی است (میانه ۷۳، بیشینه ۳۰۲ نویسه؛ فارسی، فاصله، اسلش)؛ شناسهٔ کوتاه و ثابت `series_key` است. |\n| `source` | text ⚡ | منبع: `cbi_tsd` بانک مرکزی، `sci_bulletin` مرکز آمار، `platform` سری‌هایی که خود پلتفرم از داده‌های خودش می‌سازد (نرخ بدون ریسک)، `global_macro` سری‌های جهانی از ناشرانِ خودشان (فدرال رزرو، خزانه‌داری آمریکا، بانک مرکزی اروپا، انگلستان و ژاپن، BLS، BEA، EIA، بانک جهانی). |\n| `title` | text | عنوان — به‌تنهایی یکتا نیست؛ همراه `path` یکتاست. |\n| `title_en` | text | عنوان انگلیسی. |\n| `theme` | text | موضوع. |\n| `path` | text | مسیر درختی از ناشر تا سری (جداکننده `/`). |\n| `unit` | text | واحد. |\n| `unit_id` | text ⚡ | شناسه واحد (/v1/macro/units). |\n| `frequencies` | arr | بسامدهای موجود: daily (فقط `platform` و `global_macro`), weekly (فقط `global_macro`)، monthly, quarterly, yearly. |\n| `is_folder` | bool | پوشه است (سرجمع‌ها)؟ |\n| `declared_start` | int | اولین سال اعلام‌شده. |\n| `declared_end` | int | آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). |\n| `updated_at` | ts | آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. |\n| `series_key` | text ⚡ | شناسهٔ کوتاه ثابت: `m` و ۱۶ رقم هگز (۱۷ نویسه)، یکتا؛ مشتق از `series_id` (md5). در `series_key=` همین‌جا و در `/v1/macro/observations` بدهید و دیگر شناسهٔ بلند را نگه ندارید. |\n| `stat_id` | int | فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. |\n| `last_success_at` | ts | آخرین اجرای سالم (کد خروج ۰) جمع‌آوری منبعِ این سری: مرکز آمار `/v1/ops/sci-runs`، بانک مرکزی `/v1/ops/cbi-tsd-runs` (هر دو شبانه). نشان می‌دهد منبع چقدر عقب است؛ همان `last_success_at` در `/v1/health`. برای سری‌های `platform` و `global_macro` همان `updated_at` است: هر اجرای سالم گامِ ساخت ردیف سری را تازه می‌کند (`global_macro`: سه بار در روز). فقط در خروجی (`fields=last_success_at`). |\n| `last_period_end` | text | آخرین دورهٔ دارای مقدار این سری، به قالب `period_end` در `/v1/macro/observations` (`YYYYMMDD` شمسی، مثلاً `14050730` = مهر ۱۴۰۵؛ بیشینهٔ همهٔ بسامدهای سری). تازگی را بدون خواندن همهٔ مقدارها می‌سنجید: اگر این تاریخ از حدّ تازگیِ بسامد کهنه‌تر است، خودِ منبع آن دوره را ندارد (`last_success_at` می‌گوید جمع‌آوری زنده است). سریِ چندبسامدی را با `last_periods` بخوانید. تهی: سری مقدار ندارد (مثلاً پوشه). فقط در خروجی (`fields=last_period_end`)؛ برای هر ردیف یک جست‌وجوی نمایه‌دار است، پس روی یک فهرستِ بلند همراهِ فیلتر بخواهید. |\n| `last_periods` | json | آخرین دورهٔ دارای مقدار به ازای هر بسامد، یک شیء مثل `{\"monthly\": \"14050730\"}` (۱٬۶۵۷ سری بیش از یک بسامد دارند: ماهانه و سالانه، یا برای نرخ بدون ریسک روزانه و ماهانه). فقط در خروجی (`fields=last_periods`). |","operationId":"list_macro_series","parameters":[{"description":"جست‌وجو در عنوان یا مسیر سری (مثلاً `نرخ ارز` یا `تورم`). — Contains-search in title/path.","required":false,"schema":{"type":"string","title":"Q","description":"جست‌وجو در عنوان یا مسیر سری (مثلاً `نرخ ارز` یا `تورم`). — Contains-search in title/path."},"name":"q","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `series_id`, `source`, `title`, `theme`, `path`, `is_folder`, `updated_at`, `series_key`, `stat_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `series_id`, `source`, `title`, `theme`, `path`, `is_folder`, `updated_at`, `series_key`, `stat_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه سری. برای مرکز آمار متن بلندی است (میانه ۷۳، بیشینه ۳۰۲ نویسه؛ فارسی، فاصله، اسلش)؛ شناسهٔ کوتاه و ثابت `series_key` است. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Series Id","description":"شناسه سری. برای مرکز آمار متن بلندی است (میانه ۷۳، بیشینه ۳۰۲ نویسه؛ فارسی، فاصله، اسلش)؛ شناسهٔ کوتاه و ثابت `series_key` است. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"series_id","in":"query"},{"description":"منبع: `cbi_tsd` بانک مرکزی، `sci_bulletin` مرکز آمار، `platform` سری‌هایی که خود پلتفرم از داده‌های خودش می‌سازد (نرخ بدون ریسک)، `global_macro` سری‌های جهانی از ناشرانِ خودشان (فدرال رزرو، خزانه‌داری آمریکا، بانک مرکزی اروپا، انگلستان و ژاپن، BLS، BEA، EIA، بانک جهانی). — exact match; comma-separate several values, `null` for NULL. Values: `cbi_tsd`, `sci_bulletin`, `platform`, `global_macro`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: `cbi_tsd` بانک مرکزی، `sci_bulletin` مرکز آمار، `platform` سری‌هایی که خود پلتفرم از داده‌های خودش می‌سازد (نرخ بدون ریسک)، `global_macro` سری‌های جهانی از ناشرانِ خودشان (فدرال رزرو، خزانه‌داری آمریکا، بانک مرکزی اروپا، انگلستان و ژاپن، BLS، BEA، EIA، بانک جهانی). — exact match; comma-separate several values, `null` for NULL. Values: `cbi_tsd`, `sci_bulletin`, `platform`, `global_macro`. ⚡ indexed."},"name":"source","in":"query"},{"description":"عنوان — به‌تنهایی یکتا نیست؛ همراه `path` یکتاست. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان — به‌تنهایی یکتا نیست؛ همراه `path` یکتاست. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان — به‌تنهایی یکتا نیست؛ همراه `path` یکتاست. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان — به‌تنهایی یکتا نیست؛ همراه `path` یکتاست. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"},{"description":"عنوان انگلیسی. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title En","description":"عنوان انگلیسی. — exact match; `null` for NULL."},"name":"title_en","in":"query"},{"description":"عنوان انگلیسی. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Title En  Like","description":"عنوان انگلیسی. — contains this text (case-insensitive)."},"name":"title_en__like","in":"query"},{"description":"موضوع. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Theme","description":"موضوع. — exact match; `null` for NULL."},"name":"theme","in":"query"},{"description":"موضوع. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Theme  Like","description":"موضوع. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"theme__like","in":"query"},{"description":"مسیر درختی از ناشر تا سری (جداکننده `/`). — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Path","description":"مسیر درختی از ناشر تا سری (جداکننده `/`). — exact match; `null` for NULL."},"name":"path","in":"query"},{"description":"مسیر درختی از ناشر تا سری (جداکننده `/`). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Path  Like","description":"مسیر درختی از ناشر تا سری (جداکننده `/`). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"path__like","in":"query"},{"description":"واحد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit","description":"واحد. — exact match; comma-separate several values, `null` for NULL."},"name":"unit","in":"query"},{"description":"شناسه واحد (/v1/macro/units). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Unit Id","description":"شناسه واحد (/v1/macro/units). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"unit_id","in":"query"},{"description":"بسامدهای موجود: daily (فقط `platform` و `global_macro`), weekly (فقط `global_macro`)، monthly, quarterly, yearly. — exact match; comma-separate several values, `null` for NULL. Values: `daily`, `weekly`, `monthly`, `quarterly`, `yearly`.","required":false,"schema":{"type":"string","title":"Frequencies","description":"بسامدهای موجود: daily (فقط `platform` و `global_macro`), weekly (فقط `global_macro`)، monthly, quarterly, yearly. — exact match; comma-separate several values, `null` for NULL. Values: `daily`, `weekly`, `monthly`, `quarterly`, `yearly`."},"name":"frequencies","in":"query"},{"description":"پوشه است (سرجمع‌ها)؟ — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Folder","description":"پوشه است (سرجمع‌ها)؟ — exact match; comma-separate several values, `null` for NULL."},"name":"is_folder","in":"query"},{"description":"اولین سال اعلام‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Declared Start","description":"اولین سال اعلام‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"declared_start","in":"query"},{"description":"اولین سال اعلام‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Declared Start  Gte","description":"اولین سال اعلام‌شده. — minimum (inclusive)."},"name":"declared_start__gte","in":"query"},{"description":"اولین سال اعلام‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Declared Start  Lte","description":"اولین سال اعلام‌شده. — maximum (inclusive)."},"name":"declared_start__lte","in":"query"},{"description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Declared End","description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). — exact match; comma-separate several values, `null` for NULL."},"name":"declared_end","in":"query"},{"description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Declared End  Gte","description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). — minimum (inclusive)."},"name":"declared_end__gte","in":"query"},{"description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Declared End  Lte","description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`). — maximum (inclusive)."},"name":"declared_end__lte","in":"query"},{"description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است. — maximum (inclusive)."},"name":"updated_at__lte","in":"query"},{"description":"شناسهٔ کوتاه ثابت: `m` و ۱۶ رقم هگز (۱۷ نویسه)، یکتا؛ مشتق از `series_id` (md5). در `series_key=` همین‌جا و در `/v1/macro/observations` بدهید و دیگر شناسهٔ بلند را نگه ندارید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Series Key","description":"شناسهٔ کوتاه ثابت: `m` و ۱۶ رقم هگز (۱۷ نویسه)، یکتا؛ مشتق از `series_id` (md5). در `series_key=` همین‌جا و در `/v1/macro/observations` بدهید و دیگر شناسهٔ بلند را نگه ندارید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"series_key","in":"query"},{"description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Stat Id","description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. — exact match; comma-separate several values, `null` for NULL."},"name":"stat_id","in":"query"},{"description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Stat Id  Gte","description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. — minimum (inclusive)."},"name":"stat_id__gte","in":"query"},{"description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Stat Id  Lte","description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی. — maximum (inclusive)."},"name":"stat_id__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"series_id":{"type":"string","description":"شناسه سری. برای مرکز آمار متن بلندی است (میانه ۷۳، بیشینه ۳۰۲ نویسه؛ فارسی، فاصله، اسلش)؛ شناسهٔ کوتاه و ثابت `series_key` است."},"source":{"type":"string","description":"منبع: `cbi_tsd` بانک مرکزی، `sci_bulletin` مرکز آمار، `platform` سری‌هایی که خود پلتفرم از داده‌های خودش می‌سازد (نرخ بدون ریسک)، `global_macro` سری‌های جهانی از ناشرانِ خودشان (فدرال رزرو، خزانه‌داری آمریکا، بانک مرکزی اروپا، انگلستان و ژاپن، BLS، BEA، EIA، بانک جهانی)."},"title":{"type":"string","description":"عنوان — به‌تنهایی یکتا نیست؛ همراه `path` یکتاست.","nullable":true},"title_en":{"type":"string","description":"عنوان انگلیسی.","nullable":true},"theme":{"type":"string","description":"موضوع.","nullable":true},"path":{"type":"string","description":"مسیر درختی از ناشر تا سری (جداکننده `/`).","nullable":true},"unit":{"type":"string","description":"واحد.","nullable":true},"unit_id":{"type":"string","description":"شناسه واحد (/v1/macro/units).","nullable":true},"frequencies":{"items":{"type":"string"},"type":"array","description":"بسامدهای موجود: daily (فقط `platform` و `global_macro`), weekly (فقط `global_macro`)، monthly, quarterly, yearly.","nullable":true},"is_folder":{"type":"boolean","description":"پوشه است (سرجمع‌ها)؟","nullable":true},"declared_start":{"type":"integer","description":"اولین سال اعلام‌شده.","nullable":true},"declared_end":{"type":"integer","description":"آخرین سال اعلام‌شده. مشاهده‌ای از بانک مرکزی که منبع دیگر برنمی‌گرداند از `macro_observations` برداشته می‌شود (بایگانی در `cbi_tsd_retracted`).","nullable":true},"updated_at":{"type":"string","format":"date-time","description":"آخرین باری که ردیف این سری نوشته یا تغییر کرده؛ دریافت شبانهٔ بی‌تغییر آن را جابه‌جا نمی‌کند (جز سری‌های `platform`: هر اجرای سالم ردیفشان را تازه می‌کند). زنده‌بودن جمع‌آوری را `last_success_at` می‌گوید. مرتب‌سازی با `order_by=-updated_at` ممکن است.","nullable":true},"series_key":{"type":"string","description":"شناسهٔ کوتاه ثابت: `m` و ۱۶ رقم هگز (۱۷ نویسه)، یکتا؛ مشتق از `series_id` (md5). در `series_key=` همین‌جا و در `/v1/macro/observations` بدهید و دیگر شناسهٔ بلند را نگه ندارید.","nullable":true},"stat_id":{"type":"integer","description":"فقط مرکز آمار (سری‌های جاری `sci:s<n>:…`): شمارهٔ جدول آماری در amar.org.ir. همهٔ سری‌های یک جدول را با `stat_id=` بگیرید. برای بانک مرکزی و سری‌های قدیمی خالی.","nullable":true},"last_success_at":{"type":"string","format":"date-time","description":"آخرین اجرای سالم (کد خروج ۰) جمع‌آوری منبعِ این سری: مرکز آمار `/v1/ops/sci-runs`، بانک مرکزی `/v1/ops/cbi-tsd-runs` (هر دو شبانه). نشان می‌دهد منبع چقدر عقب است؛ همان `last_success_at` در `/v1/health`. برای سری‌های `platform` و `global_macro` همان `updated_at` است: هر اجرای سالم گامِ ساخت ردیف سری را تازه می‌کند (`global_macro`: سه بار در روز). فقط در خروجی (`fields=last_success_at`).","nullable":true},"last_period_end":{"type":"string","description":"آخرین دورهٔ دارای مقدار این سری، به قالب `period_end` در `/v1/macro/observations` (`YYYYMMDD` شمسی، مثلاً `14050730` = مهر ۱۴۰۵؛ بیشینهٔ همهٔ بسامدهای سری). تازگی را بدون خواندن همهٔ مقدارها می‌سنجید: اگر این تاریخ از حدّ تازگیِ بسامد کهنه‌تر است، خودِ منبع آن دوره را ندارد (`last_success_at` می‌گوید جمع‌آوری زنده است). سریِ چندبسامدی را با `last_periods` بخوانید. تهی: سری مقدار ندارد (مثلاً پوشه). فقط در خروجی (`fields=last_period_end`)؛ برای هر ردیف یک جست‌وجوی نمایه‌دار است، پس روی یک فهرستِ بلند همراهِ فیلتر بخواهید.","nullable":true},"last_periods":{"type":"object","description":"آخرین دورهٔ دارای مقدار به ازای هر بسامد، یک شیء مثل `{\"monthly\": \"14050730\"}` (۱٬۶۵۷ سری بیش از یک بسامد دارند: ماهانه و سالانه، یا برای نرخ بدون ریسک روزانه و ماهانه). فقط در خروجی (`fields=last_periods`)."}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/macro/observations":{"get":{"tags":["macro"],"summary":"مقادیر سری‌های اقتصادی — Macro observations","description":"≈۱٫۳ میلیون مشاهده (بانک مرکزی ≈۱۳۸ هزار، مرکز آمار ≈۱٫۱ میلیون). معمولاً با `series_id` یا\n`series_q` بخوانید، مثلاً `/v1/macro/observations?series_q=نرخ رسمی دلار&freq=monthly&from=1400/01/01`.\n\n⏱ `series_q` متن را روی عنوان و مسیر هر ۴۴ هزار سری نرمال می‌کند: با عبارت کوتاه یا وقتی تازه‌ترین مقدارها\nزود پیدا شوند کسری از ثانیه است، ولی با عبارت پهن و فیلتر دیگر (مثلاً `source=sci_bulletin&freq=monthly&series_q=شاخص قیمت`)\nتا ۸ ثانیه. راه سریع: سری را با `/v1/macro/series?q=` پیدا کنید (`updated_at__gte=2026-10-01` فقط سری‌های جاری مرکز آمار)\nو مقدارش را با `series_id` بخوانید (چند میلی‌ثانیه).\n\n`period_end` رشتهٔ متنی YYYYMMDD شمسی است و مرتب‌سازی رشته‌ای درست است. در مرکز آمار `report_type=3` یعنی\nپیش‌بینیِ سالی که هنوز شروع نشده، نه مشاهده.\n\nنرخ بدون ریسک (درصد در سال): `/v1/macro/observations?series_id=platform:risk_free:tbill&freq=daily&order_by=-period_end&limit=3`\n(یا با `freq=monthly` برای ماه‌های تمام‌شده). تعریف سری در توضیح `/v1/macro/series`.\n\n**Fast filters (indexed):** `series_q`, `from`, `to`, `series_id`, `period_end`, `series_key`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `series_id` | text ⚡ | شناسه سری (برای مرکز آمار متن بلند؛ شناسهٔ کوتاه `series_key` است). |\n| `freq` | text | بسامد. `daily` فقط برای سری‌های `platform` (نرخ بدون ریسک) و `global_macro`، `weekly` فقط برای `global_macro` (موجودی نفت خام EIA)؛ بدون `freq`، ردیف‌های روزانه و ماهانهٔ یک سری با هم می‌آیند. |\n| `period_end` | text ⚡ | پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. |\n| `amount` | num | مقدار. |\n| `unit_id` | text | شناسه واحد. |\n| `period_label` | text | برچسب دوره (مثلاً «1349-ارديبهشت»). |\n| `jyear` | int | سال شمسی. |\n| `report_type` | int | کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. |\n| `fetched_at` | ts | زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). |\n| `series_key` | text ⚡ | شناسهٔ کوتاه ثابت سری (۱۷ نویسه؛ `/v1/macro/series`). به‌جای `series_id` بلند بدهید. |\n| `stat_id` | int | فقط مرکز آمار (سری‌های جاری): شمارهٔ جدول آماری در amar.org.ir. |\n| `series_title` | text | عنوان سری. |\n| `series_path` | text | مسیر سری. |\n| `source` | text | منبع: cbi_tsd، sci_bulletin یا platform (ساختهٔ خود پلتفرم). |\n| `theme` | text | موضوع. |\n| `unit_title` | text | عنوان واحد. |\n| `unit_title_en` | text | Unit (English). |","operationId":"list_macro_observations","parameters":[{"description":"فقط سری‌هایی که عنوان یا مسیرشان این متن را دارد. — Only series whose title/path contains this.","required":false,"schema":{"type":"string","title":"Series Q","description":"فقط سری‌هایی که عنوان یا مسیرشان این متن را دارد. — Only series whose title/path contains this."},"name":"series_q","in":"query"},{"description":"Start of the period, **inclusive** (`period_end`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`period_end`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `series_id`, `freq`, `period_end`, `amount`, `jyear`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `series_id`, `freq`, `period_end`, `amount`, `jyear`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه سری (برای مرکز آمار متن بلند؛ شناسهٔ کوتاه `series_key` است). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Series Id","description":"شناسه سری (برای مرکز آمار متن بلند؛ شناسهٔ کوتاه `series_key` است). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"series_id","in":"query"},{"description":"بسامد. `daily` فقط برای سری‌های `platform` (نرخ بدون ریسک) و `global_macro`، `weekly` فقط برای `global_macro` (موجودی نفت خام EIA)؛ بدون `freq`، ردیف‌های روزانه و ماهانهٔ یک سری با هم می‌آیند. — exact match; comma-separate several values, `null` for NULL. Values: `daily`, `weekly`, `monthly`, `quarterly`, `yearly`.","required":false,"schema":{"type":"string","title":"Freq","description":"بسامد. `daily` فقط برای سری‌های `platform` (نرخ بدون ریسک) و `global_macro`، `weekly` فقط برای `global_macro` (موجودی نفت خام EIA)؛ بدون `freq`، ردیف‌های روزانه و ماهانهٔ یک سری با هم می‌آیند. — exact match; comma-separate several values, `null` for NULL. Values: `daily`, `weekly`, `monthly`, `quarterly`, `yearly`."},"name":"freq","in":"query"},{"description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Period End","description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"period_end","in":"query"},{"description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Period End  Gte","description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. — minimum (inclusive). ⚡ indexed."},"name":"period_end__gte","in":"query"},{"description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Period End  Lte","description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود. — maximum (inclusive)."},"name":"period_end__lte","in":"query"},{"description":"مقدار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Amount","description":"مقدار. — exact match; comma-separate several values, `null` for NULL."},"name":"amount","in":"query"},{"description":"مقدار. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Amount  Gte","description":"مقدار. — minimum (inclusive)."},"name":"amount__gte","in":"query"},{"description":"مقدار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Amount  Lte","description":"مقدار. — maximum (inclusive)."},"name":"amount__lte","in":"query"},{"description":"شناسه واحد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit Id","description":"شناسه واحد. — exact match; comma-separate several values, `null` for NULL."},"name":"unit_id","in":"query"},{"description":"برچسب دوره (مثلاً «1349-ارديبهشت»). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period Label","description":"برچسب دوره (مثلاً «1349-ارديبهشت»). — exact match; comma-separate several values, `null` for NULL."},"name":"period_label","in":"query"},{"description":"سال شمسی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Jyear","description":"سال شمسی. — exact match; comma-separate several values, `null` for NULL."},"name":"jyear","in":"query"},{"description":"سال شمسی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Jyear  Gte","description":"سال شمسی. — minimum (inclusive)."},"name":"jyear__gte","in":"query"},{"description":"سال شمسی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Jyear  Lte","description":"سال شمسی. — maximum (inclusive)."},"name":"jyear__lte","in":"query"},{"description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Report Type","description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. — exact match; comma-separate several values, `null` for NULL."},"name":"report_type","in":"query"},{"description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Report Type  Gte","description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. — minimum (inclusive)."},"name":"report_type__gte","in":"query"},{"description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Report Type  Lte","description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده. — maximum (inclusive)."},"name":"report_type__lte","in":"query"},{"description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است). — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"شناسهٔ کوتاه ثابت سری (۱۷ نویسه؛ `/v1/macro/series`). به‌جای `series_id` بلند بدهید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Series Key","description":"شناسهٔ کوتاه ثابت سری (۱۷ نویسه؛ `/v1/macro/series`). به‌جای `series_id` بلند بدهید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"series_key","in":"query"},{"description":"فقط مرکز آمار (سری‌های جاری): شمارهٔ جدول آماری در amar.org.ir. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Stat Id","description":"فقط مرکز آمار (سری‌های جاری): شمارهٔ جدول آماری در amar.org.ir. — exact match; comma-separate several values, `null` for NULL."},"name":"stat_id","in":"query"},{"description":"منبع: cbi_tsd، sci_bulletin یا platform (ساختهٔ خود پلتفرم). — exact match; comma-separate several values, `null` for NULL. Values: `cbi_tsd`, `sci_bulletin`, `platform`.","required":false,"schema":{"type":"string","title":"Source","description":"منبع: cbi_tsd، sci_bulletin یا platform (ساختهٔ خود پلتفرم). — exact match; comma-separate several values, `null` for NULL. Values: `cbi_tsd`, `sci_bulletin`, `platform`."},"name":"source","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"series_id":{"type":"string","description":"شناسه سری (برای مرکز آمار متن بلند؛ شناسهٔ کوتاه `series_key` است)."},"freq":{"type":"string","description":"بسامد. `daily` فقط برای سری‌های `platform` (نرخ بدون ریسک) و `global_macro`، `weekly` فقط برای `global_macro` (موجودی نفت خام EIA)؛ بدون `freq`، ردیف‌های روزانه و ماهانهٔ یک سری با هم می‌آیند."},"period_end":{"type":"string","description":"پایان دوره به صورت YYYYMMDD شمسی (مثلاً 14050531). ورودی شمسی با / یا میلادی هم پذیرفته می‌شود."},"amount":{"type":"number","description":"مقدار.","nullable":true},"unit_id":{"type":"string","description":"شناسه واحد.","nullable":true},"period_label":{"type":"string","description":"برچسب دوره (مثلاً «1349-ارديبهشت»).","nullable":true},"jyear":{"type":"integer","description":"سال شمسی.","nullable":true},"report_type":{"type":"integer","description":"کد نوع گزارش منبع (۲ = معمول؛ ۱ و ۳ و ۷ در مواردی). در مرکز آمار ۳ = پیش‌بینیِ سالی که هنوز شروع نشده.","nullable":true},"fetched_at":{"type":"string","format":"date-time","description":"زمان درج یا آخرین تغییر مقدار (نه آخرین دریافتِ بی‌تغییر؛ آخرین دریافت موفق بانک مرکزی در `/v1/ops/cbi-tsd-runs` است).","nullable":true},"series_key":{"type":"string","description":"شناسهٔ کوتاه ثابت سری (۱۷ نویسه؛ `/v1/macro/series`). به‌جای `series_id` بلند بدهید.","nullable":true},"stat_id":{"type":"integer","description":"فقط مرکز آمار (سری‌های جاری): شمارهٔ جدول آماری در amar.org.ir.","nullable":true},"series_title":{"type":"string","description":"عنوان سری.","nullable":true},"series_path":{"type":"string","description":"مسیر سری.","nullable":true},"source":{"type":"string","description":"منبع: cbi_tsd، sci_bulletin یا platform (ساختهٔ خود پلتفرم).","nullable":true},"theme":{"type":"string","description":"موضوع.","nullable":true},"unit_title":{"type":"string","description":"عنوان واحد.","nullable":true},"unit_title_en":{"type":"string","description":"Unit (English).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/macro/units":{"get":{"tags":["macro"],"summary":"واحدهای سری‌ها — Units","description":"واحدهای اندازه‌گیری سری‌ها (ریال، هزار نفر، …).\n\n**Fast filters (indexed):** `unit_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `unit_id` | text ⚡ | شناسه واحد. |\n| `title` | text | عنوان فارسی. |\n| `title_en` | text | عنوان انگلیسی. |","operationId":"list_macro_units","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `unit_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `unit_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه واحد. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Unit Id","description":"شناسه واحد. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"unit_id","in":"query"},{"description":"عنوان فارسی. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان فارسی. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان فارسی. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان فارسی. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"},{"description":"عنوان انگلیسی. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title En","description":"عنوان انگلیسی. — exact match; `null` for NULL."},"name":"title_en","in":"query"},{"description":"عنوان انگلیسی. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Title En  Like","description":"عنوان انگلیسی. — contains this text (case-insensitive)."},"name":"title_en__like","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"unit_id":{"type":"string","description":"شناسه واحد."},"title":{"type":"string","description":"عنوان فارسی.","nullable":true},"title_en":{"type":"string","description":"عنوان انگلیسی.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/codal/letters":{"get":{"tags":["codal"],"summary":"اطلاعیه‌های کدال — Codal disclosures","description":"فهرست اطلاعیه‌های ناشران در کدال (codal.ir) از ۱۳۸۶/۰۷/۰۹: برای هر اطلاعیه ناشر، عنوان، نوع، زمان و نشانی فایل‌ها؛\n**متن اطلاعیه و خود فایل‌ها ذخیره نمی‌شوند**. حدود ۶۳۰ هزار ردیف؛ هر ماه فقط وقتی «بسته» می‌شود که شمار اطلاعیه‌های\nنگه‌داشته‌شده به شمار خود سایت برسد (ماه‌هایی که صفحه‌هایشان جا افتاده بود در ۱۴۰۵/۰۸ کامل شدند). تاریخ‌ها در پایگاه با ارقام فارسی ذخیره شده‌اند ولی ورودی شمسی\n(لاتین یا فارسی) یا میلادی هر دو پذیرفته می‌شود: `publish_dt__gte=1405/08/01`.\n\nنشانی‌ها یکدست نیستند: `url` و `attachment_url` مسیر نسبی روی https://codal.ir هستند (با «/» شروع می‌شوند)، `pdf_url` مسیر نسبی\n**بدون** «/» آغازین است (`DownloadFile.aspx?hs=…`) و `excel_url` نشانی کامل روی https://excel.codal.ir است. اطلاعیه‌ای که فایل\nندارد در آن ستون **رشتهٔ خالی** دارد، نه NULL (۱۹۸ اطلاعیه حتی `url` ندارند)؛ `xbrl_url` همیشه خالی است. `letter_code` برای حدود\n۲۴٪ اطلاعیه‌ها (بیشتر گزارش‌ها و تصمیم‌های صندوق‌ها) خالی است. `under_supervision` وضعیت ناشر در **زمان جمع‌آوری** است و بعداً\nبه‌روز نمی‌شود. `symbol` همان‌طور است که کدال نوشته (ی/ک عربی، فاصلهٔ اضافی و نیم‌فاصله ممکن است)؛ برای اتصال به ابزارها\n`instrument_id` یا `symbol_norm` را به کار ببرید. اتصال حدود ۷۶٪ اطلاعیه‌ها را می‌پوشاند؛ صندوق‌ها، نمادهای حذف‌شده یا\nتغییرنام‌یافته، نماد خالی و سهامِ دوبورسی عمداً بی‌اتصال (`instrument_id` تهی) می‌مانند.\n\n**نامهٔ شرکت‌های تابعه.** کدال نامهٔ شرکت‌های زیرمجموعه را هم زیر نماد و نام شرکتِ مادر می‌دهد (`symbol`، `company_name` و\n`instrument_id` همان مادرند)، بنابراین بدون فیلتر «صورت مالی فولاد» بیشترش ترازِ شرکت‌های دیگر است. ستون `is_child` آن‌ها را جدا\nمی‌کند: `symbol=فولاد&is_child=false` فقط نامه‌های خودِ فولاد مبارکه است، `is_child=true` فقط نامهٔ تابعه‌ها. `fields=issuer_name`\nنام ناشرِ واقعی را هم می‌دهد (برای نامهٔ تابعه از «(شرکت …)» آخر عنوان؛ تهی اگر عنوان آن را نیاورده). `is_child` را کدال خودش می‌گوید\n(فهرست «فقط تابعه‌ها»ی جست‌وجوی کدال)، نه حدسِ عنوان؛ برای هر ماه پس از ختم و دو روز تأمل بسته می‌شود\n(`/v1/ops/codal-windows`: ستون‌های `child_*`). نامهٔ تازه تا اجرای بعدی جمع‌آوری `is_child` تهی دارد. همهٔ ۱۳۸۶ تا امروز\nطبقه‌بندی شده است (۴۲٬۰۳۶ نامهٔ تابعه، ۵۸۸٬۷۱۷ نامهٔ خودِ شرکت)؛ تابعه‌ها ۵–۷٪ نامه‌های هر سال‌اند (تا ۱۳٫۵٪ در ۱۳۹۲) و پیش از ۱۳۸۹\nفهرست «فقط تابعه‌ها»ی کدال خالی است، پس نامه‌های آن سال‌ها همه `false`اند.\n\nدو استثنا چون `is_child` نظر کدال است، نه قاعدهٔ عنوان: (۱) حدود ۱۵۹ نامهٔ `false` (۱۳۸۸ تا ۱۴۰۱، هیچ‌کدام بعد از آن) عنوانشان به\n«(شرکت …)» ختم می‌شود: صورت مالی شرکت‌های بورسی‌نشده یا در حال تصفیه را گاهی خودِ مادر زیر کد خودش ثبت کرده و کدال آن را «تابعه»\nنشان نمی‌دهد (یا «(شرکت سهامی عام)» نوع حقوقیِ خودِ ناشر است)؛ `issuer_name` برایشان نام ثبت‌کننده است و عنوان می‌گوید صورت مالی از کیست.\n(۲) ۲۳۶ نامهٔ `true` (۰٫۶٪) عنوانشان تابعه را در پرانتز نمی‌آورد؛ برایشان `issuer_name` تهی است.\n\n**Fast filters (indexed):** `from`, `to`, `tracing_no`, `symbol`, `letter_code`, `publish_dt`, `symbol_norm`, `instrument_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `tracing_no` | int ⚡ | شماره پیگیری کدال (یکتا). |\n| `symbol` | text ⚡ | نماد ناشر (املای ی/ي و ک/ك هر دو پذیرفته). |\n| `company_name` | text | نام ناشر. |\n| `title` | text | عنوان اطلاعیه. |\n| `letter_code` | text ⚡ | کد نوع اطلاعیه، مثلاً `ن-۱۰` (صورت‌های مالی)، `ن-۳۰` (فعالیت ماهانه)، `ن-۲۰`، `ن-۳۱`. ارقام لاتین هم پذیرفته می‌شود. برای حدود ۲۴٪ اطلاعیه‌ها خالی است. |\n| `publish_dt` | text ⚡ | زمان انتشار (شمسی، ارقام فارسی). |\n| `sent_dt` | text | زمان ارسال (شمسی). |\n| `has_excel` | bool | فایل اکسل دارد. |\n| `has_pdf` | bool | PDF دارد. |\n| `has_html` | bool | HTML دارد. |\n| `has_xbrl` | bool | XBRL دارد. |\n| `has_attachment` | bool | پیوست دارد. |\n| `is_estimate` | bool | پیش‌بینی/برآورد است. |\n| `under_supervision` | int | وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. |\n| `url` | text | مسیر نسبی صفحهٔ اطلاعیه روی https://codal.ir (با «/»؛ خالی برای ۱۹۸ اطلاعیه). |\n| `excel_url` | text | نشانی کامل اکسل روی https://excel.codal.ir؛ خالی = اکسل ندارد. |\n| `pdf_url` | text | مسیر نسبی PDF بدون «/» آغازین (DownloadFile.aspx?…)؛ خالی = ندارد. |\n| `xbrl_url` | text | همیشه خالی (XBRL در کدال جمع‌آوری نمی‌شود). |\n| `attachment_url` | text | مسیر نسبی پیوست روی https://codal.ir؛ خالی = ندارد. |\n| `fetched_at` | ts | زمان جمع‌آوری. |\n| `symbol_norm` | text ⚡ | نماد نرمال‌شده با `md_norm` (ی/ک/ا یکسان، نیم‌فاصله و فاصلهٔ اضافی یکی، ارقام لاتین؛ با `md_norm(instruments.symbol)` قابل‌مقایسه است). |\n| `instrument_id` | int ⚡ | شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. |\n| `is_child` | bool | نامهٔ **شرکتِ تابعه** (زیرمجموعه) است؟ کدال نامهٔ تابعه‌ها را هم زیر نماد و نام شرکتِ مادر می‌دهد، پس `symbol=فولاد` هم نامهٔ فولاد مبارکه را برمی‌گرداند و هم نامهٔ «فولاد گستران بجنورد» را. `true`: نامه را یکی از تابعه‌های این ناشر فرستاده (عنوان معمولاً به «(شرکت …)» ختم می‌شود، نه همیشه)؛ `false`: نامهٔ خودِ شرکت؛ تهی: هنوز طبقه‌بندی نشده (نامهٔ تازه‌ای که اجرای بعدی جمع‌آوری ندیده). «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_code=ن-10`. — `false` = the issuer's own letters, `true` = a subsidiary's (filed under the parent's symbol), NULL = not classified yet. |\n| `issuer_name` | text | نام ناشرِ واقعی نامه. نامهٔ خودِ شرکت (`is_child=false`): همان `company_name`. نامهٔ تابعه: همان «(شرکت …)» که عنوان با آن تمام می‌شود، بدون پرانتز (مثلاً «شرکت فولاد گستران بجنورد»)؛ تهی اگر عنوان تابعه را نام نبرده باشد (مثلاً نامهٔ شفاف‌سازی ۱۳۴۷۳۱۸) یا نامه هنوز طبقه‌بندی نشده. فقط در خروجی می‌آید (`fields=issuer_name`) و فیلتر ندارد؛ برای جداکردن از `is_child` استفاده کنید. |\n| `letter_type` | int | نوع نامه در کدال (`LetterType`، همان عدد `let=` در `url` نامه)؛ `letter_type=6` یعنی «اطلاعات و صورت‌های مالی»: همهٔ نامه‌های `letter_code=ن-۱۰` و هیچ نامهٔ دیگری. فهرست `LetterType=6&Childs=false` کدال با `letter_type=6&is_child=false` یکی است (فولاد ۱۴۰۴/۰۱ تا ۰۳: ۲ از ۲). تهی (حدود ۲۰٪ نامه‌ها) وقتی `url` صفحهٔ پیوست است نه صفحهٔ گزارش (`Attachment.aspx`، بی‌`let=`) یا خالی است؛ فقط نامه‌های `ن-۱۰` در این حالت هم `6` می‌گیرند (۱٬۴۸۱ نامه؛ فهرست کدال آن‌ها را هم دارد). ایندکس ندارد: تنها، کل جدول را می‌خواند (حدود یک ثانیه)؛ با `symbol`، `instrument_id` یا `publish_dt__gte` سریع است. «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_type=6`. |","operationId":"list_codal_letters","parameters":[{"description":"Start of the period, **inclusive** (`publish_dt`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`publish_dt`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `tracing_no`, `symbol`, `company_name`, `letter_code`, `publish_dt`, `sent_dt`, `symbol_norm`, `instrument_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `tracing_no`, `symbol`, `company_name`, `letter_code`, `publish_dt`, `sent_dt`, `symbol_norm`, `instrument_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شماره پیگیری کدال (یکتا). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Tracing No","description":"شماره پیگیری کدال (یکتا). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"tracing_no","in":"query"},{"description":"شماره پیگیری کدال (یکتا). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Tracing No  Gte","description":"شماره پیگیری کدال (یکتا). — minimum (inclusive). ⚡ indexed."},"name":"tracing_no__gte","in":"query"},{"description":"شماره پیگیری کدال (یکتا). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Tracing No  Lte","description":"شماره پیگیری کدال (یکتا). — maximum (inclusive)."},"name":"tracing_no__lte","in":"query"},{"description":"نماد ناشر (املای ی/ي و ک/ك هر دو پذیرفته). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد ناشر (املای ی/ي و ک/ك هر دو پذیرفته). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"symbol","in":"query"},{"description":"نماد ناشر (املای ی/ي و ک/ك هر دو پذیرفته). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد ناشر (املای ی/ي و ک/ك هر دو پذیرفته). — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"symbol__like","in":"query"},{"description":"نام ناشر. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Company Name","description":"نام ناشر. — exact match; `null` for NULL."},"name":"company_name","in":"query"},{"description":"نام ناشر. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Company Name  Like","description":"نام ناشر. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"company_name__like","in":"query"},{"description":"عنوان اطلاعیه. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"عنوان اطلاعیه. — exact match; `null` for NULL."},"name":"title","in":"query"},{"description":"عنوان اطلاعیه. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Title  Like","description":"عنوان اطلاعیه. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"title__like","in":"query"},{"description":"کد نوع اطلاعیه، مثلاً `ن-۱۰` (صورت‌های مالی)، `ن-۳۰` (فعالیت ماهانه)، `ن-۲۰`، `ن-۳۱`. ارقام لاتین هم پذیرفته می‌شود. برای حدود ۲۴٪ اطلاعیه‌ها خالی است. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Letter Code","description":"کد نوع اطلاعیه، مثلاً `ن-۱۰` (صورت‌های مالی)، `ن-۳۰` (فعالیت ماهانه)، `ن-۲۰`، `ن-۳۱`. ارقام لاتین هم پذیرفته می‌شود. برای حدود ۲۴٪ اطلاعیه‌ها خالی است. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"letter_code","in":"query"},{"description":"زمان انتشار (شمسی، ارقام فارسی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Publish Dt","description":"زمان انتشار (شمسی، ارقام فارسی). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"publish_dt","in":"query"},{"description":"زمان انتشار (شمسی، ارقام فارسی). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Publish Dt  Gte","description":"زمان انتشار (شمسی، ارقام فارسی). — minimum (inclusive). ⚡ indexed."},"name":"publish_dt__gte","in":"query"},{"description":"زمان انتشار (شمسی، ارقام فارسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Publish Dt  Lte","description":"زمان انتشار (شمسی، ارقام فارسی). — maximum (inclusive)."},"name":"publish_dt__lte","in":"query"},{"description":"زمان ارسال (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Sent Dt","description":"زمان ارسال (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"sent_dt","in":"query"},{"description":"زمان ارسال (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Sent Dt  Gte","description":"زمان ارسال (شمسی). — minimum (inclusive)."},"name":"sent_dt__gte","in":"query"},{"description":"زمان ارسال (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Sent Dt  Lte","description":"زمان ارسال (شمسی). — maximum (inclusive)."},"name":"sent_dt__lte","in":"query"},{"description":"فایل اکسل دارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Has Excel","description":"فایل اکسل دارد. — exact match; comma-separate several values, `null` for NULL."},"name":"has_excel","in":"query"},{"description":"PDF دارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Has Pdf","description":"PDF دارد. — exact match; comma-separate several values, `null` for NULL."},"name":"has_pdf","in":"query"},{"description":"HTML دارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Has Html","description":"HTML دارد. — exact match; comma-separate several values, `null` for NULL."},"name":"has_html","in":"query"},{"description":"XBRL دارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Has Xbrl","description":"XBRL دارد. — exact match; comma-separate several values, `null` for NULL."},"name":"has_xbrl","in":"query"},{"description":"پیوست دارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Has Attachment","description":"پیوست دارد. — exact match; comma-separate several values, `null` for NULL."},"name":"has_attachment","in":"query"},{"description":"پیش‌بینی/برآورد است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Estimate","description":"پیش‌بینی/برآورد است. — exact match; comma-separate several values, `null` for NULL."},"name":"is_estimate","in":"query"},{"description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Under Supervision","description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. — exact match; comma-separate several values, `null` for NULL."},"name":"under_supervision","in":"query"},{"description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Under Supervision  Gte","description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. — minimum (inclusive)."},"name":"under_supervision__gte","in":"query"},{"description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Under Supervision  Lte","description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود. — maximum (inclusive)."},"name":"under_supervision__lte","in":"query"},{"description":"مسیر نسبی صفحهٔ اطلاعیه روی https://codal.ir (با «/»؛ خالی برای ۱۹۸ اطلاعیه). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Url","description":"مسیر نسبی صفحهٔ اطلاعیه روی https://codal.ir (با «/»؛ خالی برای ۱۹۸ اطلاعیه). — exact match; comma-separate several values, `null` for NULL."},"name":"url","in":"query"},{"description":"نشانی کامل اکسل روی https://excel.codal.ir؛ خالی = اکسل ندارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Excel Url","description":"نشانی کامل اکسل روی https://excel.codal.ir؛ خالی = اکسل ندارد. — exact match; comma-separate several values, `null` for NULL."},"name":"excel_url","in":"query"},{"description":"مسیر نسبی PDF بدون «/» آغازین (DownloadFile.aspx?…)؛ خالی = ندارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pdf Url","description":"مسیر نسبی PDF بدون «/» آغازین (DownloadFile.aspx?…)؛ خالی = ندارد. — exact match; comma-separate several values, `null` for NULL."},"name":"pdf_url","in":"query"},{"description":"همیشه خالی (XBRL در کدال جمع‌آوری نمی‌شود). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Xbrl Url","description":"همیشه خالی (XBRL در کدال جمع‌آوری نمی‌شود). — exact match; comma-separate several values, `null` for NULL."},"name":"xbrl_url","in":"query"},{"description":"مسیر نسبی پیوست روی https://codal.ir؛ خالی = ندارد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Attachment Url","description":"مسیر نسبی پیوست روی https://codal.ir؛ خالی = ندارد. — exact match; comma-separate several values, `null` for NULL."},"name":"attachment_url","in":"query"},{"description":"زمان جمع‌آوری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"زمان جمع‌آوری. — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"زمان جمع‌آوری. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"زمان جمع‌آوری. — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"زمان جمع‌آوری. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"زمان جمع‌آوری. — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"نماد نرمال‌شده با `md_norm` (ی/ک/ا یکسان، نیم‌فاصله و فاصلهٔ اضافی یکی، ارقام لاتین؛ با `md_norm(instruments.symbol)` قابل‌مقایسه است). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Symbol Norm","description":"نماد نرمال‌شده با `md_norm` (ی/ک/ا یکسان، نیم‌فاصله و فاصلهٔ اضافی یکی، ارقام لاتین؛ با `md_norm(instruments.symbol)` قابل‌مقایسه است). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"symbol_norm","in":"query"},{"description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"instrument_id","in":"query"},{"description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. — minimum (inclusive). ⚡ indexed."},"name":"instrument_id__gte","in":"query"},{"description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند. — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"نامهٔ **شرکتِ تابعه** (زیرمجموعه) است؟ کدال نامهٔ تابعه‌ها را هم زیر نماد و نام شرکتِ مادر می‌دهد، پس `symbol=فولاد` هم نامهٔ فولاد مبارکه را برمی‌گرداند و هم نامهٔ «فولاد گستران بجنورد» را. `true`: نامه را یکی از تابعه‌های این ناشر فرستاده (عنوان معمولاً به «(شرکت …)» ختم می‌شود، نه همیشه)؛ `false`: نامهٔ خودِ شرکت؛ تهی: هنوز طبقه‌بندی نشده (نامهٔ تازه‌ای که اجرای بعدی جمع‌آوری ندیده). «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_code=ن-10`. — `false` = the issuer's own letters, `true` = a subsidiary's (filed under the parent's symbol), NULL = not classified yet. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Is Child","description":"نامهٔ **شرکتِ تابعه** (زیرمجموعه) است؟ کدال نامهٔ تابعه‌ها را هم زیر نماد و نام شرکتِ مادر می‌دهد، پس `symbol=فولاد` هم نامهٔ فولاد مبارکه را برمی‌گرداند و هم نامهٔ «فولاد گستران بجنورد» را. `true`: نامه را یکی از تابعه‌های این ناشر فرستاده (عنوان معمولاً به «(شرکت …)» ختم می‌شود، نه همیشه)؛ `false`: نامهٔ خودِ شرکت؛ تهی: هنوز طبقه‌بندی نشده (نامهٔ تازه‌ای که اجرای بعدی جمع‌آوری ندیده). «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_code=ن-10`. — `false` = the issuer's own letters, `true` = a subsidiary's (filed under the parent's symbol), NULL = not classified yet. — exact match; comma-separate several values, `null` for NULL."},"name":"is_child","in":"query"},{"description":"نوع نامه در کدال (`LetterType`، همان عدد `let=` در `url` نامه)؛ `letter_type=6` یعنی «اطلاعات و صورت‌های مالی»: همهٔ نامه‌های `letter_code=ن-۱۰` و هیچ نامهٔ دیگری. فهرست `LetterType=6&Childs=false` کدال با `letter_type=6&is_child=false` یکی است (فولاد ۱۴۰۴/۰۱ تا ۰۳: ۲ از ۲). تهی (حدود ۲۰٪ نامه‌ها) وقتی `url` صفحهٔ پیوست است نه صفحهٔ گزارش (`Attachment.aspx`، بی‌`let=`) یا خالی است؛ فقط نامه‌های `ن-۱۰` در این حالت هم `6` می‌گیرند (۱٬۴۸۱ نامه؛ فهرست کدال آن‌ها را هم دارد). ایندکس ندارد: تنها، کل جدول را می‌خواند (حدود یک ثانیه)؛ با `symbol`، `instrument_id` یا `publish_dt__gte` سریع است. «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_type=6`. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Letter Type","description":"نوع نامه در کدال (`LetterType`، همان عدد `let=` در `url` نامه)؛ `letter_type=6` یعنی «اطلاعات و صورت‌های مالی»: همهٔ نامه‌های `letter_code=ن-۱۰` و هیچ نامهٔ دیگری. فهرست `LetterType=6&Childs=false` کدال با `letter_type=6&is_child=false` یکی است (فولاد ۱۴۰۴/۰۱ تا ۰۳: ۲ از ۲). تهی (حدود ۲۰٪ نامه‌ها) وقتی `url` صفحهٔ پیوست است نه صفحهٔ گزارش (`Attachment.aspx`، بی‌`let=`) یا خالی است؛ فقط نامه‌های `ن-۱۰` در این حالت هم `6` می‌گیرند (۱٬۴۸۱ نامه؛ فهرست کدال آن‌ها را هم دارد). ایندکس ندارد: تنها، کل جدول را می‌خواند (حدود یک ثانیه)؛ با `symbol`، `instrument_id` یا `publish_dt__gte` سریع است. «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_type=6`. — exact match; comma-separate several values, `null` for NULL."},"name":"letter_type","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"tracing_no":{"type":"integer","description":"شماره پیگیری کدال (یکتا)."},"symbol":{"type":"string","description":"نماد ناشر (املای ی/ي و ک/ك هر دو پذیرفته).","nullable":true},"company_name":{"type":"string","description":"نام ناشر.","nullable":true},"title":{"type":"string","description":"عنوان اطلاعیه.","nullable":true},"letter_code":{"type":"string","description":"کد نوع اطلاعیه، مثلاً `ن-۱۰` (صورت‌های مالی)، `ن-۳۰` (فعالیت ماهانه)، `ن-۲۰`، `ن-۳۱`. ارقام لاتین هم پذیرفته می‌شود. برای حدود ۲۴٪ اطلاعیه‌ها خالی است.","nullable":true},"publish_dt":{"type":"string","description":"زمان انتشار (شمسی، ارقام فارسی).","nullable":true},"sent_dt":{"type":"string","description":"زمان ارسال (شمسی).","nullable":true},"has_excel":{"type":"boolean","description":"فایل اکسل دارد.","nullable":true},"has_pdf":{"type":"boolean","description":"PDF دارد.","nullable":true},"has_html":{"type":"boolean","description":"HTML دارد.","nullable":true},"has_xbrl":{"type":"boolean","description":"XBRL دارد.","nullable":true},"has_attachment":{"type":"boolean","description":"پیوست دارد.","nullable":true},"is_estimate":{"type":"boolean","description":"پیش‌بینی/برآورد است.","nullable":true},"under_supervision":{"type":"integer","description":"وضعیت نظارتی ناشر هنگام جمع‌آوری اطلاعیه: 0 بدون نظارت؛ 1 (۲۳٬۱۵۸ اطلاعیه)، 2 (۳۴۰) و 3 (۷٬۹۳۴) سطح‌های تحت‌نظارت؛ بعداً به‌روز نمی‌شود.","nullable":true},"url":{"type":"string","description":"مسیر نسبی صفحهٔ اطلاعیه روی https://codal.ir (با «/»؛ خالی برای ۱۹۸ اطلاعیه).","nullable":true},"excel_url":{"type":"string","description":"نشانی کامل اکسل روی https://excel.codal.ir؛ خالی = اکسل ندارد.","nullable":true},"pdf_url":{"type":"string","description":"مسیر نسبی PDF بدون «/» آغازین (DownloadFile.aspx?…)؛ خالی = ندارد.","nullable":true},"xbrl_url":{"type":"string","description":"همیشه خالی (XBRL در کدال جمع‌آوری نمی‌شود).","nullable":true},"attachment_url":{"type":"string","description":"مسیر نسبی پیوست روی https://codal.ir؛ خالی = ندارد.","nullable":true},"fetched_at":{"type":"string","format":"date-time","description":"زمان جمع‌آوری.","nullable":true},"symbol_norm":{"type":"string","description":"نماد نرمال‌شده با `md_norm` (ی/ک/ا یکسان، نیم‌فاصله و فاصلهٔ اضافی یکی، ارقام لاتین؛ با `md_norm(instruments.symbol)` قابل‌مقایسه است).","nullable":true},"instrument_id":{"type":"integer","description":"شناسهٔ ابزار در `/v1/instruments` که نماد این اطلاعیه به آن می‌خورد؛ تهی اگر هیچ ابزاری (یا بیش از یکی) نخورد. حدود ۷۶٪ اطلاعیه‌ها وصل‌اند.","nullable":true},"is_child":{"type":"boolean","description":"نامهٔ **شرکتِ تابعه** (زیرمجموعه) است؟ کدال نامهٔ تابعه‌ها را هم زیر نماد و نام شرکتِ مادر می‌دهد، پس `symbol=فولاد` هم نامهٔ فولاد مبارکه را برمی‌گرداند و هم نامهٔ «فولاد گستران بجنورد» را. `true`: نامه را یکی از تابعه‌های این ناشر فرستاده (عنوان معمولاً به «(شرکت …)» ختم می‌شود، نه همیشه)؛ `false`: نامهٔ خودِ شرکت؛ تهی: هنوز طبقه‌بندی نشده (نامهٔ تازه‌ای که اجرای بعدی جمع‌آوری ندیده). «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_code=ن-10`. — `false` = the issuer's own letters, `true` = a subsidiary's (filed under the parent's symbol), NULL = not classified yet.","nullable":true},"issuer_name":{"type":"string","description":"نام ناشرِ واقعی نامه. نامهٔ خودِ شرکت (`is_child=false`): همان `company_name`. نامهٔ تابعه: همان «(شرکت …)» که عنوان با آن تمام می‌شود، بدون پرانتز (مثلاً «شرکت فولاد گستران بجنورد»)؛ تهی اگر عنوان تابعه را نام نبرده باشد (مثلاً نامهٔ شفاف‌سازی ۱۳۴۷۳۱۸) یا نامه هنوز طبقه‌بندی نشده. فقط در خروجی می‌آید (`fields=issuer_name`) و فیلتر ندارد؛ برای جداکردن از `is_child` استفاده کنید.","nullable":true},"letter_type":{"type":"integer","description":"نوع نامه در کدال (`LetterType`، همان عدد `let=` در `url` نامه)؛ `letter_type=6` یعنی «اطلاعات و صورت‌های مالی»: همهٔ نامه‌های `letter_code=ن-۱۰` و هیچ نامهٔ دیگری. فهرست `LetterType=6&Childs=false` کدال با `letter_type=6&is_child=false` یکی است (فولاد ۱۴۰۴/۰۱ تا ۰۳: ۲ از ۲). تهی (حدود ۲۰٪ نامه‌ها) وقتی `url` صفحهٔ پیوست است نه صفحهٔ گزارش (`Attachment.aspx`، بی‌`let=`) یا خالی است؛ فقط نامه‌های `ن-۱۰` در این حالت هم `6` می‌گیرند (۱٬۴۸۱ نامه؛ فهرست کدال آن‌ها را هم دارد). ایندکس ندارد: تنها، کل جدول را می‌خواند (حدود یک ثانیه)؛ با `symbol`، `instrument_id` یا `publish_dt__gte` سریع است. «صورت مالی خودِ فولاد» = `symbol=فولاد&is_child=false&letter_type=6`.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/debtors":{"get":{"tags":["bank-debtors"],"summary":"بدهکاران کلان بانکی — Large bank debtors","description":"حدود ۲٫۹ میلیون سطر از افشای فصلی تسهیلات کلان توسط ۳۱ نمادِ بانک/مؤسسه (تبصره ۱۶ قانون بودجه)، ۱۴۰۰–۱۴۰۵ — در ۱۴۰۰\nسه بانک و در ۱۴۰۵ بیست‌وپنج؛ ماتریس واقعی بانک×دوره را `cbi_coverage.py` می‌گوید. مبالغ **ریال** است.\n\nجست‌وجوی نام: `customer_name__like=` (حداقل ۳ حرف؛ ی/ي و ک/ك یکسان). یک بدهکار را با `customer_nid` یا\n`entity_key` در افشاهای مختلف دنبال کنید.\n\nردیف‌های جمع پایانی فایل (برابر مجموع بقیهٔ ردیف‌های برگه) و ردیف‌های «فاقد اطلاعات» در `/v1/cbi/excluded` هستند، نه\nاینجا؛ فایل‌هایی که `cbi_files.status` آن‌ها `done` نیست (`empty`، `duplicate`، `bad_header`، `error`) در این جدول\nنمی‌آیند.\n\n⚠️ معنای داده: تسهیلات جاری و غیرجاری را **هرگز** با هم جمع نزنید؛ وثیقه را بین ردیف‌ها جمع نزنید؛ نبودن یک بدهکار در افشای بعدی لزوماً تسویه نیست؛ هر افشا عکس پایان فصل است؛ ردیف‌های تعهدات (`sheet_kind=commitments`) تعهد احتمالی‌اند نه بدهی و با ردیف‌های تسهیلات جمع نمی‌شوند.\n\n**Fast filters (indexed):** `row_id`, `file_id`, `year`, `bank`, `sheet_kind`, `customer_name`, `customer_name__like`, `beneficiary_name`, `beneficiary_name__like`, `beneficiary_id`, `customer_key`, `beneficiary_key`, `customer_nid`, `entity_key`, `outstanding`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `row_id` | int ⚡ | شناسه ردیف. |\n| `file_id` | int ⚡ | فایل منبع (/v1/cbi/files). |\n| `dataset` | text | مجموعه: tashilat_jari (جاری) یا tashilat_gheyrjari (غیرجاری). |\n| `year` | text ⚡ | سال شمسی افشا (مثلاً 1405). |\n| `period` | text | فصل افشا. |\n| `bank` | text ⚡ | بانک (slug، /v1/cbi/meta/options). |\n| `sheet_kind` | text ⚡ | نوع برگه (facilities, facilities_npl, …). |\n| `customer_name` | text ⚡ | نام مشتری. |\n| `beneficiary_name` | text ⚡ | نام ذی‌نفع نهایی. |\n| `beneficiary_id` | text ⚡ | شناسه ذی‌نفع. |\n| `own_nid` | text | شناسه ملی مالک. |\n| `principal_paid` | num | اصل تسهیلات پرداخت‌شده (ریال). |\n| `net_facilities` | num | خالص تسهیلات (ریال). |\n| `balance_current` | num | مانده جاری (ریال). |\n| `balance_npl` | num | مانده غیرجاری (ریال). |\n| `npl_overdue` | num | مانده سررسید گذشته. |\n| `npl_deferred` | num | مانده معوق. |\n| `npl_doubtful` | num | مانده مشکوک‌الوصول. |\n| `commitment_principal` | num | تعهدات (اصل). |\n| `commitment_net` | num | تعهدات (خالص). |\n| `commitment_type` | text | نوع تعهد. |\n| `collateral_total` | num | جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. |\n| `rate_pct` | num | نرخ سود (٪). |\n| `term_months` | num | مدت (ماه). |\n| `contract_date` | text | تاریخ قرارداد (شمسی). |\n| `currency` | text | ارز. |\n| `samat_code` | text | کد سماط. |\n| `customer_key` | text ⚡ | کلید نرمال‌شده نام مشتری. |\n| `beneficiary_key` | text ⚡ | کلید نرمال‌شده ذی‌نفع. |\n| `customer_nid` | text ⚡ | شناسه ملی مشتری: از ستون خود فایل، یا از معرفی اشخاص حقوقی (فقط برای نام‌های `status=ok`). |\n| `entity_key` | text ⚡ | کلید یکپارچه موجودیت: شناسه ملی (از ستون خود فایل، یا از معرفی اشخاص حقوقی وقتی نام قابل‌اعتماد است) وگرنه نام نرمال‌شده؛ نامی که شناسهٔ ملی‌اش مشکوک است (`cbi_entities.status` ≠ ok) با نام خودش کلید می‌خورد. |\n| `customer_reg_no` | text | شماره ثبت مشتری. |\n| `customer_reg_city` | text | شهر ثبت مشتری. |\n| `customer_reg_date` | text | تاریخ ثبت مشتری (شمسی). |\n| `outstanding` | num ⚡ | مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). |\n| `exposure` | num | تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. |\n| `outstanding_basis` | text | مبنای `outstanding`: net_facilities (خالص تسهیلات)، balances (جمع مانده جاری و غیرجاری وقتی خالص صفر یا تهی است)، net_commitment (خالص تعهدات) یا gross_commitment (مبلغ اصلی تعهد). |\n| `name_source` | text | منشأ `customer_name`: file (ستون نام مشتری در فایل)، beneficiary (فایل ستون نام ندارد و مشتری همان ذی‌نفع واحد است)، registry (نام از معرفی اشخاص حقوقی با شناسه ملی). تهی: بانک نام را خالی گذاشته. |","operationId":"list_cbi_debtors","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `row_id`, `dataset`, `year`, `bank`, `outstanding`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `row_id`, `dataset`, `year`, `bank`, `outstanding`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ردیف. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Row Id","description":"شناسه ردیف. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"row_id","in":"query"},{"description":"شناسه ردیف. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Row Id  Gte","description":"شناسه ردیف. — minimum (inclusive). ⚡ indexed."},"name":"row_id__gte","in":"query"},{"description":"شناسه ردیف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Row Id  Lte","description":"شناسه ردیف. — maximum (inclusive)."},"name":"row_id__lte","in":"query"},{"description":"فایل منبع (/v1/cbi/files). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id","description":"فایل منبع (/v1/cbi/files). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"file_id","in":"query"},{"description":"فایل منبع (/v1/cbi/files). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id  Gte","description":"فایل منبع (/v1/cbi/files). — minimum (inclusive). ⚡ indexed."},"name":"file_id__gte","in":"query"},{"description":"فایل منبع (/v1/cbi/files). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Id  Lte","description":"فایل منبع (/v1/cbi/files). — maximum (inclusive)."},"name":"file_id__lte","in":"query"},{"description":"مجموعه: tashilat_jari (جاری) یا tashilat_gheyrjari (غیرجاری). — exact match; comma-separate several values, `null` for NULL. Values: `tashilat_jari`, `tashilat_gheyrjari`.","required":false,"schema":{"type":"string","title":"Dataset","description":"مجموعه: tashilat_jari (جاری) یا tashilat_gheyrjari (غیرجاری). — exact match; comma-separate several values, `null` for NULL. Values: `tashilat_jari`, `tashilat_gheyrjari`."},"name":"dataset","in":"query"},{"description":"سال شمسی افشا (مثلاً 1405). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Year","description":"سال شمسی افشا (مثلاً 1405). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"year","in":"query"},{"description":"فصل افشا. — exact match; comma-separate several values, `null` for NULL. Values: `khordad`, `shahrivar`, `azar`, `esfand`.","required":false,"schema":{"type":"string","title":"Period","description":"فصل افشا. — exact match; comma-separate several values, `null` for NULL. Values: `khordad`, `shahrivar`, `azar`, `esfand`."},"name":"period","in":"query"},{"description":"بانک (slug، /v1/cbi/meta/options). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bank","description":"بانک (slug، /v1/cbi/meta/options). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"bank","in":"query"},{"description":"نوع برگه (facilities, facilities_npl, …). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Sheet Kind","description":"نوع برگه (facilities, facilities_npl, …). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"sheet_kind","in":"query"},{"description":"نام مشتری. — exact match; `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Name","description":"نام مشتری. — exact match; `null` for NULL. ⚡ indexed."},"name":"customer_name","in":"query"},{"description":"نام مشتری. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Name  Like","description":"نام مشتری. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"customer_name__like","in":"query"},{"description":"نام ذی‌نفع نهایی. — exact match; `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Name","description":"نام ذی‌نفع نهایی. — exact match; `null` for NULL. ⚡ indexed."},"name":"beneficiary_name","in":"query"},{"description":"نام ذی‌نفع نهایی. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Name  Like","description":"نام ذی‌نفع نهایی. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"beneficiary_name__like","in":"query"},{"description":"شناسه ذی‌نفع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Id","description":"شناسه ذی‌نفع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"beneficiary_id","in":"query"},{"description":"شناسه ملی مالک. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Own Nid","description":"شناسه ملی مالک. — exact match; comma-separate several values, `null` for NULL."},"name":"own_nid","in":"query"},{"description":"اصل تسهیلات پرداخت‌شده (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Principal Paid","description":"اصل تسهیلات پرداخت‌شده (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"principal_paid","in":"query"},{"description":"اصل تسهیلات پرداخت‌شده (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Principal Paid  Gte","description":"اصل تسهیلات پرداخت‌شده (ریال). — minimum (inclusive)."},"name":"principal_paid__gte","in":"query"},{"description":"اصل تسهیلات پرداخت‌شده (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Principal Paid  Lte","description":"اصل تسهیلات پرداخت‌شده (ریال). — maximum (inclusive)."},"name":"principal_paid__lte","in":"query"},{"description":"خالص تسهیلات (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Net Facilities","description":"خالص تسهیلات (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"net_facilities","in":"query"},{"description":"خالص تسهیلات (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Net Facilities  Gte","description":"خالص تسهیلات (ریال). — minimum (inclusive)."},"name":"net_facilities__gte","in":"query"},{"description":"خالص تسهیلات (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Net Facilities  Lte","description":"خالص تسهیلات (ریال). — maximum (inclusive)."},"name":"net_facilities__lte","in":"query"},{"description":"مانده جاری (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Balance Current","description":"مانده جاری (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"balance_current","in":"query"},{"description":"مانده جاری (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Current  Gte","description":"مانده جاری (ریال). — minimum (inclusive)."},"name":"balance_current__gte","in":"query"},{"description":"مانده جاری (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Current  Lte","description":"مانده جاری (ریال). — maximum (inclusive)."},"name":"balance_current__lte","in":"query"},{"description":"مانده غیرجاری (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Balance Npl","description":"مانده غیرجاری (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"balance_npl","in":"query"},{"description":"مانده غیرجاری (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Npl  Gte","description":"مانده غیرجاری (ریال). — minimum (inclusive)."},"name":"balance_npl__gte","in":"query"},{"description":"مانده غیرجاری (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Npl  Lte","description":"مانده غیرجاری (ریال). — maximum (inclusive)."},"name":"balance_npl__lte","in":"query"},{"description":"مانده سررسید گذشته. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Npl Overdue","description":"مانده سررسید گذشته. — exact match; comma-separate several values, `null` for NULL."},"name":"npl_overdue","in":"query"},{"description":"مانده سررسید گذشته. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Npl Overdue  Gte","description":"مانده سررسید گذشته. — minimum (inclusive)."},"name":"npl_overdue__gte","in":"query"},{"description":"مانده سررسید گذشته. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Npl Overdue  Lte","description":"مانده سررسید گذشته. — maximum (inclusive)."},"name":"npl_overdue__lte","in":"query"},{"description":"مانده معوق. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Npl Deferred","description":"مانده معوق. — exact match; comma-separate several values, `null` for NULL."},"name":"npl_deferred","in":"query"},{"description":"مانده معوق. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Npl Deferred  Gte","description":"مانده معوق. — minimum (inclusive)."},"name":"npl_deferred__gte","in":"query"},{"description":"مانده معوق. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Npl Deferred  Lte","description":"مانده معوق. — maximum (inclusive)."},"name":"npl_deferred__lte","in":"query"},{"description":"مانده مشکوک‌الوصول. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Npl Doubtful","description":"مانده مشکوک‌الوصول. — exact match; comma-separate several values, `null` for NULL."},"name":"npl_doubtful","in":"query"},{"description":"مانده مشکوک‌الوصول. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Npl Doubtful  Gte","description":"مانده مشکوک‌الوصول. — minimum (inclusive)."},"name":"npl_doubtful__gte","in":"query"},{"description":"مانده مشکوک‌الوصول. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Npl Doubtful  Lte","description":"مانده مشکوک‌الوصول. — maximum (inclusive)."},"name":"npl_doubtful__lte","in":"query"},{"description":"تعهدات (اصل). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Commitment Principal","description":"تعهدات (اصل). — exact match; comma-separate several values, `null` for NULL."},"name":"commitment_principal","in":"query"},{"description":"تعهدات (اصل). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Principal  Gte","description":"تعهدات (اصل). — minimum (inclusive)."},"name":"commitment_principal__gte","in":"query"},{"description":"تعهدات (اصل). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Principal  Lte","description":"تعهدات (اصل). — maximum (inclusive)."},"name":"commitment_principal__lte","in":"query"},{"description":"تعهدات (خالص). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Commitment Net","description":"تعهدات (خالص). — exact match; comma-separate several values, `null` for NULL."},"name":"commitment_net","in":"query"},{"description":"تعهدات (خالص). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Net  Gte","description":"تعهدات (خالص). — minimum (inclusive)."},"name":"commitment_net__gte","in":"query"},{"description":"تعهدات (خالص). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Net  Lte","description":"تعهدات (خالص). — maximum (inclusive)."},"name":"commitment_net__lte","in":"query"},{"description":"نوع تعهد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Commitment Type","description":"نوع تعهد. — exact match; comma-separate several values, `null` for NULL."},"name":"commitment_type","in":"query"},{"description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Collateral Total","description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. — exact match; comma-separate several values, `null` for NULL."},"name":"collateral_total","in":"query"},{"description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Collateral Total  Gte","description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. — minimum (inclusive)."},"name":"collateral_total__gte","in":"query"},{"description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Collateral Total  Lte","description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید. — maximum (inclusive)."},"name":"collateral_total__lte","in":"query"},{"description":"نرخ سود (٪). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rate Pct","description":"نرخ سود (٪). — exact match; comma-separate several values, `null` for NULL."},"name":"rate_pct","in":"query"},{"description":"نرخ سود (٪). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rate Pct  Gte","description":"نرخ سود (٪). — minimum (inclusive)."},"name":"rate_pct__gte","in":"query"},{"description":"نرخ سود (٪). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rate Pct  Lte","description":"نرخ سود (٪). — maximum (inclusive)."},"name":"rate_pct__lte","in":"query"},{"description":"مدت (ماه). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Term Months","description":"مدت (ماه). — exact match; comma-separate several values, `null` for NULL."},"name":"term_months","in":"query"},{"description":"مدت (ماه). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Term Months  Gte","description":"مدت (ماه). — minimum (inclusive)."},"name":"term_months__gte","in":"query"},{"description":"مدت (ماه). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Term Months  Lte","description":"مدت (ماه). — maximum (inclusive)."},"name":"term_months__lte","in":"query"},{"description":"تاریخ قرارداد (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Date","description":"تاریخ قرارداد (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"contract_date","in":"query"},{"description":"تاریخ قرارداد (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Contract Date  Gte","description":"تاریخ قرارداد (شمسی). — minimum (inclusive)."},"name":"contract_date__gte","in":"query"},{"description":"تاریخ قرارداد (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Contract Date  Lte","description":"تاریخ قرارداد (شمسی). — maximum (inclusive)."},"name":"contract_date__lte","in":"query"},{"description":"ارز. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency","description":"ارز. — exact match; comma-separate several values, `null` for NULL."},"name":"currency","in":"query"},{"description":"کد سماط. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Samat Code","description":"کد سماط. — exact match; comma-separate several values, `null` for NULL."},"name":"samat_code","in":"query"},{"description":"کلید نرمال‌شده نام مشتری. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Key","description":"کلید نرمال‌شده نام مشتری. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"customer_key","in":"query"},{"description":"کلید نرمال‌شده ذی‌نفع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Key","description":"کلید نرمال‌شده ذی‌نفع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"beneficiary_key","in":"query"},{"description":"شناسه ملی مشتری: از ستون خود فایل، یا از معرفی اشخاص حقوقی (فقط برای نام‌های `status=ok`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Nid","description":"شناسه ملی مشتری: از ستون خود فایل، یا از معرفی اشخاص حقوقی (فقط برای نام‌های `status=ok`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"customer_nid","in":"query"},{"description":"کلید یکپارچه موجودیت: شناسه ملی (از ستون خود فایل، یا از معرفی اشخاص حقوقی وقتی نام قابل‌اعتماد است) وگرنه نام نرمال‌شده؛ نامی که شناسهٔ ملی‌اش مشکوک است (`cbi_entities.status` ≠ ok) با نام خودش کلید می‌خورد. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Entity Key","description":"کلید یکپارچه موجودیت: شناسه ملی (از ستون خود فایل، یا از معرفی اشخاص حقوقی وقتی نام قابل‌اعتماد است) وگرنه نام نرمال‌شده؛ نامی که شناسهٔ ملی‌اش مشکوک است (`cbi_entities.status` ≠ ok) با نام خودش کلید می‌خورد. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"entity_key","in":"query"},{"description":"شماره ثبت مشتری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Customer Reg No","description":"شماره ثبت مشتری. — exact match; comma-separate several values, `null` for NULL."},"name":"customer_reg_no","in":"query"},{"description":"شهر ثبت مشتری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Customer Reg City","description":"شهر ثبت مشتری. — exact match; comma-separate several values, `null` for NULL."},"name":"customer_reg_city","in":"query"},{"description":"تاریخ ثبت مشتری (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Customer Reg Date","description":"تاریخ ثبت مشتری (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"customer_reg_date","in":"query"},{"description":"تاریخ ثبت مشتری (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Customer Reg Date  Gte","description":"تاریخ ثبت مشتری (شمسی). — minimum (inclusive)."},"name":"customer_reg_date__gte","in":"query"},{"description":"تاریخ ثبت مشتری (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Customer Reg Date  Lte","description":"تاریخ ثبت مشتری (شمسی). — maximum (inclusive)."},"name":"customer_reg_date__lte","in":"query"},{"description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Outstanding","description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"outstanding","in":"query"},{"description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Outstanding  Gte","description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). — minimum (inclusive). ⚡ indexed."},"name":"outstanding__gte","in":"query"},{"description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Outstanding  Lte","description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴). — maximum (inclusive)."},"name":"outstanding__lte","in":"query"},{"description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exposure","description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. — exact match; comma-separate several values, `null` for NULL."},"name":"exposure","in":"query"},{"description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exposure  Gte","description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. — minimum (inclusive)."},"name":"exposure__gte","in":"query"},{"description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exposure  Lte","description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است. — maximum (inclusive)."},"name":"exposure__lte","in":"query"},{"description":"مبنای `outstanding`: net_facilities (خالص تسهیلات)، balances (جمع مانده جاری و غیرجاری وقتی خالص صفر یا تهی است)، net_commitment (خالص تعهدات) یا gross_commitment (مبلغ اصلی تعهد). — exact match; comma-separate several values, `null` for NULL. Values: `net_facilities`, `balances`, `net_commitment`, `gross_commitment`.","required":false,"schema":{"type":"string","title":"Outstanding Basis","description":"مبنای `outstanding`: net_facilities (خالص تسهیلات)، balances (جمع مانده جاری و غیرجاری وقتی خالص صفر یا تهی است)، net_commitment (خالص تعهدات) یا gross_commitment (مبلغ اصلی تعهد). — exact match; comma-separate several values, `null` for NULL. Values: `net_facilities`, `balances`, `net_commitment`, `gross_commitment`."},"name":"outstanding_basis","in":"query"},{"description":"منشأ `customer_name`: file (ستون نام مشتری در فایل)، beneficiary (فایل ستون نام ندارد و مشتری همان ذی‌نفع واحد است)، registry (نام از معرفی اشخاص حقوقی با شناسه ملی). تهی: بانک نام را خالی گذاشته. — exact match; comma-separate several values, `null` for NULL. Values: `file`, `beneficiary`, `registry`.","required":false,"schema":{"type":"string","title":"Name Source","description":"منشأ `customer_name`: file (ستون نام مشتری در فایل)، beneficiary (فایل ستون نام ندارد و مشتری همان ذی‌نفع واحد است)، registry (نام از معرفی اشخاص حقوقی با شناسه ملی). تهی: بانک نام را خالی گذاشته. — exact match; comma-separate several values, `null` for NULL. Values: `file`, `beneficiary`, `registry`."},"name":"name_source","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"row_id":{"type":"integer","description":"شناسه ردیف."},"file_id":{"type":"integer","description":"فایل منبع (/v1/cbi/files).","nullable":true},"dataset":{"type":"string","description":"مجموعه: tashilat_jari (جاری) یا tashilat_gheyrjari (غیرجاری).","nullable":true},"year":{"type":"string","description":"سال شمسی افشا (مثلاً 1405).","nullable":true},"period":{"type":"string","description":"فصل افشا.","nullable":true},"bank":{"type":"string","description":"بانک (slug، /v1/cbi/meta/options).","nullable":true},"sheet_kind":{"type":"string","description":"نوع برگه (facilities, facilities_npl, …).","nullable":true},"customer_name":{"type":"string","description":"نام مشتری.","nullable":true},"beneficiary_name":{"type":"string","description":"نام ذی‌نفع نهایی.","nullable":true},"beneficiary_id":{"type":"string","description":"شناسه ذی‌نفع.","nullable":true},"own_nid":{"type":"string","description":"شناسه ملی مالک.","nullable":true},"principal_paid":{"type":"number","description":"اصل تسهیلات پرداخت‌شده (ریال).","nullable":true},"net_facilities":{"type":"number","description":"خالص تسهیلات (ریال).","nullable":true},"balance_current":{"type":"number","description":"مانده جاری (ریال).","nullable":true},"balance_npl":{"type":"number","description":"مانده غیرجاری (ریال).","nullable":true},"npl_overdue":{"type":"number","description":"مانده سررسید گذشته.","nullable":true},"npl_deferred":{"type":"number","description":"مانده معوق.","nullable":true},"npl_doubtful":{"type":"number","description":"مانده مشکوک‌الوصول.","nullable":true},"commitment_principal":{"type":"number","description":"تعهدات (اصل).","nullable":true},"commitment_net":{"type":"number","description":"تعهدات (خالص).","nullable":true},"commitment_type":{"type":"string","description":"نوع تعهد.","nullable":true},"collateral_total":{"type":"number","description":"جمع وثایق (ریال) — بین ردیف‌ها جمع نزنید.","nullable":true},"rate_pct":{"type":"number","description":"نرخ سود (٪).","nullable":true},"term_months":{"type":"number","description":"مدت (ماه).","nullable":true},"contract_date":{"type":"string","description":"تاریخ قرارداد (شمسی).","nullable":true},"currency":{"type":"string","description":"ارز.","nullable":true},"samat_code":{"type":"string","description":"کد سماط.","nullable":true},"customer_key":{"type":"string","description":"کلید نرمال‌شده نام مشتری.","nullable":true},"beneficiary_key":{"type":"string","description":"کلید نرمال‌شده ذی‌نفع.","nullable":true},"customer_nid":{"type":"string","description":"شناسه ملی مشتری: از ستون خود فایل، یا از معرفی اشخاص حقوقی (فقط برای نام‌های `status=ok`).","nullable":true},"entity_key":{"type":"string","description":"کلید یکپارچه موجودیت: شناسه ملی (از ستون خود فایل، یا از معرفی اشخاص حقوقی وقتی نام قابل‌اعتماد است) وگرنه نام نرمال‌شده؛ نامی که شناسهٔ ملی‌اش مشکوک است (`cbi_entities.status` ≠ ok) با نام خودش کلید می‌خورد.","nullable":true},"customer_reg_no":{"type":"string","description":"شماره ثبت مشتری.","nullable":true},"customer_reg_city":{"type":"string","description":"شهر ثبت مشتری.","nullable":true},"customer_reg_date":{"type":"string","description":"تاریخ ثبت مشتری (شمسی).","nullable":true},"outstanding":{"type":"number","description":"مانده بدهی همان ردیف (ریال). ردیف تسهیلات (جاری و غیرجاری): «خالص تسهیلات» (`net_facilities`) وقتی صفر نیست؛ وگرنه جمع مانده جاری و غیرجاری (`balance_current` + `balance_npl`)؛ ستون `outstanding_basis` می‌گوید کدام. خالص تسهیلات معمولاً بیشتر از جمع مانده‌هاست (سود تعلق‌گرفته را دارد) و در حدود یک‌چهارم ردیف‌ها (۲۲٪ در ۱۴۰۴، ۴۳٪ در ۱۴۰۲) این دو برابر نیستند. ردیف تعهدات: «خالص تعهدات» (یا در نبود آن مبلغ اصلی تعهد) — **تعهد احتمالی است نه بدهی** و وقتی وثیقه از تعهد بیشتر باشد منفی می‌شود (≈۸۲۰ ردیف در ۱۴۰۴).","nullable":true},"exposure":{"type":"number","description":"تعهد احتمالی (ریال)، فقط در ردیف‌های تعهدات (`sheet_kind=commitments`)؛ در ردیف تسهیلات تهی. همان `outstanding` ردیف تعهدات؛ منفی یعنی وثیقه بیش از تعهد است.","nullable":true},"outstanding_basis":{"type":"string","description":"مبنای `outstanding`: net_facilities (خالص تسهیلات)، balances (جمع مانده جاری و غیرجاری وقتی خالص صفر یا تهی است)، net_commitment (خالص تعهدات) یا gross_commitment (مبلغ اصلی تعهد).","nullable":true},"name_source":{"type":"string","description":"منشأ `customer_name`: file (ستون نام مشتری در فایل)، beneficiary (فایل ستون نام ندارد و مشتری همان ذی‌نفع واحد است)، registry (نام از معرفی اشخاص حقوقی با شناسه ملی). تهی: بانک نام را خالی گذاشته.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/real-estate":{"get":{"tags":["bank-debtors"],"summary":"اموال غیرمنقول بانک‌ها — Bank real estate","description":"املاک بانک‌ها به تفکیک فصل. ⚠️ یک ملک هر فصل دوباره فهرست می‌شود؛ ردیف‌ها را بین فصل‌ها جمع نزنید.\n\n**Fast filters (indexed):** `row_id`, `file_id`, `bank`, `name`, `name__like`, `use_type`, `book_value`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `row_id` | int ⚡ | شناسه. |\n| `file_id` | int ⚡ | فایل منبع. |\n| `year` | text | سال افشا. |\n| `period` | text | فصل افشا. |\n| `bank` | text ⚡ | بانک. |\n| `name` | text ⚡ | عنوان ملک. |\n| `use_type` | text ⚡ | کاربری: اداری، تجاری، مسکونی، … |\n| `acquired_how` | text | نحوه تملک: اختیاری / ...  |\n| `acquired_year` | text | سال تملک. |\n| `usage_status` | text | وضعیت استفاده: شعبه، سایر، … |\n| `book_value` | num ⚡ | ارزش دفتری (ریال). |\n| `market_value` | num | ارزش روز (ریال). |\n| `notes` | text | توضیحات. |","operationId":"list_cbi_real_estate","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `row_id`, `year`, `bank`, `use_type`, `book_value`, `market_value`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `row_id`, `year`, `bank`, `use_type`, `book_value`, `market_value`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Row Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"row_id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Row Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"row_id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Row Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"row_id__lte","in":"query"},{"description":"فایل منبع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id","description":"فایل منبع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"file_id","in":"query"},{"description":"فایل منبع. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id  Gte","description":"فایل منبع. — minimum (inclusive). ⚡ indexed."},"name":"file_id__gte","in":"query"},{"description":"فایل منبع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Id  Lte","description":"فایل منبع. — maximum (inclusive)."},"name":"file_id__lte","in":"query"},{"description":"سال افشا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Year","description":"سال افشا. — exact match; comma-separate several values, `null` for NULL."},"name":"year","in":"query"},{"description":"فصل افشا. — exact match; comma-separate several values, `null` for NULL. Values: `khordad`, `shahrivar`, `azar`, `esfand`.","required":false,"schema":{"type":"string","title":"Period","description":"فصل افشا. — exact match; comma-separate several values, `null` for NULL. Values: `khordad`, `shahrivar`, `azar`, `esfand`."},"name":"period","in":"query"},{"description":"بانک. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bank","description":"بانک. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"bank","in":"query"},{"description":"عنوان ملک. — exact match; `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Name","description":"عنوان ملک. — exact match; `null` for NULL. ⚡ indexed."},"name":"name","in":"query"},{"description":"عنوان ملک. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Name  Like","description":"عنوان ملک. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"name__like","in":"query"},{"description":"کاربری: اداری، تجاری، مسکونی، … — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Use Type","description":"کاربری: اداری، تجاری، مسکونی، … — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"use_type","in":"query"},{"description":"نحوه تملک: اختیاری / ...  — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Acquired How","description":"نحوه تملک: اختیاری / ...  — exact match; comma-separate several values, `null` for NULL."},"name":"acquired_how","in":"query"},{"description":"سال تملک. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Acquired Year","description":"سال تملک. — exact match; comma-separate several values, `null` for NULL."},"name":"acquired_year","in":"query"},{"description":"وضعیت استفاده: شعبه، سایر، … — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Usage Status","description":"وضعیت استفاده: شعبه، سایر، … — exact match; comma-separate several values, `null` for NULL."},"name":"usage_status","in":"query"},{"description":"ارزش دفتری (ریال). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Book Value","description":"ارزش دفتری (ریال). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"book_value","in":"query"},{"description":"ارزش دفتری (ریال). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Book Value  Gte","description":"ارزش دفتری (ریال). — minimum (inclusive). ⚡ indexed."},"name":"book_value__gte","in":"query"},{"description":"ارزش دفتری (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Book Value  Lte","description":"ارزش دفتری (ریال). — maximum (inclusive)."},"name":"book_value__lte","in":"query"},{"description":"ارزش روز (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Value","description":"ارزش روز (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"market_value","in":"query"},{"description":"ارزش روز (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Market Value  Gte","description":"ارزش روز (ریال). — minimum (inclusive)."},"name":"market_value__gte","in":"query"},{"description":"ارزش روز (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Market Value  Lte","description":"ارزش روز (ریال). — maximum (inclusive)."},"name":"market_value__lte","in":"query"},{"description":"توضیحات. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Notes","description":"توضیحات. — exact match; comma-separate several values, `null` for NULL."},"name":"notes","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"row_id":{"type":"integer","description":"شناسه."},"file_id":{"type":"integer","description":"فایل منبع.","nullable":true},"year":{"type":"string","description":"سال افشا.","nullable":true},"period":{"type":"string","description":"فصل افشا.","nullable":true},"bank":{"type":"string","description":"بانک.","nullable":true},"name":{"type":"string","description":"عنوان ملک.","nullable":true},"use_type":{"type":"string","description":"کاربری: اداری، تجاری، مسکونی، …","nullable":true},"acquired_how":{"type":"string","description":"نحوه تملک: اختیاری / ... ","nullable":true},"acquired_year":{"type":"string","description":"سال تملک.","nullable":true},"usage_status":{"type":"string","description":"وضعیت استفاده: شعبه، سایر، …","nullable":true},"book_value":{"type":"number","description":"ارزش دفتری (ریال).","nullable":true},"market_value":{"type":"number","description":"ارزش روز (ریال).","nullable":true},"notes":{"type":"string","description":"توضیحات.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/rollup":{"get":{"tags":["bank-debtors"],"summary":"جمع‌بندی هر بدهکار در هر افشا — Debtor roll-up","description":"جمع هر `entity_key` در هر (مجموعه، سال، فصل، بانک). برای نمای کلی یک بدهکار از اینجا شروع کنید. ⚠️ معنای داده: تسهیلات جاری و غیرجاری را **هرگز** با هم جمع نزنید؛ وثیقه را بین ردیف‌ها جمع نزنید؛ نبودن یک بدهکار در افشای بعدی لزوماً تسویه نیست؛ هر افشا عکس پایان فصل است؛ ردیف‌های تعهدات (`sheet_kind=commitments`) تعهد احتمالی‌اند نه بدهی و با ردیف‌های تسهیلات جمع نمی‌شوند.\n\n**Fast filters (indexed):** `dataset`, `year`, `bank`, `sheet_kind`, `entity_key`\n\n| column | type | description |\n|---|---|---|\n| `dataset` | text ⚡ | مجموعه. |\n| `year` | text ⚡ | سال. |\n| `period` | text | فصل. |\n| `bank` | text ⚡ | بانک. |\n| `sheet_kind` | text ⚡ | نوع برگه. |\n| `entity_key` | text ⚡ | کلید موجودیت. |\n| `lines` | int | تعداد ردیف‌ها. |\n| `outstanding` | num | جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). |\n| `npl` | num | غیرجاری (ریال). |\n| `collateral` | num | وثیقه (ریال)، بدون جمع تکراری. |\n| `collateral_sum_raw` | num | جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). |\n| `principal_paid` | num | اصل پرداخت‌شده. |","operationId":"list_cbi_rollup","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `outstanding`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `outstanding`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. Values: `tashilat_jari`, `tashilat_gheyrjari`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Dataset","description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. Values: `tashilat_jari`, `tashilat_gheyrjari`. ⚡ indexed."},"name":"dataset","in":"query"},{"description":"سال. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Year","description":"سال. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"year","in":"query"},{"description":"فصل. — exact match; comma-separate several values, `null` for NULL. Values: `khordad`, `shahrivar`, `azar`, `esfand`.","required":false,"schema":{"type":"string","title":"Period","description":"فصل. — exact match; comma-separate several values, `null` for NULL. Values: `khordad`, `shahrivar`, `azar`, `esfand`."},"name":"period","in":"query"},{"description":"بانک. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Bank","description":"بانک. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"bank","in":"query"},{"description":"نوع برگه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Sheet Kind","description":"نوع برگه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"sheet_kind","in":"query"},{"description":"کلید موجودیت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Entity Key","description":"کلید موجودیت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"entity_key","in":"query"},{"description":"تعداد ردیف‌ها. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lines","description":"تعداد ردیف‌ها. — exact match; comma-separate several values, `null` for NULL."},"name":"lines","in":"query"},{"description":"تعداد ردیف‌ها. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lines  Gte","description":"تعداد ردیف‌ها. — minimum (inclusive)."},"name":"lines__gte","in":"query"},{"description":"تعداد ردیف‌ها. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lines  Lte","description":"تعداد ردیف‌ها. — maximum (inclusive)."},"name":"lines__lte","in":"query"},{"description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Outstanding","description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). — exact match; comma-separate several values, `null` for NULL."},"name":"outstanding","in":"query"},{"description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Outstanding  Gte","description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). — minimum (inclusive)."},"name":"outstanding__gte","in":"query"},{"description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Outstanding  Lte","description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است). — maximum (inclusive)."},"name":"outstanding__lte","in":"query"},{"description":"غیرجاری (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Npl","description":"غیرجاری (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"npl","in":"query"},{"description":"غیرجاری (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Npl  Gte","description":"غیرجاری (ریال). — minimum (inclusive)."},"name":"npl__gte","in":"query"},{"description":"غیرجاری (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Npl  Lte","description":"غیرجاری (ریال). — maximum (inclusive)."},"name":"npl__lte","in":"query"},{"description":"وثیقه (ریال)، بدون جمع تکراری. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Collateral","description":"وثیقه (ریال)، بدون جمع تکراری. — exact match; comma-separate several values, `null` for NULL."},"name":"collateral","in":"query"},{"description":"وثیقه (ریال)، بدون جمع تکراری. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Collateral  Gte","description":"وثیقه (ریال)، بدون جمع تکراری. — minimum (inclusive)."},"name":"collateral__gte","in":"query"},{"description":"وثیقه (ریال)، بدون جمع تکراری. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Collateral  Lte","description":"وثیقه (ریال)، بدون جمع تکراری. — maximum (inclusive)."},"name":"collateral__lte","in":"query"},{"description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Collateral Sum Raw","description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). — exact match; comma-separate several values, `null` for NULL."},"name":"collateral_sum_raw","in":"query"},{"description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Collateral Sum Raw  Gte","description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). — minimum (inclusive)."},"name":"collateral_sum_raw__gte","in":"query"},{"description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Collateral Sum Raw  Lte","description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد). — maximum (inclusive)."},"name":"collateral_sum_raw__lte","in":"query"},{"description":"اصل پرداخت‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Principal Paid","description":"اصل پرداخت‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"principal_paid","in":"query"},{"description":"اصل پرداخت‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Principal Paid  Gte","description":"اصل پرداخت‌شده. — minimum (inclusive)."},"name":"principal_paid__gte","in":"query"},{"description":"اصل پرداخت‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Principal Paid  Lte","description":"اصل پرداخت‌شده. — maximum (inclusive)."},"name":"principal_paid__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"dataset":{"type":"string","description":"مجموعه.","nullable":true},"year":{"type":"string","description":"سال.","nullable":true},"period":{"type":"string","description":"فصل.","nullable":true},"bank":{"type":"string","description":"بانک.","nullable":true},"sheet_kind":{"type":"string","description":"نوع برگه.","nullable":true},"entity_key":{"type":"string","description":"کلید موجودیت.","nullable":true},"lines":{"type":"integer","description":"تعداد ردیف‌ها.","nullable":true},"outstanding":{"type":"number","description":"جمع `outstanding` ردیف‌ها (تعریف در `/v1/cbi/debtors`؛ برای `sheet_kind=commitments` تعهد احتمالی است).","nullable":true},"npl":{"type":"number","description":"غیرجاری (ریال).","nullable":true},"collateral":{"type":"number","description":"وثیقه (ریال)، بدون جمع تکراری.","nullable":true},"collateral_sum_raw":{"type":"number","description":"جمع خام وثیقه (تکراری‌ها را دوبار می‌شمارد).","nullable":true},"principal_paid":{"type":"number","description":"اصل پرداخت‌شده.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/entities":{"get":{"tags":["bank-debtors"],"summary":"موجودیت‌های شناسایی‌شده — Entities","description":"نام‌های مشتری که در افشاها دیده شده‌اند. فقط ردیف‌های `status=ok` برای یکی‌کردن بدهکاران با شناسه ملی به کار می‌روند.\n\n**Fast filters (indexed):** `name_key`, `nid`, `status`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `name_key` | text ⚡ | کلید نرمال‌شده نام. |\n| `name` | text | نام. |\n| `nid` | text ⚡ | شناسه ملی — فقط برای `status=ok`؛ برای diverges و ambiguous تهی است (`nid_candidates` را ببینید). |\n| `reg_no` | text | شماره ثبت (فقط `status=ok`). |\n| `reg_city` | text | شهر ثبت (فقط `status=ok`). |\n| `reg_date` | text | تاریخ ثبت (شمسی، فقط `status=ok`). |\n| `sightings` | int | چند بار دیده شد. |\n| `status` | text ⚡ | اعتماد به نگاشت نام ← شناسه: ok؛ diverges (نام به نام اصلی آن شناسه شباهت ندارد: شباهت سه‌حرفی < ۰٫۳ و بدون شمول کلمه‌ای)؛ ambiguous (نام زیر چند شناسه آمده و هیچ‌کدام ≥ ۸۰٪ دیدارها را ندارد). |\n| `similarity` | num | شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). |\n| `nid_main_name_key` | text | کلید پرتکرارترین نامِ همان شناسه. |\n| `nid_candidates` | arr | شناسه‌های دیده‌شده برای این نام (آرایه). |","operationId":"list_cbi_entities","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `name_key`, `name`, `sightings`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `name_key`, `name`, `sightings`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید نرمال‌شده نام. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Name Key","description":"کلید نرمال‌شده نام. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"name_key","in":"query"},{"description":"نام. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Name","description":"نام. — exact match; `null` for NULL."},"name":"name","in":"query"},{"description":"نام. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Name  Like","description":"نام. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"name__like","in":"query"},{"description":"شناسه ملی — فقط برای `status=ok`؛ برای diverges و ambiguous تهی است (`nid_candidates` را ببینید). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Nid","description":"شناسه ملی — فقط برای `status=ok`؛ برای diverges و ambiguous تهی است (`nid_candidates` را ببینید). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"nid","in":"query"},{"description":"شماره ثبت (فقط `status=ok`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reg No","description":"شماره ثبت (فقط `status=ok`). — exact match; comma-separate several values, `null` for NULL."},"name":"reg_no","in":"query"},{"description":"شهر ثبت (فقط `status=ok`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reg City","description":"شهر ثبت (فقط `status=ok`). — exact match; comma-separate several values, `null` for NULL."},"name":"reg_city","in":"query"},{"description":"تاریخ ثبت (شمسی، فقط `status=ok`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reg Date","description":"تاریخ ثبت (شمسی، فقط `status=ok`). — exact match; comma-separate several values, `null` for NULL."},"name":"reg_date","in":"query"},{"description":"تاریخ ثبت (شمسی، فقط `status=ok`). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Reg Date  Gte","description":"تاریخ ثبت (شمسی، فقط `status=ok`). — minimum (inclusive)."},"name":"reg_date__gte","in":"query"},{"description":"تاریخ ثبت (شمسی، فقط `status=ok`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Reg Date  Lte","description":"تاریخ ثبت (شمسی، فقط `status=ok`). — maximum (inclusive)."},"name":"reg_date__lte","in":"query"},{"description":"چند بار دیده شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Sightings","description":"چند بار دیده شد. — exact match; comma-separate several values, `null` for NULL."},"name":"sightings","in":"query"},{"description":"چند بار دیده شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Sightings  Gte","description":"چند بار دیده شد. — minimum (inclusive)."},"name":"sightings__gte","in":"query"},{"description":"چند بار دیده شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Sightings  Lte","description":"چند بار دیده شد. — maximum (inclusive)."},"name":"sightings__lte","in":"query"},{"description":"اعتماد به نگاشت نام ← شناسه: ok؛ diverges (نام به نام اصلی آن شناسه شباهت ندارد: شباهت سه‌حرفی < ۰٫۳ و بدون شمول کلمه‌ای)؛ ambiguous (نام زیر چند شناسه آمده و هیچ‌کدام ≥ ۸۰٪ دیدارها را ندارد). — exact match; comma-separate several values, `null` for NULL. Values: `ok`, `diverges`, `ambiguous`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Status","description":"اعتماد به نگاشت نام ← شناسه: ok؛ diverges (نام به نام اصلی آن شناسه شباهت ندارد: شباهت سه‌حرفی < ۰٫۳ و بدون شمول کلمه‌ای)؛ ambiguous (نام زیر چند شناسه آمده و هیچ‌کدام ≥ ۸۰٪ دیدارها را ندارد). — exact match; comma-separate several values, `null` for NULL. Values: `ok`, `diverges`, `ambiguous`. ⚡ indexed."},"name":"status","in":"query"},{"description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Similarity","description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). — exact match; comma-separate several values, `null` for NULL."},"name":"similarity","in":"query"},{"description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Similarity  Gte","description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). — minimum (inclusive)."},"name":"similarity__gte","in":"query"},{"description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Similarity  Lte","description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱). — maximum (inclusive)."},"name":"similarity__lte","in":"query"},{"description":"کلید پرتکرارترین نامِ همان شناسه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Nid Main Name Key","description":"کلید پرتکرارترین نامِ همان شناسه. — exact match; comma-separate several values, `null` for NULL."},"name":"nid_main_name_key","in":"query"},{"description":"شناسه‌های دیده‌شده برای این نام (آرایه). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Nid Candidates","description":"شناسه‌های دیده‌شده برای این نام (آرایه). — exact match; comma-separate several values, `null` for NULL."},"name":"nid_candidates","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"name_key":{"type":"string","description":"کلید نرمال‌شده نام."},"name":{"type":"string","description":"نام.","nullable":true},"nid":{"type":"string","description":"شناسه ملی — فقط برای `status=ok`؛ برای diverges و ambiguous تهی است (`nid_candidates` را ببینید).","nullable":true},"reg_no":{"type":"string","description":"شماره ثبت (فقط `status=ok`).","nullable":true},"reg_city":{"type":"string","description":"شهر ثبت (فقط `status=ok`).","nullable":true},"reg_date":{"type":"string","description":"تاریخ ثبت (شمسی، فقط `status=ok`).","nullable":true},"sightings":{"type":"integer","description":"چند بار دیده شد.","nullable":true},"status":{"type":"string","description":"اعتماد به نگاشت نام ← شناسه: ok؛ diverges (نام به نام اصلی آن شناسه شباهت ندارد: شباهت سه‌حرفی < ۰٫۳ و بدون شمول کلمه‌ای)؛ ambiguous (نام زیر چند شناسه آمده و هیچ‌کدام ≥ ۸۰٪ دیدارها را ندارد).","nullable":true},"similarity":{"type":"number","description":"شباهت سه‌حرفی نام با نام اصلی شناسه‌اش (۰ تا ۱).","nullable":true},"nid_main_name_key":{"type":"string","description":"کلید پرتکرارترین نامِ همان شناسه.","nullable":true},"nid_candidates":{"items":{"type":"string"},"type":"array","description":"شناسه‌های دیده‌شده برای این نام (آرایه).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/entity-dim":{"get":{"tags":["bank-debtors"],"summary":"ابعاد موجودیت (املاهای مختلف) — Entity spellings","description":"برای هر موجودیت، نام‌های نوشته‌شده و شناسه‌ها؛ برای جست‌وجوی سریع یک شرکت.\n\n**Fast filters (indexed):** `entity_key`, `customer_name`, `customer_name__like`, `customer_nid`, `beneficiary_name`, `beneficiary_name__like`, `beneficiary_key`\n\n| column | type | description |\n|---|---|---|\n| `entity_key` | text ⚡ | کلید موجودیت. |\n| `customer_name` | text ⚡ | نام مشتری. |\n| `customer_nid` | text ⚡ | شناسه ملی. |\n| `beneficiary_name` | text ⚡ | نام ذی‌نفع. |\n| `beneficiary_key` | text ⚡ | کلید ذی‌نفع. |\n| `beneficiary_id` | text | شناسه ذی‌نفع. |\n| `reg_no` | text | شماره ثبت. |\n| `reg_city` | text | شهر ثبت. |\n| `reg_date` | text | تاریخ ثبت. |\n| `spellings` | int | تعداد املاهای مختلف. |","operationId":"list_cbi_entity_dim","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `spellings`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `spellings`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"کلید موجودیت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Entity Key","description":"کلید موجودیت. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"entity_key","in":"query"},{"description":"نام مشتری. — exact match; `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Name","description":"نام مشتری. — exact match; `null` for NULL. ⚡ indexed."},"name":"customer_name","in":"query"},{"description":"نام مشتری. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Name  Like","description":"نام مشتری. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"customer_name__like","in":"query"},{"description":"شناسه ملی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Customer Nid","description":"شناسه ملی. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"customer_nid","in":"query"},{"description":"نام ذی‌نفع. — exact match; `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Name","description":"نام ذی‌نفع. — exact match; `null` for NULL. ⚡ indexed."},"name":"beneficiary_name","in":"query"},{"description":"نام ذی‌نفع. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Name  Like","description":"نام ذی‌نفع. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal). ⚡ indexed."},"name":"beneficiary_name__like","in":"query"},{"description":"کلید ذی‌نفع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Beneficiary Key","description":"کلید ذی‌نفع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"beneficiary_key","in":"query"},{"description":"شناسه ذی‌نفع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Beneficiary Id","description":"شناسه ذی‌نفع. — exact match; comma-separate several values, `null` for NULL."},"name":"beneficiary_id","in":"query"},{"description":"شماره ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reg No","description":"شماره ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"reg_no","in":"query"},{"description":"شهر ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reg City","description":"شهر ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"reg_city","in":"query"},{"description":"تاریخ ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reg Date","description":"تاریخ ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"reg_date","in":"query"},{"description":"تاریخ ثبت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Reg Date  Gte","description":"تاریخ ثبت. — minimum (inclusive)."},"name":"reg_date__gte","in":"query"},{"description":"تاریخ ثبت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Reg Date  Lte","description":"تاریخ ثبت. — maximum (inclusive)."},"name":"reg_date__lte","in":"query"},{"description":"تعداد املاهای مختلف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Spellings","description":"تعداد املاهای مختلف. — exact match; comma-separate several values, `null` for NULL."},"name":"spellings","in":"query"},{"description":"تعداد املاهای مختلف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Spellings  Gte","description":"تعداد املاهای مختلف. — minimum (inclusive)."},"name":"spellings__gte","in":"query"},{"description":"تعداد املاهای مختلف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Spellings  Lte","description":"تعداد املاهای مختلف. — maximum (inclusive)."},"name":"spellings__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"entity_key":{"type":"string","description":"کلید موجودیت."},"customer_name":{"type":"string","description":"نام مشتری.","nullable":true},"customer_nid":{"type":"string","description":"شناسه ملی.","nullable":true},"beneficiary_name":{"type":"string","description":"نام ذی‌نفع.","nullable":true},"beneficiary_key":{"type":"string","description":"کلید ذی‌نفع.","nullable":true},"beneficiary_id":{"type":"string","description":"شناسه ذی‌نفع.","nullable":true},"reg_no":{"type":"string","description":"شماره ثبت.","nullable":true},"reg_city":{"type":"string","description":"شهر ثبت.","nullable":true},"reg_date":{"type":"string","description":"تاریخ ثبت.","nullable":true},"spellings":{"type":"integer","description":"تعداد املاهای مختلف.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/files":{"get":{"tags":["bank-debtors"],"summary":"فایل‌های منبع بانک مرکزی — Source files","description":"فایل‌های اکسلی که از cbi.ir دانلود و تجزیه شده‌اند. (فایل‌ها را مالک دستی دانلود و بارگذاری می‌کند؛ «۳۱ بانک، ۱۴۰۰–۱۴۰۵» شمارش نمادهای بانک است: در ۱۴۰۰ سه بانک و در ۱۴۰۵ بیست‌وپنج.)\n\n**Fast filters (indexed):** `id`, `dataset`, `status`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه فایل. |\n| `dataset` | text ⚡ | مجموعه. |\n| `dataset_fa` | text | نام فارسی مجموعه. |\n| `year` | text | سال. |\n| `period` | text | فصل. |\n| `bank` | text | بانک. |\n| `url` | text | مسیر فایل روی سرور (`file:///opt/marketdata/cbi_manual/…`)، نه نشانی اینترنتی: فایل‌ها را مالک دستی از cbi.ir دانلود می‌کند. |\n| `size_label` | text | حجم. |\n| `status` | text ⚡ | وضعیت: done (درست خوانده شد؛ در جدول‌های بالا می‌آید) · empty (درست خوانده شد، ردیفی ندارد) · bad_header (سرستون پیدا یا پذیرفته نشد؛ ردیفی ذخیره نمی‌شود؛ `error` علت را می‌گوید) · duplicate (ردیف‌هایش عیناً فایل دیگری است؛ ردیف‌ها نگه داشته می‌شوند ولی در جدول‌های بالا نمی‌آیند؛ `note` فایل اصلی را می‌گوید) · error (فایل اکسل نیست). |\n| `bytes` | int | بایت. |\n| `sheets` | arr | برگه‌ها. |\n| `rows_parsed` | int | ردیف‌های تجزیه‌شده. |\n| `error` | text | علت bad_header یا error (برای done تهی است). |\n| `discovered_at` | ts | کشف. |\n| `fetched_at` | ts | دریافت. |\n| `note` | text | توضیح وضعیت: تذکر یک فایل done (مثلاً سرستون با داده‌ها هم‌خوان نیست)، یا فایل اصلیِ یک duplicate. |\n| `file_sha256` | text | SHA-256 بایت‌های فایل (برای تشخیص فایل تکراری). |","operationId":"list_cbi_files","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `dataset`, `year`, `bank`, `rows_parsed`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `dataset`, `year`, `bank`, `rows_parsed`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه فایل. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه فایل. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه فایل. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه فایل. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه فایل. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه فایل. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Dataset","description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"dataset","in":"query"},{"description":"نام فارسی مجموعه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Dataset Fa","description":"نام فارسی مجموعه. — exact match; comma-separate several values, `null` for NULL."},"name":"dataset_fa","in":"query"},{"description":"سال. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Year","description":"سال. — exact match; comma-separate several values, `null` for NULL."},"name":"year","in":"query"},{"description":"فصل. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period","description":"فصل. — exact match; comma-separate several values, `null` for NULL."},"name":"period","in":"query"},{"description":"بانک. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Bank","description":"بانک. — exact match; comma-separate several values, `null` for NULL."},"name":"bank","in":"query"},{"description":"مسیر فایل روی سرور (`file:///opt/marketdata/cbi_manual/…`)، نه نشانی اینترنتی: فایل‌ها را مالک دستی از cbi.ir دانلود می‌کند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Url","description":"مسیر فایل روی سرور (`file:///opt/marketdata/cbi_manual/…`)، نه نشانی اینترنتی: فایل‌ها را مالک دستی از cbi.ir دانلود می‌کند. — exact match; comma-separate several values, `null` for NULL."},"name":"url","in":"query"},{"description":"حجم. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Size Label","description":"حجم. — exact match; comma-separate several values, `null` for NULL."},"name":"size_label","in":"query"},{"description":"وضعیت: done (درست خوانده شد؛ در جدول‌های بالا می‌آید) · empty (درست خوانده شد، ردیفی ندارد) · bad_header (سرستون پیدا یا پذیرفته نشد؛ ردیفی ذخیره نمی‌شود؛ `error` علت را می‌گوید) · duplicate (ردیف‌هایش عیناً فایل دیگری است؛ ردیف‌ها نگه داشته می‌شوند ولی در جدول‌های بالا نمی‌آیند؛ `note` فایل اصلی را می‌گوید) · error (فایل اکسل نیست). — exact match; comma-separate several values, `null` for NULL. Values: `done`, `empty`, `bad_header`, `duplicate`, `error`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Status","description":"وضعیت: done (درست خوانده شد؛ در جدول‌های بالا می‌آید) · empty (درست خوانده شد، ردیفی ندارد) · bad_header (سرستون پیدا یا پذیرفته نشد؛ ردیفی ذخیره نمی‌شود؛ `error` علت را می‌گوید) · duplicate (ردیف‌هایش عیناً فایل دیگری است؛ ردیف‌ها نگه داشته می‌شوند ولی در جدول‌های بالا نمی‌آیند؛ `note` فایل اصلی را می‌گوید) · error (فایل اکسل نیست). — exact match; comma-separate several values, `null` for NULL. Values: `done`, `empty`, `bad_header`, `duplicate`, `error`. ⚡ indexed."},"name":"status","in":"query"},{"description":"بایت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Bytes","description":"بایت. — exact match; comma-separate several values, `null` for NULL."},"name":"bytes","in":"query"},{"description":"بایت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Bytes  Gte","description":"بایت. — minimum (inclusive)."},"name":"bytes__gte","in":"query"},{"description":"بایت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Bytes  Lte","description":"بایت. — maximum (inclusive)."},"name":"bytes__lte","in":"query"},{"description":"برگه‌ها. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Sheets","description":"برگه‌ها. — exact match; comma-separate several values, `null` for NULL."},"name":"sheets","in":"query"},{"description":"ردیف‌های تجزیه‌شده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Parsed","description":"ردیف‌های تجزیه‌شده. — exact match; comma-separate several values, `null` for NULL."},"name":"rows_parsed","in":"query"},{"description":"ردیف‌های تجزیه‌شده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Parsed  Gte","description":"ردیف‌های تجزیه‌شده. — minimum (inclusive)."},"name":"rows_parsed__gte","in":"query"},{"description":"ردیف‌های تجزیه‌شده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Parsed  Lte","description":"ردیف‌های تجزیه‌شده. — maximum (inclusive)."},"name":"rows_parsed__lte","in":"query"},{"description":"علت bad_header یا error (برای done تهی است). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Error","description":"علت bad_header یا error (برای done تهی است). — exact match; comma-separate several values, `null` for NULL."},"name":"error","in":"query"},{"description":"کشف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Discovered At","description":"کشف. — exact match; comma-separate several values, `null` for NULL."},"name":"discovered_at","in":"query"},{"description":"کشف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Discovered At  Gte","description":"کشف. — minimum (inclusive)."},"name":"discovered_at__gte","in":"query"},{"description":"کشف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Discovered At  Lte","description":"کشف. — maximum (inclusive)."},"name":"discovered_at__lte","in":"query"},{"description":"دریافت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"دریافت. — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"دریافت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"دریافت. — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"دریافت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"دریافت. — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"توضیح وضعیت: تذکر یک فایل done (مثلاً سرستون با داده‌ها هم‌خوان نیست)، یا فایل اصلیِ یک duplicate. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"توضیح وضعیت: تذکر یک فایل done (مثلاً سرستون با داده‌ها هم‌خوان نیست)، یا فایل اصلیِ یک duplicate. — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"},{"description":"SHA-256 بایت‌های فایل (برای تشخیص فایل تکراری). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Sha256","description":"SHA-256 بایت‌های فایل (برای تشخیص فایل تکراری). — exact match; comma-separate several values, `null` for NULL."},"name":"file_sha256","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه فایل."},"dataset":{"type":"string","description":"مجموعه."},"dataset_fa":{"type":"string","description":"نام فارسی مجموعه.","nullable":true},"year":{"type":"string","description":"سال.","nullable":true},"period":{"type":"string","description":"فصل.","nullable":true},"bank":{"type":"string","description":"بانک.","nullable":true},"url":{"type":"string","description":"مسیر فایل روی سرور (`file:///opt/marketdata/cbi_manual/…`)، نه نشانی اینترنتی: فایل‌ها را مالک دستی از cbi.ir دانلود می‌کند."},"size_label":{"type":"string","description":"حجم.","nullable":true},"status":{"type":"string","description":"وضعیت: done (درست خوانده شد؛ در جدول‌های بالا می‌آید) · empty (درست خوانده شد، ردیفی ندارد) · bad_header (سرستون پیدا یا پذیرفته نشد؛ ردیفی ذخیره نمی‌شود؛ `error` علت را می‌گوید) · duplicate (ردیف‌هایش عیناً فایل دیگری است؛ ردیف‌ها نگه داشته می‌شوند ولی در جدول‌های بالا نمی‌آیند؛ `note` فایل اصلی را می‌گوید) · error (فایل اکسل نیست)."},"bytes":{"type":"integer","description":"بایت.","nullable":true},"sheets":{"items":{"type":"string"},"type":"array","description":"برگه‌ها.","nullable":true},"rows_parsed":{"type":"integer","description":"ردیف‌های تجزیه‌شده.","nullable":true},"error":{"type":"string","description":"علت bad_header یا error (برای done تهی است).","nullable":true},"discovered_at":{"type":"string","format":"date-time","description":"کشف.","nullable":true},"fetched_at":{"type":"string","format":"date-time","description":"دریافت.","nullable":true},"note":{"type":"string","description":"توضیح وضعیت: تذکر یک فایل done (مثلاً سرستون با داده‌ها هم‌خوان نیست)، یا فایل اصلیِ یک duplicate.","nullable":true},"file_sha256":{"type":"string","description":"SHA-256 بایت‌های فایل (برای تشخیص فایل تکراری).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/excluded":{"get":{"tags":["bank-debtors"],"summary":"ردیف‌های کنارگذاشته‌شده — Excluded lines","description":"ردیف‌هایی از فایل‌های بانک‌ها که عمداً وارد `cbi_debtors` نشده‌اند: `footer_total` (ردیف بی‌نامی که مبلغش برابر مجموع بقیهٔ ردیف‌های همان برگه است — جمع پایانی خود بانک) و `no_data_marker` (ردیف «فاقد اطلاعات/تسهیلات کلان …»: بانک چیزی برای افشا نداشته). حدود ۷۰–۱۲۰ ردیف؛ برای حسابرسی. ردیف خام همچنان در `/v1/cbi/raw-rows` هست.\n\n**Fast filters (indexed):** `row_id`, `file_id`, `dataset`, `sheet_kind`, `reason`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `row_id` | int ⚡ | شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). |\n| `file_id` | int ⚡ | فایل منبع (`/v1/cbi/files`). |\n| `dataset` | text ⚡ | مجموعه. |\n| `year` | text | سال. |\n| `period` | text | فصل. |\n| `bank` | text | بانک. |\n| `sheet_kind` | text ⚡ | نوع برگه (تسهیلات یا تعهدات). |\n| `row_no` | int | شماره ردیف در برگه. |\n| `reason` | text ⚡ | چرا کنار گذاشته شد: footer_total (ردیف بی‌نامی که مبلغش برابر مجموع بقیهٔ ردیف‌های همان برگه است) یا no_data_marker (ردیف «فاقد اطلاعات…»). |\n| `customer_name` | text | نام مشتری، اگر ردیف نامی داشت. |\n| `net_facilities` | num | خالص تسهیلات (ریال). |\n| `principal_paid` | num | مبلغ اصلی پرداخت‌شده (ریال). |\n| `balance_current` | num | مانده جاری (ریال). |\n| `balance_npl` | num | مانده غیرجاری (ریال). |\n| `commitment_net` | num | خالص تعهدات (ریال). |\n| `commitment_principal` | num | مبلغ اصلی تعهد (ریال). |\n| `lines_in_sheet` | int | تعداد ردیف‌های همان برگه. |","operationId":"list_cbi_excluded","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `row_id`, `year`, `bank`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `row_id`, `year`, `bank`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Row Id","description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"row_id","in":"query"},{"description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Row Id  Gte","description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). — minimum (inclusive). ⚡ indexed."},"name":"row_id__gte","in":"query"},{"description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Row Id  Lte","description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`). — maximum (inclusive)."},"name":"row_id__lte","in":"query"},{"description":"فایل منبع (`/v1/cbi/files`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id","description":"فایل منبع (`/v1/cbi/files`). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"file_id","in":"query"},{"description":"فایل منبع (`/v1/cbi/files`). — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id  Gte","description":"فایل منبع (`/v1/cbi/files`). — minimum (inclusive). ⚡ indexed."},"name":"file_id__gte","in":"query"},{"description":"فایل منبع (`/v1/cbi/files`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Id  Lte","description":"فایل منبع (`/v1/cbi/files`). — maximum (inclusive)."},"name":"file_id__lte","in":"query"},{"description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Dataset","description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"dataset","in":"query"},{"description":"سال. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Year","description":"سال. — exact match; comma-separate several values, `null` for NULL."},"name":"year","in":"query"},{"description":"فصل. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period","description":"فصل. — exact match; comma-separate several values, `null` for NULL."},"name":"period","in":"query"},{"description":"بانک. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Bank","description":"بانک. — exact match; comma-separate several values, `null` for NULL."},"name":"bank","in":"query"},{"description":"نوع برگه (تسهیلات یا تعهدات). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Sheet Kind","description":"نوع برگه (تسهیلات یا تعهدات). — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"sheet_kind","in":"query"},{"description":"شماره ردیف در برگه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Row No","description":"شماره ردیف در برگه. — exact match; comma-separate several values, `null` for NULL."},"name":"row_no","in":"query"},{"description":"شماره ردیف در برگه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Row No  Gte","description":"شماره ردیف در برگه. — minimum (inclusive)."},"name":"row_no__gte","in":"query"},{"description":"شماره ردیف در برگه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Row No  Lte","description":"شماره ردیف در برگه. — maximum (inclusive)."},"name":"row_no__lte","in":"query"},{"description":"چرا کنار گذاشته شد: footer_total (ردیف بی‌نامی که مبلغش برابر مجموع بقیهٔ ردیف‌های همان برگه است) یا no_data_marker (ردیف «فاقد اطلاعات…»). — exact match; comma-separate several values, `null` for NULL. Values: `footer_total`, `no_data_marker`. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Reason","description":"چرا کنار گذاشته شد: footer_total (ردیف بی‌نامی که مبلغش برابر مجموع بقیهٔ ردیف‌های همان برگه است) یا no_data_marker (ردیف «فاقد اطلاعات…»). — exact match; comma-separate several values, `null` for NULL. Values: `footer_total`, `no_data_marker`. ⚡ indexed."},"name":"reason","in":"query"},{"description":"نام مشتری، اگر ردیف نامی داشت. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Customer Name","description":"نام مشتری، اگر ردیف نامی داشت. — exact match; `null` for NULL."},"name":"customer_name","in":"query"},{"description":"نام مشتری، اگر ردیف نامی داشت. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Customer Name  Like","description":"نام مشتری، اگر ردیف نامی داشت. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"customer_name__like","in":"query"},{"description":"خالص تسهیلات (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Net Facilities","description":"خالص تسهیلات (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"net_facilities","in":"query"},{"description":"خالص تسهیلات (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Net Facilities  Gte","description":"خالص تسهیلات (ریال). — minimum (inclusive)."},"name":"net_facilities__gte","in":"query"},{"description":"خالص تسهیلات (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Net Facilities  Lte","description":"خالص تسهیلات (ریال). — maximum (inclusive)."},"name":"net_facilities__lte","in":"query"},{"description":"مبلغ اصلی پرداخت‌شده (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Principal Paid","description":"مبلغ اصلی پرداخت‌شده (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"principal_paid","in":"query"},{"description":"مبلغ اصلی پرداخت‌شده (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Principal Paid  Gte","description":"مبلغ اصلی پرداخت‌شده (ریال). — minimum (inclusive)."},"name":"principal_paid__gte","in":"query"},{"description":"مبلغ اصلی پرداخت‌شده (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Principal Paid  Lte","description":"مبلغ اصلی پرداخت‌شده (ریال). — maximum (inclusive)."},"name":"principal_paid__lte","in":"query"},{"description":"مانده جاری (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Balance Current","description":"مانده جاری (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"balance_current","in":"query"},{"description":"مانده جاری (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Current  Gte","description":"مانده جاری (ریال). — minimum (inclusive)."},"name":"balance_current__gte","in":"query"},{"description":"مانده جاری (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Current  Lte","description":"مانده جاری (ریال). — maximum (inclusive)."},"name":"balance_current__lte","in":"query"},{"description":"مانده غیرجاری (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Balance Npl","description":"مانده غیرجاری (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"balance_npl","in":"query"},{"description":"مانده غیرجاری (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Npl  Gte","description":"مانده غیرجاری (ریال). — minimum (inclusive)."},"name":"balance_npl__gte","in":"query"},{"description":"مانده غیرجاری (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Balance Npl  Lte","description":"مانده غیرجاری (ریال). — maximum (inclusive)."},"name":"balance_npl__lte","in":"query"},{"description":"خالص تعهدات (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Commitment Net","description":"خالص تعهدات (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"commitment_net","in":"query"},{"description":"خالص تعهدات (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Net  Gte","description":"خالص تعهدات (ریال). — minimum (inclusive)."},"name":"commitment_net__gte","in":"query"},{"description":"خالص تعهدات (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Net  Lte","description":"خالص تعهدات (ریال). — maximum (inclusive)."},"name":"commitment_net__lte","in":"query"},{"description":"مبلغ اصلی تعهد (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Commitment Principal","description":"مبلغ اصلی تعهد (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"commitment_principal","in":"query"},{"description":"مبلغ اصلی تعهد (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Principal  Gte","description":"مبلغ اصلی تعهد (ریال). — minimum (inclusive)."},"name":"commitment_principal__gte","in":"query"},{"description":"مبلغ اصلی تعهد (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Commitment Principal  Lte","description":"مبلغ اصلی تعهد (ریال). — maximum (inclusive)."},"name":"commitment_principal__lte","in":"query"},{"description":"تعداد ردیف‌های همان برگه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lines In Sheet","description":"تعداد ردیف‌های همان برگه. — exact match; comma-separate several values, `null` for NULL."},"name":"lines_in_sheet","in":"query"},{"description":"تعداد ردیف‌های همان برگه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lines In Sheet  Gte","description":"تعداد ردیف‌های همان برگه. — minimum (inclusive)."},"name":"lines_in_sheet__gte","in":"query"},{"description":"تعداد ردیف‌های همان برگه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lines In Sheet  Lte","description":"تعداد ردیف‌های همان برگه. — maximum (inclusive)."},"name":"lines_in_sheet__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"row_id":{"type":"integer","description":"شناسه ردیف در `cbi_rows` (`/v1/cbi/raw-rows`)."},"file_id":{"type":"integer","description":"فایل منبع (`/v1/cbi/files`).","nullable":true},"dataset":{"type":"string","description":"مجموعه.","nullable":true},"year":{"type":"string","description":"سال.","nullable":true},"period":{"type":"string","description":"فصل.","nullable":true},"bank":{"type":"string","description":"بانک.","nullable":true},"sheet_kind":{"type":"string","description":"نوع برگه (تسهیلات یا تعهدات).","nullable":true},"row_no":{"type":"integer","description":"شماره ردیف در برگه.","nullable":true},"reason":{"type":"string","description":"چرا کنار گذاشته شد: footer_total (ردیف بی‌نامی که مبلغش برابر مجموع بقیهٔ ردیف‌های همان برگه است) یا no_data_marker (ردیف «فاقد اطلاعات…»).","nullable":true},"customer_name":{"type":"string","description":"نام مشتری، اگر ردیف نامی داشت.","nullable":true},"net_facilities":{"type":"number","description":"خالص تسهیلات (ریال).","nullable":true},"principal_paid":{"type":"number","description":"مبلغ اصلی پرداخت‌شده (ریال).","nullable":true},"balance_current":{"type":"number","description":"مانده جاری (ریال).","nullable":true},"balance_npl":{"type":"number","description":"مانده غیرجاری (ریال).","nullable":true},"commitment_net":{"type":"number","description":"خالص تعهدات (ریال).","nullable":true},"commitment_principal":{"type":"number","description":"مبلغ اصلی تعهد (ریال).","nullable":true},"lines_in_sheet":{"type":"integer","description":"تعداد ردیف‌های همان برگه.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/meta/options":{"get":{"tags":["bank-debtors"],"summary":"گزینه‌های معتبر (بانک، سال، فصل) — Valid filter values","description":"مقادیر معتبر `bank`، `year`، `period` برای هر مجموعه — برای ساخت فیلتر.\n\n**Fast filters (indexed):** `dataset`, `kind`\n\n| column | type | description |\n|---|---|---|\n| `dataset` | text ⚡ | مجموعه. |\n| `kind` | text ⚡ | نوع گزینه: bank, year, period. |\n| `value` | text | مقدار. |\n| `parent` | text | والد (مثلاً سالِ یک فصل). |\n| `n` | int | تعداد ردیف. |","operationId":"list_cbi_meta_options","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `n`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `n`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Dataset","description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"dataset","in":"query"},{"description":"نوع گزینه: bank, year, period. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Kind","description":"نوع گزینه: bank, year, period. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"kind","in":"query"},{"description":"مقدار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Value","description":"مقدار. — exact match; comma-separate several values, `null` for NULL."},"name":"value","in":"query"},{"description":"والد (مثلاً سالِ یک فصل). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Parent","description":"والد (مثلاً سالِ یک فصل). — exact match; comma-separate several values, `null` for NULL."},"name":"parent","in":"query"},{"description":"تعداد ردیف. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"N","description":"تعداد ردیف. — exact match; comma-separate several values, `null` for NULL."},"name":"n","in":"query"},{"description":"تعداد ردیف. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"N  Gte","description":"تعداد ردیف. — minimum (inclusive)."},"name":"n__gte","in":"query"},{"description":"تعداد ردیف. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"N  Lte","description":"تعداد ردیف. — maximum (inclusive)."},"name":"n__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"dataset":{"type":"string","description":"مجموعه.","nullable":true},"kind":{"type":"string","description":"نوع گزینه: bank, year, period.","nullable":true},"value":{"type":"string","description":"مقدار.","nullable":true},"parent":{"type":"string","description":"والد (مثلاً سالِ یک فصل).","nullable":true},"n":{"type":"integer","description":"تعداد ردیف.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/meta/stats":{"get":{"tags":["bank-debtors"],"summary":"آمار هر مجموعه — Dataset stats","description":"اندازه هر مجموعه.\n\n**Fast filters (indexed):** `dataset`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `dataset` | text ⚡ | مجموعه. |\n| `lines` | int | تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). |\n| `borrowers` | int | تعداد entity_key متمایز. |\n| `banks` | int | تعداد بانک. |\n| `outstanding` | num | جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. |","operationId":"list_cbi_meta_stats","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Dataset","description":"مجموعه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"dataset","in":"query"},{"description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lines","description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). — exact match; comma-separate several values, `null` for NULL."},"name":"lines","in":"query"},{"description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lines  Gte","description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). — minimum (inclusive)."},"name":"lines__gte","in":"query"},{"description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lines  Lte","description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی). — maximum (inclusive)."},"name":"lines__lte","in":"query"},{"description":"تعداد entity_key متمایز. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Borrowers","description":"تعداد entity_key متمایز. — exact match; comma-separate several values, `null` for NULL."},"name":"borrowers","in":"query"},{"description":"تعداد entity_key متمایز. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Borrowers  Gte","description":"تعداد entity_key متمایز. — minimum (inclusive)."},"name":"borrowers__gte","in":"query"},{"description":"تعداد entity_key متمایز. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Borrowers  Lte","description":"تعداد entity_key متمایز. — maximum (inclusive)."},"name":"borrowers__lte","in":"query"},{"description":"تعداد بانک. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Banks","description":"تعداد بانک. — exact match; comma-separate several values, `null` for NULL."},"name":"banks","in":"query"},{"description":"تعداد بانک. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Banks  Gte","description":"تعداد بانک. — minimum (inclusive)."},"name":"banks__gte","in":"query"},{"description":"تعداد بانک. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Banks  Lte","description":"تعداد بانک. — maximum (inclusive)."},"name":"banks__lte","in":"query"},{"description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Outstanding","description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. — exact match; comma-separate several values, `null` for NULL."},"name":"outstanding","in":"query"},{"description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Outstanding  Gte","description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. — minimum (inclusive)."},"name":"outstanding__gte","in":"query"},{"description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Outstanding  Lte","description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید. — maximum (inclusive)."},"name":"outstanding__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"dataset":{"type":"string","description":"مجموعه."},"lines":{"type":"integer","description":"تعداد ردیف (بدون فایل‌های duplicate و بدون ردیف‌های جمع پایانی).","nullable":true},"borrowers":{"type":"integer","description":"تعداد entity_key متمایز.","nullable":true},"banks":{"type":"integer","description":"تعداد بانک.","nullable":true},"outstanding":{"type":"number","description":"جمع مانده (ریال) — فقط برای نمای کلی؛ بین مجموعه‌ها جمع نزنید.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/cbi/raw-rows":{"get":{"tags":["bank-debtors"],"summary":"ردیف‌های خام اکسل — Raw sheet rows","description":"ردیف‌های خام ۶ گیگابایتی که از اکسل‌ها خوانده شده؛ مادهٔ اولیهٔ جدول‌های بالا. فیلتر با `file_id` یا `data__contains={\"کلید\":\"مقدار\"}`.\n\n**Fast filters (indexed):** `id`, `file_id`, `data`, `sheet_kind`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `file_id` | int ⚡ | فایل منبع. |\n| `sheet` | text | نام برگه. |\n| `row_no` | int | شماره ردیف در برگه. |\n| `data` | json ⚡ | ردیف به‌صورت JSON با سرستون‌های فارسی. |\n| `sheet_kind` | text ⚡ | نوع برگه. |","operationId":"list_cbi_raw_rows","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `row_no`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `row_no`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"فایل منبع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id","description":"فایل منبع. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"file_id","in":"query"},{"description":"فایل منبع. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"File Id  Gte","description":"فایل منبع. — minimum (inclusive). ⚡ indexed."},"name":"file_id__gte","in":"query"},{"description":"فایل منبع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Id  Lte","description":"فایل منبع. — maximum (inclusive)."},"name":"file_id__lte","in":"query"},{"description":"نام برگه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Sheet","description":"نام برگه. — exact match; comma-separate several values, `null` for NULL."},"name":"sheet","in":"query"},{"description":"شماره ردیف در برگه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Row No","description":"شماره ردیف در برگه. — exact match; comma-separate several values, `null` for NULL."},"name":"row_no","in":"query"},{"description":"شماره ردیف در برگه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Row No  Gte","description":"شماره ردیف در برگه. — minimum (inclusive)."},"name":"row_no__gte","in":"query"},{"description":"شماره ردیف در برگه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Row No  Lte","description":"شماره ردیف در برگه. — maximum (inclusive)."},"name":"row_no__lte","in":"query"},{"description":"ردیف به‌صورت JSON با سرستون‌های فارسی. — JSON containment, e.g. `{\"key\": \"value\"}`.","required":false,"schema":{"type":"string","title":"Data  Contains","description":"ردیف به‌صورت JSON با سرستون‌های فارسی. — JSON containment, e.g. `{\"key\": \"value\"}`."},"name":"data__contains","in":"query"},{"description":"نوع برگه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Sheet Kind","description":"نوع برگه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"sheet_kind","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"file_id":{"type":"integer","description":"فایل منبع."},"sheet":{"type":"string","description":"نام برگه.","nullable":true},"row_no":{"type":"integer","description":"شماره ردیف در برگه.","nullable":true},"data":{"type":"object","description":"ردیف به‌صورت JSON با سرستون‌های فارسی."},"sheet_kind":{"type":"string","description":"نوع برگه.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ime/trades":{"get":{"tags":["ime-iee"],"summary":"معاملات بورس کالا — IME trades","description":"معاملات روزانه بورس کالای ایران از ۱۳۸۷ (بازار فیزیکی). بازه: `from=1405/01/01&to=1405/08/01`؛ کالا: `product_name__like=`.\n\nهر ردیف یک «تصویر» از یک خط عرضه است: جمع‌آوری‌کنندهٔ قدیمی هر ۱۰ دقیقه می‌خواند و هر وضعیت تازه ردیف تازه می‌سازد، پس یک\n`supply_code` در یک `transaction_date` ممکن است چند ردیف با حجم افزایشی داشته باشد (۱٫۴ ردیف برای هر خط در روز، ژوئن تا اوت ۲۰۲۶؛\nمثال: ۵۰، ۸۰، ۱۸۰ و ۵۱۰ تن برای یک خط در یک روز، وضعیت پایانی ۵۱۰). وضعیت پایانی هر خط آخرین ردیف (بزرگ‌ترین `id`) است؛ جمع‌زدن\nحجم روی همهٔ ردیف‌ها شمارش مضاعف است. حجم‌ها را جمع‌آوری‌کننده به عدد صحیح گرد می‌کند (۲۰٫۱۶ تن ← ۲۰).\n\n**Fast filters (indexed):** `from`, `to`, `id`, `transaction_date`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `product_name` | text | نام کالا. |\n| `symbol` | text | نماد کالا. |\n| `market` | text | تالار/بازار. |\n| `producer` | text | تولیدکننده. |\n| `contract_type` | text | نوع قرارداد (نقدی، سلف، …). |\n| `weighted_average_price` | int | میانگین موزون قیمت. |\n| `transaction_value` | int | ارزش معامله (ریال). |\n| `closing_price` | int | قیمت پایانی. |\n| `lowest_price` | int | کمترین. |\n| `highest_price` | int | بیشترین. |\n| `base_price` | int | قیمت پایه. |\n| `supply_volume` | int | حجم عرضه. |\n| `demand_volume` | int | حجم تقاضا. |\n| `contract_volume` | int | حجم قرارداد. |\n| `unit` | text | واحد. |\n| `transaction_date` | date ⚡ | تاریخ معامله. |\n| `delivery_date` | date | تاریخ تحویل. |\n| `delivery_location` | text | محل تحویل. |\n| `supplier` | text | عرضه‌کننده. |\n| `settlement_date` | date | تاریخ تسویه. |\n| `broker` | text | کارگزار. |\n| `supply_method` | text | روش عرضه. |\n| `purchase_method` | text | روش خرید. |\n| `packaging` | text | بسته‌بندی. |\n| `settlement_type` | text | نوع تسویه. |\n| `currency` | text | ارز. |\n| `supply_code` | text | کد عرضه. |\n| `created_at` | ts | زمان ثبت. |\n| `transaction_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |\n| `delivery_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |","operationId":"list_ime_trades","parameters":[{"description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `product_name`, `symbol`, `market`, `transaction_date`, `delivery_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `product_name`, `symbol`, `market`, `transaction_date`, `delivery_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"نام کالا. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Product Name","description":"نام کالا. — exact match; `null` for NULL."},"name":"product_name","in":"query"},{"description":"نام کالا. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Product Name  Like","description":"نام کالا. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"product_name__like","in":"query"},{"description":"نماد کالا. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد کالا. — exact match; `null` for NULL."},"name":"symbol","in":"query"},{"description":"نماد کالا. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد کالا. — contains this text (case-insensitive)."},"name":"symbol__like","in":"query"},{"description":"تالار/بازار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"تالار/بازار. — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"تولیدکننده. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer","description":"تولیدکننده. — exact match; `null` for NULL."},"name":"producer","in":"query"},{"description":"تولیدکننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Producer  Like","description":"تولیدکننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"producer__like","in":"query"},{"description":"نوع قرارداد (نقدی، سلف، …). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Type","description":"نوع قرارداد (نقدی، سلف، …). — exact match; comma-separate several values, `null` for NULL."},"name":"contract_type","in":"query"},{"description":"میانگین موزون قیمت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Weighted Average Price","description":"میانگین موزون قیمت. — exact match; comma-separate several values, `null` for NULL."},"name":"weighted_average_price","in":"query"},{"description":"میانگین موزون قیمت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Weighted Average Price  Gte","description":"میانگین موزون قیمت. — minimum (inclusive)."},"name":"weighted_average_price__gte","in":"query"},{"description":"میانگین موزون قیمت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Weighted Average Price  Lte","description":"میانگین موزون قیمت. — maximum (inclusive)."},"name":"weighted_average_price__lte","in":"query"},{"description":"ارزش معامله (ریال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Value","description":"ارزش معامله (ریال). — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_value","in":"query"},{"description":"ارزش معامله (ریال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Value  Gte","description":"ارزش معامله (ریال). — minimum (inclusive)."},"name":"transaction_value__gte","in":"query"},{"description":"ارزش معامله (ریال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Value  Lte","description":"ارزش معامله (ریال). — maximum (inclusive)."},"name":"transaction_value__lte","in":"query"},{"description":"قیمت پایانی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Closing Price","description":"قیمت پایانی. — exact match; comma-separate several values, `null` for NULL."},"name":"closing_price","in":"query"},{"description":"قیمت پایانی. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Closing Price  Gte","description":"قیمت پایانی. — minimum (inclusive)."},"name":"closing_price__gte","in":"query"},{"description":"قیمت پایانی. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Closing Price  Lte","description":"قیمت پایانی. — maximum (inclusive)."},"name":"closing_price__lte","in":"query"},{"description":"کمترین. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lowest Price","description":"کمترین. — exact match; comma-separate several values, `null` for NULL."},"name":"lowest_price","in":"query"},{"description":"کمترین. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lowest Price  Gte","description":"کمترین. — minimum (inclusive)."},"name":"lowest_price__gte","in":"query"},{"description":"کمترین. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lowest Price  Lte","description":"کمترین. — maximum (inclusive)."},"name":"lowest_price__lte","in":"query"},{"description":"بیشترین. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Highest Price","description":"بیشترین. — exact match; comma-separate several values, `null` for NULL."},"name":"highest_price","in":"query"},{"description":"بیشترین. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Highest Price  Gte","description":"بیشترین. — minimum (inclusive)."},"name":"highest_price__gte","in":"query"},{"description":"بیشترین. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Highest Price  Lte","description":"بیشترین. — maximum (inclusive)."},"name":"highest_price__lte","in":"query"},{"description":"قیمت پایه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price","description":"قیمت پایه. — exact match; comma-separate several values, `null` for NULL."},"name":"base_price","in":"query"},{"description":"قیمت پایه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Gte","description":"قیمت پایه. — minimum (inclusive)."},"name":"base_price__gte","in":"query"},{"description":"قیمت پایه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Lte","description":"قیمت پایه. — maximum (inclusive)."},"name":"base_price__lte","in":"query"},{"description":"حجم عرضه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Volume","description":"حجم عرضه. — exact match; comma-separate several values, `null` for NULL."},"name":"supply_volume","in":"query"},{"description":"حجم عرضه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Gte","description":"حجم عرضه. — minimum (inclusive)."},"name":"supply_volume__gte","in":"query"},{"description":"حجم عرضه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Lte","description":"حجم عرضه. — maximum (inclusive)."},"name":"supply_volume__lte","in":"query"},{"description":"حجم تقاضا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Demand Volume","description":"حجم تقاضا. — exact match; comma-separate several values, `null` for NULL."},"name":"demand_volume","in":"query"},{"description":"حجم تقاضا. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Demand Volume  Gte","description":"حجم تقاضا. — minimum (inclusive)."},"name":"demand_volume__gte","in":"query"},{"description":"حجم تقاضا. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Demand Volume  Lte","description":"حجم تقاضا. — maximum (inclusive)."},"name":"demand_volume__lte","in":"query"},{"description":"حجم قرارداد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Volume","description":"حجم قرارداد. — exact match; comma-separate several values, `null` for NULL."},"name":"contract_volume","in":"query"},{"description":"حجم قرارداد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Contract Volume  Gte","description":"حجم قرارداد. — minimum (inclusive)."},"name":"contract_volume__gte","in":"query"},{"description":"حجم قرارداد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Contract Volume  Lte","description":"حجم قرارداد. — maximum (inclusive)."},"name":"contract_volume__lte","in":"query"},{"description":"واحد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit","description":"واحد. — exact match; comma-separate several values, `null` for NULL."},"name":"unit","in":"query"},{"description":"تاریخ معامله. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Transaction Date","description":"تاریخ معامله. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"transaction_date","in":"query"},{"description":"تاریخ معامله. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Transaction Date  Gte","description":"تاریخ معامله. — minimum (inclusive). ⚡ indexed."},"name":"transaction_date__gte","in":"query"},{"description":"تاریخ معامله. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Lte","description":"تاریخ معامله. — maximum (inclusive)."},"name":"transaction_date__lte","in":"query"},{"description":"تاریخ تحویل. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Date","description":"تاریخ تحویل. — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_date","in":"query"},{"description":"تاریخ تحویل. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date  Gte","description":"تاریخ تحویل. — minimum (inclusive)."},"name":"delivery_date__gte","in":"query"},{"description":"تاریخ تحویل. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date  Lte","description":"تاریخ تحویل. — maximum (inclusive)."},"name":"delivery_date__lte","in":"query"},{"description":"محل تحویل. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Location","description":"محل تحویل. — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_location","in":"query"},{"description":"عرضه‌کننده. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier","description":"عرضه‌کننده. — exact match; `null` for NULL."},"name":"supplier","in":"query"},{"description":"عرضه‌کننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Supplier  Like","description":"عرضه‌کننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"supplier__like","in":"query"},{"description":"تاریخ تسویه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Settlement Date","description":"تاریخ تسویه. — exact match; comma-separate several values, `null` for NULL."},"name":"settlement_date","in":"query"},{"description":"تاریخ تسویه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Settlement Date  Gte","description":"تاریخ تسویه. — minimum (inclusive)."},"name":"settlement_date__gte","in":"query"},{"description":"تاریخ تسویه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Settlement Date  Lte","description":"تاریخ تسویه. — maximum (inclusive)."},"name":"settlement_date__lte","in":"query"},{"description":"کارگزار. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Broker","description":"کارگزار. — exact match; `null` for NULL."},"name":"broker","in":"query"},{"description":"کارگزار. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Broker  Like","description":"کارگزار. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"broker__like","in":"query"},{"description":"روش عرضه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Method","description":"روش عرضه. — exact match; comma-separate several values, `null` for NULL."},"name":"supply_method","in":"query"},{"description":"روش خرید. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Purchase Method","description":"روش خرید. — exact match; comma-separate several values, `null` for NULL."},"name":"purchase_method","in":"query"},{"description":"بسته‌بندی. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Packaging","description":"بسته‌بندی. — exact match; comma-separate several values, `null` for NULL."},"name":"packaging","in":"query"},{"description":"نوع تسویه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Settlement Type","description":"نوع تسویه. — exact match; comma-separate several values, `null` for NULL."},"name":"settlement_type","in":"query"},{"description":"ارز. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency","description":"ارز. — exact match; comma-separate several values, `null` for NULL."},"name":"currency","in":"query"},{"description":"کد عرضه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Code","description":"کد عرضه. — exact match; comma-separate several values, `null` for NULL."},"name":"supply_code","in":"query"},{"description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Created At","description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"created_at","in":"query"},{"description":"زمان ثبت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Gte","description":"زمان ثبت. — minimum (inclusive)."},"name":"created_at__gte","in":"query"},{"description":"زمان ثبت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Lte","description":"زمان ثبت. — maximum (inclusive)."},"name":"created_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"product_name":{"type":"string","description":"نام کالا.","nullable":true},"symbol":{"type":"string","description":"نماد کالا.","nullable":true},"market":{"type":"string","description":"تالار/بازار.","nullable":true},"producer":{"type":"string","description":"تولیدکننده.","nullable":true},"contract_type":{"type":"string","description":"نوع قرارداد (نقدی، سلف، …).","nullable":true},"weighted_average_price":{"type":"integer","description":"میانگین موزون قیمت.","nullable":true},"transaction_value":{"type":"integer","description":"ارزش معامله (ریال).","nullable":true},"closing_price":{"type":"integer","description":"قیمت پایانی.","nullable":true},"lowest_price":{"type":"integer","description":"کمترین.","nullable":true},"highest_price":{"type":"integer","description":"بیشترین.","nullable":true},"base_price":{"type":"integer","description":"قیمت پایه.","nullable":true},"supply_volume":{"type":"integer","description":"حجم عرضه.","nullable":true},"demand_volume":{"type":"integer","description":"حجم تقاضا.","nullable":true},"contract_volume":{"type":"integer","description":"حجم قرارداد.","nullable":true},"unit":{"type":"string","description":"واحد.","nullable":true},"transaction_date":{"type":"string","format":"date","description":"تاریخ معامله."},"delivery_date":{"type":"string","format":"date","description":"تاریخ تحویل.","nullable":true},"delivery_location":{"type":"string","description":"محل تحویل.","nullable":true},"supplier":{"type":"string","description":"عرضه‌کننده.","nullable":true},"settlement_date":{"type":"string","format":"date","description":"تاریخ تسویه.","nullable":true},"broker":{"type":"string","description":"کارگزار.","nullable":true},"supply_method":{"type":"string","description":"روش عرضه.","nullable":true},"purchase_method":{"type":"string","description":"روش خرید.","nullable":true},"packaging":{"type":"string","description":"بسته‌بندی.","nullable":true},"settlement_type":{"type":"string","description":"نوع تسویه.","nullable":true},"currency":{"type":"string","description":"ارز.","nullable":true},"supply_code":{"type":"string","description":"کد عرضه.","nullable":true},"created_at":{"type":"string","format":"date-time","description":"زمان ثبت.","nullable":true},"transaction_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true},"delivery_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ime/offers":{"get":{"tags":["ime-iee"],"summary":"عرضه‌های بورس کالا — IME offers","description":"جزئیات عرضه‌ها در بورس کالا (۵۲ ستون، شامل قیمت پایه، حجم، شرایط تسویه). تاریخ‌ها شمسی `YYYY/MM/DD`.\n\nستون‌های `status`، `total_buy_orders`، `max_price`، `max_base_price` و `supply_value` در خود منبع (`auction.ashx`) خالی یا ۰\nهستند (نمونهٔ زندهٔ ۱۴۰۵/۰۸/۰۴، ۱۰۰ ردیف؛ ۴۰۸٬۶۰۷ ردیف ذخیره‌شده). `unit` همیشه خالی است چون از فیلد دیگری خوانده می‌شود؛\nواحد بارگیری («۱۰۰۰ کیلوگرم») ذخیره نمی‌شود. عرضه پس از اولین مشاهده به‌روز نمی‌شود (مقدارها در طول روز تغییر نمی‌کنند: ۰ از ۱۰۰\nردیف زنده فرق داشت).\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `attachment` | text |  |\n| `b_arzeh_radif_pk` | text |  |\n| `broker` | text | کارگزار. |\n| `transaction_date` | text | تاریخ معامله (شمسی). |\n| `b_arzeh_tar_arzeh` | text | تاریخ عرضه (شمسی). |\n| `symbol` | text | نماد. |\n| `shape` | text |  |\n| `size` | text |  |\n| `producer` | text | تولیدکننده. |\n| `delivery_location` | text |  |\n| `supply_volume` | int |  |\n| `base_price` | int |  |\n| `contract_type` | text |  |\n| `delivery_date` | text | تاریخ تحویل (شمسی). |\n| `supply_description` | text |  |\n| `max_load` | int |  |\n| `load_coefficient` | num |  |\n| `min_load` | int |  |\n| `total_buy_orders` | int |  |\n| `status` | text | وضعیت عرضه (همیشه خالی: منبع آن را نمی‌فرستد). |\n| `min_price` | int |  |\n| `max_price` | int |  |\n| `percentage` | num |  |\n| `min_supply` | int |  |\n| `min_buy_price` | int |  |\n| `min_allocation` | int |  |\n| `min_delivery_tel` | text |  |\n| `unit` | text |  |\n| `load_size` | int |  |\n| `settlement_type_id` | int |  |\n| `settlement_type` | text |  |\n| `tick_size` | int |  |\n| `initial_supply` | int |  |\n| `max_base_price` | int |  |\n| `supplier` | text | عرضه‌کننده. |\n| `commercial_name` | text | نام تجاری. |\n| `product_symbol` | text |  |\n| `supply_value` | int |  |\n| `max_buy` | int |  |\n| `load_count` | int |  |\n| `producer_pk` | int |  |\n| `main_group_pk` | int |  |\n| `group_pk` | int |  |\n| `sub_group_pk` | int |  |\n| `mode` | int |  |\n| `buy_method` | int |  |\n| `mode_description` | text |  |\n| `method_description` | text |  |\n| `currency` | text |  |\n| `market` | text | بازار/تالار. |\n| `created_at` | ts | زمان ثبت. |","operationId":"list_ime_offers","parameters":[{"description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `transaction_date`, `b_arzeh_tar_arzeh`, `symbol`, `market`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `transaction_date`, `b_arzeh_tar_arzeh`, `symbol`, `market`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"attachment — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Attachment","description":"attachment — exact match; comma-separate several values, `null` for NULL."},"name":"attachment","in":"query"},{"description":"b_arzeh_radif_pk — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"B Arzeh Radif Pk","description":"b_arzeh_radif_pk — exact match; comma-separate several values, `null` for NULL."},"name":"b_arzeh_radif_pk","in":"query"},{"description":"کارگزار. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Broker","description":"کارگزار. — exact match; `null` for NULL."},"name":"broker","in":"query"},{"description":"کارگزار. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Broker  Like","description":"کارگزار. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"broker__like","in":"query"},{"description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Date","description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_date","in":"query"},{"description":"تاریخ معامله (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Gte","description":"تاریخ معامله (شمسی). — minimum (inclusive)."},"name":"transaction_date__gte","in":"query"},{"description":"تاریخ معامله (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Lte","description":"تاریخ معامله (شمسی). — maximum (inclusive)."},"name":"transaction_date__lte","in":"query"},{"description":"تاریخ عرضه (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"B Arzeh Tar Arzeh","description":"تاریخ عرضه (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"b_arzeh_tar_arzeh","in":"query"},{"description":"تاریخ عرضه (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"B Arzeh Tar Arzeh  Gte","description":"تاریخ عرضه (شمسی). — minimum (inclusive)."},"name":"b_arzeh_tar_arzeh__gte","in":"query"},{"description":"تاریخ عرضه (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"B Arzeh Tar Arzeh  Lte","description":"تاریخ عرضه (شمسی). — maximum (inclusive)."},"name":"b_arzeh_tar_arzeh__lte","in":"query"},{"description":"نماد. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد. — exact match; `null` for NULL."},"name":"symbol","in":"query"},{"description":"نماد. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد. — contains this text (case-insensitive)."},"name":"symbol__like","in":"query"},{"description":"shape — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Shape","description":"shape — exact match; comma-separate several values, `null` for NULL."},"name":"shape","in":"query"},{"description":"size — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Size","description":"size — exact match; comma-separate several values, `null` for NULL."},"name":"size","in":"query"},{"description":"تولیدکننده. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer","description":"تولیدکننده. — exact match; `null` for NULL."},"name":"producer","in":"query"},{"description":"تولیدکننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Producer  Like","description":"تولیدکننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"producer__like","in":"query"},{"description":"delivery_location — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Location","description":"delivery_location — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_location","in":"query"},{"description":"supply_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Volume","description":"supply_volume — exact match; comma-separate several values, `null` for NULL."},"name":"supply_volume","in":"query"},{"description":"supply_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Gte","description":"supply_volume — minimum (inclusive)."},"name":"supply_volume__gte","in":"query"},{"description":"supply_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Lte","description":"supply_volume — maximum (inclusive)."},"name":"supply_volume__lte","in":"query"},{"description":"base_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price","description":"base_price — exact match; comma-separate several values, `null` for NULL."},"name":"base_price","in":"query"},{"description":"base_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Gte","description":"base_price — minimum (inclusive)."},"name":"base_price__gte","in":"query"},{"description":"base_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Lte","description":"base_price — maximum (inclusive)."},"name":"base_price__lte","in":"query"},{"description":"contract_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Type","description":"contract_type — exact match; comma-separate several values, `null` for NULL."},"name":"contract_type","in":"query"},{"description":"تاریخ تحویل (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Date","description":"تاریخ تحویل (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_date","in":"query"},{"description":"تاریخ تحویل (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date  Gte","description":"تاریخ تحویل (شمسی). — minimum (inclusive)."},"name":"delivery_date__gte","in":"query"},{"description":"تاریخ تحویل (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date  Lte","description":"تاریخ تحویل (شمسی). — maximum (inclusive)."},"name":"delivery_date__lte","in":"query"},{"description":"supply_description — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Description","description":"supply_description — exact match; comma-separate several values, `null` for NULL."},"name":"supply_description","in":"query"},{"description":"max_load — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Load","description":"max_load — exact match; comma-separate several values, `null` for NULL."},"name":"max_load","in":"query"},{"description":"max_load — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Load  Gte","description":"max_load — minimum (inclusive)."},"name":"max_load__gte","in":"query"},{"description":"max_load — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Load  Lte","description":"max_load — maximum (inclusive)."},"name":"max_load__lte","in":"query"},{"description":"load_coefficient — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Load Coefficient","description":"load_coefficient — exact match; comma-separate several values, `null` for NULL."},"name":"load_coefficient","in":"query"},{"description":"load_coefficient — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Load Coefficient  Gte","description":"load_coefficient — minimum (inclusive)."},"name":"load_coefficient__gte","in":"query"},{"description":"load_coefficient — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Load Coefficient  Lte","description":"load_coefficient — maximum (inclusive)."},"name":"load_coefficient__lte","in":"query"},{"description":"min_load — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Load","description":"min_load — exact match; comma-separate several values, `null` for NULL."},"name":"min_load","in":"query"},{"description":"min_load — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Load  Gte","description":"min_load — minimum (inclusive)."},"name":"min_load__gte","in":"query"},{"description":"min_load — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Load  Lte","description":"min_load — maximum (inclusive)."},"name":"min_load__lte","in":"query"},{"description":"total_buy_orders — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Buy Orders","description":"total_buy_orders — exact match; comma-separate several values, `null` for NULL."},"name":"total_buy_orders","in":"query"},{"description":"total_buy_orders — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Buy Orders  Gte","description":"total_buy_orders — minimum (inclusive)."},"name":"total_buy_orders__gte","in":"query"},{"description":"total_buy_orders — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Buy Orders  Lte","description":"total_buy_orders — maximum (inclusive)."},"name":"total_buy_orders__lte","in":"query"},{"description":"وضعیت عرضه (همیشه خالی: منبع آن را نمی‌فرستد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status","description":"وضعیت عرضه (همیشه خالی: منبع آن را نمی‌فرستد). — exact match; comma-separate several values, `null` for NULL."},"name":"status","in":"query"},{"description":"min_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Price","description":"min_price — exact match; comma-separate several values, `null` for NULL."},"name":"min_price","in":"query"},{"description":"min_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Gte","description":"min_price — minimum (inclusive)."},"name":"min_price__gte","in":"query"},{"description":"min_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Lte","description":"min_price — maximum (inclusive)."},"name":"min_price__lte","in":"query"},{"description":"max_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Price","description":"max_price — exact match; comma-separate several values, `null` for NULL."},"name":"max_price","in":"query"},{"description":"max_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Gte","description":"max_price — minimum (inclusive)."},"name":"max_price__gte","in":"query"},{"description":"max_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Lte","description":"max_price — maximum (inclusive)."},"name":"max_price__lte","in":"query"},{"description":"percentage — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Percentage","description":"percentage — exact match; comma-separate several values, `null` for NULL."},"name":"percentage","in":"query"},{"description":"percentage — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Percentage  Gte","description":"percentage — minimum (inclusive)."},"name":"percentage__gte","in":"query"},{"description":"percentage — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Percentage  Lte","description":"percentage — maximum (inclusive)."},"name":"percentage__lte","in":"query"},{"description":"min_supply — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Supply","description":"min_supply — exact match; comma-separate several values, `null` for NULL."},"name":"min_supply","in":"query"},{"description":"min_supply — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Supply  Gte","description":"min_supply — minimum (inclusive)."},"name":"min_supply__gte","in":"query"},{"description":"min_supply — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Supply  Lte","description":"min_supply — maximum (inclusive)."},"name":"min_supply__lte","in":"query"},{"description":"min_buy_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Buy Price","description":"min_buy_price — exact match; comma-separate several values, `null` for NULL."},"name":"min_buy_price","in":"query"},{"description":"min_buy_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Buy Price  Gte","description":"min_buy_price — minimum (inclusive)."},"name":"min_buy_price__gte","in":"query"},{"description":"min_buy_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Buy Price  Lte","description":"min_buy_price — maximum (inclusive)."},"name":"min_buy_price__lte","in":"query"},{"description":"min_allocation — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Allocation","description":"min_allocation — exact match; comma-separate several values, `null` for NULL."},"name":"min_allocation","in":"query"},{"description":"min_allocation — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Allocation  Gte","description":"min_allocation — minimum (inclusive)."},"name":"min_allocation__gte","in":"query"},{"description":"min_allocation — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Allocation  Lte","description":"min_allocation — maximum (inclusive)."},"name":"min_allocation__lte","in":"query"},{"description":"min_delivery_tel — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Delivery Tel","description":"min_delivery_tel — exact match; comma-separate several values, `null` for NULL."},"name":"min_delivery_tel","in":"query"},{"description":"unit — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit","description":"unit — exact match; comma-separate several values, `null` for NULL."},"name":"unit","in":"query"},{"description":"load_size — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Load Size","description":"load_size — exact match; comma-separate several values, `null` for NULL."},"name":"load_size","in":"query"},{"description":"load_size — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Load Size  Gte","description":"load_size — minimum (inclusive)."},"name":"load_size__gte","in":"query"},{"description":"load_size — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Load Size  Lte","description":"load_size — maximum (inclusive)."},"name":"load_size__lte","in":"query"},{"description":"settlement_type_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Settlement Type Id","description":"settlement_type_id — exact match; comma-separate several values, `null` for NULL."},"name":"settlement_type_id","in":"query"},{"description":"settlement_type_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Settlement Type Id  Gte","description":"settlement_type_id — minimum (inclusive)."},"name":"settlement_type_id__gte","in":"query"},{"description":"settlement_type_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Settlement Type Id  Lte","description":"settlement_type_id — maximum (inclusive)."},"name":"settlement_type_id__lte","in":"query"},{"description":"settlement_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Settlement Type","description":"settlement_type — exact match; comma-separate several values, `null` for NULL."},"name":"settlement_type","in":"query"},{"description":"tick_size — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Tick Size","description":"tick_size — exact match; comma-separate several values, `null` for NULL."},"name":"tick_size","in":"query"},{"description":"tick_size — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Tick Size  Gte","description":"tick_size — minimum (inclusive)."},"name":"tick_size__gte","in":"query"},{"description":"tick_size — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Tick Size  Lte","description":"tick_size — maximum (inclusive)."},"name":"tick_size__lte","in":"query"},{"description":"initial_supply — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Initial Supply","description":"initial_supply — exact match; comma-separate several values, `null` for NULL."},"name":"initial_supply","in":"query"},{"description":"initial_supply — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Initial Supply  Gte","description":"initial_supply — minimum (inclusive)."},"name":"initial_supply__gte","in":"query"},{"description":"initial_supply — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Initial Supply  Lte","description":"initial_supply — maximum (inclusive)."},"name":"initial_supply__lte","in":"query"},{"description":"max_base_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Base Price","description":"max_base_price — exact match; comma-separate several values, `null` for NULL."},"name":"max_base_price","in":"query"},{"description":"max_base_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Base Price  Gte","description":"max_base_price — minimum (inclusive)."},"name":"max_base_price__gte","in":"query"},{"description":"max_base_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Base Price  Lte","description":"max_base_price — maximum (inclusive)."},"name":"max_base_price__lte","in":"query"},{"description":"عرضه‌کننده. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier","description":"عرضه‌کننده. — exact match; `null` for NULL."},"name":"supplier","in":"query"},{"description":"عرضه‌کننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Supplier  Like","description":"عرضه‌کننده. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"supplier__like","in":"query"},{"description":"نام تجاری. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Commercial Name","description":"نام تجاری. — exact match; `null` for NULL."},"name":"commercial_name","in":"query"},{"description":"نام تجاری. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Commercial Name  Like","description":"نام تجاری. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"commercial_name__like","in":"query"},{"description":"product_symbol — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Product Symbol","description":"product_symbol — exact match; comma-separate several values, `null` for NULL."},"name":"product_symbol","in":"query"},{"description":"supply_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Value","description":"supply_value — exact match; comma-separate several values, `null` for NULL."},"name":"supply_value","in":"query"},{"description":"supply_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Value  Gte","description":"supply_value — minimum (inclusive)."},"name":"supply_value__gte","in":"query"},{"description":"supply_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Value  Lte","description":"supply_value — maximum (inclusive)."},"name":"supply_value__lte","in":"query"},{"description":"max_buy — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Buy","description":"max_buy — exact match; comma-separate several values, `null` for NULL."},"name":"max_buy","in":"query"},{"description":"max_buy — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Buy  Gte","description":"max_buy — minimum (inclusive)."},"name":"max_buy__gte","in":"query"},{"description":"max_buy — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Buy  Lte","description":"max_buy — maximum (inclusive)."},"name":"max_buy__lte","in":"query"},{"description":"load_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Load Count","description":"load_count — exact match; comma-separate several values, `null` for NULL."},"name":"load_count","in":"query"},{"description":"load_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Load Count  Gte","description":"load_count — minimum (inclusive)."},"name":"load_count__gte","in":"query"},{"description":"load_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Load Count  Lte","description":"load_count — maximum (inclusive)."},"name":"load_count__lte","in":"query"},{"description":"producer_pk — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer Pk","description":"producer_pk — exact match; comma-separate several values, `null` for NULL."},"name":"producer_pk","in":"query"},{"description":"producer_pk — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Producer Pk  Gte","description":"producer_pk — minimum (inclusive)."},"name":"producer_pk__gte","in":"query"},{"description":"producer_pk — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Producer Pk  Lte","description":"producer_pk — maximum (inclusive)."},"name":"producer_pk__lte","in":"query"},{"description":"main_group_pk — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Main Group Pk","description":"main_group_pk — exact match; comma-separate several values, `null` for NULL."},"name":"main_group_pk","in":"query"},{"description":"main_group_pk — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Main Group Pk  Gte","description":"main_group_pk — minimum (inclusive)."},"name":"main_group_pk__gte","in":"query"},{"description":"main_group_pk — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Main Group Pk  Lte","description":"main_group_pk — maximum (inclusive)."},"name":"main_group_pk__lte","in":"query"},{"description":"group_pk — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Group Pk","description":"group_pk — exact match; comma-separate several values, `null` for NULL."},"name":"group_pk","in":"query"},{"description":"group_pk — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Group Pk  Gte","description":"group_pk — minimum (inclusive)."},"name":"group_pk__gte","in":"query"},{"description":"group_pk — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Group Pk  Lte","description":"group_pk — maximum (inclusive)."},"name":"group_pk__lte","in":"query"},{"description":"sub_group_pk — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Sub Group Pk","description":"sub_group_pk — exact match; comma-separate several values, `null` for NULL."},"name":"sub_group_pk","in":"query"},{"description":"sub_group_pk — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Sub Group Pk  Gte","description":"sub_group_pk — minimum (inclusive)."},"name":"sub_group_pk__gte","in":"query"},{"description":"sub_group_pk — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Sub Group Pk  Lte","description":"sub_group_pk — maximum (inclusive)."},"name":"sub_group_pk__lte","in":"query"},{"description":"mode — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Mode","description":"mode — exact match; comma-separate several values, `null` for NULL."},"name":"mode","in":"query"},{"description":"mode — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Mode  Gte","description":"mode — minimum (inclusive)."},"name":"mode__gte","in":"query"},{"description":"mode — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Mode  Lte","description":"mode — maximum (inclusive)."},"name":"mode__lte","in":"query"},{"description":"buy_method — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Buy Method","description":"buy_method — exact match; comma-separate several values, `null` for NULL."},"name":"buy_method","in":"query"},{"description":"buy_method — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Buy Method  Gte","description":"buy_method — minimum (inclusive)."},"name":"buy_method__gte","in":"query"},{"description":"buy_method — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Buy Method  Lte","description":"buy_method — maximum (inclusive)."},"name":"buy_method__lte","in":"query"},{"description":"mode_description — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Mode Description","description":"mode_description — exact match; comma-separate several values, `null` for NULL."},"name":"mode_description","in":"query"},{"description":"method_description — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Method Description","description":"method_description — exact match; comma-separate several values, `null` for NULL."},"name":"method_description","in":"query"},{"description":"currency — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency","description":"currency — exact match; comma-separate several values, `null` for NULL."},"name":"currency","in":"query"},{"description":"بازار/تالار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"بازار/تالار. — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Created At","description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"created_at","in":"query"},{"description":"زمان ثبت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Gte","description":"زمان ثبت. — minimum (inclusive)."},"name":"created_at__gte","in":"query"},{"description":"زمان ثبت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Lte","description":"زمان ثبت. — maximum (inclusive)."},"name":"created_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"attachment":{"type":"string","nullable":true},"b_arzeh_radif_pk":{"type":"string","nullable":true},"broker":{"type":"string","description":"کارگزار.","nullable":true},"transaction_date":{"type":"string","description":"تاریخ معامله (شمسی).","nullable":true},"b_arzeh_tar_arzeh":{"type":"string","description":"تاریخ عرضه (شمسی).","nullable":true},"symbol":{"type":"string","description":"نماد.","nullable":true},"shape":{"type":"string","nullable":true},"size":{"type":"string","nullable":true},"producer":{"type":"string","description":"تولیدکننده.","nullable":true},"delivery_location":{"type":"string","nullable":true},"supply_volume":{"type":"integer","nullable":true},"base_price":{"type":"integer","nullable":true},"contract_type":{"type":"string","nullable":true},"delivery_date":{"type":"string","description":"تاریخ تحویل (شمسی).","nullable":true},"supply_description":{"type":"string","nullable":true},"max_load":{"type":"integer","nullable":true},"load_coefficient":{"type":"number","nullable":true},"min_load":{"type":"integer","nullable":true},"total_buy_orders":{"type":"integer","nullable":true},"status":{"type":"string","description":"وضعیت عرضه (همیشه خالی: منبع آن را نمی‌فرستد).","nullable":true},"min_price":{"type":"integer","nullable":true},"max_price":{"type":"integer","nullable":true},"percentage":{"type":"number","nullable":true},"min_supply":{"type":"integer","nullable":true},"min_buy_price":{"type":"integer","nullable":true},"min_allocation":{"type":"integer","nullable":true},"min_delivery_tel":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"load_size":{"type":"integer","nullable":true},"settlement_type_id":{"type":"integer","nullable":true},"settlement_type":{"type":"string","nullable":true},"tick_size":{"type":"integer","nullable":true},"initial_supply":{"type":"integer","nullable":true},"max_base_price":{"type":"integer","nullable":true},"supplier":{"type":"string","description":"عرضه‌کننده.","nullable":true},"commercial_name":{"type":"string","description":"نام تجاری.","nullable":true},"product_symbol":{"type":"string","nullable":true},"supply_value":{"type":"integer","nullable":true},"max_buy":{"type":"integer","nullable":true},"load_count":{"type":"integer","nullable":true},"producer_pk":{"type":"integer","nullable":true},"main_group_pk":{"type":"integer","nullable":true},"group_pk":{"type":"integer","nullable":true},"sub_group_pk":{"type":"integer","nullable":true},"mode":{"type":"integer","nullable":true},"buy_method":{"type":"integer","nullable":true},"mode_description":{"type":"string","nullable":true},"method_description":{"type":"string","nullable":true},"currency":{"type":"string","nullable":true},"market":{"type":"string","description":"بازار/تالار.","nullable":true},"created_at":{"type":"string","format":"date-time","description":"زمان ثبت.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ime/export-trades":{"get":{"tags":["ime-iee"],"summary":"معاملات صادراتی بورس کالا — IME export","description":"معاملات صادراتی بورس کالا.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `product_name` | text | نام کالا. |\n| `symbol` | text | نماد. |\n| `market` | text |  |\n| `producer` | text |  |\n| `contract_type` | text |  |\n| `lowest_price` | int |  |\n| `closing_price` | int |  |\n| `highest_price` | int |  |\n| `supply_volume` | int |  |\n| `base_price` | int |  |\n| `demand_volume` | int |  |\n| `contract_volume` | int |  |\n| `transaction_value` | int |  |\n| `transaction_date` | date | تاریخ معامله. |\n| `delivery_date` | date |  |\n| `delivery_location` | text |  |\n| `supplier` | text |  |\n| `settlement_date` | date |  |\n| `broker` | text |  |\n| `supply_method` | text |  |\n| `purchase_method` | text |  |\n| `daily_settlement_rate` | num |  |\n| `currency_type` | text |  |\n| `unit` | text |  |\n| `supply_code` | text |  |\n| `created_at` | ts | زمان ثبت. |\n| `transaction_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |","operationId":"list_ime_export_trades","parameters":[{"description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `transaction_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `transaction_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"نام کالا. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Product Name","description":"نام کالا. — exact match; `null` for NULL."},"name":"product_name","in":"query"},{"description":"نام کالا. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Product Name  Like","description":"نام کالا. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"product_name__like","in":"query"},{"description":"نماد. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد. — exact match; `null` for NULL."},"name":"symbol","in":"query"},{"description":"نماد. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد. — contains this text (case-insensitive)."},"name":"symbol__like","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"producer — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer","description":"producer — exact match; comma-separate several values, `null` for NULL."},"name":"producer","in":"query"},{"description":"contract_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Type","description":"contract_type — exact match; comma-separate several values, `null` for NULL."},"name":"contract_type","in":"query"},{"description":"lowest_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lowest Price","description":"lowest_price — exact match; comma-separate several values, `null` for NULL."},"name":"lowest_price","in":"query"},{"description":"lowest_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lowest Price  Gte","description":"lowest_price — minimum (inclusive)."},"name":"lowest_price__gte","in":"query"},{"description":"lowest_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lowest Price  Lte","description":"lowest_price — maximum (inclusive)."},"name":"lowest_price__lte","in":"query"},{"description":"closing_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Closing Price","description":"closing_price — exact match; comma-separate several values, `null` for NULL."},"name":"closing_price","in":"query"},{"description":"closing_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Closing Price  Gte","description":"closing_price — minimum (inclusive)."},"name":"closing_price__gte","in":"query"},{"description":"closing_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Closing Price  Lte","description":"closing_price — maximum (inclusive)."},"name":"closing_price__lte","in":"query"},{"description":"highest_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Highest Price","description":"highest_price — exact match; comma-separate several values, `null` for NULL."},"name":"highest_price","in":"query"},{"description":"highest_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Highest Price  Gte","description":"highest_price — minimum (inclusive)."},"name":"highest_price__gte","in":"query"},{"description":"highest_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Highest Price  Lte","description":"highest_price — maximum (inclusive)."},"name":"highest_price__lte","in":"query"},{"description":"supply_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Volume","description":"supply_volume — exact match; comma-separate several values, `null` for NULL."},"name":"supply_volume","in":"query"},{"description":"supply_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Gte","description":"supply_volume — minimum (inclusive)."},"name":"supply_volume__gte","in":"query"},{"description":"supply_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Lte","description":"supply_volume — maximum (inclusive)."},"name":"supply_volume__lte","in":"query"},{"description":"base_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price","description":"base_price — exact match; comma-separate several values, `null` for NULL."},"name":"base_price","in":"query"},{"description":"base_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Gte","description":"base_price — minimum (inclusive)."},"name":"base_price__gte","in":"query"},{"description":"base_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Lte","description":"base_price — maximum (inclusive)."},"name":"base_price__lte","in":"query"},{"description":"demand_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Demand Volume","description":"demand_volume — exact match; comma-separate several values, `null` for NULL."},"name":"demand_volume","in":"query"},{"description":"demand_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Demand Volume  Gte","description":"demand_volume — minimum (inclusive)."},"name":"demand_volume__gte","in":"query"},{"description":"demand_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Demand Volume  Lte","description":"demand_volume — maximum (inclusive)."},"name":"demand_volume__lte","in":"query"},{"description":"contract_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Volume","description":"contract_volume — exact match; comma-separate several values, `null` for NULL."},"name":"contract_volume","in":"query"},{"description":"contract_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Contract Volume  Gte","description":"contract_volume — minimum (inclusive)."},"name":"contract_volume__gte","in":"query"},{"description":"contract_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Contract Volume  Lte","description":"contract_volume — maximum (inclusive)."},"name":"contract_volume__lte","in":"query"},{"description":"transaction_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Value","description":"transaction_value — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_value","in":"query"},{"description":"transaction_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Value  Gte","description":"transaction_value — minimum (inclusive)."},"name":"transaction_value__gte","in":"query"},{"description":"transaction_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Value  Lte","description":"transaction_value — maximum (inclusive)."},"name":"transaction_value__lte","in":"query"},{"description":"تاریخ معامله. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Date","description":"تاریخ معامله. — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_date","in":"query"},{"description":"تاریخ معامله. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Gte","description":"تاریخ معامله. — minimum (inclusive)."},"name":"transaction_date__gte","in":"query"},{"description":"تاریخ معامله. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Lte","description":"تاریخ معامله. — maximum (inclusive)."},"name":"transaction_date__lte","in":"query"},{"description":"delivery_date — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Date","description":"delivery_date — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_date","in":"query"},{"description":"delivery_date — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date  Gte","description":"delivery_date — minimum (inclusive)."},"name":"delivery_date__gte","in":"query"},{"description":"delivery_date — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date  Lte","description":"delivery_date — maximum (inclusive)."},"name":"delivery_date__lte","in":"query"},{"description":"delivery_location — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Location","description":"delivery_location — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_location","in":"query"},{"description":"supplier — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier","description":"supplier — exact match; comma-separate several values, `null` for NULL."},"name":"supplier","in":"query"},{"description":"settlement_date — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Settlement Date","description":"settlement_date — exact match; comma-separate several values, `null` for NULL."},"name":"settlement_date","in":"query"},{"description":"settlement_date — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Settlement Date  Gte","description":"settlement_date — minimum (inclusive)."},"name":"settlement_date__gte","in":"query"},{"description":"settlement_date — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Settlement Date  Lte","description":"settlement_date — maximum (inclusive)."},"name":"settlement_date__lte","in":"query"},{"description":"broker — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Broker","description":"broker — exact match; comma-separate several values, `null` for NULL."},"name":"broker","in":"query"},{"description":"supply_method — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Method","description":"supply_method — exact match; comma-separate several values, `null` for NULL."},"name":"supply_method","in":"query"},{"description":"purchase_method — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Purchase Method","description":"purchase_method — exact match; comma-separate several values, `null` for NULL."},"name":"purchase_method","in":"query"},{"description":"daily_settlement_rate — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Daily Settlement Rate","description":"daily_settlement_rate — exact match; comma-separate several values, `null` for NULL."},"name":"daily_settlement_rate","in":"query"},{"description":"daily_settlement_rate — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Daily Settlement Rate  Gte","description":"daily_settlement_rate — minimum (inclusive)."},"name":"daily_settlement_rate__gte","in":"query"},{"description":"daily_settlement_rate — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Daily Settlement Rate  Lte","description":"daily_settlement_rate — maximum (inclusive)."},"name":"daily_settlement_rate__lte","in":"query"},{"description":"currency_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency Type","description":"currency_type — exact match; comma-separate several values, `null` for NULL."},"name":"currency_type","in":"query"},{"description":"unit — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit","description":"unit — exact match; comma-separate several values, `null` for NULL."},"name":"unit","in":"query"},{"description":"supply_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Code","description":"supply_code — exact match; comma-separate several values, `null` for NULL."},"name":"supply_code","in":"query"},{"description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Created At","description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"created_at","in":"query"},{"description":"زمان ثبت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Gte","description":"زمان ثبت. — minimum (inclusive)."},"name":"created_at__gte","in":"query"},{"description":"زمان ثبت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Lte","description":"زمان ثبت. — maximum (inclusive)."},"name":"created_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"product_name":{"type":"string","description":"نام کالا.","nullable":true},"symbol":{"type":"string","description":"نماد.","nullable":true},"market":{"type":"string","nullable":true},"producer":{"type":"string","nullable":true},"contract_type":{"type":"string","nullable":true},"lowest_price":{"type":"integer","nullable":true},"closing_price":{"type":"integer","nullable":true},"highest_price":{"type":"integer","nullable":true},"supply_volume":{"type":"integer","nullable":true},"base_price":{"type":"integer","nullable":true},"demand_volume":{"type":"integer","nullable":true},"contract_volume":{"type":"integer","nullable":true},"transaction_value":{"type":"integer","nullable":true},"transaction_date":{"type":"string","format":"date","description":"تاریخ معامله.","nullable":true},"delivery_date":{"type":"string","format":"date","nullable":true},"delivery_location":{"type":"string","nullable":true},"supplier":{"type":"string","nullable":true},"settlement_date":{"type":"string","format":"date","nullable":true},"broker":{"type":"string","nullable":true},"supply_method":{"type":"string","nullable":true},"purchase_method":{"type":"string","nullable":true},"daily_settlement_rate":{"type":"number","nullable":true},"currency_type":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"supply_code":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","description":"زمان ثبت.","nullable":true},"transaction_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ime/premium-trades":{"get":{"tags":["ime-iee"],"summary":"معاملات پریمیوم بورس کالا — IME premium","description":"معاملات پریمیوم بورس کالا. پراکنده است: آخرین روز معامله ۱۴۰۴/۱۰/۰۹ (۲۰۲۵-۱۲-۳۰)؛ منبع برای ۱۴۰۴/۱۰/۱۰ تا\n۱۴۰۵/۰۸/۰۴ فهرست خالی می‌دهد، یعنی نبودنِ روز = معامله‌ای نبوده، نه خرابی. تاریخچه ناقص است: کلید یکتای جدول (نماد، روز، تولیدکننده،\nقیمت، حجم) چند معاملهٔ هم‌قیمت را یکی می‌کند (۱۳۹۹/۱۲/۲۵: منبع ۷۰ معامله و ۱٫۳۸ میلیون تن، جدول ۵۴ و ۹۲۰ هزار تن). ۳۶ از ۲۴۷ ردیف\nقیمت و حجم ۰ دارند (خط بی‌معامله).\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `product_name` | text | نام کالا. |\n| `symbol` | text | نماد. |\n| `producer` | text |  |\n| `contract_type` | text |  |\n| `weighted_average_price` | int |  |\n| `transaction_value` | int |  |\n| `highest_price` | int |  |\n| `supply_volume` | int |  |\n| `base_price` | int |  |\n| `demand_volume` | int |  |\n| `transaction_volume` | int |  |\n| `transaction_date` | date | تاریخ معامله. |\n| `supplier` | text |  |\n| `broker` | text |  |\n| `lowest_price` | int |  |\n| `currency` | text |  |\n| `unit` | text |  |\n| `created_at` | ts | زمان ثبت. |\n| `transaction_date_jalali` | text | تاریخ شمسی (Jalali) همین رکورد — Jalali date. |","operationId":"list_ime_premium_trades","parameters":[{"description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`.","required":false,"schema":{"type":"string","title":"From","description":"Start of the period, **inclusive** (`transaction_date`). Gregorian `2026-03-21` or Jalali `1405/01/01`."},"name":"from","in":"query"},{"description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali.","required":false,"schema":{"type":"string","title":"To","description":"End of the period, **inclusive** — a date-only value covers the whole day. Gregorian or Jalali."},"name":"to","in":"query"},{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `transaction_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `transaction_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"نام کالا. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Product Name","description":"نام کالا. — exact match; `null` for NULL."},"name":"product_name","in":"query"},{"description":"نام کالا. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal).","required":false,"schema":{"type":"string","title":"Product Name  Like","description":"نام کالا. — contains this text (case-insensitive, Persian/Arabic letter forms are treated as equal)."},"name":"product_name__like","in":"query"},{"description":"نماد. — exact match; `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol","description":"نماد. — exact match; `null` for NULL."},"name":"symbol","in":"query"},{"description":"نماد. — contains this text (case-insensitive).","required":false,"schema":{"type":"string","title":"Symbol  Like","description":"نماد. — contains this text (case-insensitive)."},"name":"symbol__like","in":"query"},{"description":"producer — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer","description":"producer — exact match; comma-separate several values, `null` for NULL."},"name":"producer","in":"query"},{"description":"contract_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Type","description":"contract_type — exact match; comma-separate several values, `null` for NULL."},"name":"contract_type","in":"query"},{"description":"weighted_average_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Weighted Average Price","description":"weighted_average_price — exact match; comma-separate several values, `null` for NULL."},"name":"weighted_average_price","in":"query"},{"description":"weighted_average_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Weighted Average Price  Gte","description":"weighted_average_price — minimum (inclusive)."},"name":"weighted_average_price__gte","in":"query"},{"description":"weighted_average_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Weighted Average Price  Lte","description":"weighted_average_price — maximum (inclusive)."},"name":"weighted_average_price__lte","in":"query"},{"description":"transaction_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Value","description":"transaction_value — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_value","in":"query"},{"description":"transaction_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Value  Gte","description":"transaction_value — minimum (inclusive)."},"name":"transaction_value__gte","in":"query"},{"description":"transaction_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Value  Lte","description":"transaction_value — maximum (inclusive)."},"name":"transaction_value__lte","in":"query"},{"description":"highest_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Highest Price","description":"highest_price — exact match; comma-separate several values, `null` for NULL."},"name":"highest_price","in":"query"},{"description":"highest_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Highest Price  Gte","description":"highest_price — minimum (inclusive)."},"name":"highest_price__gte","in":"query"},{"description":"highest_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Highest Price  Lte","description":"highest_price — maximum (inclusive)."},"name":"highest_price__lte","in":"query"},{"description":"supply_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supply Volume","description":"supply_volume — exact match; comma-separate several values, `null` for NULL."},"name":"supply_volume","in":"query"},{"description":"supply_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Gte","description":"supply_volume — minimum (inclusive)."},"name":"supply_volume__gte","in":"query"},{"description":"supply_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Supply Volume  Lte","description":"supply_volume — maximum (inclusive)."},"name":"supply_volume__lte","in":"query"},{"description":"base_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price","description":"base_price — exact match; comma-separate several values, `null` for NULL."},"name":"base_price","in":"query"},{"description":"base_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Gte","description":"base_price — minimum (inclusive)."},"name":"base_price__gte","in":"query"},{"description":"base_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Lte","description":"base_price — maximum (inclusive)."},"name":"base_price__lte","in":"query"},{"description":"demand_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Demand Volume","description":"demand_volume — exact match; comma-separate several values, `null` for NULL."},"name":"demand_volume","in":"query"},{"description":"demand_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Demand Volume  Gte","description":"demand_volume — minimum (inclusive)."},"name":"demand_volume__gte","in":"query"},{"description":"demand_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Demand Volume  Lte","description":"demand_volume — maximum (inclusive)."},"name":"demand_volume__lte","in":"query"},{"description":"transaction_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Volume","description":"transaction_volume — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_volume","in":"query"},{"description":"transaction_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Volume  Gte","description":"transaction_volume — minimum (inclusive)."},"name":"transaction_volume__gte","in":"query"},{"description":"transaction_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Volume  Lte","description":"transaction_volume — maximum (inclusive)."},"name":"transaction_volume__lte","in":"query"},{"description":"تاریخ معامله. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Transaction Date","description":"تاریخ معامله. — exact match; comma-separate several values, `null` for NULL."},"name":"transaction_date","in":"query"},{"description":"تاریخ معامله. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Gte","description":"تاریخ معامله. — minimum (inclusive)."},"name":"transaction_date__gte","in":"query"},{"description":"تاریخ معامله. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Transaction Date  Lte","description":"تاریخ معامله. — maximum (inclusive)."},"name":"transaction_date__lte","in":"query"},{"description":"supplier — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier","description":"supplier — exact match; comma-separate several values, `null` for NULL."},"name":"supplier","in":"query"},{"description":"broker — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Broker","description":"broker — exact match; comma-separate several values, `null` for NULL."},"name":"broker","in":"query"},{"description":"lowest_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lowest Price","description":"lowest_price — exact match; comma-separate several values, `null` for NULL."},"name":"lowest_price","in":"query"},{"description":"lowest_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lowest Price  Gte","description":"lowest_price — minimum (inclusive)."},"name":"lowest_price__gte","in":"query"},{"description":"lowest_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lowest Price  Lte","description":"lowest_price — maximum (inclusive)."},"name":"lowest_price__lte","in":"query"},{"description":"currency — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency","description":"currency — exact match; comma-separate several values, `null` for NULL."},"name":"currency","in":"query"},{"description":"unit — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit","description":"unit — exact match; comma-separate several values, `null` for NULL."},"name":"unit","in":"query"},{"description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Created At","description":"زمان ثبت. — exact match; comma-separate several values, `null` for NULL."},"name":"created_at","in":"query"},{"description":"زمان ثبت. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Gte","description":"زمان ثبت. — minimum (inclusive)."},"name":"created_at__gte","in":"query"},{"description":"زمان ثبت. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Created At  Lte","description":"زمان ثبت. — maximum (inclusive)."},"name":"created_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"product_name":{"type":"string","description":"نام کالا.","nullable":true},"symbol":{"type":"string","description":"نماد.","nullable":true},"producer":{"type":"string","nullable":true},"contract_type":{"type":"string","nullable":true},"weighted_average_price":{"type":"integer","nullable":true},"transaction_value":{"type":"integer","nullable":true},"highest_price":{"type":"integer","nullable":true},"supply_volume":{"type":"integer","nullable":true},"base_price":{"type":"integer","nullable":true},"demand_volume":{"type":"integer","nullable":true},"transaction_volume":{"type":"integer","nullable":true},"transaction_date":{"type":"string","format":"date","description":"تاریخ معامله.","nullable":true},"supplier":{"type":"string","nullable":true},"broker":{"type":"string","nullable":true},"lowest_price":{"type":"integer","nullable":true},"currency":{"type":"string","nullable":true},"unit":{"type":"string","nullable":true},"created_at":{"type":"string","format":"date-time","description":"زمان ثبت.","nullable":true},"transaction_date_jalali":{"type":"string","description":"تاریخ شمسی (Jalali) همین رکورد — Jalali date.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/announcements":{"get":{"tags":["ime-iee"],"summary":"اطلاعیه‌های بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `source` | text |  |\n| `iee_id` | int |  |\n| `title` | text |  |\n| `description` | text |  |\n| `target_market_name` | text |  |\n| `board_name` | text |  |\n| `publisher_id` | int |  |\n| `publisher_name` | text |  |\n| `basic_asset` | text |  |\n| `announcement_type` | text |  |\n| `priority` | int |  |\n| `date_shamsi` | text | تاریخ (شمسی). |\n| `file_name` | text |  |\n| `file_size` | int |  |\n| `content_type` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_announcements","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `date_shamsi`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `date_shamsi`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"source — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source","description":"source — exact match; comma-separate several values, `null` for NULL."},"name":"source","in":"query"},{"description":"iee_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Iee Id","description":"iee_id — exact match; comma-separate several values, `null` for NULL."},"name":"iee_id","in":"query"},{"description":"iee_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Iee Id  Gte","description":"iee_id — minimum (inclusive)."},"name":"iee_id__gte","in":"query"},{"description":"iee_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Iee Id  Lte","description":"iee_id — maximum (inclusive)."},"name":"iee_id__lte","in":"query"},{"description":"title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"title — exact match; comma-separate several values, `null` for NULL."},"name":"title","in":"query"},{"description":"description — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Description","description":"description — exact match; comma-separate several values, `null` for NULL."},"name":"description","in":"query"},{"description":"target_market_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Target Market Name","description":"target_market_name — exact match; comma-separate several values, `null` for NULL."},"name":"target_market_name","in":"query"},{"description":"board_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Board Name","description":"board_name — exact match; comma-separate several values, `null` for NULL."},"name":"board_name","in":"query"},{"description":"publisher_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Publisher Id","description":"publisher_id — exact match; comma-separate several values, `null` for NULL."},"name":"publisher_id","in":"query"},{"description":"publisher_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Publisher Id  Gte","description":"publisher_id — minimum (inclusive)."},"name":"publisher_id__gte","in":"query"},{"description":"publisher_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Publisher Id  Lte","description":"publisher_id — maximum (inclusive)."},"name":"publisher_id__lte","in":"query"},{"description":"publisher_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Publisher Name","description":"publisher_name — exact match; comma-separate several values, `null` for NULL."},"name":"publisher_name","in":"query"},{"description":"basic_asset — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Basic Asset","description":"basic_asset — exact match; comma-separate several values, `null` for NULL."},"name":"basic_asset","in":"query"},{"description":"announcement_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Announcement Type","description":"announcement_type — exact match; comma-separate several values, `null` for NULL."},"name":"announcement_type","in":"query"},{"description":"priority — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Priority","description":"priority — exact match; comma-separate several values, `null` for NULL."},"name":"priority","in":"query"},{"description":"priority — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Priority  Gte","description":"priority — minimum (inclusive)."},"name":"priority__gte","in":"query"},{"description":"priority — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Priority  Lte","description":"priority — maximum (inclusive)."},"name":"priority__lte","in":"query"},{"description":"تاریخ (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Date Shamsi","description":"تاریخ (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"date_shamsi","in":"query"},{"description":"تاریخ (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Date Shamsi  Gte","description":"تاریخ (شمسی). — minimum (inclusive)."},"name":"date_shamsi__gte","in":"query"},{"description":"تاریخ (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Date Shamsi  Lte","description":"تاریخ (شمسی). — maximum (inclusive)."},"name":"date_shamsi__lte","in":"query"},{"description":"file_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Name","description":"file_name — exact match; comma-separate several values, `null` for NULL."},"name":"file_name","in":"query"},{"description":"file_size — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Size","description":"file_size — exact match; comma-separate several values, `null` for NULL."},"name":"file_size","in":"query"},{"description":"file_size — minimum (inclusive).","required":false,"schema":{"type":"string","title":"File Size  Gte","description":"file_size — minimum (inclusive)."},"name":"file_size__gte","in":"query"},{"description":"file_size — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Size  Lte","description":"file_size — maximum (inclusive)."},"name":"file_size__lte","in":"query"},{"description":"content_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Content Type","description":"content_type — exact match; comma-separate several values, `null` for NULL."},"name":"content_type","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"source":{"type":"string"},"iee_id":{"type":"integer"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"target_market_name":{"type":"string","nullable":true},"board_name":{"type":"string","nullable":true},"publisher_id":{"type":"integer","nullable":true},"publisher_name":{"type":"string","nullable":true},"basic_asset":{"type":"string","nullable":true},"announcement_type":{"type":"string","nullable":true},"priority":{"type":"integer","nullable":true},"date_shamsi":{"type":"string","description":"تاریخ (شمسی).","nullable":true},"file_name":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true},"content_type":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/daily-glance":{"get":{"tags":["ime-iee"],"summary":"یک نگاه به بازار هر روز (بورس انرژی) — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `market` | text |  |\n| `trade_date_shamsi` | text | تاریخ روز (برخلاف نام ستون، میلادی ISO است). |\n| `market_state` | text |  |\n| `total_trades_value` | num |  |\n| `total_trades_value_dollars` | num |  |\n| `total_trades_count` | int |  |\n| `total_trades_volume` | num |  |\n| `added_trades_count` | int |  |\n| `added_trades_value` | num |  |\n| `kilo_watt_hours` | num |  |\n| `currency_rate` | num |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_daily_glance","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date_shamsi`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date_shamsi`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Date Shamsi","description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است). — exact match; comma-separate several values, `null` for NULL."},"name":"trade_date_shamsi","in":"query"},{"description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date Shamsi  Gte","description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است). — minimum (inclusive)."},"name":"trade_date_shamsi__gte","in":"query"},{"description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date Shamsi  Lte","description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است). — maximum (inclusive)."},"name":"trade_date_shamsi__lte","in":"query"},{"description":"market_state — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market State","description":"market_state — exact match; comma-separate several values, `null` for NULL."},"name":"market_state","in":"query"},{"description":"total_trades_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Trades Value","description":"total_trades_value — exact match; comma-separate several values, `null` for NULL."},"name":"total_trades_value","in":"query"},{"description":"total_trades_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Value  Gte","description":"total_trades_value — minimum (inclusive)."},"name":"total_trades_value__gte","in":"query"},{"description":"total_trades_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Value  Lte","description":"total_trades_value — maximum (inclusive)."},"name":"total_trades_value__lte","in":"query"},{"description":"total_trades_value_dollars — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Trades Value Dollars","description":"total_trades_value_dollars — exact match; comma-separate several values, `null` for NULL."},"name":"total_trades_value_dollars","in":"query"},{"description":"total_trades_value_dollars — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Value Dollars  Gte","description":"total_trades_value_dollars — minimum (inclusive)."},"name":"total_trades_value_dollars__gte","in":"query"},{"description":"total_trades_value_dollars — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Value Dollars  Lte","description":"total_trades_value_dollars — maximum (inclusive)."},"name":"total_trades_value_dollars__lte","in":"query"},{"description":"total_trades_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Trades Count","description":"total_trades_count — exact match; comma-separate several values, `null` for NULL."},"name":"total_trades_count","in":"query"},{"description":"total_trades_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Count  Gte","description":"total_trades_count — minimum (inclusive)."},"name":"total_trades_count__gte","in":"query"},{"description":"total_trades_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Count  Lte","description":"total_trades_count — maximum (inclusive)."},"name":"total_trades_count__lte","in":"query"},{"description":"total_trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Trades Volume","description":"total_trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"total_trades_volume","in":"query"},{"description":"total_trades_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Volume  Gte","description":"total_trades_volume — minimum (inclusive)."},"name":"total_trades_volume__gte","in":"query"},{"description":"total_trades_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Trades Volume  Lte","description":"total_trades_volume — maximum (inclusive)."},"name":"total_trades_volume__lte","in":"query"},{"description":"added_trades_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Added Trades Count","description":"added_trades_count — exact match; comma-separate several values, `null` for NULL."},"name":"added_trades_count","in":"query"},{"description":"added_trades_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Added Trades Count  Gte","description":"added_trades_count — minimum (inclusive)."},"name":"added_trades_count__gte","in":"query"},{"description":"added_trades_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Added Trades Count  Lte","description":"added_trades_count — maximum (inclusive)."},"name":"added_trades_count__lte","in":"query"},{"description":"added_trades_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Added Trades Value","description":"added_trades_value — exact match; comma-separate several values, `null` for NULL."},"name":"added_trades_value","in":"query"},{"description":"added_trades_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Added Trades Value  Gte","description":"added_trades_value — minimum (inclusive)."},"name":"added_trades_value__gte","in":"query"},{"description":"added_trades_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Added Trades Value  Lte","description":"added_trades_value — maximum (inclusive)."},"name":"added_trades_value__lte","in":"query"},{"description":"kilo_watt_hours — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Kilo Watt Hours","description":"kilo_watt_hours — exact match; comma-separate several values, `null` for NULL."},"name":"kilo_watt_hours","in":"query"},{"description":"kilo_watt_hours — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Kilo Watt Hours  Gte","description":"kilo_watt_hours — minimum (inclusive)."},"name":"kilo_watt_hours__gte","in":"query"},{"description":"kilo_watt_hours — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Kilo Watt Hours  Lte","description":"kilo_watt_hours — maximum (inclusive)."},"name":"kilo_watt_hours__lte","in":"query"},{"description":"currency_rate — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency Rate","description":"currency_rate — exact match; comma-separate several values, `null` for NULL."},"name":"currency_rate","in":"query"},{"description":"currency_rate — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Currency Rate  Gte","description":"currency_rate — minimum (inclusive)."},"name":"currency_rate__gte","in":"query"},{"description":"currency_rate — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Currency Rate  Lte","description":"currency_rate — maximum (inclusive)."},"name":"currency_rate__lte","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"market":{"type":"string"},"trade_date_shamsi":{"type":"string","description":"تاریخ روز (برخلاف نام ستون، میلادی ISO است)."},"market_state":{"type":"string","nullable":true},"total_trades_value":{"type":"number","nullable":true},"total_trades_value_dollars":{"type":"number","nullable":true},"total_trades_count":{"type":"integer","nullable":true},"total_trades_volume":{"type":"number","nullable":true},"added_trades_count":{"type":"integer","nullable":true},"added_trades_value":{"type":"number","nullable":true},"kilo_watt_hours":{"type":"number","nullable":true},"currency_rate":{"type":"number","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/derivative-contracts":{"get":{"tags":["ime-iee"],"summary":"قراردادهای مشتقه بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `market` | text |  |\n| `ins_code` | text |  |\n| `symbol_code` | text |  |\n| `symbol_name` | text |  |\n| `contract_type` | text |  |\n| `delivery_date_shamsi` | text | تاریخ تحویل (شمسی). |\n| `last_price` | num |  |\n| `close_price` | num |  |\n| `yesterday_price` | num |  |\n| `trades_count` | int |  |\n| `trades_volume` | num |  |\n| `trade_value` | num |  |\n| `open_positions_count` | int |  |\n| `best_buy_price` | num |  |\n| `best_buy_volume` | num |  |\n| `best_sell_price` | num |  |\n| `best_sell_volume` | num |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_derivative_contracts","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"ins_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ins Code","description":"ins_code — exact match; comma-separate several values, `null` for NULL."},"name":"ins_code","in":"query"},{"description":"symbol_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Code","description":"symbol_code — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_code","in":"query"},{"description":"symbol_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Name","description":"symbol_name — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_name","in":"query"},{"description":"contract_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Type","description":"contract_type — exact match; comma-separate several values, `null` for NULL."},"name":"contract_type","in":"query"},{"description":"تاریخ تحویل (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Date Shamsi","description":"تاریخ تحویل (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_date_shamsi","in":"query"},{"description":"تاریخ تحویل (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date Shamsi  Gte","description":"تاریخ تحویل (شمسی). — minimum (inclusive)."},"name":"delivery_date_shamsi__gte","in":"query"},{"description":"تاریخ تحویل (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Delivery Date Shamsi  Lte","description":"تاریخ تحویل (شمسی). — maximum (inclusive)."},"name":"delivery_date_shamsi__lte","in":"query"},{"description":"last_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Price","description":"last_price — exact match; comma-separate several values, `null` for NULL."},"name":"last_price","in":"query"},{"description":"last_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Gte","description":"last_price — minimum (inclusive)."},"name":"last_price__gte","in":"query"},{"description":"last_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Lte","description":"last_price — maximum (inclusive)."},"name":"last_price__lte","in":"query"},{"description":"close_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close Price","description":"close_price — exact match; comma-separate several values, `null` for NULL."},"name":"close_price","in":"query"},{"description":"close_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Gte","description":"close_price — minimum (inclusive)."},"name":"close_price__gte","in":"query"},{"description":"close_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Lte","description":"close_price — maximum (inclusive)."},"name":"close_price__lte","in":"query"},{"description":"yesterday_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Yesterday Price","description":"yesterday_price — exact match; comma-separate several values, `null` for NULL."},"name":"yesterday_price","in":"query"},{"description":"yesterday_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Gte","description":"yesterday_price — minimum (inclusive)."},"name":"yesterday_price__gte","in":"query"},{"description":"yesterday_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Lte","description":"yesterday_price — maximum (inclusive)."},"name":"yesterday_price__lte","in":"query"},{"description":"trades_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Count","description":"trades_count — exact match; comma-separate several values, `null` for NULL."},"name":"trades_count","in":"query"},{"description":"trades_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Gte","description":"trades_count — minimum (inclusive)."},"name":"trades_count__gte","in":"query"},{"description":"trades_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Lte","description":"trades_count — maximum (inclusive)."},"name":"trades_count__lte","in":"query"},{"description":"trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Volume","description":"trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"trades_volume","in":"query"},{"description":"trades_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Gte","description":"trades_volume — minimum (inclusive)."},"name":"trades_volume__gte","in":"query"},{"description":"trades_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Lte","description":"trades_volume — maximum (inclusive)."},"name":"trades_volume__lte","in":"query"},{"description":"trade_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Value","description":"trade_value — exact match; comma-separate several values, `null` for NULL."},"name":"trade_value","in":"query"},{"description":"trade_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Gte","description":"trade_value — minimum (inclusive)."},"name":"trade_value__gte","in":"query"},{"description":"trade_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Lte","description":"trade_value — maximum (inclusive)."},"name":"trade_value__lte","in":"query"},{"description":"open_positions_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Open Positions Count","description":"open_positions_count — exact match; comma-separate several values, `null` for NULL."},"name":"open_positions_count","in":"query"},{"description":"open_positions_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Open Positions Count  Gte","description":"open_positions_count — minimum (inclusive)."},"name":"open_positions_count__gte","in":"query"},{"description":"open_positions_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Open Positions Count  Lte","description":"open_positions_count — maximum (inclusive)."},"name":"open_positions_count__lte","in":"query"},{"description":"best_buy_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Buy Price","description":"best_buy_price — exact match; comma-separate several values, `null` for NULL."},"name":"best_buy_price","in":"query"},{"description":"best_buy_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Buy Price  Gte","description":"best_buy_price — minimum (inclusive)."},"name":"best_buy_price__gte","in":"query"},{"description":"best_buy_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Buy Price  Lte","description":"best_buy_price — maximum (inclusive)."},"name":"best_buy_price__lte","in":"query"},{"description":"best_buy_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Buy Volume","description":"best_buy_volume — exact match; comma-separate several values, `null` for NULL."},"name":"best_buy_volume","in":"query"},{"description":"best_buy_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Buy Volume  Gte","description":"best_buy_volume — minimum (inclusive)."},"name":"best_buy_volume__gte","in":"query"},{"description":"best_buy_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Buy Volume  Lte","description":"best_buy_volume — maximum (inclusive)."},"name":"best_buy_volume__lte","in":"query"},{"description":"best_sell_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Sell Price","description":"best_sell_price — exact match; comma-separate several values, `null` for NULL."},"name":"best_sell_price","in":"query"},{"description":"best_sell_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Sell Price  Gte","description":"best_sell_price — minimum (inclusive)."},"name":"best_sell_price__gte","in":"query"},{"description":"best_sell_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Sell Price  Lte","description":"best_sell_price — maximum (inclusive)."},"name":"best_sell_price__lte","in":"query"},{"description":"best_sell_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Best Sell Volume","description":"best_sell_volume — exact match; comma-separate several values, `null` for NULL."},"name":"best_sell_volume","in":"query"},{"description":"best_sell_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Best Sell Volume  Gte","description":"best_sell_volume — minimum (inclusive)."},"name":"best_sell_volume__gte","in":"query"},{"description":"best_sell_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Best Sell Volume  Lte","description":"best_sell_volume — maximum (inclusive)."},"name":"best_sell_volume__lte","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"market":{"type":"string"},"ins_code":{"type":"string"},"symbol_code":{"type":"string","nullable":true},"symbol_name":{"type":"string","nullable":true},"contract_type":{"type":"string","nullable":true},"delivery_date_shamsi":{"type":"string","description":"تاریخ تحویل (شمسی).","nullable":true},"last_price":{"type":"number","nullable":true},"close_price":{"type":"number","nullable":true},"yesterday_price":{"type":"number","nullable":true},"trades_count":{"type":"integer","nullable":true},"trades_volume":{"type":"number","nullable":true},"trade_value":{"type":"number","nullable":true},"open_positions_count":{"type":"integer","nullable":true},"best_buy_price":{"type":"number","nullable":true},"best_buy_volume":{"type":"number","nullable":true},"best_sell_price":{"type":"number","nullable":true},"best_sell_volume":{"type":"number","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/derivative-stats":{"get":{"tags":["ime-iee"],"summary":"آمار روزانه مشتقه بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `market` | text |  |\n| `ins_code` | text |  |\n| `symbol_code` | text |  |\n| `symbol_name` | text |  |\n| `trade_date` | text | تاریخ معامله (شمسی). |\n| `first_price` | num |  |\n| `max_price` | num |  |\n| `min_price` | num |  |\n| `last_price` | num |  |\n| `close_price` | num |  |\n| `yesterday_price` | num |  |\n| `trades_count` | int |  |\n| `trades_volume` | num |  |\n| `trade_value` | num |  |\n| `trade_value_dollars` | num |  |\n| `price_change` | num |  |\n| `price_change_percent` | text |  |\n| `open_positions_count` | int |  |\n| `currency_rate` | num |  |\n| `energy_symbol` | text |  |\n| `last_state` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_derivative_stats","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"ins_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ins Code","description":"ins_code — exact match; comma-separate several values, `null` for NULL."},"name":"ins_code","in":"query"},{"description":"symbol_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Code","description":"symbol_code — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_code","in":"query"},{"description":"symbol_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Name","description":"symbol_name — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_name","in":"query"},{"description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Date","description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"trade_date","in":"query"},{"description":"تاریخ معامله (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date  Gte","description":"تاریخ معامله (شمسی). — minimum (inclusive)."},"name":"trade_date__gte","in":"query"},{"description":"تاریخ معامله (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date  Lte","description":"تاریخ معامله (شمسی). — maximum (inclusive)."},"name":"trade_date__lte","in":"query"},{"description":"first_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Price","description":"first_price — exact match; comma-separate several values, `null` for NULL."},"name":"first_price","in":"query"},{"description":"first_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Price  Gte","description":"first_price — minimum (inclusive)."},"name":"first_price__gte","in":"query"},{"description":"first_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Price  Lte","description":"first_price — maximum (inclusive)."},"name":"first_price__lte","in":"query"},{"description":"max_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Price","description":"max_price — exact match; comma-separate several values, `null` for NULL."},"name":"max_price","in":"query"},{"description":"max_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Gte","description":"max_price — minimum (inclusive)."},"name":"max_price__gte","in":"query"},{"description":"max_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Lte","description":"max_price — maximum (inclusive)."},"name":"max_price__lte","in":"query"},{"description":"min_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Price","description":"min_price — exact match; comma-separate several values, `null` for NULL."},"name":"min_price","in":"query"},{"description":"min_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Gte","description":"min_price — minimum (inclusive)."},"name":"min_price__gte","in":"query"},{"description":"min_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Lte","description":"min_price — maximum (inclusive)."},"name":"min_price__lte","in":"query"},{"description":"last_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Price","description":"last_price — exact match; comma-separate several values, `null` for NULL."},"name":"last_price","in":"query"},{"description":"last_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Gte","description":"last_price — minimum (inclusive)."},"name":"last_price__gte","in":"query"},{"description":"last_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Lte","description":"last_price — maximum (inclusive)."},"name":"last_price__lte","in":"query"},{"description":"close_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close Price","description":"close_price — exact match; comma-separate several values, `null` for NULL."},"name":"close_price","in":"query"},{"description":"close_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Gte","description":"close_price — minimum (inclusive)."},"name":"close_price__gte","in":"query"},{"description":"close_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Lte","description":"close_price — maximum (inclusive)."},"name":"close_price__lte","in":"query"},{"description":"yesterday_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Yesterday Price","description":"yesterday_price — exact match; comma-separate several values, `null` for NULL."},"name":"yesterday_price","in":"query"},{"description":"yesterday_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Gte","description":"yesterday_price — minimum (inclusive)."},"name":"yesterday_price__gte","in":"query"},{"description":"yesterday_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Lte","description":"yesterday_price — maximum (inclusive)."},"name":"yesterday_price__lte","in":"query"},{"description":"trades_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Count","description":"trades_count — exact match; comma-separate several values, `null` for NULL."},"name":"trades_count","in":"query"},{"description":"trades_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Gte","description":"trades_count — minimum (inclusive)."},"name":"trades_count__gte","in":"query"},{"description":"trades_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Lte","description":"trades_count — maximum (inclusive)."},"name":"trades_count__lte","in":"query"},{"description":"trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Volume","description":"trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"trades_volume","in":"query"},{"description":"trades_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Gte","description":"trades_volume — minimum (inclusive)."},"name":"trades_volume__gte","in":"query"},{"description":"trades_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Lte","description":"trades_volume — maximum (inclusive)."},"name":"trades_volume__lte","in":"query"},{"description":"trade_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Value","description":"trade_value — exact match; comma-separate several values, `null` for NULL."},"name":"trade_value","in":"query"},{"description":"trade_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Gte","description":"trade_value — minimum (inclusive)."},"name":"trade_value__gte","in":"query"},{"description":"trade_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Lte","description":"trade_value — maximum (inclusive)."},"name":"trade_value__lte","in":"query"},{"description":"trade_value_dollars — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Value Dollars","description":"trade_value_dollars — exact match; comma-separate several values, `null` for NULL."},"name":"trade_value_dollars","in":"query"},{"description":"trade_value_dollars — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value Dollars  Gte","description":"trade_value_dollars — minimum (inclusive)."},"name":"trade_value_dollars__gte","in":"query"},{"description":"trade_value_dollars — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value Dollars  Lte","description":"trade_value_dollars — maximum (inclusive)."},"name":"trade_value_dollars__lte","in":"query"},{"description":"price_change — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Change","description":"price_change — exact match; comma-separate several values, `null` for NULL."},"name":"price_change","in":"query"},{"description":"price_change — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price Change  Gte","description":"price_change — minimum (inclusive)."},"name":"price_change__gte","in":"query"},{"description":"price_change — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price Change  Lte","description":"price_change — maximum (inclusive)."},"name":"price_change__lte","in":"query"},{"description":"price_change_percent — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Change Percent","description":"price_change_percent — exact match; comma-separate several values, `null` for NULL."},"name":"price_change_percent","in":"query"},{"description":"open_positions_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Open Positions Count","description":"open_positions_count — exact match; comma-separate several values, `null` for NULL."},"name":"open_positions_count","in":"query"},{"description":"open_positions_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Open Positions Count  Gte","description":"open_positions_count — minimum (inclusive)."},"name":"open_positions_count__gte","in":"query"},{"description":"open_positions_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Open Positions Count  Lte","description":"open_positions_count — maximum (inclusive)."},"name":"open_positions_count__lte","in":"query"},{"description":"currency_rate — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency Rate","description":"currency_rate — exact match; comma-separate several values, `null` for NULL."},"name":"currency_rate","in":"query"},{"description":"currency_rate — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Currency Rate  Gte","description":"currency_rate — minimum (inclusive)."},"name":"currency_rate__gte","in":"query"},{"description":"currency_rate — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Currency Rate  Lte","description":"currency_rate — maximum (inclusive)."},"name":"currency_rate__lte","in":"query"},{"description":"energy_symbol — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Symbol","description":"energy_symbol — exact match; comma-separate several values, `null` for NULL."},"name":"energy_symbol","in":"query"},{"description":"last_state — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last State","description":"last_state — exact match; comma-separate several values, `null` for NULL."},"name":"last_state","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"market":{"type":"string"},"ins_code":{"type":"string"},"symbol_code":{"type":"string","nullable":true},"symbol_name":{"type":"string","nullable":true},"trade_date":{"type":"string","description":"تاریخ معامله (شمسی).","nullable":true},"first_price":{"type":"number","nullable":true},"max_price":{"type":"number","nullable":true},"min_price":{"type":"number","nullable":true},"last_price":{"type":"number","nullable":true},"close_price":{"type":"number","nullable":true},"yesterday_price":{"type":"number","nullable":true},"trades_count":{"type":"integer","nullable":true},"trades_volume":{"type":"number","nullable":true},"trade_value":{"type":"number","nullable":true},"trade_value_dollars":{"type":"number","nullable":true},"price_change":{"type":"number","nullable":true},"price_change_percent":{"type":"string","nullable":true},"open_positions_count":{"type":"integer","nullable":true},"currency_rate":{"type":"number","nullable":true},"energy_symbol":{"type":"string","nullable":true},"last_state":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/market-makers":{"get":{"tags":["ime-iee"],"summary":"بازارگردان‌های بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `iee_id` | int |  |\n| `instrument_id` | int |  |\n| `instrument_name` | text |  |\n| `market_maker_id` | text |  |\n| `market_maker_name` | text |  |\n| `market_maker_agent_id` | int |  |\n| `market_maker_agent_name` | text |  |\n| `start_date_shamsi` | text | شروع (شمسی). |\n| `end_date_shamsi` | text | پایان (شمسی). |\n| `due_date_shamsi` | text | سررسید (شمسی). |\n| `quota_range` | text |  |\n| `min_cumulative_order` | num |  |\n| `min_daily_trades_volume` | num |  |\n| `period_months` | int |  |\n| `status_code` | int |  |\n| `status_desc` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_market_makers","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"iee_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Iee Id","description":"iee_id — exact match; comma-separate several values, `null` for NULL."},"name":"iee_id","in":"query"},{"description":"iee_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Iee Id  Gte","description":"iee_id — minimum (inclusive)."},"name":"iee_id__gte","in":"query"},{"description":"iee_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Iee Id  Lte","description":"iee_id — maximum (inclusive)."},"name":"iee_id__lte","in":"query"},{"description":"instrument_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Instrument Id","description":"instrument_id — exact match; comma-separate several values, `null` for NULL."},"name":"instrument_id","in":"query"},{"description":"instrument_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Gte","description":"instrument_id — minimum (inclusive)."},"name":"instrument_id__gte","in":"query"},{"description":"instrument_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Instrument Id  Lte","description":"instrument_id — maximum (inclusive)."},"name":"instrument_id__lte","in":"query"},{"description":"instrument_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Instrument Name","description":"instrument_name — exact match; comma-separate several values, `null` for NULL."},"name":"instrument_name","in":"query"},{"description":"market_maker_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Maker Id","description":"market_maker_id — exact match; comma-separate several values, `null` for NULL."},"name":"market_maker_id","in":"query"},{"description":"market_maker_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Maker Name","description":"market_maker_name — exact match; comma-separate several values, `null` for NULL."},"name":"market_maker_name","in":"query"},{"description":"market_maker_agent_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Maker Agent Id","description":"market_maker_agent_id — exact match; comma-separate several values, `null` for NULL."},"name":"market_maker_agent_id","in":"query"},{"description":"market_maker_agent_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Market Maker Agent Id  Gte","description":"market_maker_agent_id — minimum (inclusive)."},"name":"market_maker_agent_id__gte","in":"query"},{"description":"market_maker_agent_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Market Maker Agent Id  Lte","description":"market_maker_agent_id — maximum (inclusive)."},"name":"market_maker_agent_id__lte","in":"query"},{"description":"market_maker_agent_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market Maker Agent Name","description":"market_maker_agent_name — exact match; comma-separate several values, `null` for NULL."},"name":"market_maker_agent_name","in":"query"},{"description":"شروع (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Start Date Shamsi","description":"شروع (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"start_date_shamsi","in":"query"},{"description":"شروع (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Start Date Shamsi  Gte","description":"شروع (شمسی). — minimum (inclusive)."},"name":"start_date_shamsi__gte","in":"query"},{"description":"شروع (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Start Date Shamsi  Lte","description":"شروع (شمسی). — maximum (inclusive)."},"name":"start_date_shamsi__lte","in":"query"},{"description":"پایان (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"End Date Shamsi","description":"پایان (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"end_date_shamsi","in":"query"},{"description":"پایان (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"End Date Shamsi  Gte","description":"پایان (شمسی). — minimum (inclusive)."},"name":"end_date_shamsi__gte","in":"query"},{"description":"پایان (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"End Date Shamsi  Lte","description":"پایان (شمسی). — maximum (inclusive)."},"name":"end_date_shamsi__lte","in":"query"},{"description":"سررسید (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Due Date Shamsi","description":"سررسید (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"due_date_shamsi","in":"query"},{"description":"سررسید (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Due Date Shamsi  Gte","description":"سررسید (شمسی). — minimum (inclusive)."},"name":"due_date_shamsi__gte","in":"query"},{"description":"سررسید (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Due Date Shamsi  Lte","description":"سررسید (شمسی). — maximum (inclusive)."},"name":"due_date_shamsi__lte","in":"query"},{"description":"quota_range — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Quota Range","description":"quota_range — exact match; comma-separate several values, `null` for NULL."},"name":"quota_range","in":"query"},{"description":"min_cumulative_order — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Cumulative Order","description":"min_cumulative_order — exact match; comma-separate several values, `null` for NULL."},"name":"min_cumulative_order","in":"query"},{"description":"min_cumulative_order — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Cumulative Order  Gte","description":"min_cumulative_order — minimum (inclusive)."},"name":"min_cumulative_order__gte","in":"query"},{"description":"min_cumulative_order — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Cumulative Order  Lte","description":"min_cumulative_order — maximum (inclusive)."},"name":"min_cumulative_order__lte","in":"query"},{"description":"min_daily_trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Daily Trades Volume","description":"min_daily_trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"min_daily_trades_volume","in":"query"},{"description":"min_daily_trades_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Daily Trades Volume  Gte","description":"min_daily_trades_volume — minimum (inclusive)."},"name":"min_daily_trades_volume__gte","in":"query"},{"description":"min_daily_trades_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Daily Trades Volume  Lte","description":"min_daily_trades_volume — maximum (inclusive)."},"name":"min_daily_trades_volume__lte","in":"query"},{"description":"period_months — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period Months","description":"period_months — exact match; comma-separate several values, `null` for NULL."},"name":"period_months","in":"query"},{"description":"period_months — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Period Months  Gte","description":"period_months — minimum (inclusive)."},"name":"period_months__gte","in":"query"},{"description":"period_months — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Period Months  Lte","description":"period_months — maximum (inclusive)."},"name":"period_months__lte","in":"query"},{"description":"status_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status Code","description":"status_code — exact match; comma-separate several values, `null` for NULL."},"name":"status_code","in":"query"},{"description":"status_code — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Status Code  Gte","description":"status_code — minimum (inclusive)."},"name":"status_code__gte","in":"query"},{"description":"status_code — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Status Code  Lte","description":"status_code — maximum (inclusive)."},"name":"status_code__lte","in":"query"},{"description":"status_desc — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status Desc","description":"status_desc — exact match; comma-separate several values, `null` for NULL."},"name":"status_desc","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"iee_id":{"type":"integer"},"instrument_id":{"type":"integer","nullable":true},"instrument_name":{"type":"string","nullable":true},"market_maker_id":{"type":"string","nullable":true},"market_maker_name":{"type":"string","nullable":true},"market_maker_agent_id":{"type":"integer","nullable":true},"market_maker_agent_name":{"type":"string","nullable":true},"start_date_shamsi":{"type":"string","description":"شروع (شمسی).","nullable":true},"end_date_shamsi":{"type":"string","description":"پایان (شمسی).","nullable":true},"due_date_shamsi":{"type":"string","description":"سررسید (شمسی).","nullable":true},"quota_range":{"type":"string","nullable":true},"min_cumulative_order":{"type":"number","nullable":true},"min_daily_trades_volume":{"type":"number","nullable":true},"period_months":{"type":"integer","nullable":true},"status_code":{"type":"integer","nullable":true},"status_desc":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/market-reports":{"get":{"tags":["ime-iee"],"summary":"گزارش‌های بازار بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `iee_id` | int |  |\n| `title` | text |  |\n| `report_period` | int |  |\n| `report_period_name` | text |  |\n| `leading_to_date` | text | منتهی به تاریخ. |\n| `trades_volume` | text |  |\n| `trades_value` | text |  |\n| `file_name` | text |  |\n| `file_size` | int |  |\n| `content_type` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_market_reports","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"iee_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Iee Id","description":"iee_id — exact match; comma-separate several values, `null` for NULL."},"name":"iee_id","in":"query"},{"description":"iee_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Iee Id  Gte","description":"iee_id — minimum (inclusive)."},"name":"iee_id__gte","in":"query"},{"description":"iee_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Iee Id  Lte","description":"iee_id — maximum (inclusive)."},"name":"iee_id__lte","in":"query"},{"description":"title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"title — exact match; comma-separate several values, `null` for NULL."},"name":"title","in":"query"},{"description":"report_period — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Report Period","description":"report_period — exact match; comma-separate several values, `null` for NULL."},"name":"report_period","in":"query"},{"description":"report_period — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Report Period  Gte","description":"report_period — minimum (inclusive)."},"name":"report_period__gte","in":"query"},{"description":"report_period — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Report Period  Lte","description":"report_period — maximum (inclusive)."},"name":"report_period__lte","in":"query"},{"description":"report_period_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Report Period Name","description":"report_period_name — exact match; comma-separate several values, `null` for NULL."},"name":"report_period_name","in":"query"},{"description":"منتهی به تاریخ. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Leading To Date","description":"منتهی به تاریخ. — exact match; comma-separate several values, `null` for NULL."},"name":"leading_to_date","in":"query"},{"description":"trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Volume","description":"trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"trades_volume","in":"query"},{"description":"trades_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Value","description":"trades_value — exact match; comma-separate several values, `null` for NULL."},"name":"trades_value","in":"query"},{"description":"file_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Name","description":"file_name — exact match; comma-separate several values, `null` for NULL."},"name":"file_name","in":"query"},{"description":"file_size — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Size","description":"file_size — exact match; comma-separate several values, `null` for NULL."},"name":"file_size","in":"query"},{"description":"file_size — minimum (inclusive).","required":false,"schema":{"type":"string","title":"File Size  Gte","description":"file_size — minimum (inclusive)."},"name":"file_size__gte","in":"query"},{"description":"file_size — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Size  Lte","description":"file_size — maximum (inclusive)."},"name":"file_size__lte","in":"query"},{"description":"content_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Content Type","description":"content_type — exact match; comma-separate several values, `null` for NULL."},"name":"content_type","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"iee_id":{"type":"integer"},"title":{"type":"string","nullable":true},"report_period":{"type":"integer","nullable":true},"report_period_name":{"type":"string","nullable":true},"leading_to_date":{"type":"string","description":"منتهی به تاریخ.","nullable":true},"trades_volume":{"type":"string","nullable":true},"trades_value":{"type":"string","nullable":true},"file_name":{"type":"string","nullable":true},"file_size":{"type":"integer","nullable":true},"content_type":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/offers":{"get":{"tags":["ime-iee"],"summary":"عرضه‌های بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `market` | text |  |\n| `target_market_name` | text |  |\n| `auction_idn` | int |  |\n| `auction_desc` | text |  |\n| `instrument_display_name` | text |  |\n| `auction_volume_text` | text |  |\n| `auction_volume` | num |  |\n| `base_price_text` | text |  |\n| `base_price` | num |  |\n| `auction_date_shamsi` | text | تاریخ عرضه (شمسی). |\n| `auction_time` | text |  |\n| `supplier` | text |  |\n| `reference_price` | num |  |\n| `trade_type` | text |  |\n| `step_code` | text |  |\n| `step_title` | text |  |\n| `file_name` | text |  |\n| `detail_id` | text |  |\n| `fetched_at` | ts |  |\n| `energy_symbol` | text |  |\n| `producer_name` | text |  |\n| `broker_name` | text |  |\n| `volume_unit_title` | text |  |\n| `delivery_location_name` | text |  |\n| `packaging_name` | text |  |\n| `terms_of_delivery` | text |  |\n| `terms_of_payment` | text |  |\n| `lot_size` | num |  |\n| `clearing_type` | text |  |\n| `destination` | text |  |\n| `publish_date` | text | تاریخ انتشار (شمسی). |\n| `auction_state` | text |  |\n| `base_price_max_range` | num |  |\n| `base_price_min_range` | num |  |\n| `minimum_purchase` | num |  |\n| `maximum_purchase` | num |  |","operationId":"list_iee_offers","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `auction_date_shamsi`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `auction_date_shamsi`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"target_market_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Target Market Name","description":"target_market_name — exact match; comma-separate several values, `null` for NULL."},"name":"target_market_name","in":"query"},{"description":"auction_idn — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Idn","description":"auction_idn — exact match; comma-separate several values, `null` for NULL."},"name":"auction_idn","in":"query"},{"description":"auction_idn — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Idn  Gte","description":"auction_idn — minimum (inclusive)."},"name":"auction_idn__gte","in":"query"},{"description":"auction_idn — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Idn  Lte","description":"auction_idn — maximum (inclusive)."},"name":"auction_idn__lte","in":"query"},{"description":"auction_desc — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Desc","description":"auction_desc — exact match; comma-separate several values, `null` for NULL."},"name":"auction_desc","in":"query"},{"description":"instrument_display_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Instrument Display Name","description":"instrument_display_name — exact match; comma-separate several values, `null` for NULL."},"name":"instrument_display_name","in":"query"},{"description":"auction_volume_text — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Volume Text","description":"auction_volume_text — exact match; comma-separate several values, `null` for NULL."},"name":"auction_volume_text","in":"query"},{"description":"auction_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Volume","description":"auction_volume — exact match; comma-separate several values, `null` for NULL."},"name":"auction_volume","in":"query"},{"description":"auction_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Volume  Gte","description":"auction_volume — minimum (inclusive)."},"name":"auction_volume__gte","in":"query"},{"description":"auction_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Volume  Lte","description":"auction_volume — maximum (inclusive)."},"name":"auction_volume__lte","in":"query"},{"description":"base_price_text — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price Text","description":"base_price_text — exact match; comma-separate several values, `null` for NULL."},"name":"base_price_text","in":"query"},{"description":"base_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price","description":"base_price — exact match; comma-separate several values, `null` for NULL."},"name":"base_price","in":"query"},{"description":"base_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Gte","description":"base_price — minimum (inclusive)."},"name":"base_price__gte","in":"query"},{"description":"base_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Lte","description":"base_price — maximum (inclusive)."},"name":"base_price__lte","in":"query"},{"description":"تاریخ عرضه (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Date Shamsi","description":"تاریخ عرضه (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"auction_date_shamsi","in":"query"},{"description":"تاریخ عرضه (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Date Shamsi  Gte","description":"تاریخ عرضه (شمسی). — minimum (inclusive)."},"name":"auction_date_shamsi__gte","in":"query"},{"description":"تاریخ عرضه (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Date Shamsi  Lte","description":"تاریخ عرضه (شمسی). — maximum (inclusive)."},"name":"auction_date_shamsi__lte","in":"query"},{"description":"auction_time — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Time","description":"auction_time — exact match; comma-separate several values, `null` for NULL."},"name":"auction_time","in":"query"},{"description":"supplier — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier","description":"supplier — exact match; comma-separate several values, `null` for NULL."},"name":"supplier","in":"query"},{"description":"reference_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reference Price","description":"reference_price — exact match; comma-separate several values, `null` for NULL."},"name":"reference_price","in":"query"},{"description":"reference_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Reference Price  Gte","description":"reference_price — minimum (inclusive)."},"name":"reference_price__gte","in":"query"},{"description":"reference_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Reference Price  Lte","description":"reference_price — maximum (inclusive)."},"name":"reference_price__lte","in":"query"},{"description":"trade_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Type","description":"trade_type — exact match; comma-separate several values, `null` for NULL."},"name":"trade_type","in":"query"},{"description":"step_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Step Code","description":"step_code — exact match; comma-separate several values, `null` for NULL."},"name":"step_code","in":"query"},{"description":"step_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Step Title","description":"step_title — exact match; comma-separate several values, `null` for NULL."},"name":"step_title","in":"query"},{"description":"file_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Name","description":"file_name — exact match; comma-separate several values, `null` for NULL."},"name":"file_name","in":"query"},{"description":"detail_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Detail Id","description":"detail_id — exact match; comma-separate several values, `null` for NULL."},"name":"detail_id","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"energy_symbol — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Symbol","description":"energy_symbol — exact match; comma-separate several values, `null` for NULL."},"name":"energy_symbol","in":"query"},{"description":"producer_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer Name","description":"producer_name — exact match; comma-separate several values, `null` for NULL."},"name":"producer_name","in":"query"},{"description":"broker_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Broker Name","description":"broker_name — exact match; comma-separate several values, `null` for NULL."},"name":"broker_name","in":"query"},{"description":"volume_unit_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume Unit Title","description":"volume_unit_title — exact match; comma-separate several values, `null` for NULL."},"name":"volume_unit_title","in":"query"},{"description":"delivery_location_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Delivery Location Name","description":"delivery_location_name — exact match; comma-separate several values, `null` for NULL."},"name":"delivery_location_name","in":"query"},{"description":"packaging_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Packaging Name","description":"packaging_name — exact match; comma-separate several values, `null` for NULL."},"name":"packaging_name","in":"query"},{"description":"terms_of_delivery — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Terms Of Delivery","description":"terms_of_delivery — exact match; comma-separate several values, `null` for NULL."},"name":"terms_of_delivery","in":"query"},{"description":"terms_of_payment — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Terms Of Payment","description":"terms_of_payment — exact match; comma-separate several values, `null` for NULL."},"name":"terms_of_payment","in":"query"},{"description":"lot_size — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Lot Size","description":"lot_size — exact match; comma-separate several values, `null` for NULL."},"name":"lot_size","in":"query"},{"description":"lot_size — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Lot Size  Gte","description":"lot_size — minimum (inclusive)."},"name":"lot_size__gte","in":"query"},{"description":"lot_size — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Lot Size  Lte","description":"lot_size — maximum (inclusive)."},"name":"lot_size__lte","in":"query"},{"description":"clearing_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Clearing Type","description":"clearing_type — exact match; comma-separate several values, `null` for NULL."},"name":"clearing_type","in":"query"},{"description":"destination — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Destination","description":"destination — exact match; comma-separate several values, `null` for NULL."},"name":"destination","in":"query"},{"description":"تاریخ انتشار (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Publish Date","description":"تاریخ انتشار (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"publish_date","in":"query"},{"description":"تاریخ انتشار (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Publish Date  Gte","description":"تاریخ انتشار (شمسی). — minimum (inclusive)."},"name":"publish_date__gte","in":"query"},{"description":"تاریخ انتشار (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Publish Date  Lte","description":"تاریخ انتشار (شمسی). — maximum (inclusive)."},"name":"publish_date__lte","in":"query"},{"description":"auction_state — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction State","description":"auction_state — exact match; comma-separate several values, `null` for NULL."},"name":"auction_state","in":"query"},{"description":"base_price_max_range — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price Max Range","description":"base_price_max_range — exact match; comma-separate several values, `null` for NULL."},"name":"base_price_max_range","in":"query"},{"description":"base_price_max_range — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price Max Range  Gte","description":"base_price_max_range — minimum (inclusive)."},"name":"base_price_max_range__gte","in":"query"},{"description":"base_price_max_range — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price Max Range  Lte","description":"base_price_max_range — maximum (inclusive)."},"name":"base_price_max_range__lte","in":"query"},{"description":"base_price_min_range — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price Min Range","description":"base_price_min_range — exact match; comma-separate several values, `null` for NULL."},"name":"base_price_min_range","in":"query"},{"description":"base_price_min_range — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price Min Range  Gte","description":"base_price_min_range — minimum (inclusive)."},"name":"base_price_min_range__gte","in":"query"},{"description":"base_price_min_range — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price Min Range  Lte","description":"base_price_min_range — maximum (inclusive)."},"name":"base_price_min_range__lte","in":"query"},{"description":"minimum_purchase — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Minimum Purchase","description":"minimum_purchase — exact match; comma-separate several values, `null` for NULL."},"name":"minimum_purchase","in":"query"},{"description":"minimum_purchase — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Minimum Purchase  Gte","description":"minimum_purchase — minimum (inclusive)."},"name":"minimum_purchase__gte","in":"query"},{"description":"minimum_purchase — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Minimum Purchase  Lte","description":"minimum_purchase — maximum (inclusive)."},"name":"minimum_purchase__lte","in":"query"},{"description":"maximum_purchase — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Maximum Purchase","description":"maximum_purchase — exact match; comma-separate several values, `null` for NULL."},"name":"maximum_purchase","in":"query"},{"description":"maximum_purchase — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Maximum Purchase  Gte","description":"maximum_purchase — minimum (inclusive)."},"name":"maximum_purchase__gte","in":"query"},{"description":"maximum_purchase — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Maximum Purchase  Lte","description":"maximum_purchase — maximum (inclusive)."},"name":"maximum_purchase__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"market":{"type":"string"},"target_market_name":{"type":"string","nullable":true},"auction_idn":{"type":"integer"},"auction_desc":{"type":"string","nullable":true},"instrument_display_name":{"type":"string","nullable":true},"auction_volume_text":{"type":"string","nullable":true},"auction_volume":{"type":"number","nullable":true},"base_price_text":{"type":"string","nullable":true},"base_price":{"type":"number","nullable":true},"auction_date_shamsi":{"type":"string","description":"تاریخ عرضه (شمسی).","nullable":true},"auction_time":{"type":"string","nullable":true},"supplier":{"type":"string","nullable":true},"reference_price":{"type":"number","nullable":true},"trade_type":{"type":"string","nullable":true},"step_code":{"type":"string","nullable":true},"step_title":{"type":"string","nullable":true},"file_name":{"type":"string","nullable":true},"detail_id":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true},"energy_symbol":{"type":"string","nullable":true},"producer_name":{"type":"string","nullable":true},"broker_name":{"type":"string","nullable":true},"volume_unit_title":{"type":"string","nullable":true},"delivery_location_name":{"type":"string","nullable":true},"packaging_name":{"type":"string","nullable":true},"terms_of_delivery":{"type":"string","nullable":true},"terms_of_payment":{"type":"string","nullable":true},"lot_size":{"type":"number","nullable":true},"clearing_type":{"type":"string","nullable":true},"destination":{"type":"string","nullable":true},"publish_date":{"type":"string","description":"تاریخ انتشار (شمسی).","nullable":true},"auction_state":{"type":"string","nullable":true},"base_price_max_range":{"type":"number","nullable":true},"base_price_min_range":{"type":"number","nullable":true},"minimum_purchase":{"type":"number","nullable":true},"maximum_purchase":{"type":"number","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/physical-trades":{"get":{"tags":["ime-iee"],"summary":"معاملات فیزیکی بورس انرژی — IEE","description":"هر ردیف یک معامله (fill) در بازارهای فیزیکی، برق، برق سبز و برق آزاد بورس انرژی است. هر روز از webapi.iee.ir خوانده می‌شود (`python3 -m ime.collect`) و هر گروه (`auction_idn`، `trade_date_shamsi`) با ردیف همان روز در `iee-trade-statistics` سنجیده می‌شود: تعداد ردیف‌ها برابر تعداد معاملات و جمع `traded_quantity` برابر حجم آن روز است (مگر برای عرضه‌هایی که آمارشان دو ردیف دارد، در `iee-trade-statistics`). `trade_id` با هر درخواست عوض می‌شود و هویت نیست. `source_auction_idn` عرضه‌ای است که تاریخچهٔ آن خوانده شده. پیش از ۱۴۰۵/۰۸ این جدول از بارگیری‌های اردیبهشت بود و ۲۱٪ گروه‌ها ردیف تکراری داشتند (ترمیم‌شده؛ نسخهٔ قدیم در `repair_20261026`).\n\nداده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `market` | text |  |\n| `source_auction_idn` | int |  |\n| `trade_id` | text |  |\n| `auction_idn` | int |  |\n| `trade_date_shamsi` | text | تاریخ معامله (شمسی). |\n| `traded_price` | num |  |\n| `traded_quantity` | num |  |\n| `traded_value` | num |  |\n| `volume_unit_title` | text |  |\n| `price_unit_title` | text |  |\n| `price_on_volume_unit` | text |  |\n| `energy_symbol` | text |  |\n| `instrument_display_name` | text |  |\n| `supplier` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_physical_trades","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date_shamsi`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date_shamsi`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"source_auction_idn — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Source Auction Idn","description":"source_auction_idn — exact match; comma-separate several values, `null` for NULL."},"name":"source_auction_idn","in":"query"},{"description":"source_auction_idn — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Source Auction Idn  Gte","description":"source_auction_idn — minimum (inclusive)."},"name":"source_auction_idn__gte","in":"query"},{"description":"source_auction_idn — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Source Auction Idn  Lte","description":"source_auction_idn — maximum (inclusive)."},"name":"source_auction_idn__lte","in":"query"},{"description":"trade_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Id","description":"trade_id — exact match; comma-separate several values, `null` for NULL."},"name":"trade_id","in":"query"},{"description":"auction_idn — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Idn","description":"auction_idn — exact match; comma-separate several values, `null` for NULL."},"name":"auction_idn","in":"query"},{"description":"auction_idn — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Idn  Gte","description":"auction_idn — minimum (inclusive)."},"name":"auction_idn__gte","in":"query"},{"description":"auction_idn — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Idn  Lte","description":"auction_idn — maximum (inclusive)."},"name":"auction_idn__lte","in":"query"},{"description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Date Shamsi","description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"trade_date_shamsi","in":"query"},{"description":"تاریخ معامله (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date Shamsi  Gte","description":"تاریخ معامله (شمسی). — minimum (inclusive)."},"name":"trade_date_shamsi__gte","in":"query"},{"description":"تاریخ معامله (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date Shamsi  Lte","description":"تاریخ معامله (شمسی). — maximum (inclusive)."},"name":"trade_date_shamsi__lte","in":"query"},{"description":"traded_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Traded Price","description":"traded_price — exact match; comma-separate several values, `null` for NULL."},"name":"traded_price","in":"query"},{"description":"traded_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Price  Gte","description":"traded_price — minimum (inclusive)."},"name":"traded_price__gte","in":"query"},{"description":"traded_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Price  Lte","description":"traded_price — maximum (inclusive)."},"name":"traded_price__lte","in":"query"},{"description":"traded_quantity — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Traded Quantity","description":"traded_quantity — exact match; comma-separate several values, `null` for NULL."},"name":"traded_quantity","in":"query"},{"description":"traded_quantity — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Quantity  Gte","description":"traded_quantity — minimum (inclusive)."},"name":"traded_quantity__gte","in":"query"},{"description":"traded_quantity — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Quantity  Lte","description":"traded_quantity — maximum (inclusive)."},"name":"traded_quantity__lte","in":"query"},{"description":"traded_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Traded Value","description":"traded_value — exact match; comma-separate several values, `null` for NULL."},"name":"traded_value","in":"query"},{"description":"traded_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Value  Gte","description":"traded_value — minimum (inclusive)."},"name":"traded_value__gte","in":"query"},{"description":"traded_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Value  Lte","description":"traded_value — maximum (inclusive)."},"name":"traded_value__lte","in":"query"},{"description":"volume_unit_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume Unit Title","description":"volume_unit_title — exact match; comma-separate several values, `null` for NULL."},"name":"volume_unit_title","in":"query"},{"description":"price_unit_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Unit Title","description":"price_unit_title — exact match; comma-separate several values, `null` for NULL."},"name":"price_unit_title","in":"query"},{"description":"price_on_volume_unit — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price On Volume Unit","description":"price_on_volume_unit — exact match; comma-separate several values, `null` for NULL."},"name":"price_on_volume_unit","in":"query"},{"description":"energy_symbol — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Symbol","description":"energy_symbol — exact match; comma-separate several values, `null` for NULL."},"name":"energy_symbol","in":"query"},{"description":"instrument_display_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Instrument Display Name","description":"instrument_display_name — exact match; comma-separate several values, `null` for NULL."},"name":"instrument_display_name","in":"query"},{"description":"supplier — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier","description":"supplier — exact match; comma-separate several values, `null` for NULL."},"name":"supplier","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"market":{"type":"string"},"source_auction_idn":{"type":"integer","nullable":true},"trade_id":{"type":"string","nullable":true},"auction_idn":{"type":"integer"},"trade_date_shamsi":{"type":"string","description":"تاریخ معامله (شمسی).","nullable":true},"traded_price":{"type":"number","nullable":true},"traded_quantity":{"type":"number","nullable":true},"traded_value":{"type":"number","nullable":true},"volume_unit_title":{"type":"string","nullable":true},"price_unit_title":{"type":"string","nullable":true},"price_on_volume_unit":{"type":"string","nullable":true},"energy_symbol":{"type":"string","nullable":true},"instrument_display_name":{"type":"string","nullable":true},"supplier":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/power-monthly-rates":{"get":{"tags":["ime-iee"],"summary":"نرخ ماهانه برق — IEE","description":"نرخ ماهانهٔ بازار برق (ریال بر کیلووات‌ساعت) برای تابلوی اول، سبز و آزاد در بارهای پایه، کم، میان و اوج. هر ماه پس از پایانش منتشر می‌شود (۱۴۰۵/۰۷ در ۱۴۰۵/۰۸/۰۴ آمد) و ممکن است بازنگری شود؛ `fetched_at` فقط وقتی عوض می‌شود که عددی عوض شده باشد. هر روز از webapi.iee.ir خوانده می‌شود.\n\nداده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `year` | int |  |\n| `month` | int |  |\n| `first_base_mid` | num |  |\n| `first_low_mid` | num |  |\n| `first_mid_mid` | num |  |\n| `first_high_mid` | num |  |\n| `green_base_max` | num |  |\n| `green_low_max` | num |  |\n| `green_mid_max` | num |  |\n| `green_high_max` | num |  |\n| `green_base_mid` | num |  |\n| `green_low_mid` | num |  |\n| `green_mid_mid` | num |  |\n| `green_high_mid` | num |  |\n| `free_base_mid` | num |  |\n| `free_low_mid` | num |  |\n| `free_mid_mid` | num |  |\n| `free_high_mid` | num |  |\n| `green_power_max` | num |  |\n| `description` | text |  |\n| `raw_json` | json |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_power_monthly_rates","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"year — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Year","description":"year — exact match; comma-separate several values, `null` for NULL."},"name":"year","in":"query"},{"description":"year — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Year  Gte","description":"year — minimum (inclusive)."},"name":"year__gte","in":"query"},{"description":"year — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Year  Lte","description":"year — maximum (inclusive)."},"name":"year__lte","in":"query"},{"description":"month — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Month","description":"month — exact match; comma-separate several values, `null` for NULL."},"name":"month","in":"query"},{"description":"month — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Month  Gte","description":"month — minimum (inclusive)."},"name":"month__gte","in":"query"},{"description":"month — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Month  Lte","description":"month — maximum (inclusive)."},"name":"month__lte","in":"query"},{"description":"first_base_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Base Mid","description":"first_base_mid — exact match; comma-separate several values, `null` for NULL."},"name":"first_base_mid","in":"query"},{"description":"first_base_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Base Mid  Gte","description":"first_base_mid — minimum (inclusive)."},"name":"first_base_mid__gte","in":"query"},{"description":"first_base_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Base Mid  Lte","description":"first_base_mid — maximum (inclusive)."},"name":"first_base_mid__lte","in":"query"},{"description":"first_low_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Low Mid","description":"first_low_mid — exact match; comma-separate several values, `null` for NULL."},"name":"first_low_mid","in":"query"},{"description":"first_low_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Low Mid  Gte","description":"first_low_mid — minimum (inclusive)."},"name":"first_low_mid__gte","in":"query"},{"description":"first_low_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Low Mid  Lte","description":"first_low_mid — maximum (inclusive)."},"name":"first_low_mid__lte","in":"query"},{"description":"first_mid_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Mid Mid","description":"first_mid_mid — exact match; comma-separate several values, `null` for NULL."},"name":"first_mid_mid","in":"query"},{"description":"first_mid_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Mid Mid  Gte","description":"first_mid_mid — minimum (inclusive)."},"name":"first_mid_mid__gte","in":"query"},{"description":"first_mid_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Mid Mid  Lte","description":"first_mid_mid — maximum (inclusive)."},"name":"first_mid_mid__lte","in":"query"},{"description":"first_high_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First High Mid","description":"first_high_mid — exact match; comma-separate several values, `null` for NULL."},"name":"first_high_mid","in":"query"},{"description":"first_high_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First High Mid  Gte","description":"first_high_mid — minimum (inclusive)."},"name":"first_high_mid__gte","in":"query"},{"description":"first_high_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First High Mid  Lte","description":"first_high_mid — maximum (inclusive)."},"name":"first_high_mid__lte","in":"query"},{"description":"green_base_max — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Base Max","description":"green_base_max — exact match; comma-separate several values, `null` for NULL."},"name":"green_base_max","in":"query"},{"description":"green_base_max — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Base Max  Gte","description":"green_base_max — minimum (inclusive)."},"name":"green_base_max__gte","in":"query"},{"description":"green_base_max — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Base Max  Lte","description":"green_base_max — maximum (inclusive)."},"name":"green_base_max__lte","in":"query"},{"description":"green_low_max — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Low Max","description":"green_low_max — exact match; comma-separate several values, `null` for NULL."},"name":"green_low_max","in":"query"},{"description":"green_low_max — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Low Max  Gte","description":"green_low_max — minimum (inclusive)."},"name":"green_low_max__gte","in":"query"},{"description":"green_low_max — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Low Max  Lte","description":"green_low_max — maximum (inclusive)."},"name":"green_low_max__lte","in":"query"},{"description":"green_mid_max — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Mid Max","description":"green_mid_max — exact match; comma-separate several values, `null` for NULL."},"name":"green_mid_max","in":"query"},{"description":"green_mid_max — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Mid Max  Gte","description":"green_mid_max — minimum (inclusive)."},"name":"green_mid_max__gte","in":"query"},{"description":"green_mid_max — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Mid Max  Lte","description":"green_mid_max — maximum (inclusive)."},"name":"green_mid_max__lte","in":"query"},{"description":"green_high_max — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green High Max","description":"green_high_max — exact match; comma-separate several values, `null` for NULL."},"name":"green_high_max","in":"query"},{"description":"green_high_max — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green High Max  Gte","description":"green_high_max — minimum (inclusive)."},"name":"green_high_max__gte","in":"query"},{"description":"green_high_max — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green High Max  Lte","description":"green_high_max — maximum (inclusive)."},"name":"green_high_max__lte","in":"query"},{"description":"green_base_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Base Mid","description":"green_base_mid — exact match; comma-separate several values, `null` for NULL."},"name":"green_base_mid","in":"query"},{"description":"green_base_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Base Mid  Gte","description":"green_base_mid — minimum (inclusive)."},"name":"green_base_mid__gte","in":"query"},{"description":"green_base_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Base Mid  Lte","description":"green_base_mid — maximum (inclusive)."},"name":"green_base_mid__lte","in":"query"},{"description":"green_low_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Low Mid","description":"green_low_mid — exact match; comma-separate several values, `null` for NULL."},"name":"green_low_mid","in":"query"},{"description":"green_low_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Low Mid  Gte","description":"green_low_mid — minimum (inclusive)."},"name":"green_low_mid__gte","in":"query"},{"description":"green_low_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Low Mid  Lte","description":"green_low_mid — maximum (inclusive)."},"name":"green_low_mid__lte","in":"query"},{"description":"green_mid_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Mid Mid","description":"green_mid_mid — exact match; comma-separate several values, `null` for NULL."},"name":"green_mid_mid","in":"query"},{"description":"green_mid_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Mid Mid  Gte","description":"green_mid_mid — minimum (inclusive)."},"name":"green_mid_mid__gte","in":"query"},{"description":"green_mid_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Mid Mid  Lte","description":"green_mid_mid — maximum (inclusive)."},"name":"green_mid_mid__lte","in":"query"},{"description":"green_high_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green High Mid","description":"green_high_mid — exact match; comma-separate several values, `null` for NULL."},"name":"green_high_mid","in":"query"},{"description":"green_high_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green High Mid  Gte","description":"green_high_mid — minimum (inclusive)."},"name":"green_high_mid__gte","in":"query"},{"description":"green_high_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green High Mid  Lte","description":"green_high_mid — maximum (inclusive)."},"name":"green_high_mid__lte","in":"query"},{"description":"free_base_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Free Base Mid","description":"free_base_mid — exact match; comma-separate several values, `null` for NULL."},"name":"free_base_mid","in":"query"},{"description":"free_base_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Free Base Mid  Gte","description":"free_base_mid — minimum (inclusive)."},"name":"free_base_mid__gte","in":"query"},{"description":"free_base_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Free Base Mid  Lte","description":"free_base_mid — maximum (inclusive)."},"name":"free_base_mid__lte","in":"query"},{"description":"free_low_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Free Low Mid","description":"free_low_mid — exact match; comma-separate several values, `null` for NULL."},"name":"free_low_mid","in":"query"},{"description":"free_low_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Free Low Mid  Gte","description":"free_low_mid — minimum (inclusive)."},"name":"free_low_mid__gte","in":"query"},{"description":"free_low_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Free Low Mid  Lte","description":"free_low_mid — maximum (inclusive)."},"name":"free_low_mid__lte","in":"query"},{"description":"free_mid_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Free Mid Mid","description":"free_mid_mid — exact match; comma-separate several values, `null` for NULL."},"name":"free_mid_mid","in":"query"},{"description":"free_mid_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Free Mid Mid  Gte","description":"free_mid_mid — minimum (inclusive)."},"name":"free_mid_mid__gte","in":"query"},{"description":"free_mid_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Free Mid Mid  Lte","description":"free_mid_mid — maximum (inclusive)."},"name":"free_mid_mid__lte","in":"query"},{"description":"free_high_mid — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Free High Mid","description":"free_high_mid — exact match; comma-separate several values, `null` for NULL."},"name":"free_high_mid","in":"query"},{"description":"free_high_mid — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Free High Mid  Gte","description":"free_high_mid — minimum (inclusive)."},"name":"free_high_mid__gte","in":"query"},{"description":"free_high_mid — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Free High Mid  Lte","description":"free_high_mid — maximum (inclusive)."},"name":"free_high_mid__lte","in":"query"},{"description":"green_power_max — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Green Power Max","description":"green_power_max — exact match; comma-separate several values, `null` for NULL."},"name":"green_power_max","in":"query"},{"description":"green_power_max — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Green Power Max  Gte","description":"green_power_max — minimum (inclusive)."},"name":"green_power_max__gte","in":"query"},{"description":"green_power_max — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Green Power Max  Lte","description":"green_power_max — maximum (inclusive)."},"name":"green_power_max__lte","in":"query"},{"description":"description — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Description","description":"description — exact match; comma-separate several values, `null` for NULL."},"name":"description","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"year":{"type":"integer"},"month":{"type":"integer"},"first_base_mid":{"type":"number","nullable":true},"first_low_mid":{"type":"number","nullable":true},"first_mid_mid":{"type":"number","nullable":true},"first_high_mid":{"type":"number","nullable":true},"green_base_max":{"type":"number","nullable":true},"green_low_max":{"type":"number","nullable":true},"green_mid_max":{"type":"number","nullable":true},"green_high_max":{"type":"number","nullable":true},"green_base_mid":{"type":"number","nullable":true},"green_low_mid":{"type":"number","nullable":true},"green_mid_mid":{"type":"number","nullable":true},"green_high_mid":{"type":"number","nullable":true},"free_base_mid":{"type":"number","nullable":true},"free_low_mid":{"type":"number","nullable":true},"free_mid_mid":{"type":"number","nullable":true},"free_high_mid":{"type":"number","nullable":true},"green_power_max":{"type":"number","nullable":true},"description":{"type":"string","nullable":true},"raw_json":{"type":"object"},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/securities":{"get":{"tags":["ime-iee"],"summary":"اوراق بورس انرژی (فهرست جاری) — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `security_type` | text |  |\n| `ins_code` | text |  |\n| `symbol_code` | text |  |\n| `symbol_name` | text |  |\n| `last_price` | num |  |\n| `close_price` | num |  |\n| `yesterday_price` | num |  |\n| `trades_count` | int |  |\n| `trades_volume` | num |  |\n| `trade_value` | num |  |\n| `energy_saving_asset` | int |  |\n| `raw_json` | json |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_securities","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"security_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Security Type","description":"security_type — exact match; comma-separate several values, `null` for NULL."},"name":"security_type","in":"query"},{"description":"ins_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ins Code","description":"ins_code — exact match; comma-separate several values, `null` for NULL."},"name":"ins_code","in":"query"},{"description":"symbol_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Code","description":"symbol_code — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_code","in":"query"},{"description":"symbol_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Name","description":"symbol_name — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_name","in":"query"},{"description":"last_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Price","description":"last_price — exact match; comma-separate several values, `null` for NULL."},"name":"last_price","in":"query"},{"description":"last_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Gte","description":"last_price — minimum (inclusive)."},"name":"last_price__gte","in":"query"},{"description":"last_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Lte","description":"last_price — maximum (inclusive)."},"name":"last_price__lte","in":"query"},{"description":"close_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close Price","description":"close_price — exact match; comma-separate several values, `null` for NULL."},"name":"close_price","in":"query"},{"description":"close_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Gte","description":"close_price — minimum (inclusive)."},"name":"close_price__gte","in":"query"},{"description":"close_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Lte","description":"close_price — maximum (inclusive)."},"name":"close_price__lte","in":"query"},{"description":"yesterday_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Yesterday Price","description":"yesterday_price — exact match; comma-separate several values, `null` for NULL."},"name":"yesterday_price","in":"query"},{"description":"yesterday_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Gte","description":"yesterday_price — minimum (inclusive)."},"name":"yesterday_price__gte","in":"query"},{"description":"yesterday_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Lte","description":"yesterday_price — maximum (inclusive)."},"name":"yesterday_price__lte","in":"query"},{"description":"trades_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Count","description":"trades_count — exact match; comma-separate several values, `null` for NULL."},"name":"trades_count","in":"query"},{"description":"trades_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Gte","description":"trades_count — minimum (inclusive)."},"name":"trades_count__gte","in":"query"},{"description":"trades_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Lte","description":"trades_count — maximum (inclusive)."},"name":"trades_count__lte","in":"query"},{"description":"trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Volume","description":"trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"trades_volume","in":"query"},{"description":"trades_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Gte","description":"trades_volume — minimum (inclusive)."},"name":"trades_volume__gte","in":"query"},{"description":"trades_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Lte","description":"trades_volume — maximum (inclusive)."},"name":"trades_volume__lte","in":"query"},{"description":"trade_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Value","description":"trade_value — exact match; comma-separate several values, `null` for NULL."},"name":"trade_value","in":"query"},{"description":"trade_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Gte","description":"trade_value — minimum (inclusive)."},"name":"trade_value__gte","in":"query"},{"description":"trade_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Lte","description":"trade_value — maximum (inclusive)."},"name":"trade_value__lte","in":"query"},{"description":"energy_saving_asset — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Saving Asset","description":"energy_saving_asset — exact match; comma-separate several values, `null` for NULL."},"name":"energy_saving_asset","in":"query"},{"description":"energy_saving_asset — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Energy Saving Asset  Gte","description":"energy_saving_asset — minimum (inclusive)."},"name":"energy_saving_asset__gte","in":"query"},{"description":"energy_saving_asset — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Energy Saving Asset  Lte","description":"energy_saving_asset — maximum (inclusive)."},"name":"energy_saving_asset__lte","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"security_type":{"type":"string"},"ins_code":{"type":"string"},"symbol_code":{"type":"string","nullable":true},"symbol_name":{"type":"string","nullable":true},"last_price":{"type":"number","nullable":true},"close_price":{"type":"number","nullable":true},"yesterday_price":{"type":"number","nullable":true},"trades_count":{"type":"integer","nullable":true},"trades_volume":{"type":"number","nullable":true},"trade_value":{"type":"number","nullable":true},"energy_saving_asset":{"type":"integer"},"raw_json":{"type":"object"},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/securities-stats":{"get":{"tags":["ime-iee"],"summary":"آمار روزانه اوراق بورس انرژی — IEE","description":"داده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `security_type` | text |  |\n| `energy_saving_asset` | int |  |\n| `ins_code` | text |  |\n| `symbol_code` | text |  |\n| `symbol_name` | text |  |\n| `trade_date` | text | تاریخ معامله (شمسی). |\n| `first_price` | num |  |\n| `max_price` | num |  |\n| `min_price` | num |  |\n| `last_price` | num |  |\n| `close_price` | num |  |\n| `yesterday_price` | num |  |\n| `trades_count` | int |  |\n| `trades_volume` | num |  |\n| `trade_value` | num |  |\n| `trade_value_dollars` | num |  |\n| `price_change` | num |  |\n| `price_change_percent` | text |  |\n| `open_positions_count` | int |  |\n| `currency_rate` | num |  |\n| `energy_symbol` | text |  |\n| `last_state` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_securities_stats","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"security_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Security Type","description":"security_type — exact match; comma-separate several values, `null` for NULL."},"name":"security_type","in":"query"},{"description":"energy_saving_asset — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Saving Asset","description":"energy_saving_asset — exact match; comma-separate several values, `null` for NULL."},"name":"energy_saving_asset","in":"query"},{"description":"energy_saving_asset — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Energy Saving Asset  Gte","description":"energy_saving_asset — minimum (inclusive)."},"name":"energy_saving_asset__gte","in":"query"},{"description":"energy_saving_asset — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Energy Saving Asset  Lte","description":"energy_saving_asset — maximum (inclusive)."},"name":"energy_saving_asset__lte","in":"query"},{"description":"ins_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ins Code","description":"ins_code — exact match; comma-separate several values, `null` for NULL."},"name":"ins_code","in":"query"},{"description":"symbol_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Code","description":"symbol_code — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_code","in":"query"},{"description":"symbol_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Symbol Name","description":"symbol_name — exact match; comma-separate several values, `null` for NULL."},"name":"symbol_name","in":"query"},{"description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Date","description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"trade_date","in":"query"},{"description":"تاریخ معامله (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date  Gte","description":"تاریخ معامله (شمسی). — minimum (inclusive)."},"name":"trade_date__gte","in":"query"},{"description":"تاریخ معامله (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date  Lte","description":"تاریخ معامله (شمسی). — maximum (inclusive)."},"name":"trade_date__lte","in":"query"},{"description":"first_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"First Price","description":"first_price — exact match; comma-separate several values, `null` for NULL."},"name":"first_price","in":"query"},{"description":"first_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"First Price  Gte","description":"first_price — minimum (inclusive)."},"name":"first_price__gte","in":"query"},{"description":"first_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"First Price  Lte","description":"first_price — maximum (inclusive)."},"name":"first_price__lte","in":"query"},{"description":"max_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Max Price","description":"max_price — exact match; comma-separate several values, `null` for NULL."},"name":"max_price","in":"query"},{"description":"max_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Gte","description":"max_price — minimum (inclusive)."},"name":"max_price__gte","in":"query"},{"description":"max_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Max Price  Lte","description":"max_price — maximum (inclusive)."},"name":"max_price__lte","in":"query"},{"description":"min_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Min Price","description":"min_price — exact match; comma-separate several values, `null` for NULL."},"name":"min_price","in":"query"},{"description":"min_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Gte","description":"min_price — minimum (inclusive)."},"name":"min_price__gte","in":"query"},{"description":"min_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Min Price  Lte","description":"min_price — maximum (inclusive)."},"name":"min_price__lte","in":"query"},{"description":"last_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Price","description":"last_price — exact match; comma-separate several values, `null` for NULL."},"name":"last_price","in":"query"},{"description":"last_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Gte","description":"last_price — minimum (inclusive)."},"name":"last_price__gte","in":"query"},{"description":"last_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Price  Lte","description":"last_price — maximum (inclusive)."},"name":"last_price__lte","in":"query"},{"description":"close_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Close Price","description":"close_price — exact match; comma-separate several values, `null` for NULL."},"name":"close_price","in":"query"},{"description":"close_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Gte","description":"close_price — minimum (inclusive)."},"name":"close_price__gte","in":"query"},{"description":"close_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Close Price  Lte","description":"close_price — maximum (inclusive)."},"name":"close_price__lte","in":"query"},{"description":"yesterday_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Yesterday Price","description":"yesterday_price — exact match; comma-separate several values, `null` for NULL."},"name":"yesterday_price","in":"query"},{"description":"yesterday_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Gte","description":"yesterday_price — minimum (inclusive)."},"name":"yesterday_price__gte","in":"query"},{"description":"yesterday_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Yesterday Price  Lte","description":"yesterday_price — maximum (inclusive)."},"name":"yesterday_price__lte","in":"query"},{"description":"trades_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Count","description":"trades_count — exact match; comma-separate several values, `null` for NULL."},"name":"trades_count","in":"query"},{"description":"trades_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Gte","description":"trades_count — minimum (inclusive)."},"name":"trades_count__gte","in":"query"},{"description":"trades_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Count  Lte","description":"trades_count — maximum (inclusive)."},"name":"trades_count__lte","in":"query"},{"description":"trades_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trades Volume","description":"trades_volume — exact match; comma-separate several values, `null` for NULL."},"name":"trades_volume","in":"query"},{"description":"trades_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Gte","description":"trades_volume — minimum (inclusive)."},"name":"trades_volume__gte","in":"query"},{"description":"trades_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trades Volume  Lte","description":"trades_volume — maximum (inclusive)."},"name":"trades_volume__lte","in":"query"},{"description":"trade_value — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Value","description":"trade_value — exact match; comma-separate several values, `null` for NULL."},"name":"trade_value","in":"query"},{"description":"trade_value — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Gte","description":"trade_value — minimum (inclusive)."},"name":"trade_value__gte","in":"query"},{"description":"trade_value — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value  Lte","description":"trade_value — maximum (inclusive)."},"name":"trade_value__lte","in":"query"},{"description":"trade_value_dollars — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Value Dollars","description":"trade_value_dollars — exact match; comma-separate several values, `null` for NULL."},"name":"trade_value_dollars","in":"query"},{"description":"trade_value_dollars — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value Dollars  Gte","description":"trade_value_dollars — minimum (inclusive)."},"name":"trade_value_dollars__gte","in":"query"},{"description":"trade_value_dollars — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Value Dollars  Lte","description":"trade_value_dollars — maximum (inclusive)."},"name":"trade_value_dollars__lte","in":"query"},{"description":"price_change — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Change","description":"price_change — exact match; comma-separate several values, `null` for NULL."},"name":"price_change","in":"query"},{"description":"price_change — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Price Change  Gte","description":"price_change — minimum (inclusive)."},"name":"price_change__gte","in":"query"},{"description":"price_change — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Price Change  Lte","description":"price_change — maximum (inclusive)."},"name":"price_change__lte","in":"query"},{"description":"price_change_percent — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Change Percent","description":"price_change_percent — exact match; comma-separate several values, `null` for NULL."},"name":"price_change_percent","in":"query"},{"description":"open_positions_count — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Open Positions Count","description":"open_positions_count — exact match; comma-separate several values, `null` for NULL."},"name":"open_positions_count","in":"query"},{"description":"open_positions_count — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Open Positions Count  Gte","description":"open_positions_count — minimum (inclusive)."},"name":"open_positions_count__gte","in":"query"},{"description":"open_positions_count — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Open Positions Count  Lte","description":"open_positions_count — maximum (inclusive)."},"name":"open_positions_count__lte","in":"query"},{"description":"currency_rate — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Currency Rate","description":"currency_rate — exact match; comma-separate several values, `null` for NULL."},"name":"currency_rate","in":"query"},{"description":"currency_rate — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Currency Rate  Gte","description":"currency_rate — minimum (inclusive)."},"name":"currency_rate__gte","in":"query"},{"description":"currency_rate — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Currency Rate  Lte","description":"currency_rate — maximum (inclusive)."},"name":"currency_rate__lte","in":"query"},{"description":"energy_symbol — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Symbol","description":"energy_symbol — exact match; comma-separate several values, `null` for NULL."},"name":"energy_symbol","in":"query"},{"description":"last_state — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last State","description":"last_state — exact match; comma-separate several values, `null` for NULL."},"name":"last_state","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"security_type":{"type":"string"},"energy_saving_asset":{"type":"integer"},"ins_code":{"type":"string"},"symbol_code":{"type":"string","nullable":true},"symbol_name":{"type":"string","nullable":true},"trade_date":{"type":"string","description":"تاریخ معامله (شمسی).","nullable":true},"first_price":{"type":"number","nullable":true},"max_price":{"type":"number","nullable":true},"min_price":{"type":"number","nullable":true},"last_price":{"type":"number","nullable":true},"close_price":{"type":"number","nullable":true},"yesterday_price":{"type":"number","nullable":true},"trades_count":{"type":"integer","nullable":true},"trades_volume":{"type":"number","nullable":true},"trade_value":{"type":"number","nullable":true},"trade_value_dollars":{"type":"number","nullable":true},"price_change":{"type":"number","nullable":true},"price_change_percent":{"type":"string","nullable":true},"open_positions_count":{"type":"integer","nullable":true},"currency_rate":{"type":"number","nullable":true},"energy_symbol":{"type":"string","nullable":true},"last_state":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/iee/trade-statistics":{"get":{"tags":["ime-iee"],"summary":"آمار معاملات بورس انرژی — IEE","description":"آمار هر عرضه در هر روز. وقتی API یک (عرضه، روز) را در دو ردیف می‌دهد (`trade_type_title`: «طول بازار» و «عرضه مازاد») فقط یکی نگه داشته می‌شود، پس `trade_no` و `total_traded_volume` ممکن است کمتر از واقعیت باشند (عرضهٔ ۹۶۲۸۸ در ۱۴۰۵/۰۸/۰۴: ذخیره ۸ معامله / ۸۰۰، واقعی ۲۰ / ۲۲۰۰؛ ۳ از ۵۰ گروه در دو روز).\n\nداده‌های بورس انرژی ایران (IRENEX) که جمع‌آوری شده است. تاریخ‌ها در این جدول به صورت متن شمسی نگهداری می‌شوند و ورودی شمسی یا میلادی در فیلترها پذیرفته می‌شود.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | شناسه. |\n| `market` | text |  |\n| `auction_idn` | int |  |\n| `auction_date_shamsi` | text | تاریخ و ساعت عرضه («1405/08/02 - 11:45»). |\n| `trade_date_shamsi` | text | تاریخ معامله (شمسی). |\n| `energy_symbol` | text |  |\n| `target_market_name` | text |  |\n| `auction_desc` | text |  |\n| `supplier_name` | text |  |\n| `instrument_display_name` | text |  |\n| `producer_name` | text |  |\n| `broker_name` | text |  |\n| `total_value_rials` | num |  |\n| `total_traded_volume` | num |  |\n| `volume_unit_title` | text |  |\n| `order_buy_traded_volume` | num |  |\n| `order_buy_traded_average_price` | num |  |\n| `trade_max_price` | num |  |\n| `trade_min_price` | num |  |\n| `traded_average_price` | num |  |\n| `trade_no` | int |  |\n| `base_price` | num |  |\n| `price_unit_title` | text |  |\n| `contract_type` | text |  |\n| `auction_volume` | num |  |\n| `auction_max_volume` | num |  |\n| `trade_type_title` | text |  |\n| `board_name` | text |  |\n| `kilo_watt_hours` | num |  |\n| `clearing_type` | text |  |\n| `destination` | text |  |\n| `fetched_at` | ts |  |","operationId":"list_iee_trade_statistics","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date_shamsi`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `trade_date_shamsi`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"شناسه. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"شناسه. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"شناسه. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"شناسه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"شناسه. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"market — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Market","description":"market — exact match; comma-separate several values, `null` for NULL."},"name":"market","in":"query"},{"description":"auction_idn — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Idn","description":"auction_idn — exact match; comma-separate several values, `null` for NULL."},"name":"auction_idn","in":"query"},{"description":"auction_idn — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Idn  Gte","description":"auction_idn — minimum (inclusive)."},"name":"auction_idn__gte","in":"query"},{"description":"auction_idn — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Idn  Lte","description":"auction_idn — maximum (inclusive)."},"name":"auction_idn__lte","in":"query"},{"description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Date Shamsi","description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»). — exact match; comma-separate several values, `null` for NULL."},"name":"auction_date_shamsi","in":"query"},{"description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Date Shamsi  Gte","description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»). — minimum (inclusive)."},"name":"auction_date_shamsi__gte","in":"query"},{"description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Date Shamsi  Lte","description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»). — maximum (inclusive)."},"name":"auction_date_shamsi__lte","in":"query"},{"description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Date Shamsi","description":"تاریخ معامله (شمسی). — exact match; comma-separate several values, `null` for NULL."},"name":"trade_date_shamsi","in":"query"},{"description":"تاریخ معامله (شمسی). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date Shamsi  Gte","description":"تاریخ معامله (شمسی). — minimum (inclusive)."},"name":"trade_date_shamsi__gte","in":"query"},{"description":"تاریخ معامله (شمسی). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Date Shamsi  Lte","description":"تاریخ معامله (شمسی). — maximum (inclusive)."},"name":"trade_date_shamsi__lte","in":"query"},{"description":"energy_symbol — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Energy Symbol","description":"energy_symbol — exact match; comma-separate several values, `null` for NULL."},"name":"energy_symbol","in":"query"},{"description":"target_market_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Target Market Name","description":"target_market_name — exact match; comma-separate several values, `null` for NULL."},"name":"target_market_name","in":"query"},{"description":"auction_desc — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Desc","description":"auction_desc — exact match; comma-separate several values, `null` for NULL."},"name":"auction_desc","in":"query"},{"description":"supplier_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Supplier Name","description":"supplier_name — exact match; comma-separate several values, `null` for NULL."},"name":"supplier_name","in":"query"},{"description":"instrument_display_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Instrument Display Name","description":"instrument_display_name — exact match; comma-separate several values, `null` for NULL."},"name":"instrument_display_name","in":"query"},{"description":"producer_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Producer Name","description":"producer_name — exact match; comma-separate several values, `null` for NULL."},"name":"producer_name","in":"query"},{"description":"broker_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Broker Name","description":"broker_name — exact match; comma-separate several values, `null` for NULL."},"name":"broker_name","in":"query"},{"description":"total_value_rials — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Value Rials","description":"total_value_rials — exact match; comma-separate several values, `null` for NULL."},"name":"total_value_rials","in":"query"},{"description":"total_value_rials — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Value Rials  Gte","description":"total_value_rials — minimum (inclusive)."},"name":"total_value_rials__gte","in":"query"},{"description":"total_value_rials — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Value Rials  Lte","description":"total_value_rials — maximum (inclusive)."},"name":"total_value_rials__lte","in":"query"},{"description":"total_traded_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total Traded Volume","description":"total_traded_volume — exact match; comma-separate several values, `null` for NULL."},"name":"total_traded_volume","in":"query"},{"description":"total_traded_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total Traded Volume  Gte","description":"total_traded_volume — minimum (inclusive)."},"name":"total_traded_volume__gte","in":"query"},{"description":"total_traded_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total Traded Volume  Lte","description":"total_traded_volume — maximum (inclusive)."},"name":"total_traded_volume__lte","in":"query"},{"description":"volume_unit_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Volume Unit Title","description":"volume_unit_title — exact match; comma-separate several values, `null` for NULL."},"name":"volume_unit_title","in":"query"},{"description":"order_buy_traded_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Order Buy Traded Volume","description":"order_buy_traded_volume — exact match; comma-separate several values, `null` for NULL."},"name":"order_buy_traded_volume","in":"query"},{"description":"order_buy_traded_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Order Buy Traded Volume  Gte","description":"order_buy_traded_volume — minimum (inclusive)."},"name":"order_buy_traded_volume__gte","in":"query"},{"description":"order_buy_traded_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Order Buy Traded Volume  Lte","description":"order_buy_traded_volume — maximum (inclusive)."},"name":"order_buy_traded_volume__lte","in":"query"},{"description":"order_buy_traded_average_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Order Buy Traded Average Price","description":"order_buy_traded_average_price — exact match; comma-separate several values, `null` for NULL."},"name":"order_buy_traded_average_price","in":"query"},{"description":"order_buy_traded_average_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Order Buy Traded Average Price  Gte","description":"order_buy_traded_average_price — minimum (inclusive)."},"name":"order_buy_traded_average_price__gte","in":"query"},{"description":"order_buy_traded_average_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Order Buy Traded Average Price  Lte","description":"order_buy_traded_average_price — maximum (inclusive)."},"name":"order_buy_traded_average_price__lte","in":"query"},{"description":"trade_max_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Max Price","description":"trade_max_price — exact match; comma-separate several values, `null` for NULL."},"name":"trade_max_price","in":"query"},{"description":"trade_max_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Max Price  Gte","description":"trade_max_price — minimum (inclusive)."},"name":"trade_max_price__gte","in":"query"},{"description":"trade_max_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Max Price  Lte","description":"trade_max_price — maximum (inclusive)."},"name":"trade_max_price__lte","in":"query"},{"description":"trade_min_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Min Price","description":"trade_min_price — exact match; comma-separate several values, `null` for NULL."},"name":"trade_min_price","in":"query"},{"description":"trade_min_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Min Price  Gte","description":"trade_min_price — minimum (inclusive)."},"name":"trade_min_price__gte","in":"query"},{"description":"trade_min_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade Min Price  Lte","description":"trade_min_price — maximum (inclusive)."},"name":"trade_min_price__lte","in":"query"},{"description":"traded_average_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Traded Average Price","description":"traded_average_price — exact match; comma-separate several values, `null` for NULL."},"name":"traded_average_price","in":"query"},{"description":"traded_average_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Average Price  Gte","description":"traded_average_price — minimum (inclusive)."},"name":"traded_average_price__gte","in":"query"},{"description":"traded_average_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Traded Average Price  Lte","description":"traded_average_price — maximum (inclusive)."},"name":"traded_average_price__lte","in":"query"},{"description":"trade_no — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade No","description":"trade_no — exact match; comma-separate several values, `null` for NULL."},"name":"trade_no","in":"query"},{"description":"trade_no — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Trade No  Gte","description":"trade_no — minimum (inclusive)."},"name":"trade_no__gte","in":"query"},{"description":"trade_no — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Trade No  Lte","description":"trade_no — maximum (inclusive)."},"name":"trade_no__lte","in":"query"},{"description":"base_price — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Base Price","description":"base_price — exact match; comma-separate several values, `null` for NULL."},"name":"base_price","in":"query"},{"description":"base_price — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Gte","description":"base_price — minimum (inclusive)."},"name":"base_price__gte","in":"query"},{"description":"base_price — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Base Price  Lte","description":"base_price — maximum (inclusive)."},"name":"base_price__lte","in":"query"},{"description":"price_unit_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Price Unit Title","description":"price_unit_title — exact match; comma-separate several values, `null` for NULL."},"name":"price_unit_title","in":"query"},{"description":"contract_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Contract Type","description":"contract_type — exact match; comma-separate several values, `null` for NULL."},"name":"contract_type","in":"query"},{"description":"auction_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Volume","description":"auction_volume — exact match; comma-separate several values, `null` for NULL."},"name":"auction_volume","in":"query"},{"description":"auction_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Volume  Gte","description":"auction_volume — minimum (inclusive)."},"name":"auction_volume__gte","in":"query"},{"description":"auction_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Volume  Lte","description":"auction_volume — maximum (inclusive)."},"name":"auction_volume__lte","in":"query"},{"description":"auction_max_volume — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Auction Max Volume","description":"auction_max_volume — exact match; comma-separate several values, `null` for NULL."},"name":"auction_max_volume","in":"query"},{"description":"auction_max_volume — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Max Volume  Gte","description":"auction_max_volume — minimum (inclusive)."},"name":"auction_max_volume__gte","in":"query"},{"description":"auction_max_volume — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Auction Max Volume  Lte","description":"auction_max_volume — maximum (inclusive)."},"name":"auction_max_volume__lte","in":"query"},{"description":"trade_type_title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Trade Type Title","description":"trade_type_title — exact match; comma-separate several values, `null` for NULL."},"name":"trade_type_title","in":"query"},{"description":"board_name — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Board Name","description":"board_name — exact match; comma-separate several values, `null` for NULL."},"name":"board_name","in":"query"},{"description":"kilo_watt_hours — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Kilo Watt Hours","description":"kilo_watt_hours — exact match; comma-separate several values, `null` for NULL."},"name":"kilo_watt_hours","in":"query"},{"description":"kilo_watt_hours — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Kilo Watt Hours  Gte","description":"kilo_watt_hours — minimum (inclusive)."},"name":"kilo_watt_hours__gte","in":"query"},{"description":"kilo_watt_hours — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Kilo Watt Hours  Lte","description":"kilo_watt_hours — maximum (inclusive)."},"name":"kilo_watt_hours__lte","in":"query"},{"description":"clearing_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Clearing Type","description":"clearing_type — exact match; comma-separate several values, `null` for NULL."},"name":"clearing_type","in":"query"},{"description":"destination — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Destination","description":"destination — exact match; comma-separate several values, `null` for NULL."},"name":"destination","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"شناسه."},"market":{"type":"string"},"auction_idn":{"type":"integer"},"auction_date_shamsi":{"type":"string","description":"تاریخ و ساعت عرضه («1405/08/02 - 11:45»).","nullable":true},"trade_date_shamsi":{"type":"string","description":"تاریخ معامله (شمسی).","nullable":true},"energy_symbol":{"type":"string","nullable":true},"target_market_name":{"type":"string","nullable":true},"auction_desc":{"type":"string","nullable":true},"supplier_name":{"type":"string","nullable":true},"instrument_display_name":{"type":"string","nullable":true},"producer_name":{"type":"string","nullable":true},"broker_name":{"type":"string","nullable":true},"total_value_rials":{"type":"number","nullable":true},"total_traded_volume":{"type":"number","nullable":true},"volume_unit_title":{"type":"string","nullable":true},"order_buy_traded_volume":{"type":"number","nullable":true},"order_buy_traded_average_price":{"type":"number","nullable":true},"trade_max_price":{"type":"number","nullable":true},"trade_min_price":{"type":"number","nullable":true},"traded_average_price":{"type":"number","nullable":true},"trade_no":{"type":"integer","nullable":true},"base_price":{"type":"number","nullable":true},"price_unit_title":{"type":"string","nullable":true},"contract_type":{"type":"string","nullable":true},"auction_volume":{"type":"number","nullable":true},"auction_max_volume":{"type":"number","nullable":true},"trade_type_title":{"type":"string","nullable":true},"board_name":{"type":"string","nullable":true},"kilo_watt_hours":{"type":"number","nullable":true},"clearing_type":{"type":"string","nullable":true},"destination":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-runs":{"get":{"tags":["ops"],"summary":"اجرای جمع‌آوری مسکن دیوار — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `city_id` | text |  |\n| `category` | text |  |\n| `pages` | int |  |\n| `seen` | int |  |\n| `new_rows` | int |  |\n| `changed` | int |  |\n| `stopped` | text | چرا پیمایش یک فید پایان یافت: caught-up (به آبشخور رسید)، end (فید تمام شد)، page-cap، stuck، alias، throttled، budget یا error:<نوع> (http403، http500، timeout، json …). پیشوند gap- برای پیمایش شکاف‌هاست. |\n| `ran_at` | ts | زمان اجرا. |","operationId":"list_ops_divar_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `ran_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `ran_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"city_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"City Id","description":"city_id — exact match; comma-separate several values, `null` for NULL."},"name":"city_id","in":"query"},{"description":"category — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Category","description":"category — exact match; comma-separate several values, `null` for NULL."},"name":"category","in":"query"},{"description":"pages — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pages","description":"pages — exact match; comma-separate several values, `null` for NULL."},"name":"pages","in":"query"},{"description":"pages — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Gte","description":"pages — minimum (inclusive)."},"name":"pages__gte","in":"query"},{"description":"pages — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Lte","description":"pages — maximum (inclusive)."},"name":"pages__lte","in":"query"},{"description":"seen — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seen","description":"seen — exact match; comma-separate several values, `null` for NULL."},"name":"seen","in":"query"},{"description":"seen — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Seen  Gte","description":"seen — minimum (inclusive)."},"name":"seen__gte","in":"query"},{"description":"seen — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Seen  Lte","description":"seen — maximum (inclusive)."},"name":"seen__lte","in":"query"},{"description":"new_rows — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"New Rows","description":"new_rows — exact match; comma-separate several values, `null` for NULL."},"name":"new_rows","in":"query"},{"description":"new_rows — minimum (inclusive).","required":false,"schema":{"type":"string","title":"New Rows  Gte","description":"new_rows — minimum (inclusive)."},"name":"new_rows__gte","in":"query"},{"description":"new_rows — maximum (inclusive).","required":false,"schema":{"type":"string","title":"New Rows  Lte","description":"new_rows — maximum (inclusive)."},"name":"new_rows__lte","in":"query"},{"description":"changed — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Changed","description":"changed — exact match; comma-separate several values, `null` for NULL."},"name":"changed","in":"query"},{"description":"changed — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Changed  Gte","description":"changed — minimum (inclusive)."},"name":"changed__gte","in":"query"},{"description":"changed — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Changed  Lte","description":"changed — maximum (inclusive)."},"name":"changed__lte","in":"query"},{"description":"چرا پیمایش یک فید پایان یافت: caught-up (به آبشخور رسید)، end (فید تمام شد)، page-cap، stuck، alias، throttled، budget یا error:<نوع> (http403، http500، timeout، json …). پیشوند gap- برای پیمایش شکاف‌هاست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Stopped","description":"چرا پیمایش یک فید پایان یافت: caught-up (به آبشخور رسید)، end (فید تمام شد)، page-cap، stuck، alias، throttled، budget یا error:<نوع> (http403، http500، timeout، json …). پیشوند gap- برای پیمایش شکاف‌هاست. — exact match; comma-separate several values, `null` for NULL."},"name":"stopped","in":"query"},{"description":"زمان اجرا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ran At","description":"زمان اجرا. — exact match; comma-separate several values, `null` for NULL."},"name":"ran_at","in":"query"},{"description":"زمان اجرا. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ran At  Gte","description":"زمان اجرا. — minimum (inclusive)."},"name":"ran_at__gte","in":"query"},{"description":"زمان اجرا. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ran At  Lte","description":"زمان اجرا. — maximum (inclusive)."},"name":"ran_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"city_id":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"pages":{"type":"integer","nullable":true},"seen":{"type":"integer","nullable":true},"new_rows":{"type":"integer","nullable":true},"changed":{"type":"integer","nullable":true},"stopped":{"type":"string","description":"چرا پیمایش یک فید پایان یافت: caught-up (به آبشخور رسید)، end (فید تمام شد)، page-cap، stuck، alias، throttled، budget یا error:<نوع> (http403، http500، timeout، json …). پیشوند gap- برای پیمایش شکاف‌هاست.","nullable":true},"ran_at":{"type":"string","format":"date-time","description":"زمان اجرا.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-car-runs":{"get":{"tags":["ops"],"summary":"اجرای جمع‌آوری خودرو دیوار — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `city_id` | int |  |\n| `category` | text |  |\n| `pages` | int |  |\n| `new_rows` | int |  |\n| `changed` | int |  |\n| `stopped` | text | چرا پیمایش پایان یافت (مانند divar-runs): caught-up، end، page-cap، stuck، alias، throttled، budget، error:<نوع>. |\n| `ran_at` | ts | زمان اجرا. |\n| `seen` | int |  |","operationId":"list_ops_divar_car_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `ran_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `ran_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"city_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"City Id","description":"city_id — exact match; comma-separate several values, `null` for NULL."},"name":"city_id","in":"query"},{"description":"city_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"city_id — minimum (inclusive)."},"name":"city_id__gte","in":"query"},{"description":"city_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"city_id — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"category — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Category","description":"category — exact match; comma-separate several values, `null` for NULL."},"name":"category","in":"query"},{"description":"pages — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pages","description":"pages — exact match; comma-separate several values, `null` for NULL."},"name":"pages","in":"query"},{"description":"pages — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Gte","description":"pages — minimum (inclusive)."},"name":"pages__gte","in":"query"},{"description":"pages — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Lte","description":"pages — maximum (inclusive)."},"name":"pages__lte","in":"query"},{"description":"new_rows — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"New Rows","description":"new_rows — exact match; comma-separate several values, `null` for NULL."},"name":"new_rows","in":"query"},{"description":"new_rows — minimum (inclusive).","required":false,"schema":{"type":"string","title":"New Rows  Gte","description":"new_rows — minimum (inclusive)."},"name":"new_rows__gte","in":"query"},{"description":"new_rows — maximum (inclusive).","required":false,"schema":{"type":"string","title":"New Rows  Lte","description":"new_rows — maximum (inclusive)."},"name":"new_rows__lte","in":"query"},{"description":"changed — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Changed","description":"changed — exact match; comma-separate several values, `null` for NULL."},"name":"changed","in":"query"},{"description":"changed — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Changed  Gte","description":"changed — minimum (inclusive)."},"name":"changed__gte","in":"query"},{"description":"changed — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Changed  Lte","description":"changed — maximum (inclusive)."},"name":"changed__lte","in":"query"},{"description":"چرا پیمایش پایان یافت (مانند divar-runs): caught-up، end، page-cap، stuck، alias، throttled، budget، error:<نوع>. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Stopped","description":"چرا پیمایش پایان یافت (مانند divar-runs): caught-up، end، page-cap، stuck، alias، throttled، budget، error:<نوع>. — exact match; comma-separate several values, `null` for NULL."},"name":"stopped","in":"query"},{"description":"زمان اجرا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ran At","description":"زمان اجرا. — exact match; comma-separate several values, `null` for NULL."},"name":"ran_at","in":"query"},{"description":"زمان اجرا. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ran At  Gte","description":"زمان اجرا. — minimum (inclusive)."},"name":"ran_at__gte","in":"query"},{"description":"زمان اجرا. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ran At  Lte","description":"زمان اجرا. — maximum (inclusive)."},"name":"ran_at__lte","in":"query"},{"description":"seen — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seen","description":"seen — exact match; comma-separate several values, `null` for NULL."},"name":"seen","in":"query"},{"description":"seen — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Seen  Gte","description":"seen — minimum (inclusive)."},"name":"seen__gte","in":"query"},{"description":"seen — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Seen  Lte","description":"seen — maximum (inclusive)."},"name":"seen__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"city_id":{"type":"integer","nullable":true},"category":{"type":"string","nullable":true},"pages":{"type":"integer","nullable":true},"new_rows":{"type":"integer","nullable":true},"changed":{"type":"integer","nullable":true},"stopped":{"type":"string","description":"چرا پیمایش پایان یافت (مانند divar-runs): caught-up، end، page-cap، stuck، alias، throttled، budget، error:<نوع>.","nullable":true},"ran_at":{"type":"string","format":"date-time","description":"زمان اجرا.","nullable":true},"seen":{"type":"integer","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-city-state":{"get":{"tags":["ops"],"summary":"وضعیت جمع‌آوری مسکن هر شهر — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `city_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `city_id` | int ⚡ | کلید. |\n| `last_run` | ts |  |\n| `last_new` | int |  |\n| `due_at` | ts |  |\n| `backoff_h` | int |  |\n| `alias_of` | text |  |\n| `alias_checked` | ts |  |","operationId":"list_ops_divar_city_state","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `city_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `city_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city_id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"city_id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"last_run — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Run","description":"last_run — exact match; comma-separate several values, `null` for NULL."},"name":"last_run","in":"query"},{"description":"last_run — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Run  Gte","description":"last_run — minimum (inclusive)."},"name":"last_run__gte","in":"query"},{"description":"last_run — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Run  Lte","description":"last_run — maximum (inclusive)."},"name":"last_run__lte","in":"query"},{"description":"last_new — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last New","description":"last_new — exact match; comma-separate several values, `null` for NULL."},"name":"last_new","in":"query"},{"description":"last_new — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last New  Gte","description":"last_new — minimum (inclusive)."},"name":"last_new__gte","in":"query"},{"description":"last_new — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last New  Lte","description":"last_new — maximum (inclusive)."},"name":"last_new__lte","in":"query"},{"description":"due_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Due At","description":"due_at — exact match; comma-separate several values, `null` for NULL."},"name":"due_at","in":"query"},{"description":"due_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Due At  Gte","description":"due_at — minimum (inclusive)."},"name":"due_at__gte","in":"query"},{"description":"due_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Due At  Lte","description":"due_at — maximum (inclusive)."},"name":"due_at__lte","in":"query"},{"description":"backoff_h — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Backoff H","description":"backoff_h — exact match; comma-separate several values, `null` for NULL."},"name":"backoff_h","in":"query"},{"description":"backoff_h — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Backoff H  Gte","description":"backoff_h — minimum (inclusive)."},"name":"backoff_h__gte","in":"query"},{"description":"backoff_h — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Backoff H  Lte","description":"backoff_h — maximum (inclusive)."},"name":"backoff_h__lte","in":"query"},{"description":"alias_of — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Alias Of","description":"alias_of — exact match; comma-separate several values, `null` for NULL."},"name":"alias_of","in":"query"},{"description":"alias_checked — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Alias Checked","description":"alias_checked — exact match; comma-separate several values, `null` for NULL."},"name":"alias_checked","in":"query"},{"description":"alias_checked — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Alias Checked  Gte","description":"alias_checked — minimum (inclusive)."},"name":"alias_checked__gte","in":"query"},{"description":"alias_checked — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Alias Checked  Lte","description":"alias_checked — maximum (inclusive)."},"name":"alias_checked__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"city_id":{"type":"integer","description":"کلید."},"last_run":{"type":"string","format":"date-time","nullable":true},"last_new":{"type":"integer","nullable":true},"due_at":{"type":"string","format":"date-time","nullable":true},"backoff_h":{"type":"integer","nullable":true},"alias_of":{"type":"string","nullable":true},"alias_checked":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-car-city-state":{"get":{"tags":["ops"],"summary":"وضعیت جمع‌آوری خودرو هر شهر — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `city_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `city_id` | int ⚡ | کلید. |\n| `last_run` | ts |  |\n| `last_new` | int |  |\n| `due_at` | ts |  |\n| `backoff_h` | int |  |\n| `alias_of` | text |  |\n| `alias_checked` | ts |  |","operationId":"list_ops_divar_car_city_state","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `city_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `city_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"city_id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"city_id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"last_run — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Run","description":"last_run — exact match; comma-separate several values, `null` for NULL."},"name":"last_run","in":"query"},{"description":"last_run — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Run  Gte","description":"last_run — minimum (inclusive)."},"name":"last_run__gte","in":"query"},{"description":"last_run — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Run  Lte","description":"last_run — maximum (inclusive)."},"name":"last_run__lte","in":"query"},{"description":"last_new — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last New","description":"last_new — exact match; comma-separate several values, `null` for NULL."},"name":"last_new","in":"query"},{"description":"last_new — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last New  Gte","description":"last_new — minimum (inclusive)."},"name":"last_new__gte","in":"query"},{"description":"last_new — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last New  Lte","description":"last_new — maximum (inclusive)."},"name":"last_new__lte","in":"query"},{"description":"due_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Due At","description":"due_at — exact match; comma-separate several values, `null` for NULL."},"name":"due_at","in":"query"},{"description":"due_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Due At  Gte","description":"due_at — minimum (inclusive)."},"name":"due_at__gte","in":"query"},{"description":"due_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Due At  Lte","description":"due_at — maximum (inclusive)."},"name":"due_at__lte","in":"query"},{"description":"backoff_h — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Backoff H","description":"backoff_h — exact match; comma-separate several values, `null` for NULL."},"name":"backoff_h","in":"query"},{"description":"backoff_h — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Backoff H  Gte","description":"backoff_h — minimum (inclusive)."},"name":"backoff_h__gte","in":"query"},{"description":"backoff_h — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Backoff H  Lte","description":"backoff_h — maximum (inclusive)."},"name":"backoff_h__lte","in":"query"},{"description":"alias_of — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Alias Of","description":"alias_of — exact match; comma-separate several values, `null` for NULL."},"name":"alias_of","in":"query"},{"description":"alias_checked — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Alias Checked","description":"alias_checked — exact match; comma-separate several values, `null` for NULL."},"name":"alias_checked","in":"query"},{"description":"alias_checked — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Alias Checked  Gte","description":"alias_checked — minimum (inclusive)."},"name":"alias_checked__gte","in":"query"},{"description":"alias_checked — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Alias Checked  Lte","description":"alias_checked — maximum (inclusive)."},"name":"alias_checked__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"city_id":{"type":"integer","description":"کلید."},"last_run":{"type":"string","format":"date-time","nullable":true},"last_new":{"type":"integer","nullable":true},"due_at":{"type":"string","format":"date-time","nullable":true},"backoff_h":{"type":"integer","nullable":true},"alias_of":{"type":"string","nullable":true},"alias_checked":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-job-runs":{"get":{"tags":["ops"],"summary":"اجرای هر فرایند جمع‌آوری دیوار (کد خروج، درخواست‌ها، پایان پیمایش‌ها) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `kind` | text |  |\n| `job` | text |  |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts |  |\n| `exit_code` | int |  |\n| `requests` | int |  |\n| `throttled` | int |  |\n| `errors` | int |  |\n| `list_pages` | int |  |\n| `details` | int |  |\n| `gone` | int |  |\n| `unvisited` | int |  |\n| `stops` | json |  |\n| `status` | json |  |\n| `metrics` | json |  |\n| `note` | text |  |","operationId":"list_ops_divar_job_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"kind — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Kind","description":"kind — exact match; comma-separate several values, `null` for NULL."},"name":"kind","in":"query"},{"description":"job — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Job","description":"job — exact match; comma-separate several values, `null` for NULL."},"name":"job","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"finished_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"finished_at — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"finished_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"finished_at — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"finished_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"finished_at — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"exit_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"exit_code — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"exit_code — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"exit_code — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"exit_code — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"exit_code — maximum (inclusive)."},"name":"exit_code__lte","in":"query"},{"description":"requests — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Requests","description":"requests — exact match; comma-separate several values, `null` for NULL."},"name":"requests","in":"query"},{"description":"requests — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Gte","description":"requests — minimum (inclusive)."},"name":"requests__gte","in":"query"},{"description":"requests — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Lte","description":"requests — maximum (inclusive)."},"name":"requests__lte","in":"query"},{"description":"throttled — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Throttled","description":"throttled — exact match; comma-separate several values, `null` for NULL."},"name":"throttled","in":"query"},{"description":"throttled — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Throttled  Gte","description":"throttled — minimum (inclusive)."},"name":"throttled__gte","in":"query"},{"description":"throttled — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Throttled  Lte","description":"throttled — maximum (inclusive)."},"name":"throttled__lte","in":"query"},{"description":"errors — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Errors","description":"errors — exact match; comma-separate several values, `null` for NULL."},"name":"errors","in":"query"},{"description":"errors — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Gte","description":"errors — minimum (inclusive)."},"name":"errors__gte","in":"query"},{"description":"errors — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Lte","description":"errors — maximum (inclusive)."},"name":"errors__lte","in":"query"},{"description":"list_pages — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"List Pages","description":"list_pages — exact match; comma-separate several values, `null` for NULL."},"name":"list_pages","in":"query"},{"description":"list_pages — minimum (inclusive).","required":false,"schema":{"type":"string","title":"List Pages  Gte","description":"list_pages — minimum (inclusive)."},"name":"list_pages__gte","in":"query"},{"description":"list_pages — maximum (inclusive).","required":false,"schema":{"type":"string","title":"List Pages  Lte","description":"list_pages — maximum (inclusive)."},"name":"list_pages__lte","in":"query"},{"description":"details — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Details","description":"details — exact match; comma-separate several values, `null` for NULL."},"name":"details","in":"query"},{"description":"details — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Details  Gte","description":"details — minimum (inclusive)."},"name":"details__gte","in":"query"},{"description":"details — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Details  Lte","description":"details — maximum (inclusive)."},"name":"details__lte","in":"query"},{"description":"gone — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Gone","description":"gone — exact match; comma-separate several values, `null` for NULL."},"name":"gone","in":"query"},{"description":"gone — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Gone  Gte","description":"gone — minimum (inclusive)."},"name":"gone__gte","in":"query"},{"description":"gone — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Gone  Lte","description":"gone — maximum (inclusive)."},"name":"gone__lte","in":"query"},{"description":"unvisited — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unvisited","description":"unvisited — exact match; comma-separate several values, `null` for NULL."},"name":"unvisited","in":"query"},{"description":"unvisited — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Unvisited  Gte","description":"unvisited — minimum (inclusive)."},"name":"unvisited__gte","in":"query"},{"description":"unvisited — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Unvisited  Lte","description":"unvisited — maximum (inclusive)."},"name":"unvisited__lte","in":"query"},{"description":"note — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"note — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"kind":{"type":"string","nullable":true},"job":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","description":"زمان شروع.","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"exit_code":{"type":"integer","nullable":true},"requests":{"type":"integer","nullable":true},"throttled":{"type":"integer","nullable":true},"errors":{"type":"integer","nullable":true},"list_pages":{"type":"integer","nullable":true},"details":{"type":"integer","nullable":true},"gone":{"type":"integer","nullable":true},"unvisited":{"type":"integer","nullable":true},"stops":{"type":"object"},"status":{"type":"object"},"metrics":{"type":"object"},"note":{"type":"string","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-feed-state":{"get":{"tags":["ops"],"summary":"تا کجا فید هر شهر+دستهٔ مسکن خوانده شده (آبشخور زمانی و شکاف‌ها) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n\n| column | type | description |\n|---|---|---|\n| `city_id` | int |  |\n| `category` | text |  |\n| `wm_us` | int |  |\n| `gaps` | json |  |\n| `hot` | bool |  |\n| `empty_streak` | int |  |\n| `last_visit` | ts |  |\n| `last_pages` | int |  |\n| `last_items` | int |  |\n| `last_stopped` | text |  |\n| `rate_h` | num |  |","operationId":"list_ops_divar_feed_state","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"city_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"City Id","description":"city_id — exact match; comma-separate several values, `null` for NULL."},"name":"city_id","in":"query"},{"description":"city_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"city_id — minimum (inclusive)."},"name":"city_id__gte","in":"query"},{"description":"city_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"city_id — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"category — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Category","description":"category — exact match; comma-separate several values, `null` for NULL."},"name":"category","in":"query"},{"description":"wm_us — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Wm Us","description":"wm_us — exact match; comma-separate several values, `null` for NULL."},"name":"wm_us","in":"query"},{"description":"wm_us — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Wm Us  Gte","description":"wm_us — minimum (inclusive)."},"name":"wm_us__gte","in":"query"},{"description":"wm_us — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Wm Us  Lte","description":"wm_us — maximum (inclusive)."},"name":"wm_us__lte","in":"query"},{"description":"hot — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Hot","description":"hot — exact match; comma-separate several values, `null` for NULL."},"name":"hot","in":"query"},{"description":"empty_streak — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Empty Streak","description":"empty_streak — exact match; comma-separate several values, `null` for NULL."},"name":"empty_streak","in":"query"},{"description":"empty_streak — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Empty Streak  Gte","description":"empty_streak — minimum (inclusive)."},"name":"empty_streak__gte","in":"query"},{"description":"empty_streak — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Empty Streak  Lte","description":"empty_streak — maximum (inclusive)."},"name":"empty_streak__lte","in":"query"},{"description":"last_visit — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Visit","description":"last_visit — exact match; comma-separate several values, `null` for NULL."},"name":"last_visit","in":"query"},{"description":"last_visit — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Visit  Gte","description":"last_visit — minimum (inclusive)."},"name":"last_visit__gte","in":"query"},{"description":"last_visit — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Visit  Lte","description":"last_visit — maximum (inclusive)."},"name":"last_visit__lte","in":"query"},{"description":"last_pages — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Pages","description":"last_pages — exact match; comma-separate several values, `null` for NULL."},"name":"last_pages","in":"query"},{"description":"last_pages — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Pages  Gte","description":"last_pages — minimum (inclusive)."},"name":"last_pages__gte","in":"query"},{"description":"last_pages — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Pages  Lte","description":"last_pages — maximum (inclusive)."},"name":"last_pages__lte","in":"query"},{"description":"last_items — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Items","description":"last_items — exact match; comma-separate several values, `null` for NULL."},"name":"last_items","in":"query"},{"description":"last_items — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Items  Gte","description":"last_items — minimum (inclusive)."},"name":"last_items__gte","in":"query"},{"description":"last_items — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Items  Lte","description":"last_items — maximum (inclusive)."},"name":"last_items__lte","in":"query"},{"description":"last_stopped — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Stopped","description":"last_stopped — exact match; comma-separate several values, `null` for NULL."},"name":"last_stopped","in":"query"},{"description":"rate_h — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rate H","description":"rate_h — exact match; comma-separate several values, `null` for NULL."},"name":"rate_h","in":"query"},{"description":"rate_h — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rate H  Gte","description":"rate_h — minimum (inclusive)."},"name":"rate_h__gte","in":"query"},{"description":"rate_h — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rate H  Lte","description":"rate_h — maximum (inclusive)."},"name":"rate_h__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"city_id":{"type":"integer"},"category":{"type":"string"},"wm_us":{"type":"integer","nullable":true},"gaps":{"type":"object"},"hot":{"type":"boolean"},"empty_streak":{"type":"integer"},"last_visit":{"type":"string","format":"date-time","nullable":true},"last_pages":{"type":"integer","nullable":true},"last_items":{"type":"integer","nullable":true},"last_stopped":{"type":"string","nullable":true},"rate_h":{"type":"number","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-car-feed-state":{"get":{"tags":["ops"],"summary":"تا کجا فید خودروی هر شهر خوانده شده — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n\n| column | type | description |\n|---|---|---|\n| `city_id` | int |  |\n| `category` | text |  |\n| `wm_us` | int |  |\n| `gaps` | json |  |\n| `hot` | bool |  |\n| `empty_streak` | int |  |\n| `last_visit` | ts |  |\n| `last_pages` | int |  |\n| `last_items` | int |  |\n| `last_stopped` | text |  |\n| `rate_h` | num |  |","operationId":"list_ops_divar_car_feed_state","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"city_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"City Id","description":"city_id — exact match; comma-separate several values, `null` for NULL."},"name":"city_id","in":"query"},{"description":"city_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Gte","description":"city_id — minimum (inclusive)."},"name":"city_id__gte","in":"query"},{"description":"city_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"City Id  Lte","description":"city_id — maximum (inclusive)."},"name":"city_id__lte","in":"query"},{"description":"category — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Category","description":"category — exact match; comma-separate several values, `null` for NULL."},"name":"category","in":"query"},{"description":"wm_us — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Wm Us","description":"wm_us — exact match; comma-separate several values, `null` for NULL."},"name":"wm_us","in":"query"},{"description":"wm_us — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Wm Us  Gte","description":"wm_us — minimum (inclusive)."},"name":"wm_us__gte","in":"query"},{"description":"wm_us — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Wm Us  Lte","description":"wm_us — maximum (inclusive)."},"name":"wm_us__lte","in":"query"},{"description":"hot — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Hot","description":"hot — exact match; comma-separate several values, `null` for NULL."},"name":"hot","in":"query"},{"description":"empty_streak — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Empty Streak","description":"empty_streak — exact match; comma-separate several values, `null` for NULL."},"name":"empty_streak","in":"query"},{"description":"empty_streak — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Empty Streak  Gte","description":"empty_streak — minimum (inclusive)."},"name":"empty_streak__gte","in":"query"},{"description":"empty_streak — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Empty Streak  Lte","description":"empty_streak — maximum (inclusive)."},"name":"empty_streak__lte","in":"query"},{"description":"last_visit — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Visit","description":"last_visit — exact match; comma-separate several values, `null` for NULL."},"name":"last_visit","in":"query"},{"description":"last_visit — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Visit  Gte","description":"last_visit — minimum (inclusive)."},"name":"last_visit__gte","in":"query"},{"description":"last_visit — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Visit  Lte","description":"last_visit — maximum (inclusive)."},"name":"last_visit__lte","in":"query"},{"description":"last_pages — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Pages","description":"last_pages — exact match; comma-separate several values, `null` for NULL."},"name":"last_pages","in":"query"},{"description":"last_pages — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Pages  Gte","description":"last_pages — minimum (inclusive)."},"name":"last_pages__gte","in":"query"},{"description":"last_pages — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Pages  Lte","description":"last_pages — maximum (inclusive)."},"name":"last_pages__lte","in":"query"},{"description":"last_items — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Items","description":"last_items — exact match; comma-separate several values, `null` for NULL."},"name":"last_items","in":"query"},{"description":"last_items — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Items  Gte","description":"last_items — minimum (inclusive)."},"name":"last_items__gte","in":"query"},{"description":"last_items — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Items  Lte","description":"last_items — maximum (inclusive)."},"name":"last_items__lte","in":"query"},{"description":"last_stopped — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Stopped","description":"last_stopped — exact match; comma-separate several values, `null` for NULL."},"name":"last_stopped","in":"query"},{"description":"rate_h — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rate H","description":"rate_h — exact match; comma-separate several values, `null` for NULL."},"name":"rate_h","in":"query"},{"description":"rate_h — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rate H  Gte","description":"rate_h — minimum (inclusive)."},"name":"rate_h__gte","in":"query"},{"description":"rate_h — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rate H  Lte","description":"rate_h — maximum (inclusive)."},"name":"rate_h__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"city_id":{"type":"integer"},"category":{"type":"string"},"wm_us":{"type":"integer","nullable":true},"gaps":{"type":"object"},"hot":{"type":"boolean"},"empty_streak":{"type":"integer"},"last_visit":{"type":"string","format":"date-time","nullable":true},"last_pages":{"type":"integer","nullable":true},"last_items":{"type":"integer","nullable":true},"last_stopped":{"type":"string","nullable":true},"rate_h":{"type":"number","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/divar-car-medians":{"get":{"tags":["ops"],"summary":"میانهٔ قیمت هر مدل و سال خودرو (برای price_flag) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n\n| column | type | description |\n|---|---|---|\n| `brand_model` | text |  |\n| `model_year` | int |  |\n| `n` | int |  |\n| `median` | num |  |\n| `updated_at` | ts |  |","operationId":"list_ops_divar_car_medians","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"brand_model — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Brand Model","description":"brand_model — exact match; comma-separate several values, `null` for NULL."},"name":"brand_model","in":"query"},{"description":"model_year — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Model Year","description":"model_year — exact match; comma-separate several values, `null` for NULL."},"name":"model_year","in":"query"},{"description":"model_year — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Model Year  Gte","description":"model_year — minimum (inclusive)."},"name":"model_year__gte","in":"query"},{"description":"model_year — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Model Year  Lte","description":"model_year — maximum (inclusive)."},"name":"model_year__lte","in":"query"},{"description":"n — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"N","description":"n — exact match; comma-separate several values, `null` for NULL."},"name":"n","in":"query"},{"description":"n — minimum (inclusive).","required":false,"schema":{"type":"string","title":"N  Gte","description":"n — minimum (inclusive)."},"name":"n__gte","in":"query"},{"description":"n — maximum (inclusive).","required":false,"schema":{"type":"string","title":"N  Lte","description":"n — maximum (inclusive)."},"name":"n__lte","in":"query"},{"description":"median — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Median","description":"median — exact match; comma-separate several values, `null` for NULL."},"name":"median","in":"query"},{"description":"median — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Median  Gte","description":"median — minimum (inclusive)."},"name":"median__gte","in":"query"},{"description":"median — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Median  Lte","description":"median — maximum (inclusive)."},"name":"median__lte","in":"query"},{"description":"updated_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"updated_at — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"updated_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"updated_at — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"updated_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"updated_at — maximum (inclusive)."},"name":"updated_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"brand_model":{"type":"string"},"model_year":{"type":"integer"},"n":{"type":"integer","nullable":true},"median":{"type":"number","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/codal-pages":{"get":{"tags":["ops"],"summary":"صفحه‌های کدال که خوانده شده‌اند (یادداشت ازسرگیری؛ دلیل کامل‌بودن ماه نیست؛ `win` با پیشوند `c` مثل `c1404/02` = فهرست نامه‌های شرکت‌های تابعه) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n\n| column | type | description |\n|---|---|---|\n| `win` | text |  |\n| `page` | int |  |\n| `letters` | int |  |\n| `new_rows` | int |  |\n| `fetched_at` | ts |  |","operationId":"list_ops_codal_pages","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"win — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Win","description":"win — exact match; comma-separate several values, `null` for NULL."},"name":"win","in":"query"},{"description":"page — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Page","description":"page — exact match; comma-separate several values, `null` for NULL."},"name":"page","in":"query"},{"description":"page — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Page  Gte","description":"page — minimum (inclusive)."},"name":"page__gte","in":"query"},{"description":"page — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Page  Lte","description":"page — maximum (inclusive)."},"name":"page__lte","in":"query"},{"description":"letters — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Letters","description":"letters — exact match; comma-separate several values, `null` for NULL."},"name":"letters","in":"query"},{"description":"letters — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Letters  Gte","description":"letters — minimum (inclusive)."},"name":"letters__gte","in":"query"},{"description":"letters — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Letters  Lte","description":"letters — maximum (inclusive)."},"name":"letters__lte","in":"query"},{"description":"new_rows — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"New Rows","description":"new_rows — exact match; comma-separate several values, `null` for NULL."},"name":"new_rows","in":"query"},{"description":"new_rows — minimum (inclusive).","required":false,"schema":{"type":"string","title":"New Rows  Gte","description":"new_rows — minimum (inclusive)."},"name":"new_rows__gte","in":"query"},{"description":"new_rows — maximum (inclusive).","required":false,"schema":{"type":"string","title":"New Rows  Lte","description":"new_rows — maximum (inclusive)."},"name":"new_rows__lte","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"win":{"type":"string"},"page":{"type":"integer"},"letters":{"type":"integer","nullable":true},"new_rows":{"type":"integer","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/codal-windows":{"get":{"tags":["ops"],"summary":"ماه‌های کدال و کامل‌بودن هر ماه — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `win`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `win` | text ⚡ | کلید. |\n| `total` | int | تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) |\n| `pages` | int | تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). |\n| `done` | bool | ماه بسته شده است: پس از پایان ماه و دو روز تأمل، `stored >= total`. برابر `closed_at IS NOT NULL`. |\n| `fetched_at` | ts |  |\n| `stored` | int | تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. |\n| `closed_at` | ts | زمان بسته‌شدن ماه. |\n| `attempts` | int | پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. |\n| `note` | text | چرا ماه باز است، به زبان ساده. |\n| `child_total` | int | تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. |\n| `child_pages` | int | تعداد صفحه‌های ۲۰تایی همان فهرست. |\n| `child_held` | int | نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. |\n| `child_closed_at` | ts | زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. |\n| `child_attempts` | int | پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. |\n| `child_note` | text | چرا طبقه‌بندی این ماه باز است، به زبان ساده. |\n| `child_fetched_at` | ts | آخرین بار که `child_total` از کدال خوانده شد. |","operationId":"list_ops_codal_windows","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `win`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `win`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Win","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"win","in":"query"},{"description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Total","description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) — exact match; comma-separate several values, `null` for NULL."},"name":"total","in":"query"},{"description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Total  Gte","description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) — minimum (inclusive)."},"name":"total__gte","in":"query"},{"description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Total  Lte","description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.) — maximum (inclusive)."},"name":"total__lte","in":"query"},{"description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pages","description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). — exact match; comma-separate several values, `null` for NULL."},"name":"pages","in":"query"},{"description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Gte","description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). — minimum (inclusive)."},"name":"pages__gte","in":"query"},{"description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Lte","description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال). — maximum (inclusive)."},"name":"pages__lte","in":"query"},{"description":"ماه بسته شده است: پس از پایان ماه و دو روز تأمل، `stored >= total`. برابر `closed_at IS NOT NULL`. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Done","description":"ماه بسته شده است: پس از پایان ماه و دو روز تأمل، `stored >= total`. برابر `closed_at IS NOT NULL`. — exact match; comma-separate several values, `null` for NULL."},"name":"done","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Stored","description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. — exact match; comma-separate several values, `null` for NULL."},"name":"stored","in":"query"},{"description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Stored  Gte","description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. — minimum (inclusive)."},"name":"stored__gte","in":"query"},{"description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Stored  Lte","description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه. — maximum (inclusive)."},"name":"stored__lte","in":"query"},{"description":"زمان بسته‌شدن ماه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Closed At","description":"زمان بسته‌شدن ماه. — exact match; comma-separate several values, `null` for NULL."},"name":"closed_at","in":"query"},{"description":"زمان بسته‌شدن ماه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Closed At  Gte","description":"زمان بسته‌شدن ماه. — minimum (inclusive)."},"name":"closed_at__gte","in":"query"},{"description":"زمان بسته‌شدن ماه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Closed At  Lte","description":"زمان بسته‌شدن ماه. — maximum (inclusive)."},"name":"closed_at__lte","in":"query"},{"description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Attempts","description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. — exact match; comma-separate several values, `null` for NULL."},"name":"attempts","in":"query"},{"description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Attempts  Gte","description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. — minimum (inclusive)."},"name":"attempts__gte","in":"query"},{"description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Attempts  Lte","description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند. — maximum (inclusive)."},"name":"attempts__lte","in":"query"},{"description":"چرا ماه باز است، به زبان ساده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"چرا ماه باز است، به زبان ساده. — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"},{"description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Total","description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. — exact match; comma-separate several values, `null` for NULL."},"name":"child_total","in":"query"},{"description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Total  Gte","description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. — minimum (inclusive)."},"name":"child_total__gte","in":"query"},{"description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Total  Lte","description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده. — maximum (inclusive)."},"name":"child_total__lte","in":"query"},{"description":"تعداد صفحه‌های ۲۰تایی همان فهرست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Pages","description":"تعداد صفحه‌های ۲۰تایی همان فهرست. — exact match; comma-separate several values, `null` for NULL."},"name":"child_pages","in":"query"},{"description":"تعداد صفحه‌های ۲۰تایی همان فهرست. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Pages  Gte","description":"تعداد صفحه‌های ۲۰تایی همان فهرست. — minimum (inclusive)."},"name":"child_pages__gte","in":"query"},{"description":"تعداد صفحه‌های ۲۰تایی همان فهرست. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Pages  Lte","description":"تعداد صفحه‌های ۲۰تایی همان فهرست. — maximum (inclusive)."},"name":"child_pages__lte","in":"query"},{"description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Held","description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. — exact match; comma-separate several values, `null` for NULL."},"name":"child_held","in":"query"},{"description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Held  Gte","description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. — minimum (inclusive)."},"name":"child_held__gte","in":"query"},{"description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Held  Lte","description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه. — maximum (inclusive)."},"name":"child_held__lte","in":"query"},{"description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Closed At","description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. — exact match; comma-separate several values, `null` for NULL."},"name":"child_closed_at","in":"query"},{"description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Closed At  Gte","description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. — minimum (inclusive)."},"name":"child_closed_at__gte","in":"query"},{"description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Closed At  Lte","description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده. — maximum (inclusive)."},"name":"child_closed_at__lte","in":"query"},{"description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Attempts","description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. — exact match; comma-separate several values, `null` for NULL."},"name":"child_attempts","in":"query"},{"description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Attempts  Gte","description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. — minimum (inclusive)."},"name":"child_attempts__gte","in":"query"},{"description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Attempts  Lte","description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند. — maximum (inclusive)."},"name":"child_attempts__lte","in":"query"},{"description":"چرا طبقه‌بندی این ماه باز است، به زبان ساده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Note","description":"چرا طبقه‌بندی این ماه باز است، به زبان ساده. — exact match; comma-separate several values, `null` for NULL."},"name":"child_note","in":"query"},{"description":"آخرین بار که `child_total` از کدال خوانده شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Fetched At","description":"آخرین بار که `child_total` از کدال خوانده شد. — exact match; comma-separate several values, `null` for NULL."},"name":"child_fetched_at","in":"query"},{"description":"آخرین بار که `child_total` از کدال خوانده شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Fetched At  Gte","description":"آخرین بار که `child_total` از کدال خوانده شد. — minimum (inclusive)."},"name":"child_fetched_at__gte","in":"query"},{"description":"آخرین بار که `child_total` از کدال خوانده شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Fetched At  Lte","description":"آخرین بار که `child_total` از کدال خوانده شد. — maximum (inclusive)."},"name":"child_fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"win":{"type":"string","description":"کلید."},"total":{"type":"integer","description":"تعداد اطلاعیه‌ای که خود کدال برای این ماه می‌گوید (`Total`) در لحظهٔ `fetched_at`؛ تهی = هنوز خوانده نشده (ترمیم ۱۴۰۵/۰۸). (پیش‌تر: تعداد اطلاعیه‌های دیده‌شده در آخرین پیمایش.)","nullable":true},"pages":{"type":"integer","description":"تعداد صفحه‌های ۲۰تایی همان پاسخ (`Page` کدال).","nullable":true},"done":{"type":"boolean","description":"ماه بسته شده است: پس از پایان ماه و دو روز تأمل، `stored >= total`. برابر `closed_at IS NOT NULL`."},"fetched_at":{"type":"string","format":"date-time","nullable":true},"stored":{"type":"integer","description":"تعداد اطلاعیه‌هایی که با `publish_dt` در این ماه نزد ما هست، در همان لحظه.","nullable":true},"closed_at":{"type":"string","format":"date-time","description":"زمان بسته‌شدن ماه.","nullable":true},"attempts":{"type":"integer","description":"پیمایش‌های کاملی که هنوز از `total` کم داشته‌اند."},"note":{"type":"string","description":"چرا ماه باز است، به زبان ساده.","nullable":true},"child_total":{"type":"integer","description":"تعداد نامه‌های **شرکت‌های تابعه** که کدال برای این ماه می‌گوید (فهرست «فقط تابعه‌ها»، `Mains=false&Childs=true`) در لحظهٔ `child_fetched_at`؛ تهی = هنوز خوانده نشده.","nullable":true},"child_pages":{"type":"integer","description":"تعداد صفحه‌های ۲۰تایی همان فهرست.","nullable":true},"child_held":{"type":"integer","description":"نامه‌هایی که نزد ما `is_child = true` دارند و `publish_dt`شان در این ماه است، در همان لحظه.","nullable":true},"child_closed_at":{"type":"string","format":"date-time","description":"زمان بسته‌شدن طبقه‌بندی این ماه: `child_held >= child_total` پس از ختم ماه و دو روز تأمل، و بقیهٔ نامه‌های ماه «خودِ شرکت» (`is_child = false`) شدند. تهی = هنوز بسته نشده.","nullable":true},"child_attempts":{"type":"integer","description":"پیمایش‌های کامل فهرست تابعه‌ها که هنوز از `child_total` کم داشته‌اند."},"child_note":{"type":"string","description":"چرا طبقه‌بندی این ماه باز است، به زبان ساده.","nullable":true},"child_fetched_at":{"type":"string","format":"date-time","description":"آخرین بار که `child_total` از کدال خوانده شد.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/codal-runs":{"get":{"tags":["ops"],"summary":"اجراهای جمع‌آوری کدال — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts |  |\n| `requests` | int | درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). |\n| `pages` | int |  |\n| `letters` | int |  |\n| `new_letters` | int | اطلاعیه‌های تازه‌ای که ذخیره شد. |\n| `rate_limited` | int | تعداد پاسخ‌های ۴۲۹. |\n| `errors` | int |  |\n| `waited_s` | int | ثانیه‌هایی که برای ۴۲۹ صبر شد. |\n| `windows_due` | int | ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. |\n| `windows_incomplete` | int | از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. |\n| `pages_missing` | int | صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. |\n| `letters_short` | int | اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. |\n| `exit_code` | int | ۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. |\n| `note` | text | توضیح اجرا (خالی = بی‌مشکل). |\n| `child_requests` | int | از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. |\n| `child_open` | int | ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). |","operationId":"list_ops_codal_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"finished_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"finished_at — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"finished_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"finished_at — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"finished_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"finished_at — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Requests","description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). — exact match; comma-separate several values, `null` for NULL."},"name":"requests","in":"query"},{"description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Gte","description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). — minimum (inclusive)."},"name":"requests__gte","in":"query"},{"description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Lte","description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره). — maximum (inclusive)."},"name":"requests__lte","in":"query"},{"description":"pages — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pages","description":"pages — exact match; comma-separate several values, `null` for NULL."},"name":"pages","in":"query"},{"description":"pages — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Gte","description":"pages — minimum (inclusive)."},"name":"pages__gte","in":"query"},{"description":"pages — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pages  Lte","description":"pages — maximum (inclusive)."},"name":"pages__lte","in":"query"},{"description":"letters — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Letters","description":"letters — exact match; comma-separate several values, `null` for NULL."},"name":"letters","in":"query"},{"description":"letters — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Letters  Gte","description":"letters — minimum (inclusive)."},"name":"letters__gte","in":"query"},{"description":"letters — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Letters  Lte","description":"letters — maximum (inclusive)."},"name":"letters__lte","in":"query"},{"description":"اطلاعیه‌های تازه‌ای که ذخیره شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"New Letters","description":"اطلاعیه‌های تازه‌ای که ذخیره شد. — exact match; comma-separate several values, `null` for NULL."},"name":"new_letters","in":"query"},{"description":"اطلاعیه‌های تازه‌ای که ذخیره شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"New Letters  Gte","description":"اطلاعیه‌های تازه‌ای که ذخیره شد. — minimum (inclusive)."},"name":"new_letters__gte","in":"query"},{"description":"اطلاعیه‌های تازه‌ای که ذخیره شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"New Letters  Lte","description":"اطلاعیه‌های تازه‌ای که ذخیره شد. — maximum (inclusive)."},"name":"new_letters__lte","in":"query"},{"description":"تعداد پاسخ‌های ۴۲۹. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rate Limited","description":"تعداد پاسخ‌های ۴۲۹. — exact match; comma-separate several values, `null` for NULL."},"name":"rate_limited","in":"query"},{"description":"تعداد پاسخ‌های ۴۲۹. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rate Limited  Gte","description":"تعداد پاسخ‌های ۴۲۹. — minimum (inclusive)."},"name":"rate_limited__gte","in":"query"},{"description":"تعداد پاسخ‌های ۴۲۹. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rate Limited  Lte","description":"تعداد پاسخ‌های ۴۲۹. — maximum (inclusive)."},"name":"rate_limited__lte","in":"query"},{"description":"errors — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Errors","description":"errors — exact match; comma-separate several values, `null` for NULL."},"name":"errors","in":"query"},{"description":"errors — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Gte","description":"errors — minimum (inclusive)."},"name":"errors__gte","in":"query"},{"description":"errors — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Lte","description":"errors — maximum (inclusive)."},"name":"errors__lte","in":"query"},{"description":"ثانیه‌هایی که برای ۴۲۹ صبر شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Waited S","description":"ثانیه‌هایی که برای ۴۲۹ صبر شد. — exact match; comma-separate several values, `null` for NULL."},"name":"waited_s","in":"query"},{"description":"ثانیه‌هایی که برای ۴۲۹ صبر شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Waited S  Gte","description":"ثانیه‌هایی که برای ۴۲۹ صبر شد. — minimum (inclusive)."},"name":"waited_s__gte","in":"query"},{"description":"ثانیه‌هایی که برای ۴۲۹ صبر شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Waited S  Lte","description":"ثانیه‌هایی که برای ۴۲۹ صبر شد. — maximum (inclusive)."},"name":"waited_s__lte","in":"query"},{"description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Windows Due","description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. — exact match; comma-separate several values, `null` for NULL."},"name":"windows_due","in":"query"},{"description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Windows Due  Gte","description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. — minimum (inclusive)."},"name":"windows_due__gte","in":"query"},{"description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Windows Due  Lte","description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده. — maximum (inclusive)."},"name":"windows_due__lte","in":"query"},{"description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Windows Incomplete","description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. — exact match; comma-separate several values, `null` for NULL."},"name":"windows_incomplete","in":"query"},{"description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Windows Incomplete  Gte","description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. — minimum (inclusive)."},"name":"windows_incomplete__gte","in":"query"},{"description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Windows Incomplete  Lte","description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند. — maximum (inclusive)."},"name":"windows_incomplete__lte","in":"query"},{"description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pages Missing","description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. — exact match; comma-separate several values, `null` for NULL."},"name":"pages_missing","in":"query"},{"description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pages Missing  Gte","description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. — minimum (inclusive)."},"name":"pages_missing__gte","in":"query"},{"description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pages Missing  Lte","description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته. — maximum (inclusive)."},"name":"pages_missing__lte","in":"query"},{"description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Letters Short","description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. — exact match; comma-separate several values, `null` for NULL."},"name":"letters_short","in":"query"},{"description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Letters Short  Gte","description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. — minimum (inclusive)."},"name":"letters_short__gte","in":"query"},{"description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Letters Short  Lte","description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند. — maximum (inclusive)."},"name":"letters_short__lte","in":"query"},{"description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار. — maximum (inclusive)."},"name":"exit_code__lte","in":"query"},{"description":"توضیح اجرا (خالی = بی‌مشکل). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"توضیح اجرا (خالی = بی‌مشکل). — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"},{"description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Requests","description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. — exact match; comma-separate several values, `null` for NULL."},"name":"child_requests","in":"query"},{"description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Requests  Gte","description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. — minimum (inclusive)."},"name":"child_requests__gte","in":"query"},{"description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Requests  Lte","description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد. — maximum (inclusive)."},"name":"child_requests__lte","in":"query"},{"description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Child Open","description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). — exact match; comma-separate several values, `null` for NULL."},"name":"child_open","in":"query"},{"description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Child Open  Gte","description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). — minimum (inclusive)."},"name":"child_open__gte","in":"query"},{"description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Child Open  Lte","description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`). — maximum (inclusive)."},"name":"child_open__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"started_at":{"type":"string","format":"date-time","description":"زمان شروع.","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"requests":{"type":"integer","description":"درخواست‌هایی که به codal.ir زده شد (با تلاش‌های دوباره).","nullable":true},"pages":{"type":"integer","nullable":true},"letters":{"type":"integer","nullable":true},"new_letters":{"type":"integer","description":"اطلاعیه‌های تازه‌ای که ذخیره شد.","nullable":true},"rate_limited":{"type":"integer","description":"تعداد پاسخ‌های ۴۲۹.","nullable":true},"errors":{"type":"integer","nullable":true},"waited_s":{"type":"integer","description":"ثانیه‌هایی که برای ۴۲۹ صبر شد.","nullable":true},"windows_due":{"type":"integer","description":"ماه‌های سررسید: ماه جاری، ماه‌های تازه‌تمام‌شده و ماه‌های بسته‌نشده.","nullable":true},"windows_incomplete":{"type":"integer","description":"از آن‌ها، ماه‌هایی که تا پایان اجرا ناتمام ماندند.","nullable":true},"pages_missing":{"type":"integer","description":"صفحه‌های نخوانده در ماه‌های بسته‌نشدهٔ گذشته.","nullable":true},"letters_short":{"type":"integer","description":"اطلاعیه‌هایی که ماه‌های بسته‌نشدهٔ گذشته هنوز از Total کدال کم دارند.","nullable":true},"exit_code":{"type":"integer","description":"۰ سالم؛ ۱ خطا؛ ۲ کدال ما را مسدود کرد؛ ۳ کدال خراب است؛ ۵ ماهی با پیمایش کامل هم از Total کم ماند؛ ۶ ماه سررسیده ناتمام (بودجه یا صفحهٔ ناموفق)؛ ۷ محدودیت نرخ (۴۲۹) و انصراف از انتظار.","nullable":true},"note":{"type":"string","description":"توضیح اجرا (خالی = بی‌مشکل).","nullable":true},"child_requests":{"type":"integer","description":"از `requests`، آنچه صرف طبقه‌بندی نامهٔ شرکت‌های تابعه شد (`is_child`)؛ تهی = آن اجرا این کار را نکرد.","nullable":true},"child_open":{"type":"integer","description":"ماه‌هایی که پس از این اجرا هنوز نامه‌هایشان کاملاً طبقه‌بندی نشده (`is_child`).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/cbi-tsd-runs":{"get":{"tags":["ops"],"summary":"اجراهای شبانهٔ سری‌های زمانی بانک مرکزی — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts | زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). |\n| `partial` | bool | اجرای جزئی (--only، --check-withdrawn): با پیمایش کامل قابل‌مقایسه نیست. |\n| `requests` | int | تلاش‌های HTTP. |\n| `errors` | int | تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). |\n| `failed` | int | درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. |\n| `catalogue_nodes` | int |  |\n| `series` | int | سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). |\n| `pairs` | int | جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). |\n| `pairs_read` | int |  |\n| `observations` | int | مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). |\n| `changed` | int | ردیف‌های تازه یا تغییرکرده. |\n| `retracted` | int | ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. |\n| `anomalies` | int |  |\n| `exit_code` | int | ۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. |\n| `note` | text | توضیح اجرا. |","operationId":"list_ops_cbi_tsd_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد). — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"اجرای جزئی (--only، --check-withdrawn): با پیمایش کامل قابل‌مقایسه نیست. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Partial","description":"اجرای جزئی (--only، --check-withdrawn): با پیمایش کامل قابل‌مقایسه نیست. — exact match; comma-separate several values, `null` for NULL."},"name":"partial","in":"query"},{"description":"تلاش‌های HTTP. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Requests","description":"تلاش‌های HTTP. — exact match; comma-separate several values, `null` for NULL."},"name":"requests","in":"query"},{"description":"تلاش‌های HTTP. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Gte","description":"تلاش‌های HTTP. — minimum (inclusive)."},"name":"requests__gte","in":"query"},{"description":"تلاش‌های HTTP. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Lte","description":"تلاش‌های HTTP. — maximum (inclusive)."},"name":"requests__lte","in":"query"},{"description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Errors","description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). — exact match; comma-separate several values, `null` for NULL."},"name":"errors","in":"query"},{"description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Gte","description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). — minimum (inclusive)."},"name":"errors__gte","in":"query"},{"description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Lte","description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد). — maximum (inclusive)."},"name":"errors__lte","in":"query"},{"description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Failed","description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. — exact match; comma-separate several values, `null` for NULL."},"name":"failed","in":"query"},{"description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Failed  Gte","description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. — minimum (inclusive)."},"name":"failed__gte","in":"query"},{"description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Failed  Lte","description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند. — maximum (inclusive)."},"name":"failed__lte","in":"query"},{"description":"catalogue_nodes — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Catalogue Nodes","description":"catalogue_nodes — exact match; comma-separate several values, `null` for NULL."},"name":"catalogue_nodes","in":"query"},{"description":"catalogue_nodes — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Catalogue Nodes  Gte","description":"catalogue_nodes — minimum (inclusive)."},"name":"catalogue_nodes__gte","in":"query"},{"description":"catalogue_nodes — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Catalogue Nodes  Lte","description":"catalogue_nodes — maximum (inclusive)."},"name":"catalogue_nodes__lte","in":"query"},{"description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Series","description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). — exact match; comma-separate several values, `null` for NULL."},"name":"series","in":"query"},{"description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Series  Gte","description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). — minimum (inclusive)."},"name":"series__gte","in":"query"},{"description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Series  Lte","description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷). — maximum (inclusive)."},"name":"series__lte","in":"query"},{"description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pairs","description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). — exact match; comma-separate several values, `null` for NULL."},"name":"pairs","in":"query"},{"description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pairs  Gte","description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). — minimum (inclusive)."},"name":"pairs__gte","in":"query"},{"description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pairs  Lte","description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸). — maximum (inclusive)."},"name":"pairs__lte","in":"query"},{"description":"pairs_read — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Pairs Read","description":"pairs_read — exact match; comma-separate several values, `null` for NULL."},"name":"pairs_read","in":"query"},{"description":"pairs_read — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Pairs Read  Gte","description":"pairs_read — minimum (inclusive)."},"name":"pairs_read__gte","in":"query"},{"description":"pairs_read — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Pairs Read  Lte","description":"pairs_read — maximum (inclusive)."},"name":"pairs_read__lte","in":"query"},{"description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Observations","description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). — exact match; comma-separate several values, `null` for NULL."},"name":"observations","in":"query"},{"description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Observations  Gte","description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). — minimum (inclusive)."},"name":"observations__gte","in":"query"},{"description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Observations  Lte","description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰). — maximum (inclusive)."},"name":"observations__lte","in":"query"},{"description":"ردیف‌های تازه یا تغییرکرده. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Changed","description":"ردیف‌های تازه یا تغییرکرده. — exact match; comma-separate several values, `null` for NULL."},"name":"changed","in":"query"},{"description":"ردیف‌های تازه یا تغییرکرده. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Changed  Gte","description":"ردیف‌های تازه یا تغییرکرده. — minimum (inclusive)."},"name":"changed__gte","in":"query"},{"description":"ردیف‌های تازه یا تغییرکرده. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Changed  Lte","description":"ردیف‌های تازه یا تغییرکرده. — maximum (inclusive)."},"name":"changed__lte","in":"query"},{"description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Retracted","description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. — exact match; comma-separate several values, `null` for NULL."},"name":"retracted","in":"query"},{"description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Retracted  Gte","description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. — minimum (inclusive)."},"name":"retracted__gte","in":"query"},{"description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Retracted  Lte","description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند. — maximum (inclusive)."},"name":"retracted__lte","in":"query"},{"description":"anomalies — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Anomalies","description":"anomalies — exact match; comma-separate several values, `null` for NULL."},"name":"anomalies","in":"query"},{"description":"anomalies — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Anomalies  Gte","description":"anomalies — minimum (inclusive)."},"name":"anomalies__gte","in":"query"},{"description":"anomalies — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Anomalies  Lte","description":"anomalies — maximum (inclusive)."},"name":"anomalies__lte","in":"query"},{"description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد. — maximum (inclusive)."},"name":"exit_code__lte","in":"query"},{"description":"توضیح اجرا. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"توضیح اجرا. — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"started_at":{"type":"string","format":"date-time","description":"زمان شروع."},"finished_at":{"type":"string","format":"date-time","description":"زمان پایان؛ تهی = در حال اجرا، یا فرایند کشته شد (اجرای بعدی آن را exit 1 می‌بندد).","nullable":true},"partial":{"type":"boolean","description":"اجرای جزئی (--only، --check-withdrawn): با پیمایش کامل قابل‌مقایسه نیست."},"requests":{"type":"integer","description":"تلاش‌های HTTP.","nullable":true},"errors":{"type":"integer","description":"تلاش‌های ناموفق (تلاش دوباره ممکن است درمانشان کرده باشد).","nullable":true},"failed":{"type":"integer","description":"درخواست‌هایی که پس از ۴ تلاش تسلیم شدند.","nullable":true},"catalogue_nodes":{"type":"integer","nullable":true},"series":{"type":"integer","description":"سری‌های قابل‌جمع‌آوری (معمولاً ۱٬۶۵۷).","nullable":true},"pairs":{"type":"integer","description":"جفت‌های سری–بسامد (معمولاً ۲٬۴۸۸).","nullable":true},"pairs_read":{"type":"integer","nullable":true},"observations":{"type":"integer","description":"مشاهدات دریافتی (معمولاً ۱۳۸٬۳۴۰).","nullable":true},"changed":{"type":"integer","description":"ردیف‌های تازه یا تغییرکرده.","nullable":true},"retracted":{"type":"integer","description":"ردیف‌هایی که منبع پس گرفت و به cbi_tsd_retracted رفتند.","nullable":true},"anomalies":{"type":"integer","nullable":true},"exit_code":{"type":"integer","description":"۰ سالم؛ ۱ خطا؛ ۲ فهرست خوانده نشد یا کوچک است؛ ۳ درخواستی تسلیم شد؛ ۴ اجرای دیگری قفل دارد؛ ۵ هیچ مشاهده‌ای نرسید، فهرست کمتر از ۹۰٪ اجرای سالم قبلی است، یا حذفی رد شد.","nullable":true},"note":{"type":"string","description":"توضیح اجرا.","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/cbi-tsd-retracted":{"get":{"tags":["ops"],"summary":"مشاهده‌های پس‌گرفته‌شدهٔ بانک مرکزی (بایگانی) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n\n| column | type | description |\n|---|---|---|\n| `run_id` | int | اجرایی که ردیف را برداشت (cbi_tsd_runs.id). |\n| `retracted_at` | ts | زمان برداشتن. |\n| `series_id` | text |  |\n| `freq` | text |  |\n| `period_end` | text |  |\n| `amount` | num |  |\n| `unit_id` | text |  |\n| `period_label` | text |  |\n| `jyear` | int |  |\n| `report_type` | int |  |\n| `fetched_at` | ts |  |","operationId":"list_ops_cbi_tsd_retracted","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `retracted_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `retracted_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Run Id","description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id). — exact match; comma-separate several values, `null` for NULL."},"name":"run_id","in":"query"},{"description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id). — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Run Id  Gte","description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id). — minimum (inclusive)."},"name":"run_id__gte","in":"query"},{"description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id). — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Run Id  Lte","description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id). — maximum (inclusive)."},"name":"run_id__lte","in":"query"},{"description":"زمان برداشتن. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Retracted At","description":"زمان برداشتن. — exact match; comma-separate several values, `null` for NULL."},"name":"retracted_at","in":"query"},{"description":"زمان برداشتن. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Retracted At  Gte","description":"زمان برداشتن. — minimum (inclusive)."},"name":"retracted_at__gte","in":"query"},{"description":"زمان برداشتن. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Retracted At  Lte","description":"زمان برداشتن. — maximum (inclusive)."},"name":"retracted_at__lte","in":"query"},{"description":"series_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Series Id","description":"series_id — exact match; comma-separate several values, `null` for NULL."},"name":"series_id","in":"query"},{"description":"freq — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Freq","description":"freq — exact match; comma-separate several values, `null` for NULL."},"name":"freq","in":"query"},{"description":"period_end — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period End","description":"period_end — exact match; comma-separate several values, `null` for NULL."},"name":"period_end","in":"query"},{"description":"amount — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Amount","description":"amount — exact match; comma-separate several values, `null` for NULL."},"name":"amount","in":"query"},{"description":"amount — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Amount  Gte","description":"amount — minimum (inclusive)."},"name":"amount__gte","in":"query"},{"description":"amount — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Amount  Lte","description":"amount — maximum (inclusive)."},"name":"amount__lte","in":"query"},{"description":"unit_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unit Id","description":"unit_id — exact match; comma-separate several values, `null` for NULL."},"name":"unit_id","in":"query"},{"description":"period_label — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period Label","description":"period_label — exact match; comma-separate several values, `null` for NULL."},"name":"period_label","in":"query"},{"description":"jyear — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Jyear","description":"jyear — exact match; comma-separate several values, `null` for NULL."},"name":"jyear","in":"query"},{"description":"jyear — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Jyear  Gte","description":"jyear — minimum (inclusive)."},"name":"jyear__gte","in":"query"},{"description":"jyear — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Jyear  Lte","description":"jyear — maximum (inclusive)."},"name":"jyear__lte","in":"query"},{"description":"report_type — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Report Type","description":"report_type — exact match; comma-separate several values, `null` for NULL."},"name":"report_type","in":"query"},{"description":"report_type — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Report Type  Gte","description":"report_type — minimum (inclusive)."},"name":"report_type__gte","in":"query"},{"description":"report_type — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Report Type  Lte","description":"report_type — maximum (inclusive)."},"name":"report_type__lte","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"run_id":{"type":"integer","description":"اجرایی که ردیف را برداشت (cbi_tsd_runs.id).","nullable":true},"retracted_at":{"type":"string","format":"date-time","description":"زمان برداشتن."},"series_id":{"type":"string"},"freq":{"type":"string"},"period_end":{"type":"string"},"amount":{"type":"number","nullable":true},"unit_id":{"type":"string","nullable":true},"period_label":{"type":"string","nullable":true},"jyear":{"type":"integer","nullable":true},"report_type":{"type":"integer","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/gazette-city-progress":{"get":{"tags":["ops"],"summary":"پیشرفت جمع‌آوری آگهی هر شهر — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n\n| column | type | description |\n|---|---|---|\n| `city_code` | text |  |\n| `mode` | text |  |\n| `status` | text | `done` فقط وقتی است که از آن شهر و حالت جمع‌آوری چیزی کم نباشد؛ `failed` یا `partial` یعنی پیمایش شبانهٔ بعد دوباره سراغش می‌رود. |\n| `months_scanned` | int |  |\n| `notices` | int | آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. |\n| `updated_at` | ts |  |","operationId":"list_ops_gazette_city_progress","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: default order only."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"city_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"City Code","description":"city_code — exact match; comma-separate several values, `null` for NULL."},"name":"city_code","in":"query"},{"description":"mode — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Mode","description":"mode — exact match; comma-separate several values, `null` for NULL."},"name":"mode","in":"query"},{"description":"`done` فقط وقتی است که از آن شهر و حالت جمع‌آوری چیزی کم نباشد؛ `failed` یا `partial` یعنی پیمایش شبانهٔ بعد دوباره سراغش می‌رود. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status","description":"`done` فقط وقتی است که از آن شهر و حالت جمع‌آوری چیزی کم نباشد؛ `failed` یا `partial` یعنی پیمایش شبانهٔ بعد دوباره سراغش می‌رود. — exact match; comma-separate several values, `null` for NULL."},"name":"status","in":"query"},{"description":"months_scanned — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Months Scanned","description":"months_scanned — exact match; comma-separate several values, `null` for NULL."},"name":"months_scanned","in":"query"},{"description":"months_scanned — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Months Scanned  Gte","description":"months_scanned — minimum (inclusive)."},"name":"months_scanned__gte","in":"query"},{"description":"months_scanned — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Months Scanned  Lte","description":"months_scanned — maximum (inclusive)."},"name":"months_scanned__lte","in":"query"},{"description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Notices","description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. — exact match; comma-separate several values, `null` for NULL."},"name":"notices","in":"query"},{"description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Notices  Gte","description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. — minimum (inclusive)."},"name":"notices__gte","in":"query"},{"description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Notices  Lte","description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد. — maximum (inclusive)."},"name":"notices__lte","in":"query"},{"description":"updated_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated At","description":"updated_at — exact match; comma-separate several values, `null` for NULL."},"name":"updated_at","in":"query"},{"description":"updated_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Gte","description":"updated_at — minimum (inclusive)."},"name":"updated_at__gte","in":"query"},{"description":"updated_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated At  Lte","description":"updated_at — maximum (inclusive)."},"name":"updated_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"city_code":{"type":"string"},"mode":{"type":"string"},"status":{"type":"string","description":"`done` فقط وقتی است که از آن شهر و حالت جمع‌آوری چیزی کم نباشد؛ `failed` یا `partial` یعنی پیمایش شبانهٔ بعد دوباره سراغش می‌رود.","nullable":true},"months_scanned":{"type":"integer","nullable":true},"notices":{"type":"integer","description":"آگهی‌های تازه‌ای که در آخرین پیمایش همین شهر و همین حالت ذخیره شد.","nullable":true},"updated_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/gazette-runs":{"get":{"tags":["ops"],"summary":"اجراهای کارهای آگهی‌های روزنامه رسمی (جمع‌آوری، تجمیع شرکت‌ها، سمت‌ها) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `job` | text | کار: collect، collect-heal، finalize، officers-extract، officers-terms، officers-rebuild. |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts |  |\n| `status` | text | running، ok، partial (کار تمام شد ولی بخشی از آن نشد) یا failed (خطا، یا فرایند کشته شد و اجرای بعدی بستش). |\n| `exit_code` | int | کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. |\n| `stats` | json | شمارنده‌های اجرا (پنجره‌ها، پنجره‌های ناموفق، آگهی‌های تازه، …). |\n| `note` | text | توضیح اجرا (خالی = بی‌مشکل). |","operationId":"list_ops_gazette_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"کار: collect، collect-heal، finalize، officers-extract، officers-terms، officers-rebuild. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Job","description":"کار: collect، collect-heal، finalize، officers-extract، officers-terms، officers-rebuild. — exact match; comma-separate several values, `null` for NULL."},"name":"job","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"finished_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"finished_at — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"finished_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"finished_at — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"finished_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"finished_at — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"running، ok، partial (کار تمام شد ولی بخشی از آن نشد) یا failed (خطا، یا فرایند کشته شد و اجرای بعدی بستش). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status","description":"running، ok، partial (کار تمام شد ولی بخشی از آن نشد) یا failed (خطا، یا فرایند کشته شد و اجرای بعدی بستش). — exact match; comma-separate several values, `null` for NULL."},"name":"status","in":"query"},{"description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است. — maximum (inclusive)."},"name":"exit_code__lte","in":"query"},{"description":"توضیح اجرا (خالی = بی‌مشکل). — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"توضیح اجرا (خالی = بی‌مشکل). — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"job":{"type":"string","description":"کار: collect، collect-heal، finalize، officers-extract، officers-terms، officers-rebuild."},"started_at":{"type":"string","format":"date-time","description":"زمان شروع."},"finished_at":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","description":"running، ok، partial (کار تمام شد ولی بخشی از آن نشد) یا failed (خطا، یا فرایند کشته شد و اجرای بعدی بستش)."},"exit_code":{"type":"integer","description":"کد خروج فرایند؛ معنی هر کد در README پوشهٔ rrk آمده است.","nullable":true},"stats":{"type":"object","description":"شمارنده‌های اجرا (پنجره‌ها، پنجره‌های ناموفق، آگهی‌های تازه، …)."},"note":{"type":"string","description":"توضیح اجرا (خالی = بی‌مشکل).","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/sci-resources":{"get":{"tags":["ops"],"summary":"منابع مرکز آمار (فایل‌های data.gov.ir، قدیمی و منجمد) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `resource_id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `resource_id` | text ⚡ | کلید. |\n| `dataset` | text |  |\n| `url` | text |  |\n| `real_format` | text |  |\n| `bytes` | int |  |\n| `values_found` | int |  |\n| `modified` | text |  |\n| `fetched_at` | ts |  |\n| `parser_v` | int |  |","operationId":"list_ops_sci_resources","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `resource_id`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `resource_id`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Resource Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"resource_id","in":"query"},{"description":"dataset — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Dataset","description":"dataset — exact match; comma-separate several values, `null` for NULL."},"name":"dataset","in":"query"},{"description":"url — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Url","description":"url — exact match; comma-separate several values, `null` for NULL."},"name":"url","in":"query"},{"description":"real_format — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Real Format","description":"real_format — exact match; comma-separate several values, `null` for NULL."},"name":"real_format","in":"query"},{"description":"bytes — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Bytes","description":"bytes — exact match; comma-separate several values, `null` for NULL."},"name":"bytes","in":"query"},{"description":"bytes — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Bytes  Gte","description":"bytes — minimum (inclusive)."},"name":"bytes__gte","in":"query"},{"description":"bytes — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Bytes  Lte","description":"bytes — maximum (inclusive)."},"name":"bytes__lte","in":"query"},{"description":"values_found — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Values Found","description":"values_found — exact match; comma-separate several values, `null` for NULL."},"name":"values_found","in":"query"},{"description":"values_found — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Values Found  Gte","description":"values_found — minimum (inclusive)."},"name":"values_found__gte","in":"query"},{"description":"values_found — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Values Found  Lte","description":"values_found — maximum (inclusive)."},"name":"values_found__lte","in":"query"},{"description":"modified — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Modified","description":"modified — exact match; comma-separate several values, `null` for NULL."},"name":"modified","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"},{"description":"parser_v — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Parser V","description":"parser_v — exact match; comma-separate several values, `null` for NULL."},"name":"parser_v","in":"query"},{"description":"parser_v — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Parser V  Gte","description":"parser_v — minimum (inclusive)."},"name":"parser_v__gte","in":"query"},{"description":"parser_v — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Parser V  Lte","description":"parser_v — maximum (inclusive)."},"name":"parser_v__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"resource_id":{"type":"string","description":"کلید."},"dataset":{"type":"string","nullable":true},"url":{"type":"string","nullable":true},"real_format":{"type":"string","nullable":true},"bytes":{"type":"integer","nullable":true},"values_found":{"type":"integer","nullable":true},"modified":{"type":"string","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true},"parser_v":{"type":"integer","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/sci-stats":{"get":{"tags":["ops"],"summary":"آمارهای مرکز آمار (وضعیت خواندن هر آمار از amar.org.ir) — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `statid`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `statid` | int ⚡ | کلید. |\n| `title` | text |  |\n| `cat` | text |  |\n| `kind` | text |  |\n| `period_text` | text |  |\n| `frequency` | text |  |\n| `updated_text` | text |  |\n| `topic` | text |  |\n| `file_href` | text |  |\n| `file_bytes` | int |  |\n| `file_sha1` | text |  |\n| `status` | text |  |\n| `reason` | text |  |\n| `series` | int |  |\n| `obs` | int |  |\n| `parser_v` | int |  |\n| `attempts` | int |  |\n| `seen_at` | ts |  |\n| `fetched_at` | ts |  |","operationId":"list_ops_sci_stats","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `statid`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `statid`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Statid","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"statid","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Statid  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"statid__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Statid  Lte","description":"کلید. — maximum (inclusive)."},"name":"statid__lte","in":"query"},{"description":"title — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Title","description":"title — exact match; comma-separate several values, `null` for NULL."},"name":"title","in":"query"},{"description":"cat — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Cat","description":"cat — exact match; comma-separate several values, `null` for NULL."},"name":"cat","in":"query"},{"description":"kind — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Kind","description":"kind — exact match; comma-separate several values, `null` for NULL."},"name":"kind","in":"query"},{"description":"period_text — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Period Text","description":"period_text — exact match; comma-separate several values, `null` for NULL."},"name":"period_text","in":"query"},{"description":"frequency — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Frequency","description":"frequency — exact match; comma-separate several values, `null` for NULL."},"name":"frequency","in":"query"},{"description":"updated_text — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated Text","description":"updated_text — exact match; comma-separate several values, `null` for NULL."},"name":"updated_text","in":"query"},{"description":"topic — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Topic","description":"topic — exact match; comma-separate several values, `null` for NULL."},"name":"topic","in":"query"},{"description":"file_href — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Href","description":"file_href — exact match; comma-separate several values, `null` for NULL."},"name":"file_href","in":"query"},{"description":"file_bytes — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Bytes","description":"file_bytes — exact match; comma-separate several values, `null` for NULL."},"name":"file_bytes","in":"query"},{"description":"file_bytes — minimum (inclusive).","required":false,"schema":{"type":"string","title":"File Bytes  Gte","description":"file_bytes — minimum (inclusive)."},"name":"file_bytes__gte","in":"query"},{"description":"file_bytes — maximum (inclusive).","required":false,"schema":{"type":"string","title":"File Bytes  Lte","description":"file_bytes — maximum (inclusive)."},"name":"file_bytes__lte","in":"query"},{"description":"file_sha1 — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"File Sha1","description":"file_sha1 — exact match; comma-separate several values, `null` for NULL."},"name":"file_sha1","in":"query"},{"description":"status — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status","description":"status — exact match; comma-separate several values, `null` for NULL."},"name":"status","in":"query"},{"description":"reason — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Reason","description":"reason — exact match; comma-separate several values, `null` for NULL."},"name":"reason","in":"query"},{"description":"series — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Series","description":"series — exact match; comma-separate several values, `null` for NULL."},"name":"series","in":"query"},{"description":"series — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Series  Gte","description":"series — minimum (inclusive)."},"name":"series__gte","in":"query"},{"description":"series — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Series  Lte","description":"series — maximum (inclusive)."},"name":"series__lte","in":"query"},{"description":"obs — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Obs","description":"obs — exact match; comma-separate several values, `null` for NULL."},"name":"obs","in":"query"},{"description":"obs — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Obs  Gte","description":"obs — minimum (inclusive)."},"name":"obs__gte","in":"query"},{"description":"obs — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Obs  Lte","description":"obs — maximum (inclusive)."},"name":"obs__lte","in":"query"},{"description":"parser_v — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Parser V","description":"parser_v — exact match; comma-separate several values, `null` for NULL."},"name":"parser_v","in":"query"},{"description":"parser_v — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Parser V  Gte","description":"parser_v — minimum (inclusive)."},"name":"parser_v__gte","in":"query"},{"description":"parser_v — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Parser V  Lte","description":"parser_v — maximum (inclusive)."},"name":"parser_v__lte","in":"query"},{"description":"attempts — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Attempts","description":"attempts — exact match; comma-separate several values, `null` for NULL."},"name":"attempts","in":"query"},{"description":"attempts — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Attempts  Gte","description":"attempts — minimum (inclusive)."},"name":"attempts__gte","in":"query"},{"description":"attempts — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Attempts  Lte","description":"attempts — maximum (inclusive)."},"name":"attempts__lte","in":"query"},{"description":"seen_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Seen At","description":"seen_at — exact match; comma-separate several values, `null` for NULL."},"name":"seen_at","in":"query"},{"description":"seen_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Seen At  Gte","description":"seen_at — minimum (inclusive)."},"name":"seen_at__gte","in":"query"},{"description":"seen_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Seen At  Lte","description":"seen_at — maximum (inclusive)."},"name":"seen_at__lte","in":"query"},{"description":"fetched_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Fetched At","description":"fetched_at — exact match; comma-separate several values, `null` for NULL."},"name":"fetched_at","in":"query"},{"description":"fetched_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Gte","description":"fetched_at — minimum (inclusive)."},"name":"fetched_at__gte","in":"query"},{"description":"fetched_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Fetched At  Lte","description":"fetched_at — maximum (inclusive)."},"name":"fetched_at__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"statid":{"type":"integer","description":"کلید."},"title":{"type":"string","nullable":true},"cat":{"type":"string","nullable":true},"kind":{"type":"string","nullable":true},"period_text":{"type":"string","nullable":true},"frequency":{"type":"string","nullable":true},"updated_text":{"type":"string","nullable":true},"topic":{"type":"string","nullable":true},"file_href":{"type":"string","nullable":true},"file_bytes":{"type":"integer","nullable":true},"file_sha1":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"series":{"type":"integer","nullable":true},"obs":{"type":"integer","nullable":true},"parser_v":{"type":"integer","nullable":true},"attempts":{"type":"integer","nullable":true},"seen_at":{"type":"string","format":"date-time","nullable":true},"fetched_at":{"type":"string","format":"date-time","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/sci-runs":{"get":{"tags":["ops"],"summary":"اجراهای شبانهٔ جمع‌آوری مرکز آمار — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts |  |\n| `full_walk` | bool |  |\n| `cards` | int |  |\n| `attempted` | int |  |\n| `ok` | int |  |\n| `empty` | int |  |\n| `errors` | int |  |\n| `series` | int |  |\n| `obs` | int |  |\n| `exit_code` | int |  |\n| `note` | text |  |","operationId":"list_ops_sci_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"finished_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"finished_at — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"finished_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"finished_at — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"finished_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"finished_at — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"full_walk — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Full Walk","description":"full_walk — exact match; comma-separate several values, `null` for NULL."},"name":"full_walk","in":"query"},{"description":"cards — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Cards","description":"cards — exact match; comma-separate several values, `null` for NULL."},"name":"cards","in":"query"},{"description":"cards — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Cards  Gte","description":"cards — minimum (inclusive)."},"name":"cards__gte","in":"query"},{"description":"cards — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Cards  Lte","description":"cards — maximum (inclusive)."},"name":"cards__lte","in":"query"},{"description":"attempted — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Attempted","description":"attempted — exact match; comma-separate several values, `null` for NULL."},"name":"attempted","in":"query"},{"description":"attempted — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Attempted  Gte","description":"attempted — minimum (inclusive)."},"name":"attempted__gte","in":"query"},{"description":"attempted — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Attempted  Lte","description":"attempted — maximum (inclusive)."},"name":"attempted__lte","in":"query"},{"description":"ok — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ok","description":"ok — exact match; comma-separate several values, `null` for NULL."},"name":"ok","in":"query"},{"description":"ok — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ok  Gte","description":"ok — minimum (inclusive)."},"name":"ok__gte","in":"query"},{"description":"ok — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ok  Lte","description":"ok — maximum (inclusive)."},"name":"ok__lte","in":"query"},{"description":"empty — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Empty","description":"empty — exact match; comma-separate several values, `null` for NULL."},"name":"empty","in":"query"},{"description":"empty — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Empty  Gte","description":"empty — minimum (inclusive)."},"name":"empty__gte","in":"query"},{"description":"empty — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Empty  Lte","description":"empty — maximum (inclusive)."},"name":"empty__lte","in":"query"},{"description":"errors — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Errors","description":"errors — exact match; comma-separate several values, `null` for NULL."},"name":"errors","in":"query"},{"description":"errors — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Gte","description":"errors — minimum (inclusive)."},"name":"errors__gte","in":"query"},{"description":"errors — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Errors  Lte","description":"errors — maximum (inclusive)."},"name":"errors__lte","in":"query"},{"description":"series — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Series","description":"series — exact match; comma-separate several values, `null` for NULL."},"name":"series","in":"query"},{"description":"series — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Series  Gte","description":"series — minimum (inclusive)."},"name":"series__gte","in":"query"},{"description":"series — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Series  Lte","description":"series — maximum (inclusive)."},"name":"series__lte","in":"query"},{"description":"obs — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Obs","description":"obs — exact match; comma-separate several values, `null` for NULL."},"name":"obs","in":"query"},{"description":"obs — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Obs  Gte","description":"obs — minimum (inclusive)."},"name":"obs__gte","in":"query"},{"description":"obs — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Obs  Lte","description":"obs — maximum (inclusive)."},"name":"obs__lte","in":"query"},{"description":"exit_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"exit_code — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"exit_code — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"exit_code — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"exit_code — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"exit_code — maximum (inclusive)."},"name":"exit_code__lte","in":"query"},{"description":"note — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"note — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"started_at":{"type":"string","format":"date-time","description":"زمان شروع.","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"full_walk":{"type":"boolean","nullable":true},"cards":{"type":"integer","nullable":true},"attempted":{"type":"integer","nullable":true},"ok":{"type":"integer","nullable":true},"empty":{"type":"integer","nullable":true},"errors":{"type":"integer","nullable":true},"series":{"type":"integer","nullable":true},"obs":{"type":"integer","nullable":true},"exit_code":{"type":"integer","nullable":true},"note":{"type":"string","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/ime-mirror-state":{"get":{"tags":["ops"],"summary":"وضعیت آینهٔ هر جدول بورس کالا/انرژی — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `table_name`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `table_name` | text ⚡ | کلید. |\n| `owner` | text |  |\n| `status` | text |  |\n| `last_run_at` | ts |  |\n| `last_ok_at` | ts |  |\n| `src_rows` | int |  |\n| `dst_rows` | int |  |\n| `read_rows` | int |  |\n| `inserted` | int |  |\n| `updated` | int |  |\n| `deleted` | int |  |\n| `src_max_id` | int |  |\n| `src_newest` | ts |  |\n| `note` | text |  |","operationId":"list_ops_ime_mirror_state","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `table_name`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `table_name`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Table Name","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"table_name","in":"query"},{"description":"owner — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Owner","description":"owner — exact match; comma-separate several values, `null` for NULL."},"name":"owner","in":"query"},{"description":"status — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Status","description":"status — exact match; comma-separate several values, `null` for NULL."},"name":"status","in":"query"},{"description":"last_run_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Run At","description":"last_run_at — exact match; comma-separate several values, `null` for NULL."},"name":"last_run_at","in":"query"},{"description":"last_run_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Run At  Gte","description":"last_run_at — minimum (inclusive)."},"name":"last_run_at__gte","in":"query"},{"description":"last_run_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Run At  Lte","description":"last_run_at — maximum (inclusive)."},"name":"last_run_at__lte","in":"query"},{"description":"last_ok_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Last Ok At","description":"last_ok_at — exact match; comma-separate several values, `null` for NULL."},"name":"last_ok_at","in":"query"},{"description":"last_ok_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Last Ok At  Gte","description":"last_ok_at — minimum (inclusive)."},"name":"last_ok_at__gte","in":"query"},{"description":"last_ok_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Last Ok At  Lte","description":"last_ok_at — maximum (inclusive)."},"name":"last_ok_at__lte","in":"query"},{"description":"src_rows — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Src Rows","description":"src_rows — exact match; comma-separate several values, `null` for NULL."},"name":"src_rows","in":"query"},{"description":"src_rows — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Src Rows  Gte","description":"src_rows — minimum (inclusive)."},"name":"src_rows__gte","in":"query"},{"description":"src_rows — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Src Rows  Lte","description":"src_rows — maximum (inclusive)."},"name":"src_rows__lte","in":"query"},{"description":"dst_rows — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Dst Rows","description":"dst_rows — exact match; comma-separate several values, `null` for NULL."},"name":"dst_rows","in":"query"},{"description":"dst_rows — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Dst Rows  Gte","description":"dst_rows — minimum (inclusive)."},"name":"dst_rows__gte","in":"query"},{"description":"dst_rows — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Dst Rows  Lte","description":"dst_rows — maximum (inclusive)."},"name":"dst_rows__lte","in":"query"},{"description":"read_rows — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Read Rows","description":"read_rows — exact match; comma-separate several values, `null` for NULL."},"name":"read_rows","in":"query"},{"description":"read_rows — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Read Rows  Gte","description":"read_rows — minimum (inclusive)."},"name":"read_rows__gte","in":"query"},{"description":"read_rows — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Read Rows  Lte","description":"read_rows — maximum (inclusive)."},"name":"read_rows__lte","in":"query"},{"description":"inserted — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Inserted","description":"inserted — exact match; comma-separate several values, `null` for NULL."},"name":"inserted","in":"query"},{"description":"inserted — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Inserted  Gte","description":"inserted — minimum (inclusive)."},"name":"inserted__gte","in":"query"},{"description":"inserted — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Inserted  Lte","description":"inserted — maximum (inclusive)."},"name":"inserted__lte","in":"query"},{"description":"updated — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Updated","description":"updated — exact match; comma-separate several values, `null` for NULL."},"name":"updated","in":"query"},{"description":"updated — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Updated  Gte","description":"updated — minimum (inclusive)."},"name":"updated__gte","in":"query"},{"description":"updated — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Updated  Lte","description":"updated — maximum (inclusive)."},"name":"updated__lte","in":"query"},{"description":"deleted — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Deleted","description":"deleted — exact match; comma-separate several values, `null` for NULL."},"name":"deleted","in":"query"},{"description":"deleted — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Deleted  Gte","description":"deleted — minimum (inclusive)."},"name":"deleted__gte","in":"query"},{"description":"deleted — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Deleted  Lte","description":"deleted — maximum (inclusive)."},"name":"deleted__lte","in":"query"},{"description":"src_max_id — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Src Max Id","description":"src_max_id — exact match; comma-separate several values, `null` for NULL."},"name":"src_max_id","in":"query"},{"description":"src_max_id — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Src Max Id  Gte","description":"src_max_id — minimum (inclusive)."},"name":"src_max_id__gte","in":"query"},{"description":"src_max_id — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Src Max Id  Lte","description":"src_max_id — maximum (inclusive)."},"name":"src_max_id__lte","in":"query"},{"description":"src_newest — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Src Newest","description":"src_newest — exact match; comma-separate several values, `null` for NULL."},"name":"src_newest","in":"query"},{"description":"src_newest — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Src Newest  Gte","description":"src_newest — minimum (inclusive)."},"name":"src_newest__gte","in":"query"},{"description":"src_newest — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Src Newest  Lte","description":"src_newest — maximum (inclusive)."},"name":"src_newest__lte","in":"query"},{"description":"note — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"note — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"table_name":{"type":"string","description":"کلید."},"owner":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"last_run_at":{"type":"string","format":"date-time","nullable":true},"last_ok_at":{"type":"string","format":"date-time","nullable":true},"src_rows":{"type":"integer","nullable":true},"dst_rows":{"type":"integer","nullable":true},"read_rows":{"type":"integer","nullable":true},"inserted":{"type":"integer","nullable":true},"updated":{"type":"integer","nullable":true},"deleted":{"type":"integer","nullable":true},"src_max_id":{"type":"integer","nullable":true},"src_newest":{"type":"string","format":"date-time","nullable":true},"note":{"type":"string","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/ime-mirror-runs":{"get":{"tags":["ops"],"summary":"اجراهای آینهٔ بورس کالا/انرژی — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts |  |\n| `verify` | bool |  |\n| `tables` | int |  |\n| `ok` | int |  |\n| `failed` | int |  |\n| `rows_read` | int |  |\n| `rows_written` | int |  |\n| `rows_deleted` | int |  |\n| `exit_code` | int |  |\n| `summary` | json |  |","operationId":"list_ops_ime_mirror_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"finished_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"finished_at — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"finished_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"finished_at — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"finished_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"finished_at — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"verify — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Verify","description":"verify — exact match; comma-separate several values, `null` for NULL."},"name":"verify","in":"query"},{"description":"tables — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Tables","description":"tables — exact match; comma-separate several values, `null` for NULL."},"name":"tables","in":"query"},{"description":"tables — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Tables  Gte","description":"tables — minimum (inclusive)."},"name":"tables__gte","in":"query"},{"description":"tables — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Tables  Lte","description":"tables — maximum (inclusive)."},"name":"tables__lte","in":"query"},{"description":"ok — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Ok","description":"ok — exact match; comma-separate several values, `null` for NULL."},"name":"ok","in":"query"},{"description":"ok — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Ok  Gte","description":"ok — minimum (inclusive)."},"name":"ok__gte","in":"query"},{"description":"ok — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Ok  Lte","description":"ok — maximum (inclusive)."},"name":"ok__lte","in":"query"},{"description":"failed — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Failed","description":"failed — exact match; comma-separate several values, `null` for NULL."},"name":"failed","in":"query"},{"description":"failed — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Failed  Gte","description":"failed — minimum (inclusive)."},"name":"failed__gte","in":"query"},{"description":"failed — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Failed  Lte","description":"failed — maximum (inclusive)."},"name":"failed__lte","in":"query"},{"description":"rows_read — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Read","description":"rows_read — exact match; comma-separate several values, `null` for NULL."},"name":"rows_read","in":"query"},{"description":"rows_read — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Read  Gte","description":"rows_read — minimum (inclusive)."},"name":"rows_read__gte","in":"query"},{"description":"rows_read — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Read  Lte","description":"rows_read — maximum (inclusive)."},"name":"rows_read__lte","in":"query"},{"description":"rows_written — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Written","description":"rows_written — exact match; comma-separate several values, `null` for NULL."},"name":"rows_written","in":"query"},{"description":"rows_written — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Written  Gte","description":"rows_written — minimum (inclusive)."},"name":"rows_written__gte","in":"query"},{"description":"rows_written — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Written  Lte","description":"rows_written — maximum (inclusive)."},"name":"rows_written__lte","in":"query"},{"description":"rows_deleted — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Deleted","description":"rows_deleted — exact match; comma-separate several values, `null` for NULL."},"name":"rows_deleted","in":"query"},{"description":"rows_deleted — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Deleted  Gte","description":"rows_deleted — minimum (inclusive)."},"name":"rows_deleted__gte","in":"query"},{"description":"rows_deleted — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Deleted  Lte","description":"rows_deleted — maximum (inclusive)."},"name":"rows_deleted__lte","in":"query"},{"description":"exit_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"exit_code — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"exit_code — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"exit_code — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"exit_code — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"exit_code — maximum (inclusive)."},"name":"exit_code__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"started_at":{"type":"string","format":"date-time","description":"زمان شروع.","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"verify":{"type":"boolean","nullable":true},"tables":{"type":"integer","nullable":true},"ok":{"type":"integer","nullable":true},"failed":{"type":"integer","nullable":true},"rows_read":{"type":"integer","nullable":true},"rows_written":{"type":"integer","nullable":true},"rows_deleted":{"type":"integer","nullable":true},"exit_code":{"type":"integer","nullable":true},"summary":{"type":"object"}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/ime-collect-runs":{"get":{"tags":["ops"],"summary":"اجراهای جمع‌آوری نرخ برق و معاملات فیزیکی بورس انرژی — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `id`\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `id` | int ⚡ | کلید. |\n| `dataset` | text |  |\n| `mode` | text |  |\n| `started_at` | ts | زمان شروع. |\n| `finished_at` | ts |  |\n| `requests` | int |  |\n| `rows_read` | int |  |\n| `rows_written` | int |  |\n| `rows_deleted` | int |  |\n| `checked` | int |  |\n| `unverified` | int |  |\n| `latest` | text |  |\n| `exit_code` | int |  |\n| `note` | text |  |","operationId":"list_ops_ime_collect_runs","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (200000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `id`, `started_at`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"id","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Id  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"id__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Id  Lte","description":"کلید. — maximum (inclusive)."},"name":"id__lte","in":"query"},{"description":"dataset — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Dataset","description":"dataset — exact match; comma-separate several values, `null` for NULL."},"name":"dataset","in":"query"},{"description":"mode — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Mode","description":"mode — exact match; comma-separate several values, `null` for NULL."},"name":"mode","in":"query"},{"description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Started At","description":"زمان شروع. — exact match; comma-separate several values, `null` for NULL."},"name":"started_at","in":"query"},{"description":"زمان شروع. — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Gte","description":"زمان شروع. — minimum (inclusive)."},"name":"started_at__gte","in":"query"},{"description":"زمان شروع. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Started At  Lte","description":"زمان شروع. — maximum (inclusive)."},"name":"started_at__lte","in":"query"},{"description":"finished_at — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Finished At","description":"finished_at — exact match; comma-separate several values, `null` for NULL."},"name":"finished_at","in":"query"},{"description":"finished_at — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Gte","description":"finished_at — minimum (inclusive)."},"name":"finished_at__gte","in":"query"},{"description":"finished_at — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Finished At  Lte","description":"finished_at — maximum (inclusive)."},"name":"finished_at__lte","in":"query"},{"description":"requests — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Requests","description":"requests — exact match; comma-separate several values, `null` for NULL."},"name":"requests","in":"query"},{"description":"requests — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Gte","description":"requests — minimum (inclusive)."},"name":"requests__gte","in":"query"},{"description":"requests — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Requests  Lte","description":"requests — maximum (inclusive)."},"name":"requests__lte","in":"query"},{"description":"rows_read — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Read","description":"rows_read — exact match; comma-separate several values, `null` for NULL."},"name":"rows_read","in":"query"},{"description":"rows_read — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Read  Gte","description":"rows_read — minimum (inclusive)."},"name":"rows_read__gte","in":"query"},{"description":"rows_read — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Read  Lte","description":"rows_read — maximum (inclusive)."},"name":"rows_read__lte","in":"query"},{"description":"rows_written — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Written","description":"rows_written — exact match; comma-separate several values, `null` for NULL."},"name":"rows_written","in":"query"},{"description":"rows_written — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Written  Gte","description":"rows_written — minimum (inclusive)."},"name":"rows_written__gte","in":"query"},{"description":"rows_written — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Written  Lte","description":"rows_written — maximum (inclusive)."},"name":"rows_written__lte","in":"query"},{"description":"rows_deleted — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Rows Deleted","description":"rows_deleted — exact match; comma-separate several values, `null` for NULL."},"name":"rows_deleted","in":"query"},{"description":"rows_deleted — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Deleted  Gte","description":"rows_deleted — minimum (inclusive)."},"name":"rows_deleted__gte","in":"query"},{"description":"rows_deleted — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Rows Deleted  Lte","description":"rows_deleted — maximum (inclusive)."},"name":"rows_deleted__lte","in":"query"},{"description":"checked — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Checked","description":"checked — exact match; comma-separate several values, `null` for NULL."},"name":"checked","in":"query"},{"description":"checked — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Checked  Gte","description":"checked — minimum (inclusive)."},"name":"checked__gte","in":"query"},{"description":"checked — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Checked  Lte","description":"checked — maximum (inclusive)."},"name":"checked__lte","in":"query"},{"description":"unverified — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Unverified","description":"unverified — exact match; comma-separate several values, `null` for NULL."},"name":"unverified","in":"query"},{"description":"unverified — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Unverified  Gte","description":"unverified — minimum (inclusive)."},"name":"unverified__gte","in":"query"},{"description":"unverified — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Unverified  Lte","description":"unverified — maximum (inclusive)."},"name":"unverified__lte","in":"query"},{"description":"latest — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Latest","description":"latest — exact match; comma-separate several values, `null` for NULL."},"name":"latest","in":"query"},{"description":"exit_code — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Exit Code","description":"exit_code — exact match; comma-separate several values, `null` for NULL."},"name":"exit_code","in":"query"},{"description":"exit_code — minimum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Gte","description":"exit_code — minimum (inclusive)."},"name":"exit_code__gte","in":"query"},{"description":"exit_code — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Exit Code  Lte","description":"exit_code — maximum (inclusive)."},"name":"exit_code__lte","in":"query"},{"description":"note — exact match; comma-separate several values, `null` for NULL.","required":false,"schema":{"type":"string","title":"Note","description":"note — exact match; comma-separate several values, `null` for NULL."},"name":"note","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"id":{"type":"integer","description":"کلید."},"dataset":{"type":"string"},"mode":{"type":"string","nullable":true},"started_at":{"type":"string","format":"date-time","description":"زمان شروع.","nullable":true},"finished_at":{"type":"string","format":"date-time","nullable":true},"requests":{"type":"integer","nullable":true},"rows_read":{"type":"integer","nullable":true},"rows_written":{"type":"integer","nullable":true},"rows_deleted":{"type":"integer","nullable":true},"checked":{"type":"integer","nullable":true},"unverified":{"type":"integer","nullable":true},"latest":{"type":"string","nullable":true},"exit_code":{"type":"integer","nullable":true},"note":{"type":"string","nullable":true}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}},"/v1/ops/notices-without-officers":{"get":{"tags":["ops"],"summary":"آگهی‌هایی که مسئولی نداشتند — ops","description":"جدول عملیاتی جمع‌آورها. معمولاً برای پایش سلامت داده مفید است، نه تحلیل.\n\n**Fast filters (indexed):** `notice_code`\n\n⚠️ This table is large: when you filter, at least one fast filter is required.\n\n**Bulk export:** follow `next_cursor` (keyset paging), or use `format=csv`.\n\n| column | type | description |\n|---|---|---|\n| `notice_code` | int ⚡ | کلید. |","operationId":"list_ops_notices_without_officers","parameters":[{"description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","required":false,"schema":{"type":"integer","maximum":200000.0,"minimum":1.0,"title":"Limit","description":"Rows per page. 1–1000 for JSON (fewer when a large text column is selected); up to 200000 for `format=csv|ndjson`.","default":100},"name":"limit","in":"query"},{"description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","required":false,"schema":{"type":"integer","minimum":0.0,"title":"Offset","description":"Rows to skip. Capped (10000) on large tables — for deep paging use `cursor`.","default":0},"name":"offset","in":"query"},{"description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `notice_code`.","required":false,"schema":{"type":"string","title":"Order By","description":"Comma-separated sort keys; prefix `-` for descending, e.g. `-price,area`. Allowed: `notice_code`."},"name":"order_by","in":"query"},{"description":"Comma-separated columns to return (default: the standard set; `*` = every column).","required":false,"schema":{"type":"string","title":"Fields","description":"Comma-separated columns to return (default: the standard set; `*` = every column)."},"name":"fields","in":"query"},{"description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","required":false,"schema":{"type":"string","enum":["json","csv","ndjson"],"title":"Format","description":"`json` (default), `csv` (UTF-8 with BOM — opens correctly in Excel) or `ndjson`. csv/ndjson stream the whole result and ignore paging metadata.","default":"json"},"name":"format","in":"query"},{"description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","required":false,"schema":{"type":"boolean","title":"Count","description":"Also compute the exact number of matching rows (`total`). Can be slow on big tables; falls back to `null` after 5 s.","default":false},"name":"count","in":"query"},{"description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go.","required":false,"schema":{"type":"string","title":"Cursor","description":"Keyset paging: pass the previous page's `next_cursor`. Works with the default order only (do not combine with `order_by` / `offset`) and never slows down, however deep you go."},"name":"cursor","in":"query"},{"description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed.","required":false,"schema":{"type":"string","title":"Notice Code","description":"کلید. — exact match; comma-separate several values, `null` for NULL. ⚡ indexed."},"name":"notice_code","in":"query"},{"description":"کلید. — minimum (inclusive). ⚡ indexed.","required":false,"schema":{"type":"string","title":"Notice Code  Gte","description":"کلید. — minimum (inclusive). ⚡ indexed."},"name":"notice_code__gte","in":"query"},{"description":"کلید. — maximum (inclusive).","required":false,"schema":{"type":"string","title":"Notice Code  Lte","description":"کلید. — maximum (inclusive)."},"name":"notice_code__lte","in":"query"}],"responses":{"200":{"description":"Rows plus paging info. With `format=csv|ndjson` the body is the bare rows instead.","content":{"application/json":{"schema":{"properties":{"resource":{"type":"string"},"count":{"type":"integer","description":"rows in this page"},"limit":{"type":"integer"},"offset":{"type":"integer"},"has_more":{"type":"boolean"},"next_cursor":{"type":"string","description":"pass as `cursor` for the next page"},"total":{"type":"integer","description":"only with count=true","nullable":true},"notes":{"items":{"type":"string"},"type":"array"},"query_ms":{"type":"number"},"rows":{"items":{"properties":{"notice_code":{"type":"integer","description":"کلید."}},"type":"object"},"type":"array"}},"type":"object"}},"text/csv":{"schema":{"type":"string"}},"application/x-ndjson":{"schema":{"type":"string"}}}},"400":{"description":"Bad parameter — the message names it."},"401":{"description":"Missing or invalid token."},"429":{"description":"Rate limit exceeded — see `Retry-After`."},"504":{"description":"Query timed out — add a selective filter."}},"security":[{"BearerAuth":[]},{"ApiKeyAuth":[]}]}}},"components":{"schemas":{},"securitySchemes":{"BearerAuth":{"type":"http","description":"`Authorization: Bearer <token>` — paste the token only, without the word Bearer.","scheme":"bearer"},"ApiKeyAuth":{"type":"apiKey","description":"The same token, sent as an `X-API-Key` header.","in":"header","name":"X-API-Key"}}},"tags":[{"name":"meta","description":"سرویس: سلامت، کلید من، فهرست جدول‌ها — Service, health, catalogue."},{"name":"market","description":"ابزارهای مالی و داده‌های بازار سرمایه: نمادها، حقیقی/حقوقی، سهامداران، تعدیل‌ها — Instruments and market data."},{"name":"prices","description":"قیمت‌ها: کندل روزانه/هفتگی/ماهانه (خام و تعدیل‌شده) و تصویر لحظه‌ای بازار — OHLCV bars and live quote snapshots."},{"name":"companies","description":"شرکت‌ها و آگهی‌های روزنامه رسمی (rrk.ir) — Companies and gazette notices."},{"name":"officers","description":"تاریخچه سمت‌ها: اعضای هیئت‌مدیره، بازرسان، مدیران تصفیه — Officer history rebuilt from the notices."},{"name":"divar","description":"آگهی‌های دیوار: مسکن و خودرو، به‌همراه تاریخچه تغییر قیمت — Divar housing and car listings."},{"name":"macro","description":"سری‌های اقتصاد کلان: بانک مرکزی و مرکز آمار — Central bank and statistical centre time series."},{"name":"codal","description":"اطلاعیه‌های کدال — Codal disclosures."},{"name":"bank-debtors","description":"بدهکاران کلان بانکی و اموال غیرمنقول بانک‌ها (بانک مرکزی) — Large bank debtors and bank real estate."},{"name":"ime-iee","description":"بورس کالا و بورس انرژی — Commodity and energy exchange data."},{"name":"ops","description":"جدول‌های عملیاتی جمع‌آوری (زمان‌بندی، پیشرفت) — Collector bookkeeping."}]}