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
# 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
FreePrice, best bid/ask, trading data, and change by symbol or name
Market Overview
FreeMarket summary: gainers and losers for TASI & Nomu
Historical Data
Starter+Historical OHLCV prices with adjusted prices
Financial Statements
Starter+Income, balance sheet, and cash flow
Market Depth
Pro+Request accessMarket depth from 5 to 20 levels via REST and WebSocket
Get started in minutes
Simple steps to start using the API
Create a free account
Sign up for a developer account in seconds
Generate your API key
Create your key from the developer dashboard
Start building
Integrate market data into your product
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
Free
Explore API capabilities
- 15-min delayed prices
- Market overview
- Gainers and losers
- Company fundamentals
- Limited usage for exploration
Starter
For small projects and historical data
- 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
Pro
For active applications and real-time data
- 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
- 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