/api/v1/instrumentsیک صفحههزینه ۱api:instrumentsThe instrument catalog, paged.
Identity, venue and the last price we hold. Both language names travel, always.
پارامترهای پرسوجو
هر چیزی که یک برنامه میتواند از «رصد» بپرسد: نشانی، دامنهٔ دسترسی، هزینه و شکل پاسخ.
این صفحه از همان فهرستی ساخته میشود که مسیرهای API از رویش ثبت میشوند، پس نمیتواند از چیزی بگوید که وجود ندارد: ۱۷ نقطهٔ پایانی در ۹ دامنهٔ دسترسی. نام فیلدها و کد خطاها انگلیسیاند و ترجمه نمیشوند؛ یک واسط ماشینی نیمهترجمهشده بدتر از یک واسط صادقانهٔ تکزبانه است.
https://sahmino.com/api/v1
Authorization: Bearer <token>
A token minted for the MCP server is not an API token and will be refused.
یک درخواست نمونه
curl -H "Authorization: Bearer $SAHMINO_TOKEN" \ https://sahmino.com/api/v1/instruments
دامنهٔ دسترسی هنگام ساختن کلید تعیین میشود و پس از آن تغییر نمیکند. هر نقطهٔ پایانی دقیقاً یکی را میخواهد و مقایسه عیناً انجام میشود، پس کلید MCP اینجا هیچ دری را باز نمیکند.
روی code شرط بگذارید، نه روی message: متن پیام ممکن است در هر نسخه بازنویسی شود، ولی کد همان میماند.
۱۷ از ۱۷ نقطهٔ پایانی
Read the instrument catalog, board rows and one instrument’s profile.
/api/v1/instrumentsیک صفحههزینه ۱api:instrumentsThe instrument catalog, paged.
Identity, venue and the last price we hold. Both language names travel, always.
پارامترهای پرسوجو
/api/v1/instruments/{instrument}یک رکوردهزینه ۲api:instrumentsOne instrument, with its exchange profile.
The catalog row plus the nightly profile reading: free float, market capitalisation, the sector it is filed under.
/api/v1/boardیک صفحههزینه ۱api:instrumentsThe day’s board — one page of it.
Last, close, previous close, change, volume, value and the retail share of each side.
پارامترهای پرسوجو
Read price history and derived series for one instrument.
/api/v1/instruments/{instrument}/pricesیک رکوردهزینه ۲api:pricesDaily history and the window statistics struck from it.
Points are oldest first; a halted session is a row like any other and says so. `unit` is load-bearing — rial and toman differ by a factor of ten.
پارامترهای پرسوجو
Read computed technical indicators for one instrument.
/api/v1/instruments/{instrument}/indicatorsیک رکوردهزینه ۲api:indicatorsThe stored technical readings for one instrument.
Read back, never recomputed: `seriesHash` says which sessions they were struck from. An indicator with no reading is absent rather than null.
Run a saved screen or an ad-hoc condition set over the universe.
/api/v1/screener/fieldsیک رکوردهزینه ۱api:screenerEvery screenable field, with its group, format and label.
The catalog a client needs before it can write a condition. Generated from the field registry the screener itself draws.
/api/v1/screensیک رکوردهزینه ۱api:screenerThe caller’s own saved screens.
/api/v1/screener/runیک رکوردهزینه ۱۰api:screenerRun a saved screen, or a set of conditions posted with the request.
A نماد with no reading on a field never passes a condition on it: an absent figure is not a zero. `matched` is how many passed; `data` is how many the plan let travel.
بدنهٔ درخواست
Read codal filings and the financial statements parsed from them.
/api/v1/filingsیک صفحههزینه ۱api:filingscodal letters as filed, newest first.
`periodMonths` is the span the letter reports; comparing a three-month figure with a twelve-month one is the commonest way to publish a wrong number.
پارامترهای پرسوجو
/api/v1/instruments/{instrument}/statementsیک رکوردهزینه ۲api:filingsThe financial statements parsed out of one instrument’s filings.
How many periods travel is the tier’s `statement_periods` cell, and `quota` reports it beside the rows: `total` is how many the company filed, `shown` is how many the plan allows.
پارامترهای پرسوجو
Read saved valuation runs and their inputs.
/api/v1/valuationsیک رکوردهزینه ۱api:valuationsThe caller’s saved valuation runs.
`gapAtSave` is the argument the reader was making; `gapNow` is what the market has done to it since.
/api/v1/instruments/{instrument}/valuationsیک رکوردهزینه ۲api:valuationsThe caller’s saved runs for one instrument.
Read macroeconomic series.
/api/v1/macroیک رکوردهزینه ۱api:macroEvery macro series we declare, with its freshness.
`freshAt` is the last write of the ingest behind the series and `stale` is that clock against the series’ own cadence — a monthly series with no observation this week is not late.
/api/v1/macro/seriesیک رکوردهزینه ۱api:macroThe observations of up to 5 series.
Points are oldest first and a day with no observation is absent, never zero. An unknown key is a 404 rather than an empty series.
پارامترهای پرسوجو
Read the shareholder register and board composition graph.
/api/v1/instruments/{instrument}/ownershipیک رکوردهزینه ۲api:ownershipThe shareholder register, the board and everything derived from them.
An individual’s کد ملی is never present: the query nulls it before the DTO is built.
Read alert rules and their delivery history.
/api/v1/alertsیک رکوردهزینه ۱api:alertsThe caller’s alert rules.
Read only. A rule is written through the terminal, where the plan cap and the re-arm rule live.
/api/v1/alerts/deliveriesیک صفحههزینه ۱api:alertsWhat has already been sent, newest first.
The feed an integration wants: an alert that fired, so it can reach a system rather than only a person.
پارامترهای پرسوجو