Developers API

API for
Saudi Market Data

Saudi stock market data at your fingertips: real-time prices, order book depth, historical datasets, financial statements, and market indicators.

Licensed by

Tadawul Saudi Arabia
Terminal

# Request

# identifier supports symbol, Arabic name, English name, or alias
curl -H "X-API-Key: your_key" \
     https://api.sahmk.sa/api/v1/quote/2222/

# Response

{
  "symbol": "2222",
  "name": "أرامكو السعودية",
  "name_en": "Saudi Arabian Oil Co",
  "price": 25.26,
  "change": 0,
  "change_percent": 0,
  "volume": 9169694,
  "is_delayed": false
}

99.9%

Uptime

20+

Endpoints

350+

TASI & Nomu companies

Data products

Comprehensive APIs for your Saudi market data needs

Stock Quotes

Free

Price, best bid/ask, trading data, and change by symbol or name

GET /api/v1/quote/{symbol}/

Market Overview

Free

Market summary: gainers and losers for TASI & Nomu

GET /api/v1/market/summary/

Historical Data

Starter+

Historical OHLCV prices with adjusted prices

GET /api/v1/historical/{symbol}/

Financial Statements

Starter+

Income, balance sheet, and cash flow

GET /api/v1/financials/{symbol}/

Market Depth

Pro+Request access

Market depth from 5 to 20 levels via REST and WebSocket

GET /api/v1/market/depth/{symbol}/
WS /ws/v1/market/depth/

Get started in minutes

Simple steps to start using the API

1

Create a free account

Sign up for a developer account in seconds

2

Generate your API key

Create your key from the developer dashboard

3

Start building

Integrate market data into your product

example.py
import requests

API_KEY = "your_api_key"
BASE_URL = "https://api.sahmk.sa/api/v1"

# Get stock quote by identifier
response = requests.get(
    f"{BASE_URL}/quote/2222/",
    headers={"X-API-Key": API_KEY}
)

data = response.json()
print(f"{data['name_en']}: {data['price']} SAR")
# 2222 can be any supported identifier (symbol, Arabic name, English name, or alias).

Choose the right plan

Flexible plans for all needs, from small projects to large enterprises

* Prices exclude 15% VAT

Save up to 20% with the annual plan

Free

Explore API capabilities

0/month
Up to 100 requests/day
  • 15-min delayed prices
  • Market overview
  • Gainers and losers
  • Company fundamentals
  • Limited usage for exploration

Starter

For small projects and historical data

149/month
Up to 5K requests/day
  • All Free plan features
  • Bulk quotes
  • Historical OHLCV data
  • Historical financial data up to 3 years
  • Dividends and company fundamentals
  • Historical data and delayed prices
Most popular

Pro

For active applications and real-time data

499/month
Up to 50K requests/day
  • All Starter features
  • Real-time prices
  • Intraday 15min, 30min, and 60min: up to 90 days
  • Real-time WebSocket, with Market Depth available on request
  • Extended financial data + quarterly statements
  • Advanced indicators, signals, and analysis tools
  • Webhooks & event rules

Business

For higher usage limits and larger financial platforms

1,499/month
Up to 150K requests/day
  • All Pro features, plus:
  • 5-minute intraday data: up to 90 days
  • Extended 15- and 30-minute history: up to 6 months
  • Extended 60-minute history: up to 1 year
  • Real-time WebSocket, with Premium Data available on request
  • Up to 30 API keys
  • Company comparison (up to 20 symbols)
  • Higher webhook & event limits
  • For teams and applications that need higher usage limits

Enterprise Solutions

Enterprise

For financial institutions and platforms that need custom limits, redistribution, SLA agreements, and custom integrations.

  • Custom limits
  • SLA agreements
  • Large-scale operations and distribution
  • Custom deployment and operations
  • Custom data and integrations
  • Dedicated technical support

Using SAHMK Data in Your Products

Build websites, applications, internal tools and analytical products using SAHMK market data.

Commercial applications, including paid services, can use eligible developer plans according to their features, limits and applicable usage conditions.

Certain real-time display activities require separate authorization. Raw market-data resale and redistribution require a separate agreement. When SAHMK data is displayed, reference it as data provided by SAHMK.

Ready to build?

Create your free account and start with 100 free requests per day