Data API
Receipted Casablanca Stock Exchange data and the measures derived from it, ready to use: no PDFs to parse, no ratios to recompute. Every response carries its receipt envelope: source documents and their SHA-256, method versions, feed state.
Public — /api/v1
No key. Latest-session board, issuer ledger, shareholding register (public tier), aggregate market intelligence.
Verified and institutional — /api/v2
With a key. Full receipted history, volume by segment, per-instrument technicals and liquidity, sector rotation, global links, full register, research notes, oracle. CSV export. Daily limit per key: 1,000 requests (verified), 50,000 (institutional).
Institutional pricing on request. Verified accounts (journalists, regulators, researchers) have free access.
Authentication: header Authorization: Bearer syz_… . The key is shown once; only its SHA-256 fingerprint is kept.
Resources
| GET | Resources | params |
|---|---|---|
| /api/v2/quotes | Official end-of-day bulletin lines with their receipt (PDF URL and sha256), receipted history in full. | ticker from to format |
| /api/v2/volume | Traded quantity, value (MAD) and contracts per instrument, session and segment, from the reconciled volume-at-price ladder. | ticker from to format |
| /api/v2/indices | MASI family and sector index closes as printed in the bulletin. | name from to format |
| /api/v2/technicals | RSI-14 against the market's empirical bands, flip lines, moving averages, with the liquidity gate (NOT_MEANINGFUL when under 60 % of sessions traded). | ticker format |
| /api/v2/liquidity | 20-session liquidity: all-session ADV, median traded-day value, Amihud illiquidity, off-book share, share turnover. | ticker format |
| /api/v2/sectors | Relative rotation of every sector index against MASI: quadrant, RS-ratio, RS-momentum, relative 1- and 3-month performance. | format |
| /api/v2/crossmarket | Correlations of MASI and sector indices with oil, the euro, the dollar and global rates, PRIOR and SAME_DAY aligned, with 95 % intervals and Benjamini–Hochberg q-values. | format |
| /api/v2/register | Shareholding-concentration register, full verified-tier detail. Natural persons are never named. | ticker format |
| /api/v2/disclosure-quality | Disclosure-quality index per issuer (text layer, source pipeline, metadata integrity). Published after the issuer right-of-reply window; returns 404 until then. | ticker format |
| /api/v2/reports | Research reports: headers and abstracts; GET /api/v2/reports/{id} returns the full text and its receipted fact sheet. | format |
| POST /api/v2/oracle | Ask a question about the Casablanca Stock Exchange. The answer relies only on SYZNN’s evidence plane — official bulletins, exchange notices, AMMC declarations, public series — and cites every receipt. When the evidence is missing, the oracle says so. It never gives investment advice. | question locale |
OpenAPI 3.1 specification · syznn-data-api@2.0.0
Example
curl -H "Authorization: Bearer $SYZNN_KEY" \ "https://syznn.com/api/v2/quotes?ticker=IAM&from=2026-06-01&format=csv"