Developer API

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

Tadawul Saudi Arabia
Terminal

# 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

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 with adjusted prices

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

Financial statements

Starter+

Income statements, balance sheets 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

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 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__}

Choose the right plan

Start free. Upgrade when your product needs more.

Save up to 20% with the annual plan

Free

Explore API capabilities

Saudi riyal (SAR)0/month
Up to 100 requests/day
  • 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

Saudi riyal (SAR)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

Support

First reply within 3 business days

Most popular

Pro

For active applications and real-time data

Saudi riyal (SAR)499/month
Up to 50K requests/day
  • 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

Saudi riyal (SAR)1,499/month
Up to 150K requests/day
  • 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

We aim for 99.5% monthly availability on every paid plan, measured as the share of requests answered without a server error. Availability and support times on self-serve plans are targets, not contractual guarantees. Support times are for a first reply from our team, not a full resolution, and business days are Sunday to Thursday. A written SLA with service credits is part of an enterprise agreement. See actual daily performance.

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.

Ready to build?

Create a free account and get 100 requests a day.