Developers API

Data methodology

How market data reaches you, how we check it, and what we do when a number is in doubt. We would rather return an empty value than a wrong one.

Our principles

  • From the licensed source

    Tadawul data reaches us under our information-provider licence.

  • State is in the response

    Every response tells you whether data is delayed or a candle is incomplete.

  • Empty beats wrong

    A doubtful value is withheld until verified, never published as is.

  • Corrections don't break you

    When we correct a record, its identifier stays the same.

Source and licensing

SAHMK is a licensed information provider of the Saudi Exchange and is listed in its information providers directory. Prices, trades and market depth reach us from the market feed under that licence, not by copying or aggregating other sites.

Check the listing in the Tadawul directory

Real-time or delayed

Every price response includes is_delayed. On the Free plan prices are delayed by 15 minutes; on paid plans that include real-time prices, is_delayed is false.

We never mix the two silently: if data is delayed, the response says so.

Candles and historical data

Intraday candles carry is_final and partial, and the response carries latest_bar_at. The current candle shows partial = true until it closes, so you never build on an open candle without knowing.

Weekly and monthly candles are built from daily data and refreshed as each trading day settles.

adjusted_close shows the adjusted closing price when available, and mirrors close for records after March 2024 and for intraday data.

Intraday validation

We validate intraday candles day by day. A bar or day that fails a check is quarantined until resolved, never treated as clean.

We keep a copy of the source's bars beside the published candles, so any later rebuild can be compared even after the source stops serving that window.

Historical repairs go through controlled tooling: audit first, then apply, with rollback available.

Corporate actions

Every corporate action we publish has a stable public identifier that survives corrections and source changes, so its reference in your systems never moves.

The public endpoint reads SAHMK's approved record, not the vendor's raw feed.

Financial statements

Before any financial figure is published we check it for known signs of data corruption, such as digits run together, a tenfold jump from neighbouring periods, or column collisions. A value that fails is published as null rather than wrong.

Unusual is not the same as wrong: net income above revenue can be correct for holding and investment companies, so we don't withhold it without independent evidence.

Derived fourth-quarter figures are published only under an explicit publish decision. If that decision is withdrawn, the value returns to null, not to an older unverified number.

If you find an error

Tell us the symbol, field and date. We check the figure against the source, correct the record while keeping its identifiers, and note API-visible changes in the changelog.

Report a data issue