Saudi market data,
built for developers
Real-time prices, order-book depth, historical data, financial statements and market indicators for every listed Saudi company.
Licensed by
# Request
# by symbol, or by name: /quote/2222/?identifier=aramco
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.14,
"change_percent": 0.56,
"volume": 9169694,
"is_delayed": false
}Data products
Everything you need from the Saudi market, in one API
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 with adjusted prices
Financial statements
Starter+Income statements, balance sheets and cash flow
Market depth
Pro+Request accessMarket depth from 5 to 20 levels via REST and WebSocket
Get started in minutes
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 a stock quote by symbol
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")
# To look up by name instead: params={__TOKEN_5__: __TOKEN_6__}
Licensed information provider of the Saudi ExchangeThe market data infrastructure Saudi builders rely on
Licensed-source data running inside real products every day. The figures below come from live service records, not estimates.
Listed in the providers directory
SAHMK is officially listed among the Saudi Exchange's information providers. Check the directory yourself.
View listingCommercial use, spelled out
A published policy explains what each plan allows inside your product, and when display or redistribution licensing applies.
Commercial usage policyFrom first script to enterprise
Start free, then move to an enterprise agreement with an SLA, custom limits and integration with your systems.
Enterprise solutionsChoose the right plan
Start free. Upgrade when your product needs more.
Free
Explore API capabilities
- 15-min delayed prices
- Market overview
- Gainers and losers
- Company fundamentals
- Limited usage for exploration
Support
Docs and contact form
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
Support
First reply within 3 business days
Pro
For active applications and real-time data
- All Starter features
- Real-time prices
- 15-, 30- and 60-minute intraday data, up to 90 days
- Real-time WebSocket, with Market Depth available on request
- Extended financials and quarterly statements
- Advanced indicators, signals, and analysis tools
- Webhooks & event rules
Support
First reply within 2 business days
Business
For higher usage limits and larger financial platforms
- All Pro features, plus:
- 5-minute intraday data, up to 90 days
- 15- and 30-minute history, up to 6 months
- 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
Support
First reply next business day; same day for urgent issues during trading
* Prices are in Saudi riyals (SAR) and exclude 15% VAT
Enterprise
Outgrowing the Business plan?
When market data powers a product your customers use, you need one agreement that covers licensing, limits and operations.
- Custom limits
- Written SLA with service credits, per service
- Agreed response times for critical issues
- Large-scale operations and distribution
- Custom data and integrations
- Support by email and WhatsApp
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.