Developers API

Changelog

What we've added to the SAHMK developer platform, with dates. We ship continuously; this is the record.

November 2026

  1. Public status page

    A public page showing the share of API requests answered without a server error, day by day, computed from service records.

    StatusOpen
  2. Portfolio holdings reconcile

    The portfolios API and dashboard now support reconciling holdings against the transaction ledger.

    APIDashboard
  3. Close code 4410 for planned reconnects

    During server restarts WebSocket connections close with 4410 so your client reconnects straight away. Documented in the error-codes reference.

    WebSocketDocs

September 2026

  1. Connect Claude.ai and Claude Code

    Instructions for connecting SAHMK to Claude.ai and Claude Code through the hosted MCP server.

    MCPDocs
  2. Hosted MCP and ChatGPT

    A hosted MCP server with OAuth sign-in, so you can connect SAHMK to ChatGPT with nothing to install locally.

    MCP

August 2026

  1. Trade side on the trade tape

    Trades now carry an optional side (buy or sell) over REST and WebSocket, supported in Python SDK 0.16.

    SDKAPI
  2. Dedicated api.sahmk.sa host

    api.sahmk.sa is now the default REST and WebSocket host in the SDK and CLI. app.sahmk.sa remains fully supported.

    APISDK
  3. Automatic subscription renewal

    Renew your plan automatically with a card saved securely by Moyasar, with a notice before every charge and an off switch in Billing.

    Billing

July 2026

  1. Live trade tape

    Live trades over REST and a dedicated WebSocket stream, with CLI commands and a get_trades tool in MCP.

    APIWebSocketSDKMCP
  2. Market depth

    Market depth over REST and a dedicated WebSocket stream for entitled accounts, with an access request flow in the dashboard and get_depth / get_events tools in MCP.

    APIWebSocketSDKMCP
  3. Portfolios API

    Create portfolios and record their transactions through the API and the dashboard.

    APIDashboard

May 2026

  1. Intraday historical data

    30- and 60-minute intervals in historical data, with metadata that says whether a candle is final.

    APISDK
  2. Streaming reliability in the Python SDK

    Jittered reconnect backoff, subscription chunking from server-provided limits, and correct handling of close codes 4401 and 4403.

    SDKWebSocket
  3. Workspaces

    Persistent workspaces in the dashboard, starting with an intraday monitoring template.

    Dashboard
  4. Event Engine

    Real-time rules on price, percentage change and volume that fire to your webhooks the moment they are met.

    APIDashboard

April 2026

  1. Financial ratios and company compare

    analytics/ratios and analytics/compare endpoints for financial ratios and comparing several companies in one call.

    APISDK
  2. Company directory

    A companies endpoint to search symbols and filter by market (TASI or Nomu).

    APISDK
  3. Quotes by name, not just symbol

    Request a quote by symbol, Arabic name, English name or alias, with resolution details in the response.

    APISDKMCP
  4. Site and docs in English

    The site, developer docs and dashboard are fully available in English.

    Docs
  5. MCP server for AI agents

    An MCP server that gives AI tools access to Saudi market data, alongside typed response models and automatic retries in the SDK.

    MCPSDK

March 2026

  1. Python SDK and CLI on PyPI

    Install the sahmk package from PyPI and query data from code or straight from the command line.

    SDK

February 2026

  1. Tutorials and webhook price alerts

    Step-by-step tutorials for building on SAHMK, and price alerts delivered to your webhooks.

    DocsAPI
  2. Real-time prices over WebSocket

    Subscribe to many symbols and receive prices the moment they change over a single connection.

    WebSocketAPI

Follow along on GitHub · Service status